Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


Entity resource provides a listing of all entities that have been configured on Weave.


Top level resource: services/v1/entity


Sub resources

1 - /entity/list


Example 1 - Get a list of 

curl -X GET --header 'Accept: application/json' 'http://localhost:8080/weave/services/v1/entity/list'


Result:

Entity list JSON
{
  "count": 4,
  "entities": [
    {
      "size": 0,
      "active": true,
      "id": "state_significant_dev_sites",
      "label": "State Significant Dev Sites",
      "published": true,
      "spatial": true
    },
    {
      "size": 0,
      "active": false,
      "id": "landscaped_area",
      "label": "Landscaped Area",
      "published": true,
      "spatial": false
    },
    {
      "size": 0,
      "active": false,
      "id": "environmental_cons_area",
      "label": "Environmental Cons Area",
      "published": true,
      "spatial": true
    },
    {
      "size": 0,
      "active": false,
      "id": "new_local_government_area",
      "label": "Proclamation of Councils",
      "published": true,
      "spatial": false
    }]
}


  • No labels