From 50fc924e2b56fd7b6ed9631c49ebe384f572981a Mon Sep 17 00:00:00 2001 From: Kim Shepherd Date: Sat, 17 Jun 2023 16:09:22 +0200 Subject: [PATCH] update broken base URL / webapp paths to reflect official demo server i left localhost:8080 in README.md as that seems possibly relevant for helping people confiugring their own instance i left refs to ${dspace.server.url} alone as that is a good way to indicate it is a variable note: even with good base URLs, not all UUIDs or full URLs resolve to a good example. maybe that needs a closer look --- README.md | 8 ++-- bitstreamformats.md | 2 +- bitstreams.md | 10 ++-- browses.md | 2 +- bundles.md | 34 +++++++------- claimedtasks.md | 4 +- collections.md | 20 ++++---- communities.md | 12 ++--- epersongroups.md | 30 ++++++------ epersons.md | 4 +- external-authority-sources.md | 38 +++++++-------- harvestermetadata.md | 4 +- item-requests.md | 6 +-- items.md | 34 +++++++------- itemtemplates.md | 2 +- metadatafields.md | 6 +-- metadataschemas.md | 4 +- orcidhistories.md | 4 +- relationships.md | 88 +++++++++++++++++------------------ relationshiptypes.md | 18 +++---- search-endpoint.md | 56 +++++++++++----------- supervisionorders.md | 8 ++-- vocabularies.md | 48 +++++++++---------- workflowitems.md | 4 +- workflowsteps.md | 2 +- workspaceitem-data-license.md | 6 +-- workspaceitem-data-upload.md | 4 +- workspaceitems.md | 10 ++-- 28 files changed, 234 insertions(+), 234 deletions(-) diff --git a/README.md b/README.md index ca0ee638..278d0a8d 100644 --- a/README.md +++ b/README.md @@ -170,16 +170,16 @@ An example ``` "_links": { "first": { - "href": "http://localhost:8080/dspace-spring-rest/api/core/bitstreams?page=0&size=5" + "href": "http://localhost:8080/server/api/core/bitstreams?page=0&size=5" }, "self": { - "href": "http://localhost:8080/dspace-spring-rest/api/core/bitstreams" + "href": "http://localhost:8080/server/api/core/bitstreams" }, "next": { - "href": "http://localhost:8080/dspace-spring-rest/api/core/bitstreams?page=1&size=5" + "href": "http://localhost:8080/server/api/core/bitstreams?page=1&size=5" }, "last": { - "href": "http://localhost:8080/dspace-spring-rest/api/core/bitstreams?page=2&size=5" + "href": "http://localhost:8080/server/api/core/bitstreams?page=2&size=5" } } ``` diff --git a/bitstreamformats.md b/bitstreamformats.md index 67b5b7ae..57d88ede 100644 --- a/bitstreamformats.md +++ b/bitstreamformats.md @@ -6,7 +6,7 @@ Provide access to the bitstream formats defined in the registry (DBMS based). It returns the list of existent metadata fields. -Example: +Example: **POST /api/core/bitstreamformats** diff --git a/bitstreams.md b/bitstreams.md index f4a6a5bd..fef4eeb4 100644 --- a/bitstreams.md +++ b/bitstreams.md @@ -41,7 +41,7 @@ Bitstream metadata can be modified as described in [Modifying metadata via Patch ### Format **GET /api/core/bitstreams/<:uuid>/format** -Example: +Example: It returns the format of the bitstream @@ -51,7 +51,7 @@ Update the bitstream format of the bitstream Sample CURL command: ``` -curl -i -X PUT 'https://demo7.dspace.org/server/api/core/bitstreams/6ba01288-8a5a-4acf-96f1-fd0730424a1f/format' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://demo7.dspace.org/server/api/core/bitstreamformats/6' +curl -i -X PUT 'https://api7.dspace.org/server/api/core/bitstreams/6ba01288-8a5a-4acf-96f1-fd0730424a1f/format' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://api7.dspace.org/server/api/core/bitstreamformats/6' ``` The uri-list should always contain exactly 1 bitstream format. This bitstream format will be assigned to the bitstream @@ -73,7 +73,7 @@ Keep in mind that there's a change to dc.format in the API related to bitstream ### Bundle **GET /api/core/bitstreams/<:uuid>/bundle** -Example: +Example: It returns the bundle of the bitstream @@ -83,7 +83,7 @@ Move the bitstream to another bundle Sample CURL command: ``` -curl -i -X PUT 'https://demo7.dspace.org/server/api/core/bitstreams/6ba01288-8a5a-4acf-96f1-fd0730424a1f/bundle' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://demo7.dspace.org/server/api/core/bundles/0b3c0ebf-83bc-4017-afa1-9df37a1a065c' +curl -i -X PUT 'https://api7.dspace.org/server/api/core/bitstreams/6ba01288-8a5a-4acf-96f1-fd0730424a1f/bundle' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://api7.dspace.org/server/api/core/bundles/0b3c0ebf-83bc-4017-afa1-9df37a1a065c' ``` The uri-list should always contain exactly 1 bitstream format. This bitstream format will be assigned to the bitstream @@ -98,7 +98,7 @@ Error codes: ### Content **/api/core/bitstreams/<:uuid>/content** -Example: +Example: It returns the actual content (bits) described by the bitstream diff --git a/browses.md b/browses.md index a57e53f6..f80539d0 100644 --- a/browses.md +++ b/browses.md @@ -151,7 +151,7 @@ It returns a collection of BrowseEntryResource the JSON document looks like "count": 1, "_links": { "items": { - "href": "https://dspace7.4science.it/api/discover/browses/author/items?filterValue=Arulmozhiyal, Ramaswamy" + "href": "https://api7.dspace.org/server/api/discover/browses/author/items?filterValue=Arulmozhiyal, Ramaswamy" } } }, diff --git a/bundles.md b/bundles.md index 82461c1e..b4dcffb0 100644 --- a/bundles.md +++ b/bundles.md @@ -29,16 +29,16 @@ Provide detailed information about a specific bundle. A sample JSON response doc "type": "bundle", "_links" : { "primarybitstream" : { - "href" : "https://dspace7-entities.atmire.com/rest/api/core/bitstreams/ac49f361-4ffd-47a4-8eb2-e6c73c3f3e76" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/ac49f361-4ffd-47a4-8eb2-e6c73c3f3e76" }, "bitstreams" : { - "href" : "https://dspace7-entities.atmire.com/rest/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb/bitstreams" + "href" : "https://api7.dspace.org/server/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb/bitstreams" }, "item" : { - "href" : "https://dspace7-entities.atmire.com/rest/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb/item" + "href" : "https://api7.dspace.org/server/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb/item" }, "self" : { - "href" : "https://dspace7-entities.atmire.com/rest/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb" + "href" : "https://api7.dspace.org/server/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb" } }, "_embedded" : { @@ -79,13 +79,13 @@ Provide detailed information about a specific bundle. A sample JSON response doc "type" : "bitstream", "_links" : { "content" : { - "href" : "http://10.211.55.20:8080/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14/content" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14/content" }, "format" : { - "href" : "http://10.211.55.20:8080/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14/format" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14/format" }, "self" : { - "href" : "http://10.211.55.20:8080/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14" } } }, { @@ -125,13 +125,13 @@ Provide detailed information about a specific bundle. A sample JSON response doc "type" : "bitstream", "_links" : { "content" : { - "href" : "http://10.211.55.20:8080/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc/content" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc/content" }, "format" : { - "href" : "http://10.211.55.20:8080/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc/format" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc/format" }, "self" : { - "href" : "http://10.211.55.20:8080/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc" } } } @@ -157,7 +157,7 @@ Deleting a bundle will delete all bitstreams in the bundle **GET /api/core/bundles/<:uuid>/bitstreams** -Example: +Example: It returns the bitstreams within this bundle. See the [bitstream endpoint](bitstreams.md#Single-Bitstream) for more info @@ -168,11 +168,11 @@ The supported parameters are: TODO: the item has to be known as well when creating a new bitstream. See https://jira.duraspace.org/browse/DS-4317?focusedCommentId=63099&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-63099 -Example: +Example: Curl example: ``` -curl 'https://dspace7.4science.cloud/dspace-spring-rest/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb/bitstreams' \ +curl 'https://api7.dspace.org/server/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb/bitstreams' \ -XPOST -H 'Content-Type: multipart/form-data' \ -H 'Authorization: Bearer eyJhbGciOiJI...' \ -F "file=@Downloads/test.html" \ @@ -231,7 +231,7 @@ Current list of bitstreams: "uuid" : "1ce6db0e-662f-4a13-ba87-c371ad664b14", "_links" : { "self" : { - "href" : "http://10.211.55.20:8080/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14" } } }, { @@ -239,7 +239,7 @@ Current list of bitstreams: "uuid" : "4dd9621f-a464-4192-bc17-d70f68845bdc", "_links" : { "self" : { - "href" : "http://10.211.55.20:8080/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc" } } } @@ -269,7 +269,7 @@ New list of bitstreams: "uuid" : "4dd9621f-a464-4192-bc17-d70f68845bdc", "_links" : { "self" : { - "href" : "http://10.211.55.20:8080/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc" } } }, @@ -278,7 +278,7 @@ New list of bitstreams: "uuid" : "1ce6db0e-662f-4a13-ba87-c371ad664b14", "_links" : { "self" : { - "href" : "http://10.211.55.20:8080/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14" } } } diff --git a/claimedtasks.md b/claimedtasks.md index 212eca68..74dd0613 100644 --- a/claimedtasks.md +++ b/claimedtasks.md @@ -95,9 +95,9 @@ If successful a 201 code will be returned along with the new claimedtask. The po An example curl call: ``` -curl -i -X POST https://dspace7.4science.it/dspace-spring-rest/api/workflow/claimedtasks +curl -i -X POST https://api7.dspace.org/server/api/workflow/claimedtasks \ -H "Content-Type:text/uri-list" \ ---data "https://dspace7.4science.it/dspace-spring-rest/api/workflow/pooltasks/1" +--data "https://api7.dspace.org/server/api/workflow/pooltasks/1" ``` Return codes: diff --git a/collections.md b/collections.md index bd669a92..bbf8db78 100644 --- a/collections.md +++ b/collections.md @@ -6,7 +6,7 @@ Provide access to the list of collections (DBMS based). -Example: +Example: ## Single Collection **/api/core/collections/<:uuid>** @@ -196,7 +196,7 @@ Collection metadata can be modified as described in [Modifying metadata via Patc #### Retrieve Logo **GET /api/core/collections/<:uuid>/logo** -Example: +Example: It returns the bitstream representing the logo of this collection. [See the bitstream endpoint for more info](bitstreams.md#Single Bitstream) @@ -207,7 +207,7 @@ To be used on a collection without a logo Curl example: ``` -curl 'https://dspace7.4science.cloud/dspace-spring-rest/api/core/collections/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb/logo' \ +curl 'https://api7.dspace.org/server/api/core/collections/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb/logo' \ -XPOST -H 'Content-Type: multipart/form-data' \ -H 'Authorization: Bearer eyJhbGciOiJI...' \ -F "file=@Downloads/test.png" @@ -259,7 +259,7 @@ Return information about the license template in use by the collection. The json #### Retrieve Item template **GET /api/core/collections/<:uuid>/itemtemplate** -Example: +Example: It returns the item representing the item template of this collection. [See the item endpoint for more info](items.md#Single Item) @@ -329,7 +329,7 @@ The json representation is as follow "type": "resourcePolicy", "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/authz/resourcePolicies/2844" + "href": "https://api7.dspace.org/server/api/authz/resourcePolicies/2844" } } } @@ -337,7 +337,7 @@ The json representation is as follow }, "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/core/collections/5ad50035-ca22-4a4d-84ca-d5132f34f588/defaultAccessConditions" + "href": "https://api7.dspace.org/server/api/core/collections/5ad50035-ca22-4a4d-84ca-d5132f34f588/defaultAccessConditions" } }, "page": { @@ -393,7 +393,7 @@ A sample json response: "last_harvested": null, "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/core/collections/6f944500-c300-449a-9023-a5ad8bd21160/harvester" + "href": "https://api7.dspace.org/server/api/core/collections/6f944500-c300-449a-9023-a5ad8bd21160/harvester" } }, "_embedded": { @@ -417,7 +417,7 @@ A sample json response: ], "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/config/harvestermetadata" + "href": "https://api7.dspace.org/server/api/config/harvestermetadata" } } } @@ -440,7 +440,7 @@ A sample json response if no harvesting is enabled: "last_harvested": null, "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/core/collections/6f944500-c300-449a-9023-a5ad8bd21160/harvester" + "href": "https://api7.dspace.org/server/api/core/collections/6f944500-c300-449a-9023-a5ad8bd21160/harvester" } }, "_embedded": { @@ -464,7 +464,7 @@ A sample json response if no harvesting is enabled: ], "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/config/harvestermetadata" + "href": "https://api7.dspace.org/server/api/config/harvestermetadata" } } } diff --git a/communities.md b/communities.md index 3500fb0d..21fdc894 100644 --- a/communities.md +++ b/communities.md @@ -6,7 +6,7 @@ Provide access to the communities (DBMS based). It returns the list of existent communities. -Example: +Example: ## Single Community **/api/core/communities/<:uuid>** @@ -97,7 +97,7 @@ The supported parameters are: ### Collections **/api/core/communities/<:uuid>/collections** -Example: +Example: It returns the collections within this community @@ -108,7 +108,7 @@ The supported parameters are: #### Retrieve Logo **GET /api/core/communities/<:uuid>/logo** -Example: +Example: It returns the bitstream representing the logo of this community. [See the bitstream endpoint for more info](bitstreams.md#Single Bitstream) @@ -119,7 +119,7 @@ To be used on a community without a logo Curl example: ``` -curl 'https://dspace7.4science.cloud/dspace-spring-rest/api/core/communities/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb/logo' \ +curl 'https://api7.dspace.org/server/api/core/communities/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb/logo' \ -XPOST -H 'Content-Type: multipart/form-data' \ -H 'Authorization: Bearer eyJhbGciOiJI...' \ -F "file=@Downloads/test.png" @@ -149,7 +149,7 @@ To be used on a community with a logo Curl example: ``` -curl 'https://dspace7.4science.cloud/dspace-spring-rest/api/core/communities/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb/logo' \ +curl 'https://api7.dspace.org/server/api/core/communities/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb/logo' \ -XPUT -H 'Content-Type: multipart/form-data' \ -H 'Authorization: Bearer eyJhbGciOiJI...' \ -F "file=@Downloads/test.png" @@ -179,7 +179,7 @@ To be used on a community with a logo Curl example: ``` -curl 'https://dspace7.4science.cloud/dspace-spring-rest/api/core/communities/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb/logo' \ +curl 'https://api7.dspace.org/server/api/core/communities/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb/logo' \ -XDELETE \ -H 'Authorization: Bearer eyJhbGciOiJI...' ``` diff --git a/epersongroups.md b/epersongroups.md index 52ee2818..7990bbc8 100644 --- a/epersongroups.md +++ b/epersongroups.md @@ -19,13 +19,13 @@ "type": "group", "_links": { "subgroups": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/subgroups" + "href": "https://api7.dspace.org/server/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/subgroups" }, "epersons": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/epersons" + "href": "https://api7.dspace.org/server/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/epersons" }, "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc" + "href": "https://api7.dspace.org/server/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc" } } } @@ -122,13 +122,13 @@ Sample: "type": "group", "_links": { "subgroups": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/subgroups" + "href": "https://api7.dspace.org/server/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/subgroups" }, "epersons": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/epersons" + "href": "https://api7.dspace.org/server/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/epersons" }, "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc" + "href": "https://api7.dspace.org/server/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc" } } } @@ -136,7 +136,7 @@ Sample: }, "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/3b1de75d-5bf9-4ca3-bf4d-42bc8abd0d42/subgroups" + "href": "https://api7.dspace.org/server/api/eperson/groups/3b1de75d-5bf9-4ca3-bf4d-42bc8abd0d42/subgroups" } }, "page": { @@ -162,9 +162,9 @@ The actual sub group is part of the body using the uri-list Example: ```bash -curl -i -X POST "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/subgroups" +curl -i -X POST "https://api7.dspace.org/server/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/subgroups" -H "Content-Type:text/uri-list" - -d "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/05e3dbb8-332b-4487-a3f9-d78431b6cc02" + -d "https://api7.dspace.org/server/api/eperson/groups/05e3dbb8-332b-4487-a3f9-d78431b6cc02" ``` The group is mandatory @@ -184,7 +184,7 @@ A DELETE request will result in removing a subgroup from the parent group Example: ```bash curl -i -X DELETE - "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/subgroups/05e3dbb8-332b-4487-a3f9-d78431b6cc02" + "https://api7.dspace.org/server/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/subgroups/05e3dbb8-332b-4487-a3f9-d78431b6cc02" ``` The above request would remove the mapping between the parent group with UUID `617cf46b-535c-42d5-9d22-327ce2eff6dc` @@ -258,7 +258,7 @@ Sample: "type": "eperson", "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/epersons/a6086b34-3918-45b7-8ddd-9329a702a26a" + "href": "https://api7.dspace.org/server/api/eperson/epersons/a6086b34-3918-45b7-8ddd-9329a702a26a" } } } @@ -266,7 +266,7 @@ Sample: }, "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/3b1de75d-5bf9-4ca3-bf4d-42bc8abd0d42/epersons" + "href": "https://api7.dspace.org/server/api/eperson/groups/3b1de75d-5bf9-4ca3-bf4d-42bc8abd0d42/epersons" } }, "page": { @@ -292,9 +292,9 @@ The actual eperson is part of the body using the uri-list Example: ```bash -curl -i -X POST "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/epersons" +curl -i -X POST "https://api7.dspace.org/server/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/epersons" -H "Content-Type:text/uri-list" - -d "https://dspace7.4science.it/dspace-spring-rest/api/eperson/epersons/a6086b34-3918-45b7-8ddd-9329a702a26a" + -d "https://api7.dspace.org/server/api/eperson/epersons/a6086b34-3918-45b7-8ddd-9329a702a26a" ``` The eperson is mandatory @@ -313,7 +313,7 @@ To remove an eperson from a parent group, perform a DELETE to the Epeople of a G Example: ```bash curl -i -X DELETE - "https://dspace7.4science.it/dspace-spring-rest/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/epersons/a6086b34-3918-45b7-8ddd-9329a702a26a" + "https://api7.dspace.org/server/api/eperson/groups/617cf46b-535c-42d5-9d22-327ce2eff6dc/epersons/a6086b34-3918-45b7-8ddd-9329a702a26a" ``` The above request would remove the mapping between the group with UUID `617cf46b-535c-42d5-9d22-327ce2eff6dc` diff --git a/epersons.md b/epersons.md index 82e546a2..5f08b51e 100644 --- a/epersons.md +++ b/epersons.md @@ -51,10 +51,10 @@ "type": "eperson", "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/epersons/028dcbb8-0da2-4122-a0ea-254be49ca107" + "href": "https://api7.dspace.org/server/api/eperson/epersons/028dcbb8-0da2-4122-a0ea-254be49ca107" }, "groups": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/eperson/epersons/028dcbb8-0da2-4122-a0ea-254be49ca107/groups" + "href": "https://api7.dspace.org/server/api/eperson/epersons/028dcbb8-0da2-4122-a0ea-254be49ca107/groups" } } } diff --git a/external-authority-sources.md b/external-authority-sources.md index febe0ff7..5f46dfbf 100644 --- a/external-authority-sources.md +++ b/external-authority-sources.md @@ -18,13 +18,13 @@ Example: "type": "externalsource", "_links": { "entries": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/orcid/entries" + "href": "https://api7.dspace.org/server/api/integration/externalsources/orcid/entries" }, "entityTypes": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/orcid/entityTypes" + "href": "https://api7.dspace.org/server/api/integration/externalsources/orcid/entityTypes" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/orcid" + "href": "https://api7.dspace.org/server/api/integration/externalsources/orcid" } } }, @@ -35,13 +35,13 @@ Example: "type": "externalsource", "_links": { "entries": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/ciencia/entries" + "href": "https://api7.dspace.org/server/api/integration/externalsources/ciencia/entries" }, "entityTypes": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/ciencia/entityTypes" + "href": "https://api7.dspace.org/server/api/integration/externalsources/ciencia/entityTypes" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/ciencia" + "href": "https://api7.dspace.org/server/api/integration/externalsources/ciencia" } } }, @@ -52,13 +52,13 @@ Example: "type": "externalsource", "_links": { "entries": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/my_staff_db/entries" + "href": "https://api7.dspace.org/server/api/integration/externalsources/my_staff_db/entries" }, "entityTypes": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/my_staff_db/entityTypes" + "href": "https://api7.dspace.org/server/api/integration/externalsources/my_staff_db/entityTypes" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/my_staff_db" + "href": "https://api7.dspace.org/server/api/integration/externalsources/my_staff_db" } } } @@ -66,7 +66,7 @@ Example: }, "_links": { "self": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources" + "href": "https://api7.dspace.org/server/api/integration/externalsources" } }, "page": { @@ -158,13 +158,13 @@ sample for an external source /server/api/integration/externalsources/orcid/entr "type": "externalSourceEntry", "_links": { "authority": { - "href": "https://dspace7.4science.cloud/server/api/integration/authorities/authors/entryValues/d4b5ca88-9d6d-4a87-b905-fef0f8cae26c" + "href": "https://api7.dspace.org/server/api/integration/authorities/authors/entryValues/d4b5ca88-9d6d-4a87-b905-fef0f8cae26c" }, "parent": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/orcid" + "href": "https://api7.dspace.org/server/api/integration/externalsources/orcid" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/orcid/entryValues/0000-0002-4271-0436" + "href": "https://api7.dspace.org/server/api/integration/externalsources/orcid/entryValues/0000-0002-4271-0436" } } }, @@ -213,13 +213,13 @@ sample for an external source /server/api/integration/externalsources/orcid/entr "type": "externalSourceEntry", "_links": { "entity": { - "href": "https://dspace7.4science.cloud/server/api/core/item/6fd90bf5-b84f-47b3-aaec-a55bde3a2a5a" + "href": "https://api7.dspace.org/server/api/core/item/6fd90bf5-b84f-47b3-aaec-a55bde3a2a5a" }, "parent": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/orcid" + "href": "https://api7.dspace.org/server/api/integration/externalsources/orcid" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/orcid/entryValues/0000-0003-3681-2038" + "href": "https://api7.dspace.org/server/api/integration/externalsources/orcid/entryValues/0000-0003-3681-2038" } } } @@ -281,13 +281,13 @@ sample for an external source /api/integration/externalsources/orcid/entryValues }, "_links": { "entity": { - "href": "https://dspace7.4science.cloud/server/api/core/item/00167e74-c027-4984-8564-85c3fe513d45" + "href": "https://api7.dspace.org/server/api/core/item/00167e74-c027-4984-8564-85c3fe513d45" }, "parent": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/orcid" + "href": "https://api7.dspace.org/server/api/integration/externalsources/orcid" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/integration/externalsources/orcid/entryValues/0000-0002-4271-0436" + "href": "https://api7.dspace.org/server/api/integration/externalsources/orcid/entryValues/0000-0002-4271-0436" } } } diff --git a/harvestermetadata.md b/harvestermetadata.md index f9df9e89..24a552ac 100644 --- a/harvestermetadata.md +++ b/harvestermetadata.md @@ -6,7 +6,7 @@ Provide access to the list of harvesting metadata configurations (config based). -Example: +Example: A sample json response: @@ -32,7 +32,7 @@ A sample json response: ], "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/config/harvestermetadata" + "href": "https://api7.dspace.org/server/api/config/harvestermetadata" } } } diff --git a/item-requests.md b/item-requests.md index 6ffc74ab..e0407e26 100644 --- a/item-requests.md +++ b/item-requests.md @@ -31,13 +31,13 @@ Provide detailed information about a specific request. The JSON response documen "requestName":"John Smith", "_links":{ "bitstream":{ - "href":"http://localhost/api/tools/itemrequests/1/bitstream" + "href":"https://api7.dspace.org/server/api/tools/itemrequests/1/bitstream" }, "item":{ - "href":"http://localhost/api/tools/itemrequests/1/item" + "href":"https://api7.dspace.org/server/api/tools/itemrequests/1/item" }, "self":{ - "href":"http://localhost/api/tools/itemrequests/1" + "href":"https://api7.dspace.org/server/api/tools/itemrequests/1" } } } diff --git a/items.md b/items.md index 891b36f1..e983fd8b 100644 --- a/items.md +++ b/items.md @@ -171,9 +171,9 @@ The URI-list should contain the [external entry value](external-authority-source An example curl call: ``` - curl -i -X POST https://dspace7.4science.it/dspace-spring-rest/api/core/items?owningCollection=1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb \ + curl -i -X POST https://api7.dspace.org/server/api/core/items?owningCollection=1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb \ -H "Content-Type:text/uri-list" \ - --data "https://dspace7.4science.it/dspace-spring-rest/api/integration/externalsources/orcid/entryValues/0000-0002-4271-0436" + --data "https://api7.dspace.org/server/api/integration/externalsources/orcid/entryValues/0000-0002-4271-0436" ``` Only one external entry value should be present. If multiple external entry values are present, a 400 bad request will be thrown @@ -335,7 +335,7 @@ Return code **GET /api/core/items/<:uuid>/bundles** -Example: +Example: It returns the bundles within this item. See the [bundle endpoint](bundles.md) for more info @@ -350,13 +350,13 @@ It returns the bundles within this item. See the [bundle endpoint](bundles.md) f "type": "bundle", "_links" : { "primarybitstream" : { - "href" : "https://dspace7-entities.atmire.com/rest/api/core/bitstreams/ac49f361-4ffd-47a4-8eb2-e6c73c3f3e76" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/ac49f361-4ffd-47a4-8eb2-e6c73c3f3e76" }, "bitstreams" : { - "href" : "https://dspace7-entities.atmire.com/rest/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb/bitstreams" + "href" : "https://api7.dspace.org/server/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb/bitstreams" }, "self" : { - "href" : "https://dspace7-entities.atmire.com/rest/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb" + "href" : "https://api7.dspace.org/server/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb" } } }, @@ -368,13 +368,13 @@ It returns the bundles within this item. See the [bundle endpoint](bundles.md) f "type": "bundle", "_links" : { "primarybitstream" : { - "href" : "https://dspace7-entities.atmire.com/rest/api/core/bitstreams/ac49f361-4ffd-47a4-8eb2-e6c73c3f3e76" + "href" : "https://api7.dspace.org/server/api/core/bitstreams/ac49f361-4ffd-47a4-8eb2-e6c73c3f3e76" }, "bitstreams" : { - "href" : "https://dspace7-entities.atmire.com/rest/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb/bitstreams" + "href" : "https://api7.dspace.org/server/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb/bitstreams" }, "self" : { - "href" : "https://dspace7-entities.atmire.com/rest/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb" + "href" : "https://api7.dspace.org/server/api/core/bundles/d3599177-0408-403b-9f8d-d300edd79edb" } } } @@ -388,7 +388,7 @@ This endpoint is relevant to: **POST /api/core/items/<:uuid>/bundles** -Example: +Example: Creating a new bundle in an item would use JSON similar to the example below: @@ -414,7 +414,7 @@ Status codes: ### Owning Collection **/api/core/items/<:uuid>/owningCollection** -Example: +Example: It returns the collection where the item belong to @@ -424,7 +424,7 @@ The actual collection is part of the body using the uri-list. Note that if the p Example: -```curl -i -X PUT "https://dspace7.4science.it/dspace-spring-rest/api/core/items/1911e8a4-6939-490c-b58b-a5d70f8d91fb/owningCollection?inheritPolicies=true" -H "Content-Type:text/uri-list" -d "https://dspace7.4science.it/dspace-spring-rest/api/core/collections/8e0928a0-047a-4369-8883-12669f32dd64"``` +```curl -i -X PUT "https://api7.dspace.org/server/api/core/items/1911e8a4-6939-490c-b58b-a5d70f8d91fb/owningCollection" -H "Content-Type:text/uri-list" -d "https://api7.dspace.org/server/api/core/collections/8e0928a0-047a-4369-8883-12669f32dd64"``` It updates the owning collection (moves the item). @@ -442,7 +442,7 @@ It returns all the mapped collections the item is included in. On the item page, it should be referenced similar to: ```json "mappedCollections": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/core/items/95e5d7d9-ef4e-4e35-86cc-07bfe2f0e355/mappedCollections" + "href": "https://api7.dspace.org/server/api/core/items/95e5d7d9-ef4e-4e35-86cc-07bfe2f0e355/mappedCollections" } ``` @@ -456,8 +456,8 @@ A POST request will result in creating a new mapping between the item and collec If the collection exists and is neither the owning nor mapped collection for the item, the relation should be created. ``` - curl -i -X POST https://dspace7.4science.it/dspace-spring-rest/api/core/items/1911e8a4-6939-490c-b58b-a5d70f8d91fb/mappedCollections - -H "Content-Type:text/uri-list" --data "https://dspace7.4science.it/dspace-spring-rest/api/core/collections/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb" + curl -i -X POST https://api7.dspace.org/server/api/core/items/1911e8a4-6939-490c-b58b-a5d70f8d91fb/mappedCollections + -H "Content-Type:text/uri-list" --data "https://api7.dspace.org/server/api/core/collections/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb" ``` The collection(s) MUST be included in the body using the `text/uri-list` content type @@ -483,7 +483,7 @@ A DELETE request will result in removing an existing mapping between the item an If the collection exists and is a mapped collection for the item, the relation should be deleted. ``` - curl -i -X DELETE https://dspace7.4science.it/dspace-spring-rest/api/core/items/1911e8a4-6939-490c-b58b-a5d70f8d91fb/mappedCollections/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb" + curl -i -X DELETE https://api7.dspace.org/server/api/core/items/1911e8a4-6939-490c-b58b-a5d70f8d91fb/mappedCollections/1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb" ``` The above request would remove the mapping between Collection with UUID `1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb` and Item with UUID `1911e8a4-6939-490c-b58b-a5d70f8d91fb`. @@ -506,7 +506,7 @@ It returns the collection that have the item as template ### Relationships per item **/api/core/items/<:uuid>/relationships** -A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspace7-entities.atmire.com/rest/api/core/items/5a3f7c7a-d3df-419c-b8a2-f00ede62c60a/relationships +A sample can be found at https://api7.dspace.org/#https://api7.dspace.org/server/api/core/items/5a3f7c7a-d3df-419c-b8a2-f00ede62c60a/relationships It embeds all relationships where either the left or the right item matches the given uuid diff --git a/itemtemplates.md b/itemtemplates.md index 483aaac1..bc4d65ce 100644 --- a/itemtemplates.md +++ b/itemtemplates.md @@ -53,7 +53,7 @@ A collection's item template can be deleted, automatically ensuring the relation Curl example: ``` -curl 'https://dspace7.4science.cloud/dspace-spring-rest/api/core/itemtemplates/34d343c5-feb7-4a54-b07f-20a92debe061' \ +curl 'https://api7.dspace.org/server/api/core/itemtemplates/34d343c5-feb7-4a54-b07f-20a92debe061' \ -XDELETE \ -H 'Authorization: Bearer eyJhbGciOiJI...' ``` diff --git a/metadatafields.md b/metadatafields.md index d78c8441..c4c96aaf 100644 --- a/metadatafields.md +++ b/metadatafields.md @@ -6,7 +6,7 @@ Provide access to the metadata fields defined in the registry (DBMS based). It returns the list of existent metadata fields. -Example: +Example: ## Single Metadata Field **/api/core/metadatafields/<:id>** @@ -29,7 +29,7 @@ Exposed links: ### Schema **/api/core/metadatafields/<:id>/schema** -Example: +Example: It returns the metadata schema which the metadata field belongs. See the Metadata Schema endpoint for more info](metadataschemas.md#Single Metadata Schema) @@ -38,7 +38,7 @@ It returns the metadata schema which the metadata field belongs. See the Metadat #### bySchema **/api/core/metadatafields/search/bySchema?schema=<:prefix>** -Example: +Example: The supported parameters are: * **(mandatory)** schema, the prefix of the metadata schema (i.e. "dc", "dcterms", "eperson, etc.) diff --git a/metadataschemas.md b/metadataschemas.md index 369ad48a..de3e2982 100644 --- a/metadataschemas.md +++ b/metadataschemas.md @@ -6,7 +6,7 @@ Provide access to the metadata schemas defined in the registry (DBMS based). It returns the list of existent metadata schemas. -Example: +Example: ## Single Metadata Schema **/api/core/metadataschemas/<:id>** @@ -20,7 +20,7 @@ Provide detailed information about a specific metadata schema. The JSON response "type": "metadataschema", "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/core/metadataschemas/1" + "href": "https://api7.dspace.org/server/api/core/metadataschemas/1" } } } diff --git a/orcidhistories.md b/orcidhistories.md index 01e44db6..f4a1d747 100644 --- a/orcidhistories.md +++ b/orcidhistories.md @@ -55,7 +55,7 @@ Return codes: An example curl call: ``` - curl -i -X POST https://dspace7.4science.it/dspace-spring-rest/api/eperson/orcidhistories \ + curl -i -X POST https://api7.dspace.org/server/api/eperson/orcidhistories \ -H "Content-Type:text/uri-list" \ - --data "https://dspace7.4science.it/dspace-spring-rest/api/eperson/orcidqueues/10" + --data "https://api7.dspace.org/server/api/eperson/orcidqueues/10" ``` diff --git a/relationships.md b/relationships.md index 5a4d86dc..38a7a40e 100644 --- a/relationships.md +++ b/relationships.md @@ -7,12 +7,12 @@ It uses a [relationship type](relationshiptypes.md) and the 2 items with HAL lin ## Main Endpoint **/api/core/relationships** -A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspace7-entities.atmire.com/rest/api/core/relationshiptypes +A sample can be found at https://api7.dspace.org/#https://api7.dspace.org/server/api/core/relationshiptypes ## Single Relationship **/api/core/relationships/<:id>** -A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspace7-entities.atmire.com/rest/api/core/relationships/1117 +A sample can be found at https://api7.dspace.org/#https://api7.dspace.org/server/api/core/relationships/1117 ```json { @@ -23,16 +23,16 @@ A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspac "type": "relationship", "_links": { "relationshipType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationships/530/relationshipType" + "href": "https://api7.dspace.org/server/api/core/relationships/530/relationshipType" }, "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationships/530" + "href": "https://api7.dspace.org/server/api/core/relationships/530" }, "leftItem": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/items/e98b0f27-5c19-49a0-960d-eb6ad5287067" + "href": "https://api7.dspace.org/server/api/core/items/e98b0f27-5c19-49a0-960d-eb6ad5287067" }, "rightItem": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/items/0ffbee3f-e7ea-42bc-92fe-2fbef1a52c0f" + "href": "https://api7.dspace.org/server/api/core/items/0ffbee3f-e7ea-42bc-92fe-2fbef1a52c0f" } }, "_embedded": { @@ -47,13 +47,13 @@ A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspac "type": "relationshiptype", "_links": { "leftType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/1" + "href": "https://api7.dspace.org/server/api/core/entitytypes/1" }, "rightType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2" }, "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationshiptypes/1" + "href": "https://api7.dspace.org/server/api/core/relationshiptypes/1" } }, "_embedded": { @@ -63,10 +63,10 @@ A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspac "type": "entitytype", "_links": { "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/1" + "href": "https://api7.dspace.org/server/api/core/entitytypes/1" }, "relationshiptypes": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/1/relationshiptypes" + "href": "https://api7.dspace.org/server/api/core/entitytypes/1/relationshiptypes" } } }, @@ -76,10 +76,10 @@ A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspac "type": "entitytype", "_links": { "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2" }, "relationshiptypes": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2/relationshiptypes" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2/relationshiptypes" } } } @@ -126,12 +126,12 @@ A new relationship between 2 items can be created by specifying both items in a A sample CURL command would be: ``` -curl -i -X POST 'https://dspace7-entities.atmire.com/rest/api/core/relationships?relationshipType=1' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://dspace7-entities.atmire.com/rest/api/core/items/12623672-25a9-4df2-ab36-699c4c240c7e \n https://dspace7-entities.atmire.com/rest/api/core/items/5a3f7c7a-d3df-419c-8a2-f00ede62c60a' +curl -i -X POST 'https://api7.dspace.org/server/api/core/relationships?relationshipType=1' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://api7.dspace.org/server/api/core/items/12623672-25a9-4df2-ab36-699c4c240c7e \n https://api7.dspace.org/server/api/core/items/5a3f7c7a-d3df-419c-8a2-f00ede62c60a' ``` Including a name variant would result in: ``` -curl -i -X POST 'https://dspace7-entities.atmire.com/rest/api/core/relationships?relationshipType=1&leftwardValue=Name%20variant%201' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://dspace7-entities.atmire.com/rest/api/core/items/12623672-25a9-4df2-ab36-699c4c240c7e \n https://dspace7-entities.atmire.com/rest/api/core/items/5a3f7c7a-d3df-419c-8a2-f00ede62c60a' +curl -i -X POST 'https://api7.dspace.org/server/api/core/relationships?relationshipType=1&leftwardValue=Name%20variant%201' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://api7.dspace.org/server/api/core/items/12623672-25a9-4df2-ab36-699c4c240c7e \n https://api7.dspace.org/server/api/core/items/5a3f7c7a-d3df-419c-8a2-f00ede62c60a' ``` The uri-list should always contain exactly 2 items. The first item will be used as the left Item. The second item will be used as the right Item. @@ -150,12 +150,12 @@ Update the items in the relationship A sample CURL command to update the left item would be: ``` -curl -i -X PUT 'https://dspace7-entities.atmire.com/rest/api/core/relationships/891/leftItem' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://dspace7-entities.atmire.com/rest/api/core/items/12623672-25a9-4df2-ab36-699c4c240c7e' +curl -i -X PUT 'https://api7.dspace.org/server/api/core/relationships/891/leftItem' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://api7.dspace.org/server/api/core/items/12623672-25a9-4df2-ab36-699c4c240c7e' ``` A sample CURL command to update the right item would be: ``` -curl -i -X PUT 'https://dspace7-entities.atmire.com/rest/api/core/relationships/891/rightItem' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://dspace7-entities.atmire.com/rest/api/core/items/5a3f7c7a-d3df-419c-8a2-f00ede62c60a' +curl -i -X PUT 'https://api7.dspace.org/server/api/core/relationships/891/rightItem' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:text/uri-list" --data 'https://api7.dspace.org/server/api/core/items/5a3f7c7a-d3df-419c-8a2-f00ede62c60a' ``` The uri-list should always contain exactly 1 item. This item will be used as to replace the left of right item, depending on whether the URL ends with /leftItem or /rightItem @@ -175,7 +175,7 @@ Error codes: Update the name variant or the place: ``` -curl -i -X PUT 'https://dspace7-entities.atmire.com/rest/api/core/relationships/891' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:application/json" --data '{ "leftPlace": 1, "leftwardValue": "Smith, Jane", "rightPlace": 1, "rightwardValue": null }' +curl -i -X PUT 'https://api7.dspace.org/server/api/core/relationships/891' -H 'Authorization: Bearer eyJhbGciO…' -H "Content-Type:application/json" --data '{ "leftPlace": 1, "leftwardValue": "Smith, Jane", "rightPlace": 1, "rightwardValue": null }' ``` Omitted properties will be removed. @@ -189,7 +189,7 @@ Error codes: ## Relationships per Relationship type **/api/core/relationships/search/byLabel?label=<:relationshipname>** -A sample search would be https://dspace7-entities.atmire.com/rest/#https://dspace7-entities.atmire.com/rest/api/core/relationships/search/byLabel?label=isPersonOfOrgUnit +A sample search would be https://api7.dspace.org/#https://api7.dspace.org/server/api/core/relationships/search/byLabel?label=isPersonOfOrgUnit The relationshipname parameter is mandatory It would respond with @@ -206,16 +206,16 @@ It would respond with "type": "relationship", "_links": { "relationshipType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationships/590/relationshipType" + "href": "https://api7.dspace.org/server/api/core/relationships/590/relationshipType" }, "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationships/590" + "href": "https://api7.dspace.org/server/api/core/relationships/590" }, "leftItem": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/items/f2235aa6-6fe7-4174-a690-598b72dd8e44" + "href": "https://api7.dspace.org/server/api/core/items/f2235aa6-6fe7-4174-a690-598b72dd8e44" }, "rightItem": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/items/d30de96b-1e76-40ae-8ef9-ab426b6f9763" + "href": "https://api7.dspace.org/server/api/core/items/d30de96b-1e76-40ae-8ef9-ab426b6f9763" } }, "_embedded": { @@ -230,13 +230,13 @@ It would respond with "type": "relationshiptype", "_links": { "leftType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2" }, "rightType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/4" + "href": "https://api7.dspace.org/server/api/core/entitytypes/4" }, "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationshiptypes/5" + "href": "https://api7.dspace.org/server/api/core/relationshiptypes/5" } }, "_embedded": { @@ -246,10 +246,10 @@ It would respond with "type": "entitytype", "_links": { "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2" }, "relationshiptypes": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2/relationshiptypes" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2/relationshiptypes" } } }, @@ -259,10 +259,10 @@ It would respond with "type": "entitytype", "_links": { "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/4" + "href": "https://api7.dspace.org/server/api/core/entitytypes/4" }, "relationshiptypes": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/4/relationshiptypes" + "href": "https://api7.dspace.org/server/api/core/entitytypes/4/relationshiptypes" } } } @@ -279,16 +279,16 @@ It would respond with "type": "relationship", "_links": { "relationshipType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationships/589/relationshipType" + "href": "https://api7.dspace.org/server/api/core/relationships/589/relationshipType" }, "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationships/589" + "href": "https://api7.dspace.org/server/api/core/relationships/589" }, "leftItem": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/items/5a3f7c7a-d3df-419c-b8a2-f00ede62c60a" + "href": "https://api7.dspace.org/server/api/core/items/5a3f7c7a-d3df-419c-b8a2-f00ede62c60a" }, "rightItem": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/items/c216201f-ed10-4361-b0e0-5a065405bd3e" + "href": "https://api7.dspace.org/server/api/core/items/c216201f-ed10-4361-b0e0-5a065405bd3e" } }, "_embedded": { @@ -303,13 +303,13 @@ It would respond with "type": "relationshiptype", "_links": { "leftType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2" }, "rightType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/4" + "href": "https://api7.dspace.org/server/api/core/entitytypes/4" }, "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationshiptypes/5" + "href": "https://api7.dspace.org/server/api/core/relationshiptypes/5" } }, "_embedded": { @@ -319,10 +319,10 @@ It would respond with "type": "entitytype", "_links": { "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2" }, "relationshiptypes": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2/relationshiptypes" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2/relationshiptypes" } } }, @@ -332,10 +332,10 @@ It would respond with "type": "entitytype", "_links": { "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/4" + "href": "https://api7.dspace.org/server/api/core/entitytypes/4" }, "relationshiptypes": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/4/relationshiptypes" + "href": "https://api7.dspace.org/server/api/core/entitytypes/4/relationshiptypes" } } } @@ -348,7 +348,7 @@ It would respond with }, "_links": { "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationships/search/byLabel?label=isPersonOfOrgUnit" + "href": "https://api7.dspace.org/server/api/core/relationships/search/byLabel?label=isPersonOfOrgUnit" } }, "page": { @@ -367,7 +367,7 @@ It embeds all relationships where the relationship type has the given label on e This can be further filtered to a single DSO using -https://dspace7-entities.atmire.com/rest/#https://dspace7-entities.atmire.com/rest/api/core/relationships/search/byLabel?label=isPersonOfOrgUnit&dso=f2235aa6-6fe7-4174-a690-598b72dd8e44 which contains all relationships created using the relationship type isPersonOfOrgUnit for which one item is f2235aa6-6fe7-4174-a690-598b72dd8e44 +https://api7.dspace.org/#https://api7.dspace.org/server/api/core/relationships/search/byLabel?label=isPersonOfOrgUnit&dso=f2235aa6-6fe7-4174-a690-598b72dd8e44 which contains all relationships created using the relationship type isPersonOfOrgUnit for which one item is f2235aa6-6fe7-4174-a690-598b72dd8e44 The dso parameter is optional ## Deleting a relationship @@ -378,7 +378,7 @@ Delete a relationship between 2 items. A sample CURL command would be: ``` -curl -D - -XDELETE 'https://dspace7-entities.atmire.com/rest/api/core/relationships/890' -H 'Authorization: Bearer eyJhbGciO…' +curl -D - -XDELETE 'https://api7.dspace.org/server/api/core/relationships/890' -H 'Authorization: Bearer eyJhbGciO…' ``` An optional parameter for copying virtual metadata to actual metadata in the related items can be included (only authorized if the user has permissions to update the metadata of the given items): `copyVirtualMetadata`. This can contain values: diff --git a/relationshiptypes.md b/relationshiptypes.md index cee91db8..a1ac96de 100644 --- a/relationshiptypes.md +++ b/relationshiptypes.md @@ -8,12 +8,12 @@ A HAL link to the item types is embedded as well ## Main Endpoint **/api/core/relationshiptypes** -A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspace7-entities.atmire.com/rest/api/core/relationshiptypes +A sample can be found at https://api7.dspace.org/#https://api7.dspace.org/server/api/core/relationshiptypes ## Single Relationship Type **/api/core/relationshiptypes/<:id>** -A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspace7-entities.atmire.com/rest/api/core/relationshiptypes/1 +A sample can be found at https://api7.dspace.org/#https://api7.dspace.org/server/api/core/relationshiptypes/1 ```json { @@ -27,13 +27,13 @@ A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspac "type": "relationshiptype", "_links": { "leftType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/1" + "href": "https://api7.dspace.org/server/api/core/entitytypes/1" }, "rightType": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2" }, "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/relationshiptypes/1" + "href": "https://api7.dspace.org/server/api/core/relationshiptypes/1" } }, "_embedded": { @@ -43,10 +43,10 @@ A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspac "type": "entitytype", "_links": { "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/1" + "href": "https://api7.dspace.org/server/api/core/entitytypes/1" }, "relationshiptypes": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/1/relationshiptypes" + "href": "https://api7.dspace.org/server/api/core/entitytypes/1/relationshiptypes" } } }, @@ -56,10 +56,10 @@ A sample can be found at https://dspace7-entities.atmire.com/rest/#https://dspac "type": "entitytype", "_links": { "self": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2" }, "relationshiptypes": { - "href": "https://dspace7-entities.atmire.com/rest/api/core/entitytypes/2/relationshiptypes" + "href": "https://api7.dspace.org/server/api/core/entitytypes/2/relationshiptypes" } } } diff --git a/search-endpoint.md b/search-endpoint.md index 058c52a4..9f275d99 100644 --- a/search-endpoint.md +++ b/search-endpoint.md @@ -694,7 +694,7 @@ The JSON response document is as follow "hasMinMaxValues": true, "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/discover/facets/dateissued" + "href": "https://api7.dspace.org/server/api/discover/facets/dateissued" } } }, @@ -704,7 +704,7 @@ The JSON response document is as follow "facetLimit": 2, "_links": { "self": { - "href": "https://dspace7.4science.it/dspace-spring-rest/api/discover/facets/has_content_in_original_bundle" + "href": "https://api7.dspace.org/server/api/discover/facets/has_content_in_original_bundle" } } } @@ -817,7 +817,7 @@ Example "type" : "discover", "_links" : { "self" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/discover/search/objects?configuration=workspace" + "href" : "https://api7.dspace.org/server/api/discover/search/objects?configuration=workspace" } }, "_embedded" : { @@ -828,7 +828,7 @@ Example "type" : "discover", "_links" : { "indexableObject" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/8" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/8" } }, "_embedded" : { @@ -864,19 +864,19 @@ Example "type" : "workspaceitem", "_links" : { "collection" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/8/collection" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/8/collection" }, "item" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/8/item" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/8/item" }, "submissionDefinition" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/8/submissionDefinition" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/8/submissionDefinition" }, "submitter" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/8/submitter" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/8/submitter" }, "self" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/8" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/8" } }, "_embedded" : { @@ -898,7 +898,7 @@ Example "type" : "discover", "_links" : { "indexableObject" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/9" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/9" } }, "_embedded" : { @@ -934,19 +934,19 @@ Example "type" : "workspaceitem", "_links" : { "collection" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/9/collection" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/9/collection" }, "item" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/9/item" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/9/item" }, "submissionDefinition" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/9/submissionDefinition" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/9/submissionDefinition" }, "submitter" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/9/submitter" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/9/submitter" }, "self" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems/9" + "href" : "https://api7.dspace.org/server/api/submission/workspaceitems/9" } }, "_embedded" : { @@ -968,7 +968,7 @@ Example "type" : "discover", "_links" : { "indexableObject" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/workflow/workflowitems/3" + "href" : "https://api7.dspace.org/server/api/workflow/workflowitems/3" } }, "_embedded" : { @@ -1004,19 +1004,19 @@ Example "type" : "workflowitem", "_links" : { "collection" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/workflow/workflowitems/3/collection" + "href" : "https://api7.dspace.org/server/api/workflow/workflowitems/3/collection" }, "item" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/workflow/workflowitems/3/item" + "href" : "https://api7.dspace.org/server/api/workflow/workflowitems/3/item" }, "submissionDefinition" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/workflow/workflowitems/3/submissionDefinition" + "href" : "https://api7.dspace.org/server/api/workflow/workflowitems/3/submissionDefinition" }, "submitter" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/workflow/workflowitems/3/submitter" + "href" : "https://api7.dspace.org/server/api/workflow/workflowitems/3/submitter" }, "self" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/workflow/workflowitems/3" + "href" : "https://api7.dspace.org/server/api/workflow/workflowitems/3" } }, "_embedded" : { @@ -1038,7 +1038,7 @@ Example }, "_links" : { "self" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/discover/search/objects?configuration=workspace" + "href" : "https://api7.dspace.org/server/api/discover/search/objects?configuration=workspace" } }, "page" : { @@ -1054,7 +1054,7 @@ Example "facetLimit" : 10, "_links" : { "self" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/discover/facets/namedresourcetype?configuration=workspace" + "href" : "https://api7.dspace.org/server/api/discover/facets/namedresourcetype?configuration=workspace" } }, "page" : { @@ -1068,7 +1068,7 @@ Example "type" : "discover", "_links" : { "search" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/discover/search/objects?configuration=workspace&f.namedresourcetype=workspace,authority" + "href" : "https://api7.dspace.org/server/api/discover/search/objects?configuration=workspace&f.namedresourcetype=workspace,authority" } } }, { @@ -1077,7 +1077,7 @@ Example "type" : "discover", "_links" : { "search" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/discover/search/objects?configuration=workspace&f.namedresourcetype=workflow,authority" + "href" : "https://api7.dspace.org/server/api/discover/search/objects?configuration=workspace&f.namedresourcetype=workflow,authority" } } } ] @@ -1088,7 +1088,7 @@ Example "facetLimit" : 10, "_links" : { "self" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/discover/facets/itemtype?configuration=workspace" + "href" : "https://api7.dspace.org/server/api/discover/facets/itemtype?configuration=workspace" } }, "_embedded" : { @@ -1102,7 +1102,7 @@ Example "maxValue" : "2010-11-03", "_links" : { "self" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/discover/facets/dateIssued?configuration=workspace" + "href" : "https://api7.dspace.org/server/api/discover/facets/dateIssued?configuration=workspace" } }, "page" : { @@ -1116,7 +1116,7 @@ Example "type" : "discover", "_links" : { "search" : { - "href" : "https://dspace7.4science.it/dspace-spring-rest/api/discover/search/objects?configuration=workspace&f.dateIssued=2010,equals" + "href" : "https://api7.dspace.org/server/api/discover/search/objects?configuration=workspace&f.dateIssued=2010,equals" } } } ] diff --git a/supervisionorders.md b/supervisionorders.md index 4f53908a..ed390f83 100644 --- a/supervisionorders.md +++ b/supervisionorders.md @@ -18,10 +18,10 @@ Provides information about a single supervision order defined into the system "id": 42, "_links": { "item": { - "href": "https://example.com/server/api/core/items/092b59e8-8159-4e70-98b5-93ec60bd3431" + "href": "https://api7.dspace.org/server/api/core/items/092b59e8-8159-4e70-98b5-93ec60bd3431" }, "group": { - "href": "https://example.com/server/api/eperson/groups/4ebb837c-c2ae-4928-9bb1-6f51df4eeb60" + "href": "https://api7.dspace.org/server/api/eperson/groups/4ebb837c-c2ae-4928-9bb1-6f51df4eeb60" } } ``` @@ -69,7 +69,7 @@ The supported parameters are: A sample CURL command would be: ``` -curl -i -X POST 'https://example.com/server/api/core/supervisionorders?uuid=&group=&type=NONE' -H 'Authorization: Bearer eyJrasdfw…' +curl -i -X POST 'https://api7.dspace.org/server/api/core/supervisionorders?uuid=&group=&type=NONE' -H 'Authorization: Bearer eyJrasdfw…' ``` * 201 Created - if the operation succeed @@ -87,7 +87,7 @@ Delete a supervision order. A sample CURL command would be: ``` -curl -D - -XDELETE 'https://example.com/server/api/core/supervisionorders/42' -H 'Authorization: Bearer eyJhafsdf…' +curl -D - -XDELETE 'https://api7.dspace.org/server/api/core/supervisionorders/42' -H 'Authorization: Bearer eyJhafsdf…' ``` Return codes: diff --git a/vocabularies.md b/vocabularies.md index 54a8fdcf..6b0fec5e 100644 --- a/vocabularies.md +++ b/vocabularies.md @@ -22,10 +22,10 @@ Example: "type": "vocabulary", "_links": { "entries": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/srsc/entries" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/srsc/entries" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/srsc" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/srsc" } } }, @@ -37,10 +37,10 @@ Example: "type": "vocabulary", "_links": { "entries": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/srsc/entries" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/srsc/entries" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/srsc" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/srsc" } } }, @@ -52,10 +52,10 @@ Example: "type": "vocabulary", "_links": { "entries": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_iso_languages/entries" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_iso_languages/entries" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_iso_languages" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_iso_languages" } } } @@ -63,7 +63,7 @@ Example: }, "_links": { "self": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies" + "href": "https://api7.dspace.org/server/api/submission/vocabularies" } }, "page": { @@ -142,16 +142,16 @@ sample for the vocabulary common_types defined via a value pairs in the submissi }, "_links": { "first": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?page=0&size=2" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?page=0&size=2" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?size=2" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?size=2" }, "next": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?page=1&size=2" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?page=1&size=2" }, "last": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?page=10&size=2" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?page=10&size=2" } }, "page": { @@ -183,13 +183,13 @@ extra sample filtering the suggestion with the term Book }, "_links": { "first": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?page=0&size=2" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?page=0&size=2" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?size=2" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?size=2" }, "last": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?page=0&size=2" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?page=0&size=2" } }, "page": { @@ -220,7 +220,7 @@ sample for a hierarchical authority (srsc): "type": "vocabularyEntry", "_links": { "vocabularyEntryDetail": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularyEntryDetails/srsc:VR131402" + "href": "https://api7.dspace.org/server/api/submission/vocabularyEntryDetails/srsc:VR131402" } } }, @@ -236,7 +236,7 @@ sample for a hierarchical authority (srsc): "type": "vocabularyEntry", "_links": { "vocabularyEntryDetail": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularyEntryDetails/srsc:VR131403" + "href": "https://api7.dspace.org/server/api/submission/vocabularyEntryDetails/srsc:VR131403" } } } @@ -244,16 +244,16 @@ sample for a hierarchical authority (srsc): }, "_links": { "first": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?filter=Research&size=2&page=0" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?filter=Research&size=2&page=0" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?filter=Research&size=2" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?filter=Research&size=2" }, "next": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?filter=Research&size=2&page=1" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?filter=Research&size=2&page=1" }, "last": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/common_types/entries?filter=Research&size=2&page=12" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/common_types/entries?filter=Research&size=2&page=12" } }, "page": { @@ -279,20 +279,20 @@ sample for a vocabulary providing an authority value "type": "vocabularyEntry", "_links": { "vocabularyEntryDetail": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularyEntryDetails/SolrAuthorAuthority:42768ba6-0ba1-4aa3-971e-9c4e27fd7558" + "href": "https://api7.dspace.org/server/api/submission/vocabularyEntryDetails/SolrAuthorAuthority:42768ba6-0ba1-4aa3-971e-9c4e27fd7558" } } }] }, "_links": { "first": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/SolrAuthorAuthority/entries?page=0&size=1" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/SolrAuthorAuthority/entries?page=0&size=1" }, "self": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/SolrAuthorAuthority/entries?size=1" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/SolrAuthorAuthority/entries?size=1" }, "last": { - "href": "https://dspace7.4science.cloud/server/api/submission/vocabularies/SolrAuthorAuthority/entries?page=0&size=1" + "href": "https://api7.dspace.org/server/api/submission/vocabularies/SolrAuthorAuthority/entries?page=0&size=1" } }, "page": { diff --git a/workflowitems.md b/workflowitems.md index 572c6e29..97e28e95 100644 --- a/workflowitems.md +++ b/workflowitems.md @@ -34,7 +34,7 @@ Provide detailed information about a specific workflowitem. The JSON response do }, "license": { acceptanceDate: "2017-06-24T00:40:54.970+0000", - url: "http://dspace7.4science.it/api/core/bitstreams/8d33bdfb-e7ba-43e6-a93a-f445b7e8a1e2/content" + url: "http://api7.dspace.org/server/api/core/bitstreams/8d33bdfb-e7ba-43e6-a93a-f445b7e8a1e2/content" }, "uploads": [ { @@ -47,7 +47,7 @@ Provide detailed information about a specific workflowitem. The JSON response do "checkSumAlgorithm": "MD5", "value": "9d8f0f9e369cf12159d47c146c499cf4" }, - "url": "http://dspace7.4science.it/api/core/bitstreams/00001abf-b2e0-477a-99de-104db7cb6469/content", + "url": "http://api7.dspace.org/server/api/core/bitstreams/00001abf-b2e0-477a-99de-104db7cb6469/content", "accessConditions": [ { "id": 123, diff --git a/workflowsteps.md b/workflowsteps.md index 19ff6fd0..ab764d11 100644 --- a/workflowsteps.md +++ b/workflowsteps.md @@ -20,7 +20,7 @@ Provide detailed information about a specific workflow step. An example JSON res "type": "workflowstep", "_links": { "workflowactions": { - "href": "https://dspace7-entities.atmire.com/rest/api/config/workflowsteps/<:step-name>/workflowactions" + "href": "https://api7.dspace.org/server/api/config/workflowsteps/<:step-name>/workflowactions" } }, "_embedded": { diff --git a/workspaceitem-data-license.md b/workspaceitem-data-license.md index f2c62419..49995094 100644 --- a/workspaceitem-data-license.md +++ b/workspaceitem-data-license.md @@ -6,7 +6,7 @@ The section data represent the data about the granted deposit license ```json { "granted": true, - "url": "https://dspace7.4science.it/dspace-spring-rest/api/core/bitstreams/004a297e-fd06-4662-ae51-73e4b7c165c8/content", + "url": "https://api7.dspace.org/server/api/core/bitstreams/004a297e-fd06-4662-ae51-73e4b7c165c8/content", "acceptanceDate": "2017-11-20T10:32:42Z" } ``` @@ -71,7 +71,7 @@ will result in "license": { "granted": true, - "url": "https://dspace7.4science.it/dspace-spring-rest/api/core/bitstreams/004a297e-fd06-4662-ae51-73e4b7c165c8/content", + "url": "https://api7.dspace.org/server/api/core/bitstreams/004a297e-fd06-4662-ae51-73e4b7c165c8/content", "acceptanceDate": "2017-11-20T10:32:42Z" } ... @@ -116,7 +116,7 @@ trasforming "license": { "granted": true, - "url": "https://dspace7.4science.it/dspace-spring-rest/api/core/bitstreams/004a297e-fd06-4662-ae51-73e4b7c165c8/content", + "url": "https://api7.dspace.org/server/api/core/bitstreams/004a297e-fd06-4662-ae51-73e4b7c165c8/content", "acceptanceDate": "2017-11-20T10:32:42Z" } ... diff --git a/workspaceitem-data-upload.md b/workspaceitem-data-upload.md index d4c11ba3..df9b67fb 100644 --- a/workspaceitem-data-upload.md +++ b/workspaceitem-data-upload.md @@ -16,7 +16,7 @@ The section data represent the data about the user uploaded files "checkSumAlgorithm": "MD5", "value": "9d8f0f9e369cf12159d47c146c499cf4" }, - "url": "http://dspace7.4science.it/api/core/bitstreams/00001abf-b2e0-477a-99de-104db7cb6469/content", + "url": "http://api7.dspace.org/server/api/core/bitstreams/00001abf-b2e0-477a-99de-104db7cb6469/content", "accessConditions": [ { "id": 123, @@ -99,7 +99,7 @@ will set the title of the first uploaded file to MyFile.pdf returning the follow "checkSumAlgorithm": "MD5", "value": "9d8f0f9e369cf12159d47c146c499cf4" }, - "url": "http://dspace7.4science.it/api/core/bitstreams/00001abf-b2e0-477a-99de-104db7cb6469/content", + "url": "http://api7.dspace.org/server/api/core/bitstreams/00001abf-b2e0-477a-99de-104db7cb6469/content", "accessConditions": [ { "id": 123, diff --git a/workspaceitems.md b/workspaceitems.md index fdba05e4..9378b7d9 100644 --- a/workspaceitems.md +++ b/workspaceitems.md @@ -21,9 +21,9 @@ In the remote resource scenario, Multipart POST can include a uri-list containin An example curl call: ``` - curl -i -X POST https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems?owningCollection=1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb \ + curl -i -X POST https://api7.dspace.org/server/api/submission/workspaceitems?owningCollection=1c11f3f1-ba1f-4f36-908a-3f1ea9a557eb \ -H "Content-Type:text/uri-list" \ - --data "https://dspace7.4science.it/dspace-spring-rest/api/integration/externalsources/orcid/entryValues/0000-0002-4271-0436" + --data "https://api7.dspace.org/server/api/integration/externalsources/orcid/entryValues/0000-0002-4271-0436" ``` No confirmation, user has confirmed they want this record, and the previous state of the item is empty @@ -41,7 +41,7 @@ There are some constraints to import files: An example curl call: - curl --location --request POST 'https://dspace7.4science.it/dspace-spring-rest/api/submission/workspaceitems' + curl --location --request POST 'https://api7.dspace.org/server/api/submission/workspaceitems' --form 'file=@/path/to/bibtex-test.bib' --form 'file=@/path/to/pubmed-test.xml' @@ -74,7 +74,7 @@ Provide detailed information about a specific workspaceitem. The JSON response d }, "license": { acceptanceDate: "2017-06-24T00:40:54.970+0000", - url: "http://dspace7.4science.it/api/core/bitstreams/8d33bdfb-e7ba-43e6-a93a-f445b7e8a1e2/content" + url: "http://api7.dspace.org/server/api/core/bitstreams/8d33bdfb-e7ba-43e6-a93a-f445b7e8a1e2/content" }, "uploads": [ { @@ -87,7 +87,7 @@ Provide detailed information about a specific workspaceitem. The JSON response d "checkSumAlgorithm": "MD5", "value": "9d8f0f9e369cf12159d47c146c499cf4" }, - "url": "http://dspace7.4science.it/api/core/bitstreams/00001abf-b2e0-477a-99de-104db7cb6469/content", + "url": "http://api7.dspace.org/server/api/core/bitstreams/00001abf-b2e0-477a-99de-104db7cb6469/content", "accessConditions": [ { "id": 123,