Examples

POST /foundry-api/v1/countries
{
  "data": {
    "type": "countries",
    "attributes": {
      "slug": null,
      "useful-links": [],
      "name": "Singapore",
      "total-insights": "0"
    },
    "relationships": {}
  }
}
201
{
  "data": {
    "id": "9",
    "type": "countries",
    "links": {
      "self": "http://test.host/foundry-api/v1/countries/9"
    },
    "attributes": {
      "slug": "singapore-f367dde3-d252-4c75-86aa-e2316f04d9f1",
      "useful-links": [],
      "name": "Singapore",
      "total-insights": 0
    },
    "relationships": {
      "classification-distribution": {
        "links": {
          "self": "http://test.host/foundry-api/v1/countries/9/relationships/classification-distribution",
          "related": "http://test.host/foundry-api/v1/countries/9/classification-distribution"
        }
      },
      "geographies": {
        "links": {
          "self": "http://test.host/foundry-api/v1/countries/9/relationships/geographies",
          "related": "http://test.host/foundry-api/v1/countries/9/geographies"
        }
      }
    }
  }
}