{
  "opencollection": "1.0.0",
  "info": {
    "name": "Pinterest State API",
    "version": "5.13.0"
  },
  "items": [
    {
      "info": {
        "name": "State",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get metrics ready state",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pinterest.com/v5/resources/metrics_ready_state",
            "params": [
              {
                "name": "date",
                "value": "",
                "type": "query",
                "description": "Analytics reports request date (UTC). Format: YYYY-MM-DD"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://www.pinterest.com/oauth/",
              "accessTokenUrl": "https://api.pinterest.com/v5/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Learn whether conversion or non-conversion metrics are finalized and ready to query."
        }
      ]
    }
  ],
  "bundled": true
}