HTTP API

Property Types

Data Types

RageDB currently supports booleans, 64-bit integers, 64-bit doubles, strings and lists of the preceding data types:

boolean, integer, double, string, boolean_list, integer_list, double_list, string_list

Get a Node Property Type

Retrieve an existing Node Property Type

:GET /db/{graph}/schema/nodes/{type}/properties/{property}

Example Request:

:GET /db/rage/schema/nodes/User/properties/name

Example Response:

"string"

Create a Node Property Type

Create a Node Property Type

:POST /db/{graph}/schema/nodes/{type}/properties/{property}/{data_type}

Example Request:

:POST /db/rage/schema/nodes/User/properties/name/string

Delete a Node Property Type

Delete a Node Property Type

:DELETE /db/{graph}/schema/nodes/{type}/properties/{property}

Example Request:

:DELETE /db/rage/schema/nodes/User/properties/age

Get a Relationship Property Type

Get a Relationship Property Type

:GET /db/{graph}/schema/relationships/{type}/properties/{property}

Example Request:

::GET /db/rage/schema/relationships/KNOWS/properties/weight

Example Response:

"double"

Create a Relationship Property Type

Create a Relationship Property Type

:POST /db/{graph}/schema/relationships/{type}/properties/{property}/{data_type}

Example Request:

:POST /db/rage/schema/relationships/KNOWS/properties/weight/double

Delete a Relationship Property Type

Delete a Relationship Property Type

:DELETE /db/{graph}/schema/relationships/{type}/properties/{property}

Example Request:

:DELETE /db/rage/schema/relationships/KNOWS/properties/weight