Package: service@2.0.0

Packages

Services

MyService

HUGE Example Service

GET /v2/foo

Search for a list of foos.

POST /v2/foo

Create a new foo.

GET /v2/foo/{id}

Get the foo with the current ID.

DELETE /v2/foo/{id}

Delete the entity with the given id {id}

MyService service

HUGE Example Service

This is a test to see if the documentation makes any sense.

GET /v2/foo

Search for a list of foos.

This uses method GET because it is good.

Returns

404 text/plain any

resource not found

Something else?

500 application/json ErrorMessage

returned on internal server errors

501 application/json ErrorMessage

other, interesting stuff

POST /v2/foo

Create a new foo.

Accepts

application/json any

Only acceptable when I'm ~drunk~ Sober!

Returns

404 text/plain any

resource not found

Something else?

500 application/json ErrorMessage

returned on internal server errors

501 application/json ErrorMessage

other, interesting stuff

GET /v2/foo/{id}

Get the foo with the current ID.

These things cannot do shit.

foo: 1234

Returns

404 text/plain any

resource not found

Something else?

500 application/json ErrorMessage

returned on internal server errors

501 application/json ErrorMessage

other, interesting stuff

DELETE /v2/foo/{id}

Delete the entity with the given id {id}

Returns

302 application/json any

Redirect stuff.

404 text/plain any

resource not found

Something else?

500 application/json ErrorMessage

returned on internal server errors

501 application/json ErrorMessage

other, interesting stuff