{
  "opencollection": "1.0.0",
  "info": {
    "name": "Hetzner Cloud Actions Placement Groups API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Placement Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Placement Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hetzner.cloud/v1/placement_groups",
            "params": [
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort resources by field and direction. May be used multiple times.\n\nFor more information, see \"[Sorting](#description/sorting)\".\n"
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter resources by their name.\n\nThe response will only contain the resources\nmatching exactly the specified name.\n"
              },
              {
                "name": "label_selector",
                "value": "",
                "type": "query",
                "description": "Filter resources by labels.\n\nThe response will only contain resources matching the label selector.\nFor more information, see \"[Label Selector](#description/label-selector)\".\n"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter resources by type. May be used multiple times.\n\nThe response will only contain the resources with the specified type.\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number to return. For more information, see \"[Pagination](#description/pagination)\"."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Maximum number of entries returned per page. For more information, see \"[Pagination](#description/pagination)\"."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns all Placement Group objects.\n"
        },
        {
          "info": {
            "name": "Create a PlacementGroup",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hetzner.cloud/v1/placement_groups",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new Placement Group.\n"
        },
        {
          "info": {
            "name": "Get a PlacementGroup",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hetzner.cloud/v1/placement_groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Placement Group."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a specific Placement Group object.\n"
        },
        {
          "info": {
            "name": "Update a PlacementGroup",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.hetzner.cloud/v1/placement_groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Placement Group."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the Placement Group properties.\n\nNote: if the Placement Group object changes during the request, the response will be a “conflict” error.\n"
        },
        {
          "info": {
            "name": "Delete a PlacementGroup",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.hetzner.cloud/v1/placement_groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Placement Group."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a Placement Group.\n"
        }
      ]
    }
  ],
  "bundled": true
}