...
Code Block | ||
---|---|---|
| ||
Status: 201 Created
Headers:
Expires: Wed, 20 May 2020 23:26:46 GMT
Location: http://localhost:8080/rest/fcr:tx/fd4f48c4-7c47-46ee-8907-af6411ae4215
Link: <http://localhost:8080/rest/fcr:tx/fd4f48c4-7c47-46ee-8907-af6411ae4215/commit>; rel="http://fedora.info/definitions/v4/transaction#commitEndpoint"
|
The expires header indicates when the transaction will be automatically rolled back
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
curl -X PUT "http://localhost:8080/rest/fcr:tx/fd4f48c4-7c47-46ee-8907-af6411ae4215/commit" |
To rollback a transaction, perform a DELETE request on the Transaction URI:
...