Comments

post

Creates a new resource with data.

Body
body_textstringRequired
experiment_idstringOptional
project_idstringOptional
Responses
201
created
application/json
post
POST /comments HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 63

{
  "body_text": "text",
  "experiment_id": "text",
  "project_id": "text"
}
{
  "uuid": "text",
  "body": {
    "html": "text",
    "text": "text"
  },
  "experiment_id": "text",
  "project_id": "text",
  "author_id": "text",
  "created_at": "text",
  "updated_at": "text"
}
get

Retrieves a list of all resources from the service.

Query parameters
$limitintegerOptional

Number of results to return

$skipintegerOptional

Number of results to skip

Responses
200
success
application/json
get
GET /comments HTTP/1.1
Host: 
Accept: */*
{
  "total": 1,
  "limit": 1,
  "skip": 1,
  "data": [
    {
      "uuid": "text",
      "body": {
        "html": "text",
        "text": "text"
      },
      "experiment_id": "text",
      "project_id": "text",
      "author_id": "text",
      "created_at": "text",
      "updated_at": "text"
    }
  ]
}
get

Retrieves a single resource with the given id from the service.

Path parameters
idintegerRequired

ID of Comment to return

Responses
200
success
application/json
get
GET /comments/{id} HTTP/1.1
Host: 
Accept: */*
{
  "uuid": "text",
  "body": {
    "html": "text",
    "text": "text"
  },
  "experiment_id": "text",
  "project_id": "text",
  "author_id": "text",
  "created_at": "text",
  "updated_at": "text"
}

Last updated