List all API Documents
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 scalar = new Scalar({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await scalar.registry.getv1ApisNamespace({
namespace: "<value>",
});
console.log(result);
}
run();
[
{
"uid": "string",
"version": "string",
"title": "",
"slug": "string",
"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"
}
]
}
]