openapi: 3.2.0 info: title: Kelowna Production Orca - FeatureFlags API version: v1 tags: - name: Orca - FeatureFlags paths: /OrcaFeatureFlags/IsEnabled/{name}: get: tags: - Orca - FeatureFlags summary: Gets the value of a feature flag parameters: - name: name in: path required: true schema: type: string responses: '200': description: OK content: text/plain: schema: type: boolean application/json: schema: type: boolean text/json: schema: type: boolean security: - OrcaAuth: - applicationId - roles - {} - {} operationId: getOrcaFeatureFlagsIsEnabledByName x-operation-id-source: derived /OrcaFeatureFlags: get: tags: - Orca - FeatureFlags summary: Fetches existing feature flags responses: '200': description: OK content: text/plain: schema: type: array items: $ref: '#/components/schemas/OrcaFeatureFlag' application/json: schema: type: array items: $ref: '#/components/schemas/OrcaFeatureFlag' text/json: schema: type: array items: $ref: '#/components/schemas/OrcaFeatureFlag' security: - OrcaAuth: - applicationId - roles - {} - {} operationId: getOrcaFeatureFlags x-operation-id-source: derived post: tags: - Orca - FeatureFlags summary: Adds a new feature flag requestBody: description: Details for the new feature flag. content: application/json: schema: $ref: '#/components/schemas/OrcaFeatureFlagArgs' text/json: schema: $ref: '#/components/schemas/OrcaFeatureFlagArgs' application/*+json: schema: $ref: '#/components/schemas/OrcaFeatureFlagArgs' responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OrcaFeatureFlag' application/json: schema: $ref: '#/components/schemas/OrcaFeatureFlag' text/json: schema: $ref: '#/components/schemas/OrcaFeatureFlag' security: - OrcaAuth: - applicationId - roles - {} - {} operationId: postOrcaFeatureFlags x-operation-id-source: derived /OrcaFeatureFlags/{id}: put: tags: - Orca - FeatureFlags summary: Updates an existing feature flag parameters: - name: id in: path description: Id of the feature flag to update. required: true schema: type: integer format: int32 requestBody: description: Details for the updated feature flag. content: application/json: schema: $ref: '#/components/schemas/OrcaFeatureFlagArgs' text/json: schema: $ref: '#/components/schemas/OrcaFeatureFlagArgs' application/*+json: schema: $ref: '#/components/schemas/OrcaFeatureFlagArgs' responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/OrcaFeatureFlag' application/json: schema: $ref: '#/components/schemas/OrcaFeatureFlag' text/json: schema: $ref: '#/components/schemas/OrcaFeatureFlag' security: - OrcaAuth: - applicationId - roles - {} - {} operationId: putOrcaFeatureFlagsById x-operation-id-source: derived delete: tags: - Orca - FeatureFlags summary: Deletes an existing feature flag parameters: - name: id in: path description: ID of the feature flag being deleted. required: true schema: type: integer format: int32 responses: '200': description: OK security: - OrcaAuth: - applicationId - roles - {} - {} operationId: deleteOrcaFeatureFlagsById x-operation-id-source: derived components: schemas: OrcaFeatureFlagArgs: type: object properties: featureFlagId: type: integer format: int32 name: type: - string - 'null' isEnabled: type: boolean additionalProperties: false OrcaFeatureFlag: required: - name type: object properties: featureFlagId: type: integer format: int32 isEnabled: type: boolean name: minLength: 1 type: string additionalProperties: false securitySchemes: OrcaAuth: type: oauth2 flows: authorizationCode: authorizationUrl: https://auth.carboncure.com/oauth2/authorize tokenUrl: https://auth.carboncure.com/oauth2/token scopes: {} MyCCAuth: type: oauth2 flows: authorizationCode: authorizationUrl: https://auth.carboncure.com/oauth2/authorize tokenUrl: https://auth.carboncure.com/oauth2/token scopes: {} M2MAuth: type: oauth2 flows: authorizationCode: authorizationUrl: https://auth.carboncure.com/oauth2/authorize tokenUrl: https://auth.carboncure.com/oauth2/token scopes: {}