Skip to content

Are default endpoints really RESTful? #127

Description

@jpdevries
Route HTTP Verb Description
/media/sources GET Retrieve a list of media sources
/media/sources/:source GET Retrieve a list of top–level directories of a given media source
/media/sources/:source?path=assets%2Fimg GET Retrieve a list of media items and subdirectories of a given directory of a given media source
/media/sources/:source?path=assets%2Fimg%2Fturtle.jpg DELETE Delete a given media item of a given media source
/media/sources/:source?path=assets%2Fimg POST Upload files to a given directory of a given media source
/media/sources/:source?path=assets%2Fimg%2turtle.jpg&name=sea.jpg PUT Rename a given media item of a given media source
/media/sources/:source?path=assets%2Fimg&name=images PUT Rename a given directory of a given media source
/media/attachments/:source POST Serve a zip file build from posted form data with cd, cs, and list of zip-files[]

https://github.com/jpdevries/eureka/wiki/REST-API

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions