Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

1.6 KB
Raw Blame
# /api/v3/project_storage/{id}/open
---
get:
  summary: Open the project storage
  operationId: open_project_storage
  tags:
    - File Links
  description: |-
    Gets a redirect to the location of the project storage's remote origin. If the project storage has a project
    folder, it is opened at this location. If not, the storage root is opened.
  parameters:
    - name: id
      description: Project storage id
      in: path
      required: true
      schema:
        type: integer
      example: 1337
  responses:
    '303':
      description: Redirect
      headers:
        Location:
          schema:
            type: string
            format: uri
    '403':
      content:
        application/hal+json:
          schema:
            $ref: '../components/schemas/error_response.yml'
          example:
            _type: Error
            errorIdentifier: urn:openproject-org:api:v3:errors:Unauthenticated
            message: You are not authorized to access this resource.
      description: |-
        Returned if the authorization token of the current user grants no permission to access the remote storage.
    '404':
      content:
        application/hal+json:
          schema:
            $ref: '../components/schemas/error_response.yml'
          example:
            _type: Error
            errorIdentifier: urn:openproject-org:api:v3:errors:NotFound
            message: The requested resource could not be found.
      description: |-
        Returned if the project storage does not exist or the client does not have sufficient permissions to see it.

        **Required permission:** view file links