GET /api/v1/countries
List Strategy Mandates

Examples

GET /api/v2/strategies
200
{
  "data": [
    {
      "id": "3",
      "type": "strategies",
      "links": {
        "self": "http://test.host/api/v2/strategies/3"
      },
      "attributes": {
        "slug": "shorts",
        "useful-links": [],
        "name": "Shorts"
      },
      "relationships": {
        "classification-distribution": {
          "links": {
            "self": "http://test.host/api/v2/strategies/3/relationships/classification-distribution",
            "related": "http://test.host/api/v2/strategies/3/classification-distribution"
          }
        },
        "content-verticals": {
          "links": {
            "self": "http://test.host/api/v2/strategies/3/relationships/content-verticals",
            "related": "http://test.host/api/v2/strategies/3/content-verticals"
          }
        }
      }
    },
    {
      "id": "4",
      "type": "strategies",
      "links": {
        "self": "http://test.host/api/v2/strategies/4"
      },
      "attributes": {
        "slug": "income",
        "useful-links": [],
        "name": "Income"
      },
      "relationships": {
        "classification-distribution": {
          "links": {
            "self": "http://test.host/api/v2/strategies/4/relationships/classification-distribution",
            "related": "http://test.host/api/v2/strategies/4/classification-distribution"
          }
        },
        "content-verticals": {
          "links": {
            "self": "http://test.host/api/v2/strategies/4/relationships/content-verticals",
            "related": "http://test.host/api/v2/strategies/4/content-verticals"
          }
        }
      }
    }
  ],
  "meta": {
    "record-count": 2
  }
}

GET /api/v1/countries/:id
Show a Strategy Mandate

Examples

GET /api/v2/strategies/1
200
{
  "data": {
    "id": "1",
    "type": "strategies",
    "links": {
      "self": "http://test.host/api/v2/strategies/1"
    },
    "attributes": {
      "slug": "shorts",
      "useful-links": [],
      "name": "Shorts"
    },
    "relationships": {
      "classification-distribution": {
        "links": {
          "self": "http://test.host/api/v2/strategies/1/relationships/classification-distribution",
          "related": "http://test.host/api/v2/strategies/1/classification-distribution"
        }
      },
      "content-verticals": {
        "links": {
          "self": "http://test.host/api/v2/strategies/1/relationships/content-verticals",
          "related": "http://test.host/api/v2/strategies/1/content-verticals"
        }
      }
    }
  }
}

Params

Param name Description
id
required

Strategy ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.


POST /api/v2/countries
Create a Strategy Mandate


PATCH /api/v2/countries/:id
Update a Strategy Mandate

Params

Param name Description
id
required

Strategy ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.


DELETE /api/v2/countries/:id
Delete a Strategy Mandate

Params

Param name Description
id
required

Strategy ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.