URL endpoints

URL Methods Description
/ GET Home page. Redirect to API root if JSON is accepted.
/about/contact GET Show contact information.
/about/settings GET Show settings, except for sensitive or too complex values.
/about/software GET Software version information.
/api GET API Root; links to other resources.
/api/about/software GET API About: Information about the system software and versions.
/api/dataset/ POST Create an empty dataset.
/api/dataset/<iuid:iuid> DELETE, GET, POST Return dataset's information (metadata), update it, or delete it. The content of the dataset cannot be updated via this resource.
/api/dataset/<iuid:iuid>.<ext> GET, PUT Fetch or update the content of the dataset as JSON or CSV file.
/api/dataset/<iuid:iuid>/logs GET Return all log entries for the given dataset.
/api/datasets/all GET Get all datasets.
/api/datasets/public GET Get all public datasets.
/api/datasets/user/<username> GET Get the datasets owned by the given user.
/api/datasets/user/<username>/editor GET Get the datasets which the given user is editor of.
/api/graphic/ POST Create a graphic.
/api/graphic/<iuid:iuid> DELETE, GET, POST Return graphic information, update it, or delete it.
/api/graphic/<iuid:iuid>/logs GET Return all log entries for the given graphic.
/api/graphics/all GET None
/api/graphics/public GET None
/api/graphics/user/<username> GET None
/api/graphics/user/<username>/editor GET Get the graphics which the given user is editor of.
/api/schema GET Map of all JSON schemas for DataGraphics.
/api/schema/about GET JSON schema for API About resource.
/api/schema/dataset GET JSON schema for API Dataset resource.
/api/schema/datasets GET JSON schema for API Dataset resource.
/api/schema/graphic GET JSON schema for API Graphic resource.
/api/schema/graphics GET JSON schema for API Graphics resource.
/api/schema/logs GET JSON schema for API Logs resource.
/api/schema/root GET JSON schema for API Root resource.
/api/schema/schemas GET JSON schema for API Schema resource.
/api/schema/user GET JSON schema for API User resource.
/api/schema/users GET JSON schema for API Users resource.
/api/user/<name:username> GET Information about the given user.
/api/user/<name:username>/logs GET Return all log entries for the given user.
/api/users/all GET Information about all users.
/dataset/ GET, POST Create a new dataset, from file or URL.
/dataset/<iuid:iuid> GET Display the dataset.
/dataset/<iuid:iuid>.<ext> GET Download the content of the dataset as JSON or CSV file. This is for use in the HTML pages, not for API calls.
/dataset/<iuid:iuid>/copy POST Copy the dataset, including its data content.
/dataset/<iuid:iuid>/copy_graphics POST Copy the dataset, including its data content, and also all its graphics viewable by the user.
/dataset/<iuid:iuid>/data GET Display the data contents of the dataset.
/dataset/<iuid:iuid>/edit DELETE, GET, POST Edit the metadata of the dataset, or delete it.
/dataset/<iuid:iuid>/logs GET Display the log records of the given dataset.
/dataset/<iuid:iuid>/private POST Set the dataset to private access.
/dataset/<iuid:iuid>/public POST Set the dataset to public access.
/dataset/<iuid:iuid>/update GET, POST Update the data contents of the dataset.
/datasets/ GET Redirect to logged-in user's datasets, or public datasets.
/datasets/all GET Display list of datasets.
/datasets/public GET Display list of public datasets.
/datasets/user/<name:username> GET Display list of user's datasets.
/datasets/user/<name:username>/editor GET Display list of the datasets for which the user is editor.
/debug GET Return some debug info for admin.
/documentation/ GET Home documentation page in Markdown format.
/documentation/<page> GET Documentation page in Markdown format.
/documentation/endpoints GET Display all URL endpoints.
/documentation/schemas GET Page with links to all JSON schema for the API.
/graphic/ GET, POST Create a new graphic for dataset given as form argument.
/graphic/<iuid:iuid> GET Display the graphic.
/graphic/<iuid:iuid>.<ext> GET Download the JSON or JavaScript specification of the Vega-Lite graphic.
/graphic/<iuid:iuid>/copy POST Copy the graphic.
/graphic/<iuid:iuid>/edit DELETE, GET, POST Edit the graphic, or delete it.
/graphic/<iuid:iuid>/logs GET Display the log records of the given graphic.
/graphic/<iuid:iuid>/private POST Set the graphic to private access.
/graphic/<iuid:iuid>/public POST Set the graphic to public access.
/graphic/stencil GET, POST Select a stencil for the dataset given as form argument.
/graphics/ GET Redirect to logged-in user's graphics, or public graphics.
/graphics/all GET Display list of graphics.
/graphics/public GET Display list of public graphics.
/graphics/user/<name:username> GET Display list of user's graphics.
/graphics/user/<name:username>/editor GET Display list of the graphics for which the user is editor.
/site/static/<filename> GET Static file for the site.
/sitemap GET Return an XML sitemap.
/static/<path:filename> GET Static web page support files.
/status GET Return JSON for the current status and some counts for the database.
/user/all GET Display list of all users.
/user/disable/<name:username> POST Disable the given user account.
/user/display/<name:username> GET Display the given user.
/user/display/<name:username>/edit DELETE, GET, POST Edit the user display. Or delete the user.
/user/display/<name:username>/logs GET Display the log records of the given user.
/user/enable/<name:username> POST Enable the given user account.
/user/login GET, POST Login to a user account.
/user/logout POST Logout from the user account.
/user/password GET, POST Set the password for a user account, and login user.
/user/register GET, POST Register a new user account.
/user/reset GET, POST Reset the password for a user account and send email.

DataGraphics 0.14.3