{
  "opencollection": "1.0.0",
  "info": {
    "name": "Acquia Cloud API Account Agreements API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Agreements",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Acquia Return a List of Agreements.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/agreements"
          },
          "docs": "Returns a list of agreements you have been invited to accept or decline."
        },
        {
          "info": {
            "name": "Acquia Return a Specific Agreement by a Provided UUID.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/agreements/:agreementUuid",
            "params": [
              {
                "name": "agreementUuid",
                "value": "da1c0a8e-ff69-45db-88fc-acd6d2affbb7",
                "type": "path",
                "description": "The entity's universally unique identifier."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://accounts.acquia.com/api/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Return a specific agreement."
        },
        {
          "info": {
            "name": "Acquia Accepts a Legal Agreement by UUID.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/agreements/:agreementUuid/actions/accept",
            "params": [
              {
                "name": "agreementUuid",
                "value": "da1c0a8e-ff69-45db-88fc-acd6d2affbb7",
                "type": "path",
                "description": "The entity's universally unique identifier."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://accounts.acquia.com/api/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Accepts a legal agreement."
        },
        {
          "info": {
            "name": "Acquia Declines a Legal Agreement by UUID.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/agreements/:agreementUuid/actions/decline",
            "params": [
              {
                "name": "agreementUuid",
                "value": "da1c0a8e-ff69-45db-88fc-acd6d2affbb7",
                "type": "path",
                "description": "The entity's universally unique identifier."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://accounts.acquia.com/api/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Declines a legal agreement."
        },
        {
          "info": {
            "name": "Acquia Returns a List of Users Invited to Action This Agreement.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/agreements/:agreementUuid/invitees",
            "params": [
              {
                "name": "agreementUuid",
                "value": "da1c0a8e-ff69-45db-88fc-acd6d2affbb7",
                "type": "path",
                "description": "The entity's universally unique identifier."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://accounts.acquia.com/api/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns a list of users invited to action this agreement by UUID."
        }
      ]
    }
  ],
  "bundled": true
}