Create API Package Document
Changed onPublish a new document attached to an API Package.
All configuration options may be provided in the frontmatter section of content. If you set values in both the POST request and in the frontmatter, the values in the POST request will take precedence.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/api-packages/{packageId}/documents
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
"title": "API Document",
"slug": "api-document",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Response
API Package document
Example response
{
"id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
"title": "API Document",
"slug": "api-document",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
401.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status
- warning