UserClouds logo
Userstore/Config/Datatypes/Id

Get Data Type

This endpoint gets a data type's configuration by ID.

GET
/userstore/config/datatypes/{id}

Path Parameters

idstring
Formatuuid

Response Body

curl -X GET "https://your-tenant-name.tenant.userclouds.com/userstore/config/datatypes/248df4b7-aa70-47b8-a036-33ac447e668d"
fetch("https://your-tenant-name.tenant.userclouds.com/userstore/config/datatypes/248df4b7-aa70-47b8-a036-33ac447e668d")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://your-tenant-name.tenant.userclouds.com/userstore/config/datatypes/248df4b7-aa70-47b8-a036-33ac447e668d"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://your-tenant-name.tenant.userclouds.com/userstore/config/datatypes/248df4b7-aa70-47b8-a036-33ac447e668d"

response = requests.request("GET", url)

print(response.text)
{
  "composite_attributes": {
    "fields": [
      {
        "camel_case_name": "string",
        "data_type": {
          "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
          "name": "string"
        },
        "ignore_for_uniqueness": true,
        "name": "string",
        "required": true,
        "struct_name": "string"
      }
    ],
    "include_id": true
  },
  "description": "string",
  "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
  "is_composite_field_type": true,
  "is_native": true,
  "name": "string"
}
Empty
Empty