Create API Product Document
Changed onCreates a document for an API product.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
The API product identifier
Request body
a document payload
parent document id
document slug. must be unique accross documents belonging to an api product
document title
Can be markdown string content or base64 encoded string
metadata of the document
Example request
{
"parent_document_id": "dd4e1b98-3629-4dd3-acc0-759a726ffee2",
"slug": "path-for-seo",
"title": "How to create a document in Konnect DocumentHub",
"content": "## My Markdown",
"metadata": {
"author": "John Doe"
}
}Response
API product document
an api product document
The unencoded markdown string of the api product document.
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
Example response
{
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status - warning
added the new
key_invalidenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status - warning
added the new
uniqueenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
- breaking