Configuration Service

Create Config

Create Api lets you upload configuration file in the repository. Configuraion file gets stored in annex store if one of the below condition statisfies else gets stored in normal store :

  1. Annex flag is true
  2. File size exceeds the maximum size configured in Configuration service.
post/config/{path}

Path parameters

pathstring required

Store file at provided file path in repository.

Query parameters

commentstring required

Commit message.

annexboolean

Flag to upload file in Annex store.

Headers

Content-Typestring required

To-do

Response

Created

idstring

Revision number of configuration file.

Example response

{
  "id": "1"
}

Changes