diff --git a/en/docs/design/api-documentation/add-api-documentation.md b/en/docs/design/api-documentation/add-api-documentation.md index 91f0c19b3c..ddf3d7ea75 100644 --- a/en/docs/design/api-documentation/add-api-documentation.md +++ b/en/docs/design/api-documentation/add-api-documentation.md @@ -91,7 +91,7 @@ Follow the instructions below to add documentation to an API: Source URL
- http://www.dummyforum.com + http://www.dummyforum.com diff --git a/en/docs/design/api-security/api-request-response-schema-validation/json-schema-validator.md b/en/docs/design/api-security/api-request-response-schema-validation/json-schema-validator.md index 14879109f1..7738549a62 100644 --- a/en/docs/design/api-security/api-request-response-schema-validation/json-schema-validator.md +++ b/en/docs/design/api-security/api-request-response-schema-validation/json-schema-validator.md @@ -24,7 +24,7 @@ The following diagram illustrates the message flow when sending an invalid reque **Example:** -The following is an invalid request based on the [Petstore API](https://github.com/OAI/OpenAPI-Specification/blob/master/examples/v2.0/json/petstore.json). +The following is an invalid request based on the [Petstore API](https://github.com/OAI/learn.openapis.org/blob/main/examples/v2.0/json/petstore.json). ``` curl -X POST "https://localhost:8243/rfrf/1.0.0/pet" -H "accept: */*" -H "Content-Type: application/json" -H "Authorization: Bearer c06e0cb0-af4a-3e5e-b8c3-99449ff7e3e5" -d "{\"id\":0,\"category\":{\"id\":0,\"name\":\"string\"},\"name\":\"doggie\",\"photoUrls\":[\"string\"],\"tags\":[{\"id\":0,\"name\":\"string\"}],\"status\":\"available\"}" @@ -56,7 +56,7 @@ The following diagram illustrates the message flow when sending an invalid respo **Example** -The following is a sample request from the client based on the [Petstore API](https://github.com/OAI/OpenAPI-Specification/blob/main/tests/v3.0/pass/petstore.yaml). +The following is a sample request from the client based on the [Petstore API](https://github.com/OAI/learn.openapis.org/blob/main/examples/v2.0/json/petstore.json). ``` curl -X GET "https://localhost:8243/PetstoreAPI/1.0.0/pets/1" -H "accept: application/xml" -H "Authorization: Bearer c06e0cb0-af4a-3e5e-b8c3-99449ff7e3e5" diff --git a/en/docs/design/api-security/authorization/publisher-portal-in-read-only-mode.md b/en/docs/design/api-security/authorization/publisher-portal-in-read-only-mode.md index e802d78cc1..44ecaf95fd 100644 --- a/en/docs/design/api-security/authorization/publisher-portal-in-read-only-mode.md +++ b/en/docs/design/api-security/authorization/publisher-portal-in-read-only-mode.md @@ -18,7 +18,7 @@ Follow the instructions below to create a Read only user: 2. Create a user (Chris) and assign the **observer** default role. - [![Read-only user creation]({{base_path}}/assets/img/learn/api-security/assign-role-to-user.png){: style="width:70%"}](({{base_path}}/assets/img/learn/api-security/assign-role-to-user.png)) + [![Read-only user creation]({{base_path}}/assets/img/learn/api-security/assign-role-to-user.png){: style="width:70%"}]({{base_path}}/assets/img/learn/api-security/assign-role-to-user.png) 3. Click **Finish**. diff --git a/en/docs/design/create-api/create-ai-api/create-an-ai-api.md b/en/docs/design/create-api/create-ai-api/create-an-ai-api.md index eedb237796..c4cd1b3c4b 100644 --- a/en/docs/design/create-api/create-ai-api/create-an-ai-api.md +++ b/en/docs/design/create-api/create-ai-api/create-an-ai-api.md @@ -33,7 +33,7 @@ Follow the instructions below to create an AI API using the basic flow: 4. Configure AI API details. -
FieldSample value
NameMistralAIAPI
Version0.0.2
Context

mistralaiapi

The API context is used by the Gateway to identify the API. Therefore, the API context must be unique. This context is the API's root context when invoking the API through the Gateway.

You can define the API's version as a parameter of its context by adding the {version} into the context. For example, {version}/mistralaiapi. The API Manager assigns the actual version of the API to the {version} parameter internally. For example, https://localhost:8243/0.0.2/mistralaiapi. Note that the version appears before the context, allowing you to group your APIs based on the versions.

Endpoint

https://api.mistral.ai

The endpoint of the AI service vendor is automatically added as the production and sandbox endpoints.

+
FieldSample value
NameMistralAIAPI
Version0.0.2
Context

mistralaiapi

The API context is used by the Gateway to identify the API. Therefore, the API context must be unique. This context is the API's root context when invoking the API through the Gateway.

You can define the API's version as a parameter of its context by adding the {version} into the context. For example, {version}/mistralaiapi. The API Manager assigns the actual version of the API to the {version} parameter internally. For example, https://localhost:8243/0.0.2/mistralaiapi. Note that the version appears before the context, allowing you to group your APIs based on the versions.

Endpoint

https://api.mistral.ai

The endpoint of the AI service vendor is automatically added as the production and sandbox endpoints.

5. Click **Create** to create the API. diff --git a/en/docs/design/endpoints/resiliency/endpoint-timeouts.md b/en/docs/design/endpoints/resiliency/endpoint-timeouts.md index 7883e05a91..ee9dc55afc 100644 --- a/en/docs/design/endpoints/resiliency/endpoint-timeouts.md +++ b/en/docs/design/endpoints/resiliency/endpoint-timeouts.md @@ -35,7 +35,7 @@ The following are Advanced Endpoint Configurations that you can configure for bo

If you want to configure the suspension of an endpoint, you can use the Endpoint Suspension State section to define the error codes, maximum suspension time, and suspension factors.