Skip to content

update documentation as deprecated for createmodelapikey endpoint#1182

Open
lkapadiya-DO wants to merge 4 commits into
mainfrom
lkapadiya/update-documentation-as-deprecated-for-createmodelapikey-endpoint
Open

update documentation as deprecated for createmodelapikey endpoint#1182
lkapadiya-DO wants to merge 4 commits into
mainfrom
lkapadiya/update-documentation-as-deprecated-for-createmodelapikey-endpoint

Conversation

@lkapadiya-DO
Copy link
Copy Markdown
Collaborator

JIRA: https://do-internal.atlassian.net/browse/INF-425

Currently the CreateModelAPIKey endpoint (/v2/gen-ai/models/api_keys) is retired and is returning 410 with error message to the user. We want to deprecate the open api documentation as well.

Comment on lines 13 to -39
@@ -32,8 +43,5 @@ responses:
security:
- bearer_auth:
- genai:create
summary: Create a Model API Key
tags:
- GradientAI Platform
x-codeSamples:
- $ref: examples/curl/genai_create_model_api_key.yml
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Pls remove the orphaned file examples/curl/genai_create_model_api_key.yml as well.

Previously, you could create a model API key by sending a POST request to `/v2/gen-ai/models/api_keys`.
operationId: genai_create_model_api_key
requestBody:
content:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please create a ticket for future removal of this documentation from openapi (and other repos if needed)

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