openapi: 3.0.1 info: title: yatai api server admin api v1 user resource API description: This is yatai api server. version: 1.0.0 tags: - name: user resource description: user resource paths: /api/v1/users/{userName}: get: tags: - user resource summary: Get an user operationId: Get an user parameters: - name: userName in: path required: true schema: type: string responses: '200': description: OK content: application/json: schema: type: object properties: application_status: type: string avatar_url: type: string created_at: type: string format: date-time deleted_at: type: string format: date-time nullable: true email: type: string first_name: type: string from_sso: type: boolean is_super_admin: type: boolean labels: type: array items: $ref: '#/components/schemas/ModelschemasLabelItemSchema' last_name: type: string name: type: string perm: type: string register_stage: type: string resource_type: type: string enum: - user - organization - cluster - host_cluster - bento_repository - bento - deployment - deployment_revision - model_repository - model - api_token uid: type: string updated_at: type: string format: date-time components: schemas: ModelschemasLabelItemSchema: type: object properties: key: type: string stage: type: string value: type: string securitySchemes: apiToken: type: apiKey in: header name: X-YATAI-API-TOKEN