Create a project
Create a guide project.
Body
required
application/json
- Type: array string[]allowed
Domains required - Type: array string[]allowed
Users required - Type: booleanis
Private required - Type: stringnamerequired
- slug
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/v1/guides
import { Scalar } from "@scalar/sdk";
const scalar = new Scalar({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await scalar.scalarDocs.postv1Guides({
name: "<value>",
allowedUsers: [
"<value 1>",
"<value 2>",
"<value 3>",
],
allowedDomains: [
"<value 1>",
"<value 2>",
"<value 3>",
],
});
console.log(result);
}
run();
{
"uid": "string",
"slug": "string"
}