-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hide API of Transfer & Ingest (#454)
* Fix hide API of Transfer & Ingest * Update dev-manual/api/api-reference-archivematica.rst Co-authored-by: Douglas Cerna <[email protected]> * Run pre-commit * Fix the changes * Update dev-manual/api/api-reference-archivematica.rst Co-authored-by: Douglas Cerna <[email protected]> * Update dev-manual/api/api-reference-archivematica.rst Co-authored-by: Douglas Cerna <[email protected]> * Update dev-manual/api/api-reference-archivematica.rst Co-authored-by: Douglas Cerna <[email protected]> * Update dev-manual/api/api-reference-archivematica.rst Co-authored-by: Douglas Cerna <[email protected]> --------- Co-authored-by: Douglas Cerna <[email protected]>
- Loading branch information
1 parent
2a97626
commit 0011828
Showing
3 changed files
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
curl -X DELETE \ | ||
http://my_archivematica_instance.archivematica.org/api/ingest/ \ | ||
89fd478d-c896-461a-baec-5d1faf661020/delete/ \ | ||
-H 'Authorization: ApiKey [_your_username_]:[_your_ApiKey_]' |
7 changes: 3 additions & 4 deletions
7
dev-manual/api/_code/hide_request.curl → ...nual/api/_code/hide_request_transfer.curl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
curl -X DELETE \ | ||
http://my_archivematica_instance.archivematica.org/api/transfer/status/ | ||
89fd478d-c896-461a-baec-5d1faf661020/ \ | ||
-H 'Authorization: ApiKey [_your_username_]:[_your_ApiKey_]' \ | ||
-H 'Host: my_archivematica_instance.archivematica.org' | ||
http://my_archivematica_instance.archivematica.org/api/transfer/ | ||
89fd478d-c896-461a-baec-5d1faf661020/delete/ \ | ||
-H 'Authorization: ApiKey [_your_username_]:[_your_ApiKey_]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters