Kind: Class
Source: atloria-monorepo/packages/api-client/src/endpoints/docs-config.ts
Docs config endpoints
Routes are nested under the owning project (/projects/:projectId/docs-config) to match
the API's DocsConfigController. Reading a project that has no config row returns the
default ({ requireReview: false }); setting upserts the row (MAINTAINER/ADMIN only).
Methods
| Method | Signature | Returns |
|---|---|---|
get | get(projectId: string) | Promise<DocsConfig> |
set | set(projectId: string, config: DocsConfig) | Promise<DocsConfig> |
Was this page helpful?