openapi: 3.2.0 info: title: Kelowna Production myCC - Dropdowns API version: v1 tags: - name: myCC - Dropdowns paths: /Dropdowns/CementPlants: get: tags: - myCC - Dropdowns summary: Gets a list of all available cement plants parameters: - name: country in: query description: Which country to get cement plants for. Optional. schema: type: string responses: '200': description: OK content: text/plain: schema: type: array items: $ref: '#/components/schemas/CementPlantArgs' application/json: schema: type: array items: $ref: '#/components/schemas/CementPlantArgs' text/json: schema: type: array items: $ref: '#/components/schemas/CementPlantArgs' security: - {} - MyCCAuth: - applicationId - roles - {} operationId: getDropdownsCementPlants x-operation-id-source: derived /Dropdowns/CementTypes: get: tags: - myCC - Dropdowns summary: Gets a list of all supported cement types responses: '200': description: OK content: text/plain: schema: type: array items: $ref: '#/components/schemas/CementTypeArgs' application/json: schema: type: array items: $ref: '#/components/schemas/CementTypeArgs' text/json: schema: type: array items: $ref: '#/components/schemas/CementTypeArgs' security: - {} - MyCCAuth: - applicationId - roles - {} operationId: getDropdownsCementTypes x-operation-id-source: derived /Dropdowns/CO2Suppliers: get: tags: - myCC - Dropdowns summary: Gets a list of CO2 supplier company names responses: '200': description: OK content: text/plain: schema: type: array items: type: string application/json: schema: type: array items: type: string text/json: schema: type: array items: type: string security: - {} - MyCCAuth: - applicationId - roles - {} operationId: getDropdownsCO2Suppliers x-operation-id-source: derived components: schemas: CementType: enum: - CementTypeI - CementTypeIS - CementTypeIP - CementTypeIL - CementTypeII - CementTypeI_II - CementTypeI_IIMH - CementTypeI_II_LA - CementTypeIII - CementTypeIV - CementTypeII_V - CementTypeN - CementTypeS - CementCemI - CementCemII - CementCemIII - CementCemIV - CementCemV - CementCemVI - CementBlendedHydraulic type: string CementTypeArgs: type: object properties: cementType: $ref: '#/components/schemas/CementType' label: type: - string - 'null' additionalProperties: false CementPlantArgs: type: object properties: cementPlantId: type: integer format: int32 plantName: type: - string - 'null' 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: {}