Api

POST /{category}

Add new resource in defined category.

Parameters:
  • category (string) –

    # Brief

    Resource category.

Status Codes:
GET /{category}

Search resource

Parameters:
  • category (string) –

    # Brief

    Resource category.

Query Parameters:
 
  • sall (array) –

    # Brief

    Search given keywords.

  • stag (array) –

    # Brief

    Limit search to resources that have defined tags.

  • sgrp (array) –

    # Brief

    Limit search to resources that are in defined groups.

  • digest (array) –

    # Brief

    Limit search to resources that are have given digest.

  • uuid (array) –

    # Brief

    Limit search to resources that are have given uuid.

  • filter (string) –

    # Brief

    Filter search result with given regexp.

  • limit (string) –

    # Brief

    Limit resources in search result.

  • fields (array) –

    # Brief

    Limit fields that are returned in result list.

  • sort (string) –

    # Brief

    Sort based on defined field.

  • offset (string) –

    # Brief

    Offset from the beginning of the search results.

Status Codes:
POST /{category}/{id}

Override POST with PUT, PATCH or DELETE

Parameters:
  • category (string) –

    # Brief

    Resource category.

  • id (string) –

    # Brief

    Resource identity that can be either digest or UUID. Partial identities are allowed but they may result multiple matching resources which is an error. The id path parameter must uniquely identify the requested resource.

Status Codes:
Request Headers:
 
  • X-HTTP-Method-Override

    # Brief

    Override POST method with PUT, PATCH or DELETE.

PUT /{category}/{id}

Update defined resource based on given identity.

Parameters:
  • category (string) –

    # Brief

    Resource category.

  • id (string) –

    # Brief

    Resource identity that can be either digest or UUID. Partial identities are allowed but they may result multiple matching resources which is an error. The id path parameter must uniquely identify the requested resource.

Status Codes:
PATCH /{category}/{id}

Update defined resource based on given identity.

Parameters:
  • category (string) –

    # Brief

    Resource category.

  • id (string) –

    # Brief

    Resource identity that can be either digest or UUID. Partial identities are allowed but they may result multiple matching resources which is an error. The id path parameter must uniquely identify the requested resource.

Status Codes:
GET /{category}/{id}

Search defined resource based on given identity.

Parameters:
  • category (string) –

    # Brief

    Resource category.

  • id (string) –

    # Brief

    Resource identity that can be either digest or UUID. Partial identities are allowed but they may result multiple matching resources which is an error. The id path parameter must uniquely identify the requested resource.

Status Codes:
DELETE /{category}/{id}

Delete defined resource based on given identity.

Parameters:
  • category (string) –

    # Brief

    Resource category.

  • id (string) –

    # Brief

    Resource identity that can be either digest or UUID. Partial identities are allowed but they may result multiple matching resources which is an error. The id path parameter must uniquely identify the requested resource.

Status Codes:
GET /{category}{id}{field}

Get resource attribute.

Parameters:
  • category (string) –

    # Brief

    Resource category.

  • id (string) –

    # Brief

    Resource identity that can be either digest or UUID. Partial identities are allowed but they may result multiple matching resources which is an error. The id path parameter must uniquely identify the requested resource.

  • field (string) –

    # Brief

    Resource field.

Query Parameters:
 
  • sall (array) –

    # Brief

    Search given keywords.

  • stag (array) –

    # Brief

    Limit search to resources that have defined tags.

  • sgrp (array) –

    # Brief

    Limit search to resources that are in defined groups.

  • digest (array) –

    # Brief

    Limit search to resources that are have given digest.

  • uuid (array) –

    # Brief

    Limit search to resources that are have given uuid.

  • filter (string) –

    # Brief

    Filter search result with given regexp.

  • limit (string) –

    # Brief

    Limit resources in search result.

  • fields (array) –

    # Brief

    Limit fields that are returned in result list.

  • sort (string) –

    # Brief

    Sort based on defined field.

  • offset (string) –

    # Brief

    Offset from the beginning of the search results.

Status Codes:
GET /

Server hello

Status Codes: