Platform Status: Good
V1.5
Join Free
API Reference
Data Types

Data Types

Data Types describe what the data represents

Available Endpoints:

HTTP Method

Endpoint

Function

Lists all available Data Types

Lists all available Data Types

Endpoint URL
GET https://api.port.im/datatypes
Content Type
application/json
Authentication
None

This endpoint retrieves all available Data Types that may used as Data Properties

Example request

curl --request GET \
--url 'https://api.port.im/datatypes' \
--include

Example response

HTTP/1.1 200 OK
Date: Fri, 16 Feb 2018 03:02:13 GMT
Server: PORT
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Strict-Transport-Security: max-age=31536000 ; includeSubDomains ; preload
Content-Type: application/json;charset=UTF-8
Content-Length: 128

[ "BOOLEAN", "CURRENCY", "DATE", "DATETIME", "TIME", "DECIMAL", "EMAIL", "NUMBER", "RELATIONSHIP", "TEXT", "URL", "PREFERENCE" ]