{
  "opencollection": "1.0.0",
  "info": {
    "name": "OAuth Token budgets custom-columns API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "custom-columns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get custom column values",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.standardmetrics.io/custom-columns/",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "company_slug",
                "value": "",
                "type": "query",
                "description": "The slug that uniquely identifies the company whose metrics' to request. You can find the slug for a company by going to that company's portfolio page, and then the last portion of the URL will be the unique slug for said company. For example: in the url: `app.standardmetrics.io/venture/fund-slug/portfolio/example-slug/`, `example-slug` would the the slug. You can also make a request to the `/companies` endpoint to get a list of all your firm's companies and their slugs. Either the `company_slug` or `company_id` parameter must be passed to this endpoint."
              },
              {
                "name": "company_id",
                "value": "",
                "type": "query",
                "description": "The id for the company whose metrics' to request. You can get a company's id by making a request to the `/companies` endpoint. Either the `company_slug` or `company_id` parameter must be passed to this endpoint."
              }
            ]
          },
          "docs": "Retrieve custom column values for companies. Includes column metadata, values, and company associations.\n\n**Notes:**\n- If no company is specified, returns custom column data for all companies.\n\n**Permissions:**\n- User must be authenticated via OAuth.\n- User must have access to the metrics data."
        },
        {
          "info": {
            "name": "Get custom column options",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.standardmetrics.io/custom-columns/options/",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              }
            ]
          },
          "docs": "Retrieve all custom columns and their available options. Includes selectable options for select and multi-select columns.\n\n**Notes:**\n- Particularly helpful for retrieving available options for `select` and `multi_select` custom columns.\n- Text columns will have empty options arrays.\n\n**Permissions:**\n- User must be authenticated via OAuth."
        },
        {
          "info": {
            "name": "Update custom column values",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.standardmetrics.io/custom-columns/values/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update custom column values for companies. Fully replaces existing data for the specified company and column.\n\n**Permissions:**\n- User must be authenticated via OAuth.\n- User must have access to the companies.\n- User must have ADMIN or EDITOR role."
        }
      ]
    }
  ],
  "bundled": true
}