getv1ApisNamespace
List all APIs
Get a list of all documents for the namespace
Path Parameters
- Type: string
namespace required
Responses
- Type: array object[]
200 Default Response
- Type: string
description default:"" - Type: boolean
is Private default:false - Type: string
namespace min length:3max length:50Pattern: ^[a-zA-Z0-9-_]+$required - Type: string
slug min length:3max length:60Pattern: ^[a-z](?:[a-z0-9-]*[a-z0-9])?$default:"felicitous-crystal-ctkqos6" - Type: array string[] …100 unique!
tags default:[] - Type: string
title max length:100default:"" - Type: string
uid min length:5default:"CiyS1tx4Woh7xpHKxsUiL" - Type: string
version Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$required - Type: array object[]
versions required
- Type: object
400 - Type: string
code required - Type: string
message required
- Type: object
401 - Type: string
code required - Type: string
message required
- Type: object
403 - Type: string
code required - Type: string
message required
- Type: object
404 - Type: string
code required - Type: string
message required
- Type: object
422 - Type: string
code required - Type: string
message required
- Type: object
500 - Type: string
code required - Type: string
message required
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.apiDocs.getv1ApisNamespace({
namespace: "<value>",
});
console.log(result);
}
run();
[
{
"uid": "CiyS1tx4Woh7xpHKxsUiL",
"version": "string",
"title": "",
"slug": "felicitous-crystal-ctkqos6",
"description": "",
"namespace": "string",
"isPrivate": false,
"tags": [],
"versions": [
{
"uid": "string",
"createdAt": 1,
"version": "string",
"upgraded": false,
"embedStatus": null,
"tags": []
}
]
}
]