GET /v1/admin/model/{type}/attributes

Retrieves the model attributes for a given type

Path parameters

  • type string Required

    Type

    Values are user or account.

Responses

  • 200 */*

    Success

    Hide response attributes Show response attributes object
    • id string Required
    • name string Required
    • apiName string Required
    • internalName string Required
    • description string
    • type string Required

      Values are STRING, DATE_TIME, BOOLEAN, or NUMBER.

    • state string Required

      Values are ENABLED, DISABLED, or DELETED.

    • origin string Required

      Values are CUSTOM or DEFAULT.

    • createdDate integer(int64) Required
    • modifiedDate integer(int64) Required
    • defaultValue string
  • 400

    Bad request

  • 401

    Unauthorized or bad API Key

  • 404

    Type not found

  • 429

    Rate limit exceeded

GET /v1/admin/model/{type}/attributes
curl \
 --request GET 'https://api.aptrinsic.com/v1/admin/model/{type}/attributes'
Response examples (200)
[
  {
    "id": "string",
    "name": "string",
    "apiName": "string",
    "internalName": "string",
    "description": "string",
    "type": "STRING",
    "state": "ENABLED",
    "origin": "CUSTOM",
    "createdDate": 42,
    "modifiedDate": 42,
    "defaultValue": "string"
  }
]