{
  "opencollection": "1.0.0",
  "info": {
    "name": "Oneflow Public Comments Data Fields API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-oneflow-api-token",
      "value": "{{x-oneflow-api-token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Data Fields",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get template type data fields",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.oneflow.com/v1/template_types/:template_type_id/data_fields",
            "params": [
              {
                "name": "template_type_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves the data fields defined on a template type (modeled)."
        },
        {
          "info": {
            "name": "Get contract data fields",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.oneflow.com/v1/contracts/:contract_id/data_fields",
            "params": [
              {
                "name": "contract_id",
                "value": "",
                "type": "path",
                "description": "The ID of the contract."
              }
            ]
          },
          "docs": "Retrieves the data fields on a contract (modeled)."
        },
        {
          "info": {
            "name": "Update contract data fields",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.oneflow.com/v1/contracts/:contract_id/data_fields",
            "params": [
              {
                "name": "contract_id",
                "value": "",
                "type": "path",
                "description": "The ID of the contract."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the values of data fields on a draft contract (modeled)."
        }
      ]
    }
  ],
  "bundled": true
}