mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 21:13:19 +00:00
[CST-5669] Improved ResearcherProfileAddOrcidOperation javadoc
This commit is contained in:
@@ -21,12 +21,14 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation for ResearcherProfile ORCID connection.
|
* Implementation of the PATCH operation used to establish the ORCID connection.
|
||||||
*
|
*
|
||||||
* Example: <code><br/>
|
* Example: <code><br/>
|
||||||
* curl -X PATCH http://${dspace.server.url}/api/eperson/profiles/<:id-eperson> -H "
|
* curl -X PATCH http://${dspace.server.url}/api/eperson/profiles/<:id-eperson> -H "
|
||||||
* Content-Type: application/json" -d '[{ "op": "add", "path": "/orcid", value: "code" }]'
|
* Content-Type: application/json" -d '[{ "op": "add", "path": "/orcid", value: "code" }]'
|
||||||
* </code>
|
* </code> <br/>
|
||||||
|
* The value to be provided is the authorization code for an ORCID iD and
|
||||||
|
* 3-legged access token.
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class ResearcherProfileAddOrcidOperation extends PatchOperation<ResearcherProfile> {
|
public class ResearcherProfileAddOrcidOperation extends PatchOperation<ResearcherProfile> {
|
||||||
|
Reference in New Issue
Block a user