{
  "opencollection": "1.0.0",
  "info": {
    "name": "Rigetti QCS account endpoints API",
    "version": "2020-07-31"
  },
  "items": [
    {
      "info": {
        "name": "endpoints",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Endpoints",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.qcs.rigetti.com/v1/endpoints",
            "params": [
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filtering logic specified using [rule-engine](https://zerosteiner.github.io/rule-engine/syntax.html) grammar"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all endpoints, optionally filtering by attribute."
        },
        {
          "info": {
            "name": "Create Endpoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.qcs.rigetti.com/v1/endpoints",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create an endpoint associated with your user account."
        },
        {
          "info": {
            "name": "Get Endpoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.qcs.rigetti.com/v1/endpoints/:endpointId",
            "params": [
              {
                "name": "endpointId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a specific endpoint by its ID."
        },
        {
          "info": {
            "name": "Delete Endpoint",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.qcs.rigetti.com/v1/endpoints/:endpointId",
            "params": [
              {
                "name": "endpointId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an endpoint, releasing its resources. This operation is not reversible."
        },
        {
          "info": {
            "name": "Restart Endpoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.qcs.rigetti.com/v1/endpoints/:endpointId:restart",
            "params": [
              {
                "name": "endpointId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Restart an entire endpoint or a single component within an endpoint."
        },
        {
          "info": {
            "name": "Get Default Endpoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.qcs.rigetti.com/v1/quantumProcessors/:quantumProcessorId/endpoints:getDefault",
            "params": [
              {
                "name": "quantumProcessorId",
                "value": "",
                "type": "path",
                "description": "Public identifier for a quantum processor [example: Aspen-1]"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve the endpoint set as \"default\" for the given Quantum Processor.\n\nIf no endpoint is set as the default, return \"not found.\""
        }
      ]
    }
  ],
  "bundled": true
}