Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Introduction

The Fedora 4 REST HTTP API is generally a RESTful API. HTTP methods like GET, PUT, POST and DELETE are implemented on most resource paths. The REST API also relies heavily on content negotiation to deliver context-appropriate responses, and a HATEOAS-driven text/html response (providing a decent admin GUI experience on top of the repository).

...

The text/html response also includes embedded RDFa markup.

 

The REST API is based loosely around the Linked Data Platform 1.0 Architecture, which:

...

Warning

Transactions are automatically closed and rolled back after 3 minutes of inactivity. Transactions can be refreshed by POSTing to /rest/{tx:83e34464-144e-43d9-af13-b3464a1fb9b5id}/fcr:tx

 

Example:

Code Block
curl -X POST "http://localhost:8080/rest/fcr:tx" 

...