For the complete documentation index, see llms.txt. This page is also available as Markdown.

Developer Configuration

Get the developer configuration JSON schema

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
403

Forbidden - Requires role: owner, member, application

No content

get/sfp/api/devconfig/schema
403

Forbidden - Requires role: owner, member, application

No content

List the stored developer configurations for a repository

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
repositoryIdentifierstringRequired

Repository identifier in format owner/repo

Example: flxbl-io/sf-core
Responses
200Success
application/json
repositoryIdentifierstringRequired

Repository identifier

get/sfp/api/devconfig/stored

Get a stored developer configuration for a repository

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
repositoryIdentifierstringRequired

Repository identifier in format owner/repo

Example: flxbl-io/sf-core
configstringOptional

Named configuration to address. A repository stores one configuration per devconfig file (persona); omitting the name addresses 'default', which is also where configurations stored before names existed appear.

Example: PO_ClientOpsconfig
Responses
200Success
application/json
repositoryIdentifierstringRequired

Repository identifier

configstringRequired

Name of the stored configuration

Example: PO_ClientOpsconfig
devconfigobjectRequired

Authoritative developer configuration block

versionnumberRequired

Optimistic concurrency version

sourcePathstringOptional

Repository file the configuration was imported from

get/sfp/api/devconfig

Create or update a stored developer configuration

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
repositoryIdentifierstringRequired

Repository identifier in format owner/repo

Example: flxbl-io/sf-core
configstringOptional

Named configuration to address. A repository stores one configuration per devconfig file (persona); omitting the name addresses 'default', which is also where configurations stored before names existed appear.

Example: PO_ClientOpsconfig
Body
devconfigobjectRequired

Developer configuration block containing defaultAccessLevel and accessLevels

versionnumberOptional

Current document version when updating an existing configuration

Responses
200Success
application/json
repositoryIdentifierstringRequired

Repository identifier

configstringRequired

Name of the stored configuration

Example: PO_ClientOpsconfig
devconfigobjectRequired

Authoritative developer configuration block

versionnumberRequired

Optimistic concurrency version

sourcePathstringOptional

Repository file the configuration was imported from

post/sfp/api/devconfig

Replace a stored developer configuration

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
repositoryIdentifierstringRequired

Repository identifier in format owner/repo

Example: flxbl-io/sf-core
configstringOptional

Named configuration to address. A repository stores one configuration per devconfig file (persona); omitting the name addresses 'default', which is also where configurations stored before names existed appear.

Example: PO_ClientOpsconfig
Body
devconfigobjectRequired

Developer configuration block containing defaultAccessLevel and accessLevels

versionnumberOptional

Current document version when updating an existing configuration

Responses
200Success
application/json
repositoryIdentifierstringRequired

Repository identifier

configstringRequired

Name of the stored configuration

Example: PO_ClientOpsconfig
devconfigobjectRequired

Authoritative developer configuration block

versionnumberRequired

Optimistic concurrency version

sourcePathstringOptional

Repository file the configuration was imported from

put/sfp/api/devconfig

Delete a stored developer configuration

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
repositoryIdentifierstringRequired

Repository identifier in format owner/repo

Example: flxbl-io/sf-core
configstringOptional

Named configuration to address. A repository stores one configuration per devconfig file (persona); omitting the name addresses 'default', which is also where configurations stored before names existed appear.

Example: PO_ClientOpsconfig
Responses
403

Forbidden - Requires role: owner

No content

delete/sfp/api/devconfig
403

Forbidden - Requires role: owner

No content

List the developer configurations discoverable on a repository branch

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
repositoryIdentifierstringRequired

Repository identifier in format owner/repo

Example: flxbl-io/sf-core
branchstringRequired

Repository branch to read the configurations from

Example: main
Responses
200Success
application/json
branchstringRequired

Branch the configurations were read from

get/sfp/api/devconfig/repository-configs

Import a repository devconfig file as its own named stored configuration; re-importing refreshes it

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
repositoryIdentifierstringRequired

Repository identifier in format owner/repo

Example: flxbl-io/sf-core
Body
branchstringRequired

Repository branch to import the developer configuration from

Example: main
pathstringOptional

Path of the configuration to import. Required only when the branch holds more than one; omit it when there is exactly one.

Example: config/devconfig.yaml
Responses
200Success
application/json
repositoryIdentifierstringRequired

Repository identifier

configstringRequired

Name of the stored configuration

Example: PO_ClientOpsconfig
devconfigobjectRequired

Authoritative developer configuration block

versionnumberRequired

Optimistic concurrency version

sourcePathstringOptional

Repository file the configuration was imported from

post/sfp/api/devconfig/import

Last updated

Was this helpful?