Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pagination - next link for page in parent section #1391

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions content/en/client/authorized.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,5 @@ With our OAuth token for the authorized user, we can now perform any action as t
* See [/api/v1/featured_tags]({{< relref "methods/featured_tags" >}}) for managing a user profile's featured hashtags.
* See [/api/v1/preferences]({{< relref "methods/preferences" >}}) for reading user preferences.


[Previous - Obtaining client app access]({{< relref "client/token" >}}) ----- [Next - Libraries and implementations]({{< relref "client/libraries" >}})
2 changes: 2 additions & 0 deletions content/en/client/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,5 @@ The Mastodon REST API will return JSON as the response text. It also returns HTT
* 4xx = Client error. Your request was not correct. Most commonly, you may see 401 Unauthorized, 404 Not Found, 410 Gone, or 422 Unprocessed.
* 5xx = Server error. Something went wrong while handling the request. Most commonly, you may see 503 Unavailable.


[Next - Playing with Public Data]({{< relref "client/public" >}})
1 change: 1 addition & 0 deletions content/en/client/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,4 @@ Remember to check how recently the library was updated, and whether it includes
* [tsl-mastodon](https://github.com/typescriptlibs/tsl-mastodon-api)


[Previous - Logging in with an account]({{< relref "client/authorized" >}})
2 changes: 2 additions & 0 deletions content/en/client/public.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@ One last thing you can do with anonymous requests is to view information about t
For a practical example of what you can do with just instance data, see [emojos.in](https://emojos.in/), which lets you preview all custom emoji at a given instance.
{{< /hint >}}


[Previous - Getting started with the API]({{< relref "client/intro" >}}) ----- [Next - Obtaining client app access]({{< relref "client/token" >}})
2 changes: 2 additions & 0 deletions content/en/client/token.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ If we've obtained our token and formatted our request correctly, we should see o

With our authenticated client application, we can view relations of an account with [GET /api/v1/accounts/:id/following]({{< relref "methods/accounts#following" >}}) and [GET /api/v1/accounts/:id/followers]({{< relref "methods/accounts#followers" >}}). Also, some instances may require authentication for methods that would otherwise be public, so if you encountered any authentication errors while playing around with public methods, then those methods should now work.


[Previous - Playing with Public Data]({{< relref "client/public" >}}) ----- [Next - Logging in with an account]({{< relref "client/authorized" >}})