postman.graymeta.com Open in urlscan Pro
44.195.195.246  Public Scan

URL: https://postman.graymeta.com/
Submission: On August 06 via automatic, source certstream-suspicious — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

 * Body
 * Headers (13)

 * Body
 * Headers (13)

 * Body
 * Headers (13)




Public


Documentation Settings

ENVIRONMENT
No Environment

LAYOUT
Double Column

LANGUAGE
cURL - cURL



Wasabi AiR Implementation Template
Introduction
User Management
Content Analysis
Search
Extract Data
Other Functionalities


WASABI AIR IMPLEMENTATION TEMPLATE

This Collection is a thorough overview on the implementation of the Curio APIs
into your internal systems or workflows. The Curio engine can function as a
stand-alone tool or can enrich and enhance the data of an existing system of
record.

Each section below are breakout sections for programmatically interacting with
or creating Curio metadata.

If using this primarily with Postman it's recommended to create an Environment
and use variables as some of the calls make sense to utilize the same envars.


CONCEPTS

This document outlines the high-level concepts modeled in the GrayMeta Platform
API.


HOW CURIO WORKS

The GrayMeta Platform ingests content from storage, extracting metadata and
making it available via various APIs.


STORAGE

Content is stored at Locations, inside Containers. Each file is called an Item.

   
 * Locations may only contain Containers, not Items
   
 * Containers contain Items
   
 * You can think of an Item as a single file
   

For example, a connection to an Amazon S3 instance is a Location, and the
buckets are Containers. The files inside the buckets are the Items.


DATA

Once analyzation has finished, you may access the metadata for an item by using
the unique IDs assigned to it with the Items API, alternatively you can use the
Search API to perform full-text queries, filters and aggregations against the
metadata.

AUTHORIZATIONBearer Token
Token

{{token}}


USER MANAGEMENT

This section include the ability to manage users within the Curio system. It is
recommeded that Roles and Groups be created in the UI, but these functions are
available programmatically as well.

AUTHORIZATIONBearer Token
This folder is using Bearer Token from collectionWasabi AiR Implementation
Template



GETGET ALL USERS


{{url}}/api/data/users

List all Users and their unique ID within the Curio ecosystem.

AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionWasabi AiR Implementation
Template
HEADERS
Content-Type

application/json

Example Request
Get all Users

curl


curl --location -g '{{url}}/api/data/users' \
--header 'Content-Type: application/json' \
--data ''

200 OK
Example Response
 * Body
 * Headers (13)

View More
json


{
  "users": [
    {
      "id": "6437bd43cbb9e624b3031054987e934d",
      "email": "admin@graymeta.com",
      "first_name": "",
      "last_name": "",
      "enabled": true,
      "created_at": "2023-04-13T08:28:51.200155Z",
      "updated_at": "2023-04-13T08:28:51.200155Z",
      "groups": {
        "count": 0,
        "shortlist": null
      },
      "avatar": "",
      "role_id": "root",
      "company_uid": ""
    },
    {
      "id": "6437fd4ed35f694afbc07cf34fbaa6ca",
      "email": "jesse@graymeta.com",
      "first_name": "Jesse",
      "last_name": "Graham",
      "enabled": true,
      "created_at": "2023-04-13T13:02:06.666473Z",
      "updated_at": "2023-04-13T13:02:06.666473Z",
      "groups": {
        "count": 0,
        "shortlist": null
      },
      "avatar": "",
      "role_id": "root",
      "company_uid": ""
    }
  ]
}

X-Powered-By

Express

content-encoding

gzip

content-length

317

content-type

application/json; charset=utf-8

date

Wed, 22 Nov 2023 14:34:50 GMT

x-accepted-oauth-scopes

user:manage

x-api-version

v2

x-frame-options

sameorigin

x-http-request-id

07980cc6-d309-44a1-ba0d-7a3821535354

x-oauth-scopes

activity:create,activity:view,audit:create,audit:read,billing:admin,billing:aws,branding:set,cacheadmin,custom_tags:admin,custom_tags:label,edit:categories,edit:fielddata,edit:get,edit:item,edit:logos,edit:maturecontent,edit:ocr,edit:speechtotext,edit:tagsdescriptions,extractors,featureflags:update,fields:manage,groups:manage,harvest,index:create,index:delete,item:captions,item:delete,item:download,item:index,item:modify,keywords:modify,loadnstore,modeltraining:logos,modeltraining:people,people:write,reindex,reports:duplicate,roles:manage,settings:manage,storage:manage,storage:view,termprotection,user:hashedpassword,user:manage,user:sso

x-oauth-subject

6437fd4ed35f694afbc07cf34fbaa6ca

connection

close

Vary

Accept-Encoding


POSTCREATE USER


{{url}}/api/data/users

Programmatically create a new Curio User

AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionWasabi AiR Implementation
Template
HEADERS
Content-Type

application/json

Bodyraw

{
    "first_name": "{{user_first_name}}",
    "last_name": "{{user_last_name}}",
    "email": "{{user_email_address}}",
    "password": "{{user_password}}",
    "role_id": "{{role_id}}",
    "group_ids": [
        "{{group_id}}"
    ]
}

Example Request
Create User

View More
curl


curl --location -g '{{url}}/api/data/users' \
--header 'Content-Type: application/json' \
--data '{
    "first_name": "{{user_first_name}}",
    "last_name": "{{user_last_name}}",
    "email": "{{user_email_address}}",
    "password": "{{user_password}}",
    "role_id": "{{role_id}}",
    "group_ids": [
        "{{group_id}}"
    ]
}'

201 Created
Example Response
 * Body
 * Headers (13)

View More
json


{
  "id": "655e15d53463ca1416629fe40412a90f",
  "email": "jesse@graymeta.com",
  "first_name": "Jesse",
  "last_name": "Graham",
  "enabled": true,
  "created_at": "2023-11-22T14:53:09.38216Z",
  "updated_at": "2023-11-22T14:53:09.38216Z",
  "groups": {
    "count": 0,
    "shortlist": null
  },
  "avatar": "",
  "role_id": "655e159b7082b1322bc3ddb4accc602f",
  "company_uid": ""
}

X-Powered-By

Express

content-encoding

gzip

content-length

251

content-type

application/json; charset=utf-8

date

Wed, 22 Nov 2023 14:53:09 GMT

x-accepted-oauth-scopes

user:manage

x-api-version

v2

x-frame-options

sameorigin

x-http-request-id

3b6d7758-7804-443a-a3af-f43537ea4bae

x-oauth-scopes

activity:create,activity:view,audit:create,audit:read,billing:admin,billing:aws,branding:set,cacheadmin,custom_tags:admin,custom_tags:label,edit:categories,edit:fielddata,edit:get,edit:item,edit:logos,edit:maturecontent,edit:ocr,edit:speechtotext,edit:tagsdescriptions,extractors,featureflags:update,fields:manage,groups:manage,harvest,index:create,index:delete,item:captions,item:delete,item:download,item:index,item:modify,keywords:modify,loadnstore,modeltraining:logos,modeltraining:people,people:write,reindex,reports:duplicate,roles:manage,settings:manage,storage:manage,storage:view,termprotection,user:hashedpassword,user:manage,user:sso

x-oauth-subject

6437fd4ed35f694afbc07cf34fbaa6ca

connection

close

Vary

Accept-Encoding


GETGET INDIVIDUAL USER DATA


{{url}}/api/data/users/{{user_id}}

Inspect individual Curio User

AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionWasabi AiR Implementation
Template
HEADERS
Content-Type

application/json

Example Request
Get Individual User Data

curl


curl --location -g '{{url}}/api/data/users/{{user_id}}' \
--header 'Content-Type: application/json' \
--data ''

200 OK
Example Response
 * Body
 * Headers (13)

View More
json


{
  "id": "655e15d53463ca1416629fe40412a90f",
  "email": "jesse@graymeta.com",
  "first_name": "Jesse",
  "last_name": "Graham",
  "enabled": true,
  "created_at": "2023-11-22T14:53:09.38216Z",
  "updated_at": "2023-11-22T14:53:09.38216Z",
  "groups": {
    "count": 0,
    "shortlist": []
  },
  "avatar": "",
  "role_id": "655e159b7082b1322bc3ddb4accc602f",
  "company_uid": ""
}

X-Powered-By

Express

content-encoding

gzip

content-length

251

content-type

application/json; charset=utf-8

date

Wed, 22 Nov 2023 14:54:35 GMT

x-accepted-oauth-scopes

user:manage

x-api-version

v2

x-frame-options

sameorigin

x-http-request-id

979cb759-cb28-4d38-b5e8-2b903f4410a8

x-oauth-scopes

activity:create,activity:view,audit:create,audit:read,billing:admin,billing:aws,branding:set,cacheadmin,custom_tags:admin,custom_tags:label,edit:categories,edit:fielddata,edit:get,edit:item,edit:logos,edit:maturecontent,edit:ocr,edit:speechtotext,edit:tagsdescriptions,extractors,featureflags:update,fields:manage,groups:manage,harvest,index:create,index:delete,item:captions,item:delete,item:download,item:index,item:modify,keywords:modify,loadnstore,modeltraining:logos,modeltraining:people,people:write,reindex,reports:duplicate,roles:manage,settings:manage,storage:manage,storage:view,termprotection,user:hashedpassword,user:manage,user:sso

x-oauth-subject

6437fd4ed35f694afbc07cf34fbaa6ca

connection

close

Vary

Accept-Encoding