{"openapi":"3.0.4","info":{"title":"Create a configuration set","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/configuration"}],"paths":{"/api/sets":{"post":{"tags":["ConfigurationSets"],"summary":"Create a configuration set","operationId":"CreateConfigurationSet","parameters":[{"name":"userId","in":"query","description":"Feature that allows Administrators to administer personal settings  (but never reveal the value of secrets) of a specific user.","schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}}],"requestBody":{"description":"The data to create a configuration set","content":{"application/json-patch+json":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/CreateConfigurationSet"},"example":{"id":{"scope":"official","code":"system-a-config"},"type":"shared","description":"All the config related to System A"}},"application/json":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/CreateConfigurationSet"},"example":{"id":{"scope":"official","code":"system-a-config"},"type":"shared","description":"All the config related to System A"}},"text/json":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/CreateConfigurationSet"},"example":{"id":{"scope":"official","code":"system-a-config"},"type":"shared","description":"All the config related to System A"}},"application/*+json":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/CreateConfigurationSet"},"example":{"id":{"scope":"official","code":"system-a-config"},"type":"shared","description":"All the config related to System A"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/ConfigurationSet"},"example":{"createdAt":"0001-01-01T00:00:00.0000000+00:00","createdBy":"user","lastModifiedAt":"0001-01-01T00:00:00.0000000+00:00","lastModifiedBy":"user","description":"All the config related to System A","items":[{"key":"password","value":"a super secret password","valueType":"text","isSecret":true,"ref":"config://shared/official/system-a-config/password","blockReveal":false}],"id":{"scope":"official","code":"system-a-config"},"type":"shared"}},"text/plain":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/ConfigurationSet"},"example":{"createdAt":"0001-01-01T00:00:00.0000000+00:00","createdBy":"user","lastModifiedAt":"0001-01-01T00:00:00.0000000+00:00","lastModifiedBy":"user","description":"All the config related to System A","items":[{"key":"password","value":"a super secret password","valueType":"text","isSecret":true,"ref":"config://shared/official/system-a-config/password","blockReveal":false}],"id":{"scope":"official","code":"system-a-config"},"type":"shared"}},"text/json":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/ConfigurationSet"},"example":{"createdAt":"0001-01-01T00:00:00.0000000+00:00","createdBy":"user","lastModifiedAt":"0001-01-01T00:00:00.0000000+00:00","lastModifiedBy":"user","description":"All the config related to System A","items":[{"key":"password","value":"a super secret password","valueType":"text","isSecret":true,"ref":"config://shared/official/system-a-config/password","blockReveal":false}],"id":{"scope":"official","code":"system-a-config"},"type":"shared"}}}},"400":{"description":"The details of the input related failure","content":{"application/json":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/LusidValidationProblemDetails"}},"text/plain":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/LusidValidationProblemDetails"}},"text/json":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/LusidValidationProblemDetails"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"/docs/api/configuration/schemas.json#/components/schemas/LusidProblemDetails"}}}}},"security":[{"BearerAuth":[]}],"x-fbn-apistatus":"EarlyAccess"}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"}}}}