{
  "opencollection": "1.0.0",
  "info": {
    "name": "Render Public Audit Logs Projects & Environments API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects & Environments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.render.com/v1/projects",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter by name"
              },
              {
                "name": "createdBefore",
                "value": "2021-06-17T08:15:30Z",
                "type": "query",
                "description": "Filter for resources created before a certain time (specified as an ISO 8601 timestamp)"
              },
              {
                "name": "createdAfter",
                "value": "2021-02-17T08:15:30Z",
                "type": "query",
                "description": "Filter for resources created after a certain time (specified as an ISO 8601 timestamp)"
              },
              {
                "name": "updatedBefore",
                "value": "2021-06-17T08:15:30Z",
                "type": "query",
                "description": "Filter for resources updated before a certain time (specified as an ISO 8601 timestamp)"
              },
              {
                "name": "updatedAfter",
                "value": "2021-06-17T08:15:30Z",
                "type": "query",
                "description": "Filter for resources updated after a certain time (specified as an ISO 8601 timestamp)"
              },
              {
                "name": "ownerId",
                "value": "",
                "type": "query",
                "description": "The ID of the workspaces to return resources for"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination)."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination)."
              }
            ]
          },
          "docs": "List projects matching the provided filters. If no filters are provided, all projects are returned.\n"
        },
        {
          "info": {
            "name": "Create project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.render.com/v1/projects",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new project.\n"
        },
        {
          "info": {
            "name": "Retrieve Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.render.com/v1/projects/:projectId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve the project with the provided ID.\n"
        },
        {
          "info": {
            "name": "Update project",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.render.com/v1/projects/:projectId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the details of a project.\n\nTo update the details of a particular _environment_ in the project, instead use the [Update environment](https://api-docs.render.com/reference/update-environment) endpoint.\n"
        },
        {
          "info": {
            "name": "Delete project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.render.com/v1/projects/:projectId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete the project with the provided ID.\n\nRequires _all_ of the project's environments to be empty (i.e., they must contain no services or other resources). Otherwise, deletion fails with a `409` response.\n\nTo delete a non-empty project, do one of the following:\n- First move or delete all contained services and other resources.\n- Delete the project in the [Render Dashboard](https://dashboard.render.com).\n"
        },
        {
          "info": {
            "name": "List environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.render.com/v1/environments",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter by name"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "query",
                "description": "Filter for resources that belong to a project"
              },
              {
                "name": "createdBefore",
                "value": "2021-06-17T08:15:30Z",
                "type": "query",
                "description": "Filter for resources created before a certain time (specified as an ISO 8601 timestamp)"
              },
              {
                "name": "createdAfter",
                "value": "2021-02-17T08:15:30Z",
                "type": "query",
                "description": "Filter for resources created after a certain time (specified as an ISO 8601 timestamp)"
              },
              {
                "name": "updatedBefore",
                "value": "2021-06-17T08:15:30Z",
                "type": "query",
                "description": "Filter for resources updated before a certain time (specified as an ISO 8601 timestamp)"
              },
              {
                "name": "updatedAfter",
                "value": "2021-06-17T08:15:30Z",
                "type": "query",
                "description": "Filter for resources updated after a certain time (specified as an ISO 8601 timestamp)"
              },
              {
                "name": "ownerId",
                "value": "",
                "type": "query",
                "description": "The ID of the workspaces to return resources for"
              },
              {
                "name": "environmentId",
                "value": "",
                "type": "query",
                "description": "Filter for resources that belong to an environment"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination)."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination)."
              }
            ]
          },
          "docs": "List a particular project's environments matching the provided filters. If no filters are provided, all environments are returned.\n"
        },
        {
          "info": {
            "name": "Create environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.render.com/v1/environments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new environment belonging to the project with the provided ID.\n"
        },
        {
          "info": {
            "name": "Retrieve environment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.render.com/v1/environments/:environmentId",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve the environment with the provided ID."
        },
        {
          "info": {
            "name": "Update environment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.render.com/v1/environments/:environmentId",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the details of the environment with the provided ID."
        },
        {
          "info": {
            "name": "Delete environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.render.com/v1/environments/:environmentId",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete the environment with the provided ID.\n\nRequires the environment to be empty (i.e., it must contain no services or other resources). Otherwise, deletion fails with a `409` response.\n\nTo delete a non-empty environment, do one of the following:\n- First move or delete all contained services and other resources.\n- Delete the environment in the [Render Dashboard](https://dashboard.render.com).\n"
        },
        {
          "info": {
            "name": "Add resources to environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.render.com/v1/environments/:environmentId/resources",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add resources to the environment with the provided ID.\n"
        },
        {
          "info": {
            "name": "Remove resources from environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.render.com/v1/environments/:environmentId/resources",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path"
              },
              {
                "name": "resourceIds",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Remove resources from the environment with the provided ID.\n"
        }
      ]
    }
  ],
  "bundled": true
}