Get a Snippet
Changed onReturns the configuration of a single custom snippet for this portal. Custom snippets can be used to display static content, documentation, or other information to developers.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/portals/{portalId}/snippets/{snippetId}
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Path parameters
ID of the portal.
ID of the snippet.
Response
Details about a snippet in a portal.
Example response
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"name": "my-snippet",
"title": "My Snippet",
"content": "# Welcome to My Snippet",
"visibility": "public",
"status": "published",
"description": "A custom page about developer portals",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- 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
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking