List API Documents in a namespace
List API documents in a namespace.
Path Parameters
- Type: stringnamespacerequired
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/v1/apis/{namespace}
import Scalar from "@scalar/sdk";
const client = new Scalar({
bearerAuth: process.env["BEARER_AUTH"], // defaults to the BEARER_AUTH env var
});
const listAPIDocuments = await client.registry.listAPIDocuments("namespace");
console.log(listAPIDocuments);
[
{
"uid": "nanoid()",
"version": "string",
"title": "",
"slug": "randomManagedDocSlug()",
"description": "",
"namespace": "string",
"isPrivate": false,
"tags": [],
"versions": [
{
"uid": "string",
"createdAt": 1,
"version": "string",
"upgraded": false,
"embedStatus": null,
"tags": [],
"tools": [
{
"path": "string",
"method": "delete",
"enabledTools": [
"execute-request"
]
}
],
"yamlSha": "string",
"jsonSha": "string",
"versionSha": "string"
}
]
}
]