Skip to content

General

Deprecated

The api v1 is deprecated. Please visit api v2 docs page to read more about latest API.

Projects

GET /projects

Get projects list

Params:

  • projectId - Integer optional

Example:

?projectId=1

Response:

[
 {
   "id": 1,
   "title": "Test project",
   "size": "6191791",
   "createdAt": "2018-04-09T12:05:40.051Z",
   "updatedAt": "2018-04-09T12:05:40.051Z",
   "classes": [
      {
        "id": 1,
        "title": "Car",
        "shape": "polygon",
        "color": "#00FF00"
      }
    ],
    "imageTags": [
      {
        "id": 1,
        "title": "Train"
      }
    ],
    "objectsTags": [
      {
        "id": 1,
        "title": "good"
      }
    ]
  }
]

DELETE /projects/:projectId

Delete project by id

Example:

/projects/1

Response:

{ success: true }