Skip to content

DocsConfigEndpoints

reference
1 min readUpdated

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

MethodSignatureReturns
getget(projectId: string)Promise<DocsConfig>
setset(projectId: string, config: DocsConfig)Promise<DocsConfig>

Was this page helpful?

Download as PDF