Verta ProjectService API

The ProjectService API from Verta — 32 operation(s) for projectservice.

Specifications

Other Resources

OpenAPI Specification

verta-projectservice-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  title: deployment/APISync.proto AuthzService ProjectService API
  version: version not set
basePath: /v1
consumes:
- application/json
produces:
- application/json
tags:
- name: ProjectService
paths:
  /project/addProjectAttributes:
    post:
      operationId: ProjectService_addProjectAttributes
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbAddProjectAttributesResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbAddProjectAttributes'
      tags:
      - ProjectService
  /project/addProjectTag:
    post:
      operationId: ProjectService_addProjectTag
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbAddProjectTagResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbAddProjectTag'
      tags:
      - ProjectService
  /project/addProjectTags:
    post:
      operationId: ProjectService_addProjectTags
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbAddProjectTagsResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbAddProjectTags'
      tags:
      - ProjectService
  /project/createProject:
    post:
      operationId: ProjectService_createProject
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbCreateProjectResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbCreateProject'
      tags:
      - ProjectService
  /project/deepCopyProject:
    post:
      operationId: ProjectService_deepCopyProject
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbDeepCopyProjectResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbDeepCopyProject'
      tags:
      - ProjectService
  /project/deleteArtifact:
    delete:
      operationId: ProjectService_deleteArtifact
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbDeleteProjectArtifactResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbDeleteProjectArtifact'
      tags:
      - ProjectService
  /project/deleteProject:
    delete:
      operationId: ProjectService_deleteProject
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbDeleteProjectResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbDeleteProject'
      tags:
      - ProjectService
  /project/deleteProjectAttributes:
    delete:
      operationId: ProjectService_deleteProjectAttributes
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbDeleteProjectAttributesResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbDeleteProjectAttributes'
      tags:
      - ProjectService
  /project/deleteProjectTag:
    delete:
      operationId: ProjectService_deleteProjectTag
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbDeleteProjectTagResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbDeleteProjectTag'
      tags:
      - ProjectService
  /project/deleteProjectTags:
    delete:
      operationId: ProjectService_deleteProjectTags
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbDeleteProjectTagsResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbDeleteProjectTags'
      tags:
      - ProjectService
  /project/deleteProjects:
    delete:
      operationId: ProjectService_deleteProjects
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbDeleteProjectsResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbDeleteProjects'
      tags:
      - ProjectService
  /project/findProjects:
    post:
      summary: queries
      operationId: ProjectService_findProjects
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbFindProjectsResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbFindProjects'
      tags:
      - ProjectService
  /project/getArtifacts:
    get:
      operationId: ProjectService_getArtifacts
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetArtifactsResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: id
        in: query
        required: false
        type: string
      - name: key
        in: query
        required: false
        type: string
      tags:
      - ProjectService
  /project/getProjectAttributes:
    get:
      operationId: ProjectService_getProjectAttributes
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetAttributesResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: id
        in: query
        required: false
        type: string
      - name: attribute_keys
        in: query
        required: false
        type: array
        items:
          type: string
        collectionFormat: multi
      - name: get_all
        in: query
        required: false
        type: boolean
      tags:
      - ProjectService
  /project/getProjectById:
    get:
      operationId: ProjectService_getProjectById
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetProjectByIdResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: id
        in: query
        required: false
        type: string
      tags:
      - ProjectService
  /project/getProjectByName:
    get:
      operationId: ProjectService_getProjectByName
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetProjectByNameResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: name
        in: query
        required: false
        type: string
      - name: workspace_name
        in: query
        required: false
        type: string
      tags:
      - ProjectService
  /project/getProjectCodeVersion:
    get:
      operationId: ProjectService_getProjectCodeVersion
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetProjectCodeVersionResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: id
        in: query
        required: false
        type: string
      tags:
      - ProjectService
  /project/getProjectDatasetCount:
    get:
      operationId: ProjectService_getProjectDatasetCount
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetProjectDatasetCountResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: project_id
        in: query
        required: false
        type: string
      tags:
      - ProjectService
  /project/getProjectReadme:
    get:
      operationId: ProjectService_getProjectReadme
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetProjectReadmeResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: id
        in: query
        required: false
        type: string
      tags:
      - ProjectService
  /project/getProjectShortName:
    get:
      operationId: ProjectService_getProjectShortName
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetProjectShortNameResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: id
        in: query
        required: false
        type: string
      tags:
      - ProjectService
  /project/getProjectTags:
    get:
      operationId: ProjectService_getProjectTags
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetTagsResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: id
        in: query
        required: false
        type: string
      tags:
      - ProjectService
  /project/getProjects:
    get:
      operationId: ProjectService_getProjects
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetProjectsResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: page_number
        in: query
        required: false
        type: integer
        format: int32
      - name: page_limit
        in: query
        required: false
        type: integer
        format: int32
      - name: ascending
        in: query
        required: false
        type: boolean
      - name: sort_key
        in: query
        required: false
        type: string
      - name: workspace_name
        in: query
        required: false
        type: string
      tags:
      - ProjectService
  /project/getSummary:
    get:
      operationId: ProjectService_getSummary
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetSummaryResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: entityId
        in: query
        required: false
        type: string
      tags:
      - ProjectService
  /project/getUrlForArtifact:
    post:
      summary: artifacts
      operationId: ProjectService_getUrlForArtifact
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbGetUrlForArtifactResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbGetUrlForArtifact'
      tags:
      - ProjectService
  /project/logArtifacts:
    post:
      summary: artifacts
      operationId: ProjectService_logArtifacts
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbLogProjectArtifactsResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbLogProjectArtifacts'
      tags:
      - ProjectService
  /project/logProjectCodeVersion:
    post:
      summary: code version
      operationId: ProjectService_logProjectCodeVersion
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbLogProjectCodeVersionResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbLogProjectCodeVersion'
      tags:
      - ProjectService
  /project/setProjectReadme:
    post:
      operationId: ProjectService_setProjectReadme
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbSetProjectReadmeResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbSetProjectReadme'
      tags:
      - ProjectService
  /project/setProjectShortName:
    post:
      operationId: ProjectService_setProjectShortName
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbSetProjectShortNameResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbSetProjectShortName'
      tags:
      - ProjectService
  /project/updateProjectAttributes:
    post:
      operationId: ProjectService_updateProjectAttributes
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbUpdateProjectAttributesResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbUpdateProjectAttributes'
      tags:
      - ProjectService
  /project/updateProjectDescription:
    post:
      operationId: ProjectService_updateProjectDescription
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbUpdateProjectDescriptionResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbUpdateProjectDescription'
      tags:
      - ProjectService
  /project/updateProjectName:
    post:
      operationId: ProjectService_updateProjectName
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbUpdateProjectNameResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: '#/definitions/modeldbUpdateProjectName'
      tags:
      - ProjectService
  /project/verifyConnection:
    get:
      operationId: ProjectService_verifyConnection
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/modeldbVerifyConnectionResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/runtimeError'
      tags:
      - ProjectService
definitions:
  modeldbGetProjectCodeVersionResponse:
    type: object
    properties:
      code_version:
        $ref: '#/definitions/commonCodeVersion'
  modeldbGetArtifactsResponse:
    type: object
    properties:
      artifacts:
        type: array
        items:
          $ref: '#/definitions/commonArtifact'
  modeldbDeleteProjectTagResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbGetProjectDatasetCountResponse:
    type: object
    properties:
      dataset_count:
        type: string
        format: int64
  modeldbDeepCopyProjectResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbDeleteProjectsResponse:
    type: object
    properties:
      status:
        type: boolean
  uacCollaboratorPermissions:
    type: object
    properties:
      collaborator_type:
        $ref: '#/definitions/CollaboratorTypeEnumCollaboratorType'
      can_deploy:
        $ref: '#/definitions/TernaryEnumTernary'
      can_predict:
        $ref: '#/definitions/TernaryEnumTernary'
  modeldbDeleteProjects:
    type: object
    properties:
      ids:
        type: array
        items:
          type: string
  modeldbProjectVisibility:
    type: string
    enum:
    - PRIVATE
    - PUBLIC
    - ORG_SCOPED_PUBLIC
    default: PRIVATE
  modeldbDeleteProjectAttributes:
    type: object
    properties:
      id:
        type: string
      attribute_keys:
        type: array
        items:
          type: string
      delete_all:
        type: boolean
  TernaryEnumTernary:
    type: string
    enum:
    - UNKNOWN
    - 'TRUE'
    - 'FALSE'
    default: UNKNOWN
  modeldbUpdateProjectNameResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbSetProjectReadme:
    type: object
    properties:
      id:
        type: string
      readme_text:
        type: string
  modeldbGetAttributesResponse:
    type: object
    properties:
      attributes:
        type: array
        items:
          $ref: '#/definitions/commonKeyValue'
  WorkspaceTypeEnumWorkspaceType:
    type: string
    enum:
    - UNKNOWN
    - ORGANIZATION
    - USER
    default: UNKNOWN
  modeldbDeleteProjectResponse:
    type: object
    properties:
      status:
        type: boolean
  modeldbAddProjectAttributesResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  protobufAny:
    type: object
    properties:
      type_url:
        type: string
      value:
        type: string
        format: byte
  runtimeError:
    type: object
    properties:
      error:
        type: string
      code:
        type: integer
        format: int32
      message:
        type: string
      details:
        type: array
        items:
          $ref: '#/definitions/protobufAny'
  modeldbDeleteProjectTagsResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbUpdateProjectDescription:
    type: object
    properties:
      id:
        type: string
      description:
        type: string
  modeldbDeleteProjectAttributesResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbDeleteProjectArtifactResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbLogProjectCodeVersion:
    type: object
    properties:
      id:
        type: string
      code_version:
        $ref: '#/definitions/commonCodeVersion'
    title: code version
  modeldbDeleteProject:
    type: object
    properties:
      id:
        type: string
  modeldbProject:
    type: object
    properties:
      id:
        type: string
      name:
        type: string
      description:
        type: string
      date_created:
        type: string
        format: uint64
      date_updated:
        type: string
        format: uint64
      short_name:
        type: string
      readme_text:
        type: string
      project_visibility:
        $ref: '#/definitions/modeldbProjectVisibility'
      workspace_id:
        type: string
      workspace_type:
        $ref: '#/definitions/WorkspaceTypeEnumWorkspaceType'
      workspace_service_id:
        type: string
        format: uint64
      custom_permission:
        $ref: '#/definitions/uacCollaboratorPermissions'
        title: 'The next field only makes sense when visibility == ORG_CUSTOM

          They will be empty otherwise'
      visibility:
        $ref: '#/definitions/uacResourceVisibility'
      attributes:
        type: array
        items:
          $ref: '#/definitions/commonKeyValue'
      tags:
        type: array
        items:
          type: string
      owner:
        type: string
      owner_id:
        type: string
        format: uint64
      group_owner_id:
        $ref: '#/definitions/commonGroupId'
      code_version_snapshot:
        $ref: '#/definitions/commonCodeVersion'
      artifacts:
        type: array
        items:
          $ref: '#/definitions/commonArtifact'
      version_number:
        type: string
        format: uint64
        title: Doc for version_number https://github.com/VertaAI/docs/pull/53
  modeldbVerifyConnectionResponse:
    type: object
    properties:
      status:
        type: boolean
  modeldbAddProjectTagsResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  commonKeyValueQuery:
    type: object
    properties:
      key:
        type: string
      value:
        type: object
      value_type:
        $ref: '#/definitions/ValueTypeEnumValueType'
      operator:
        $ref: '#/definitions/OperatorEnumOperator'
  CollaboratorTypeEnumCollaboratorType:
    type: string
    enum:
    - READ_ONLY
    - READ_WRITE
    default: READ_ONLY
  modeldbGetTagsResponse:
    type: object
    properties:
      tags:
        type: array
        items:
          type: string
  modeldbAddProjectTag:
    type: object
    properties:
      id:
        type: string
      tag:
        type: string
  modeldbFindProjectsResponse:
    type: object
    properties:
      projects:
        type: array
        items:
          $ref: '#/definitions/modeldbProject'
      total_records:
        type: string
        format: int64
  commonGitSnapshot:
    type: object
    properties:
      filepaths:
        type: array
        items:
          type: string
      repo:
        type: string
      hash:
        type: string
      is_dirty:
        $ref: '#/definitions/TernaryEnumTernary'
  modeldbLastModifiedExperimentRunSummary:
    type: object
    properties:
      name:
        type: string
      last_updated_time:
        type: string
        format: uint64
  modeldbAddProjectTags:
    type: object
    properties:
      id:
        type: string
      tags:
        type: array
        items:
          type: string
  modeldbGetSummaryResponse:
    type: object
    properties:
      name:
        type: string
      last_updated_time:
        type: string
        format: uint64
      total_experiment:
        type: string
        format: int64
      total_experiment_runs:
        type: string
        format: int64
      last_modified_experimentRun_summary:
        $ref: '#/definitions/modeldbLastModifiedExperimentRunSummary'
      metrics:
        type: array
        items:
          $ref: '#/definitions/modeldbMetricsSummary'
  modeldbAddProjectAttributes:
    type: object
    properties:
      id:
        type: string
      attributes:
        type: array
        items:
          $ref: '#/definitions/commonKeyValue'
  ArtifactTypeEnumArtifactType:
    type: string
    enum:
    - IMAGE
    - MODEL
    - TENSORBOARD
    - DATA
    - BLOB
    - STRING
    - CODE
    - CONTAINER
    default: IMAGE
  modeldbLogProjectArtifactsResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbAddProjectTagResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbGetUrlForArtifactResponse:
    type: object
    properties:
      url:
        type: string
      fields:
        type: object
        additionalProperties:
          type: string
      multipart_upload_ok:
        type: boolean
  modeldbGetProjectsResponse:
    type: object
    properties:
      projects:
        type: array
        items:
          $ref: '#/definitions/modeldbProject'
      total_records:
        type: string
        format: int64
  commonArtifact:
    type: object
    properties:
      key:
        type: string
      path:
        type: string
      path_only:
        type: boolean
      artifact_type:
        $ref: '#/definitions/ArtifactTypeEnumArtifactType'
      linked_artifact_id:
        type: string
      filename_extension:
        type: string
      serialization:
        type: string
      artifact_subtype:
        type: string
      upload_completed:
        type: boolean
  modeldbGetProjectReadmeResponse:
    type: object
    properties:
      readme_text:
        type: string
  modeldbUpdateProjectDescriptionResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbDeleteProjectTag:
    type: object
    properties:
      id:
        type: string
      tag:
        type: string
  modeldbUpdateProjectAttributes:
    type: object
    properties:
      id:
        type: string
      attribute:
        $ref: '#/definitions/commonKeyValue'
  modeldbDeleteProjectArtifact:
    type: object
    properties:
      id:
        type: string
      key:
        type: string
  modeldbLogProjectCodeVersionResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbCreateProjectResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbMetricsSummary:
    type: object
    properties:
      key:
        type: string
      min_value:
        type: number
        format: double
      max_value:
        type: number
        format: double
  uacResourceVisibility:
    type: string
    enum:
    - UNKNOWN
    - ORG_DEFAULT
    - ORG_CUSTOM
    - PRIVATE
    - WORKSPACE_DEFAULT
    default: UNKNOWN
  modeldbSetProjectShortNameResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbGetProjectShortNameResponse:
    type: object
    properties:
      short_name:
        type: string
  modeldbGetProjectByIdResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  ValueTypeEnumValueType:
    type: string
    enum:
    - STRING
    - NUMBER
    - LIST
    - BLOB
    default: STRING
  commonCodeVersion:
    type: object
    properties:
      git_snapshot:
        $ref: '#/definitions/commonGitSnapshot'
      code_archive:
        $ref: '#/definitions/commonArtifact'
      date_logged:
        type: string
        format: uint64
    title: code version
  modeldbDeleteProjectTags:
    type: object
    properties:
      id:
        type: string
      tags:
        type: array
        items:
          type: string
      delete_all:
        type: boolean
  commonGroupId:
    type: object
    properties:
      org_id:
        type: string
      group_id:
        type: string
  modeldbUpdateProjectName:
    type: object
    properties:
      id:
        type: string
      name:
        type: string
  modeldbCreateProject:
    type: object
    properties:
      name:
        type: string
      description:
        type: string
      attributes:
        type: array
        items:
          $ref: '#/definitions/commonKeyValue'
      tags:
        type: array
        items:
          type: string
      readme_text:
        type: string
      project_visibility:
        $ref: '#/definitions/modeldbProjectVisibility'
      artifacts:
        type: array
        items:
          $ref: '#/definitions/commonArtifact'
      workspace_name:
        type: string
      date_created:
        type: string
        format: int64
      custom_permission:
        $ref: '#/definitions/uacCollaboratorPermissions'
        title: 'The next field only makes sense when visibility == ORG_CUSTOM

          They will be empty otherwise'
      visibility:
        $ref: '#/definitions/uacResourceVisibility'
  modeldbDeepCopyProject:
    type: object
    properties:
      id:
        type: string
  modeldbFindProjects:
    type: object
    properties:
      project_ids:
        type: array
        items:
          type: string
      predicates:
        type: array
        items:
          $ref: '#/definitions/commonKeyValueQuery'
      ids_only:
        type: boolean
      workspace_name:
        type: string
      page_number:
        type: integer
        format: int32
        title: For pagination
      page_limit:
        type: integer
        format: int32
      ascending:
        type: boolean
      sort_key:
        type: string
  modeldbSetProjectReadmeResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbUpdateProjectAttributesResponse:
    type: object
    properties:
      project:
        $ref: '#/definitions/modeldbProject'
  modeldbSetProjectShortName:
    type: object
    properties:
      id:
        type: string
      short_name:
        type: string
  OperatorEnumOperator:
    type: string
    enum:
    - EQ
    - NE
    - GT
    - GTE
    - LT
    - LTE
    - CONTAIN
    - NOT_CONTAIN
    - IN
    - NOT_IN
    default: EQ
  modeldbGetProjectByNameResponse:
    type: object
    properties:
      project_by_user:
        $ref: '#/definitions/modeldbProject'
      shared_projects:
        type: array
        items:
          $ref: '#/definitions/modeldbProject'
  modeldbLogProjectArtifacts:
    type: object
    properties:
      id:
        type: string
      artifacts:
    

# --- truncated at 32 KB (32 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/verta/refs/heads/main/openapi/verta-projectservice-api-openapi.yml