Skip to main content

G-Code file API

GET /api/v1/gcodes/

Request

Query parameters

  • page: Which page of objects to return. For pagination.
  • page_size: The number of objects to return. For pagination.

Response

Success

GET /api/v1/gcodes/{:id}/

Request

Query parameters

None.

Response

Success

Not found

When the G-Code file specified by the {:id} doesn't exist, or the access is not authorized by the authenticated user.

  • Code: 404

DELETE /api/v1/gcodes/{:id}/

Delete the GCodeFile object specified by {:id}

Response

Success

  • Code: 200
  • Body: Empty.

Not found

When the G-Code file specified by the {:id} doesn't exist, or the access is not authorized by the authenticated user.

  • Code: 404