Resolve a URL to an oEmbed object within a space
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Query parameters
urlstringRequired
URL to resolve
Responses
200
OK
application/json
and
anyOptional
or
or
get/spaces/{spaceId}/embed
GET /v1/spaces/{spaceId}/embed?url=text HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
OK
{
"title": "text",
"site": "text",
"icon": "text",
"type": "link"
}Last updated
Was this helpful?