openapi: 3.2.0 info: title: Kickstart Organization Controller API description: API documentation for Kickstart services contact: name: Your Team email: support@example.com license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 version: '1.0' servers: - url: https://platform.digitalremedy.com description: Generated server url tags: - name: organization-controller paths: /api/organizations/{organizationId}: get: tags: - organization-controller operationId: getOrganization parameters: - name: organizationId in: path required: true schema: type: integer format: int32 responses: '400': description: Bad Request content: '*/*': schema: type: object '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/ApiResponseOrganization' put: tags: - organization-controller operationId: update_3 parameters: - name: organizationId in: path required: true schema: type: integer format: int32 requestBody: content: application/json: schema: $ref: '#/components/schemas/Organization' required: true responses: '400': description: Bad Request content: '*/*': schema: type: object '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/ApiResponseOrganization' /api/organizations: get: tags: - organization-controller operationId: getOrganizations responses: '400': description: Bad Request content: '*/*': schema: type: object '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/ApiResponseListOrganization' post: tags: - organization-controller operationId: create_5 requestBody: content: application/json: schema: $ref: '#/components/schemas/Organization' required: true responses: '400': description: Bad Request content: '*/*': schema: type: object '200': description: OK content: '*/*': schema: $ref: '#/components/schemas/ApiResponseOrganization' components: schemas: FileData: type: object properties: createdAt: type: string format: date-time createdBy: type: string deletedAt: type: string format: date-time id: type: integer format: int32 name: type: string path: type: string size: type: integer format: int32 type: type: string enum: - UPLOAD - LINK - ARTICLE_UPLOAD - ARTICLE_LINK - COMPANION_ASSET_UPLOAD - COMPANION_ASSET_LINK - CLOSED_CAPTIONING_UPLOAD - ADVERTISER_LOGO - IO_ATTACHMENT - NOTES - CREATIVE - ARTICLE_CREATIVE - COMPANION_ASSET - CLOSED_CAPTIONING - TRACKING_PIXEL - ORGANIZATION_LOGO updatedAt: type: string format: date-time updatedBy: type: string ApiResponseOrganization: type: object properties: status: type: integer format: int32 message: type: string result: $ref: '#/components/schemas/Organization' ApiResponseListOrganization: type: object properties: status: type: integer format: int32 message: type: string result: type: array items: $ref: '#/components/schemas/Organization' Organization: type: object properties: appConsoleLogoFile: $ref: '#/components/schemas/FileData' appConsoleSquareLogoFile: $ref: '#/components/schemas/FileData' emailBranding: type: boolean favIconLogoFile: $ref: '#/components/schemas/FileData' id: type: integer format: int32 loginEnabled: type: boolean logoFile: $ref: '#/components/schemas/FileData' name: type: string orgType: type: string subdomainConfig: {} subdomainEnabled: type: boolean theme: {} whitelabelEnabled: type: boolean