Closed
Conversation
| Authentication | ||
|
|
||
| To access the private endpoints, an API key is required. | ||
| The key can be generated in the user settings dashboard. |
There was a problem hiding this comment.
Sugestão de Voz Ativa (AI) 🤖
Suggested change
| The key can be generated in the user settings dashboard. | |
| You can generate the key in the user settings dashboard. |
|
|
||
| To access the private endpoints, an API key is required. | ||
| The key can be generated in the user settings dashboard. | ||
| Once obtained, the key must be included in the header of every request. |
There was a problem hiding this comment.
Sugestão de Voz Ativa (AI) 🤖
Suggested change
| Once obtained, the key must be included in the header of every request. | |
| "You must include the key in the header of every request once you have obtained it." |
| The key can be generated in the user settings dashboard. | ||
| Once obtained, the key must be included in the header of every request. | ||
|
|
||
| Authorization: Bearer <YOUR_API_KEY> |
There was a problem hiding this comment.
Sugestão de Voz Ativa (AI) 🤖
Suggested change
| Authorization: Bearer <YOUR_API_KEY> | |
| "You have provided the authorization: Bearer <YOUR_API_KEY>" |
| Creating a User | ||
|
|
||
| A user is created by sending a POST request to /api/users. | ||
| The following JSON body is expected by the server: |
There was a problem hiding this comment.
Sugestão de Voz Ativa (AI) 🤖
Suggested change
| The following JSON body is expected by the server: | |
| "You are expected to provide the following JSON body to the server:" |
|
|
||
|
|
||
| If the request is successful, a 201 Created status is returned. | ||
| However, if the data is invalid, a 400 Bad Request error is thrown. |
There was a problem hiding this comment.
Sugestão de Voz Ativa (AI) 🤖
Suggested change
| However, if the data is invalid, a 400 Bad Request error is thrown. | |
| "However, if the data is invalid, you throw a 400 Bad Request error." |
| Rate Limiting | ||
|
|
||
| Requests are limited to 100 per minute. | ||
| If this limit is exceeded, the client is blocked for 60 seconds. No newline at end of file |
There was a problem hiding this comment.
Sugestão de Voz Ativa (AI) 🤖
Suggested change
| If this limit is exceeded, the client is blocked for 60 seconds. | |
| "You exceed this limit, we block the client for 60 seconds." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.