AdminResource Resource

Provides additional Admin methods needed by client systems and general graph-maintenance functionality.

POST /admin/create-default-user-profile

Create a new user with a default name and identifier.

Request Parameters
name type description multivalued
group query IDs for groups to which the user should belong yes
Request Body
media type data type description
application/json (custom) Additional key/value data for the created object
Response Body
media type data type description
application/json (custom) A new user

Example

Request
POST /admin/create-default-user-profile
Content-Type: application/json
Accept: application/json

                
...
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
...
                
              

GET /admin/export-graphson

Export the DB as a stream of JSON in GraphSON format.

The mode used is EXTENDED.

Response Body
media type data type description
application/json (custom) A graphson stream

Example

Request
GET /admin/export-graphson
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
...
                
              

GET /admin/export-json

Response Body
media type data type description
application/json (custom)

Example

Request
GET /admin/export-json
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
...