List All Data Models

To get details about all Data Models, you need to know your workspace identifier. The sample code uses a workspaceId of 123456. Use the actual ID values of your workspace.

The following parameters are the base parameters required to list all Data Models.

List All Data Models

curl 'https://ar.blazemeter.com/api/v1/workspaces/123456/assets?q=type%3Ddata-model' \
    -X GET \
    -H 'accept: application/json;charset=UTF-8' \

List All Data Models Response Attributes

Response200 OK

 "timestamp": "string",
  "request_id": "string",
  "result": [
    {
      "id": "datamodel/Pet",
      "title": "Pet",
      "description": "A Pet can be dog or cat",
      "type": "object",
      "kind": "tdm",
      "repeat": 1,
      "properties": {
        "name": {
          "type": "string"
        },
        "age": {
          "type": "integer"
        },
        "email": {
          "type": "string"
        }
      },
      "requirements": {
        "name": "randText(5, 10)",
        "email": "$name + '@google.com'"
      }
    }
  ]
}