{
  "opencollection": "1.0.0",
  "info": {
    "name": "Luminary Documents Valuations API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://auth.withluminary.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Valuations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get the current valuation for an entity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.withluminary.com/api/public/v1/entities/:id/valuation",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Entity ID"
              }
            ]
          },
          "docs": "Retrieve the most recent valuation with flattened asset values by type"
        },
        {
          "info": {
            "name": "Create a new valuation for an entity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.withluminary.com/api/public/v1/entities/:id/valuation",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Entity ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a new valuation to the entity's history"
        }
      ]
    }
  ],
  "bundled": true
}