{
  "opencollection": "1.0.0",
  "info": {
    "name": "Visier Administration Projects API",
    "version": "22222222.99201.3040"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "apikey",
      "value": "{{apikey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a list of draft projects accessible to the user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/admin/projects",
            "headers": [
              {
                "name": "TargetTenantID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "with",
                "value": "",
                "type": "query",
                "description": "The types of draft projects to include in the request response.\n * If empty, returns all the `Open` draft projects.\n * If `Open`, returns all Open draft projects.\n * If `Approval`, returns all draft projects in the approval stage. Changes cannot made in Approval projects.\n * If `Rejected`, returns all draft projects that have been rejected. Changes cannot be committed in Rejected projects.\n * If `Archived`, returns all draft projects that have been archived. Changes cannot be committed in Archived projects."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of projects to return per type. The maximum number of projects to retrieve per type is 1000. The default is 100."
              }
            ]
          },
          "docs": "Get a list of draft projects accessible to the requesting user in the tenant.\n\n A project is accessible if it is owned by the user or shared to the user."
        },
        {
          "info": {
            "name": "Create a new draft project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/admin/projects",
            "headers": [
              {
                "name": "TargetTenantID",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new draft project in the tenant."
        },
        {
          "info": {
            "name": "Retrieve a draft project's information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/admin/projects/:projectId",
            "headers": [
              {
                "name": "TargetTenantID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the draft project you want to retrieve."
              }
            ]
          },
          "docs": "Retrieve the details of an accessible draft project. You must know the ID of the project to retrieve its details. To retrieve draft project IDs, see `GET /v1/admin/projects`.\n\n A project is accessible if it is owned by the user or shared to the user."
        },
        {
          "info": {
            "name": "Perform an operation on a draft project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/admin/projects/:projectId",
            "headers": [
              {
                "name": "TargetTenantID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Perform operations on a draft project. The following operations are supported:\n * `commitAndPublish`: Commits project changes and publishes the project to production."
        },
        {
          "info": {
            "name": "Delete a draft project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/admin/projects/:projectId",
            "headers": [
              {
                "name": "TargetTenantID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The unique ID of the draft project to be deleted."
              }
            ]
          },
          "docs": "Delete a draft project in the tenant. The project will first be archived if applicable."
        },
        {
          "info": {
            "name": "Retrieve a list of all committed changes in a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/admin/projects/:projectId/commits",
            "headers": [
              {
                "name": "TargetTenantID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the draft project you want to retrieve the committed changes for."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of committed changes to return. Default is 400."
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "The starting index of the first committed change to return. Default is 0."
              }
            ]
          },
          "docs": "Retrieve the full list of all committed changes in a project."
        },
        {
          "info": {
            "name": "Import committed changes into a project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v1/admin/projects/:projectId/commits",
            "headers": [
              {
                "name": "TargetTenantID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the draft project you want to import committed changes into."
              }
            ]
          },
          "docs": "Import a ZIP file that contains a list of committed changes into a draft project. The file must be an export from `POST /v1/admin/production-versions`.\nUse this API after making changes in a development environment to copy the changes to a draft project in your production environment."
        }
      ]
    }
  ],
  "bundled": true
}