api_schema_retrieve
GET
/api/schema/
const url = 'https://example.com/api/schema/?format=json&lang=af';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/schema/?format=json&lang=af' \ --header 'Authorization: <Authorization>'此 API 的 OpenAPI 3 schema。可通过内容协商选择格式。
- YAML:application/vnd.oai.openapi
- JSON:application/vnd.oai.openapi+json
format
string
lang
string
object
key
附加属性
object
key
附加属性
object
key
附加属性
示例生成
{ "additionalProperty": "example"}object
key
附加属性
示例生成
{ "additionalProperty": "example"}