Skip to content

Create another-example.md#6

Closed
mtgr18977 wants to merge 1 commit intomainfrom
Another-Test
Closed

Create another-example.md#6
mtgr18977 wants to merge 1 commit intomainfrom
Another-Test

Conversation

@mtgr18977
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings December 15, 2025 19:58
@@ -0,0 +1,29 @@
API Integration Guide

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
API Integration Guide
"You wrote the API Integration Guide."

@@ -0,0 +1,29 @@
API Integration Guide

Authentication

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
Authentication
"You authenticate."


Authentication

To access the private endpoints, an API key is required.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
To access the private endpoints, an API key is required.
"You require an API key to access the private endpoints."

Authentication

To access the private endpoints, an API key is required.
The key can be generated in the user settings dashboard.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
Authorization: Bearer <YOUR_API_KEY>
"You have provided the authorization: Bearer <YOUR_API_KEY>"

Authorization: Bearer <YOUR_API_KEY>


Creating a User

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
Creating a User
"You create a User"


Creating a User

A user is created by sending a POST request to /api/users.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
A user is created by sending a POST request to /api/users.
"You create a user by sending a POST request to /api/users."

Creating a User

A user is created by sending a POST request to /api/users.
The following JSON body is expected by the server:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:"

A user is created by sending a POST request to /api/users.
The following JSON body is expected by the server:

{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
{
{

The following JSON body is expected by the server:

{
"username": "jdoe",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
"username": "jdoe",
`"username": "jdoe","`


{
"username": "jdoe",
"email": "jdoe@example.com"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
"email": "jdoe@example.com"
`"email": "jdoe@example.com"`

{
"username": "jdoe",
"email": "jdoe@example.com"
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
}
}

}


If the request is successful, a 201 Created status is returned.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
If the request is successful, a 201 Created status is returned.
"If the request is successful, you return a 201 Created status."



If the request is successful, a 201 Created status is returned.
However, if the data is invalid, a 400 Bad Request error is thrown.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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."

If the request is successful, a 201 Created status is returned.
However, if the data is invalid, a 400 Bad Request error is thrown.

Rate Limiting

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
Rate Limiting
"Rate Limiting"


Rate Limiting

Requests are limited to 100 per minute.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão de Voz Ativa (AI) 🤖

Suggested change
Requests are limited to 100 per minute.
"You are limited to 100 requests per minute."

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 comment was marked as outdated.

@mtgr18977 mtgr18977 closed this Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants