@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/subject-area")
public class SubjectAreaRelationshipRESTResource
extends Object
| Constructor and Description |
|---|
SubjectAreaRelationshipRESTResource()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
SubjectAreaOMASAPIResponse |
createAntonym(String serverName,
String userId,
Antonym antonym)
Create an antonym relationship, which is a link between glossary terms that have the opposite meaning.
|
SubjectAreaOMASAPIResponse |
createCategoryAnchor(String serverName,
String userId,
CategoryAnchor categoryAnchorRelationship)
Create a categoryAnchor Relationship.
|
SubjectAreaOMASAPIResponse |
createiSARelationship(String serverName,
String userId,
Isa iSARelationship)
Create a iSARelationship relationship, which is a link between a more general glossary term and a more specific definition.
|
SubjectAreaOMASAPIResponse |
createpreferredTerm(String serverName,
String userId,
PreferredTerm preferredTerm)
Create a preferredTerm relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.
|
SubjectAreaOMASAPIResponse |
createProjectScopeRelationship(String serverName,
String userId,
ProjectScope projectScope)
Create a project scope relationship, which is a link between the project content and the project.
|
SubjectAreaOMASAPIResponse |
createRelatedTerm(String serverName,
String userId,
RelatedTerm relatedTermRelationshipRelationship)
Create a RelatedTerm.
|
SubjectAreaOMASAPIResponse |
createReplacementTerm(String serverName,
String userId,
ReplacementTerm replacementTerm)
Create a replacementTerm relationship, which is a link to a glossary term that is replacing an obsolete glossary term.
|
SubjectAreaOMASAPIResponse |
createSynonym(String serverName,
String userId,
Synonym synonym)
Create a synonym relationship, which is a link between glossary terms that have the same meaning.
|
SubjectAreaOMASAPIResponse |
createTermAnchor(String serverName,
String userId,
TermAnchor termAnchorRelationship)
Create a termAnchor Relationship.
|
SubjectAreaOMASAPIResponse |
createTermCategorization(String serverName,
String userId,
Categorization termCategorizationRelationship)
Create a termCategorization Relationship.
|
SubjectAreaOMASAPIResponse |
createTermHASARelationship(String serverName,
String userId,
Hasa termHASARelationship)
Create a TermHASARelationship is the relationship between a spine object and a spine attribute.
|
SubjectAreaOMASAPIResponse |
createtermISATypeOFRelationship(String serverName,
String userId,
IsaTypeOf termISATypeOFRelationship)
Create a termISATypeOFRelationship relationship, which is an inheritance relationship between two spine objects.
|
SubjectAreaOMASAPIResponse |
createtermTYPEDBYRelationship(String serverName,
String userId,
TypedBy termTYPEDBYRelationship)
Create a termTYPEDBYRelationship relationship, which is a link between a spine attribute and its type.
|
SubjectAreaOMASAPIResponse |
createTranslation(String serverName,
String userId,
Translation translation)
Create a translation relationship, which is a link between glossary terms to provide different natural language translation of the same concept.
|
SubjectAreaOMASAPIResponse |
createusedInContext(String serverName,
String userId,
UsedInContext usedInContext)
Create a usedInContext relationship, which is a link between glossary terms, where one describes the context where the other one is valid to use.
|
SubjectAreaOMASAPIResponse |
createValidValue(String serverName,
String userId,
ValidValue validValue)
Create a validValue relationship, which is a link between glossary terms that have the same meaning.
|
SubjectAreaOMASAPIResponse |
deleteAntonymRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a Antonym relationship
|
SubjectAreaOMASAPIResponse |
deleteCategoryAnchorRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a CategoryAnchor Relationship.
|
SubjectAreaOMASAPIResponse |
deletePreferredTermRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a PreferredTerm relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.
|
SubjectAreaOMASAPIResponse |
deleteProjectScopeRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a Project scope relationship which is a link between the project content and the project.
|
SubjectAreaOMASAPIResponse |
deleteRelatedTerm(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a Related Term relationship
|
SubjectAreaOMASAPIResponse |
deleteReplacementTermRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a ReplacementTerm relationship, which is a link to a glossary term that is replacing an obsolete glossary term.
|
SubjectAreaOMASAPIResponse |
deleteSynonymRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a Synonym relationship
|
SubjectAreaOMASAPIResponse |
deleteTermAnchorRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a TermAnchor Relationship.
|
SubjectAreaOMASAPIResponse |
deleteTermCategorizationRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a TermCategorization Relationship.
|
SubjectAreaOMASAPIResponse |
deleteTermHASARelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a Term HAS A relationship
|
SubjectAreaOMASAPIResponse |
deleteTermISARelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a ISARelationship relationship, which is a link between a more general glossary term and a more specific definition.
|
SubjectAreaOMASAPIResponse |
deleteTermIsaTypeOfRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a TermISATypeOFRelationship relationship, which is an inheritance relationship between two spine objects.
|
SubjectAreaOMASAPIResponse |
deleteTranslationRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a Translation relationship, which is a link between glossary terms to provide different natural language translation of the same concept.
|
SubjectAreaOMASAPIResponse |
deleteTypedByRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a TermTYPEDBYRelationship relationship, which is a link between a spine attribute and its type.
|
SubjectAreaOMASAPIResponse |
deleteUsedInContextRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a UsedInContext relationship which is a link between glossary terms, where one describes the context where the other one is valid to use.
|
SubjectAreaOMASAPIResponse |
deleteValidValueRelationship(String serverName,
String userId,
String guid,
Boolean isPurge)
Delete a ValidValue relationship
|
SubjectAreaOMASAPIResponse |
getAntonymRelationship(String serverName,
String userId,
String guid)
Get a antonym relationship
|
SubjectAreaOMASAPIResponse |
getCategoryAnchorRelationship(String serverName,
String userId,
String guid)
Get a categoryAnchor Relationship.
|
SubjectAreaOMASAPIResponse |
getISARelationship(String serverName,
String userId,
String guid)
Get a iSARelationship relationship, which is a link between a more general glossary term and a more specific definition.
|
SubjectAreaOMASAPIResponse |
getPreferredTermRelationship(String serverName,
String userId,
String guid)
Get a preferredTerm relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.
|
SubjectAreaOMASAPIResponse |
getProjectScopeRelationship(String serverName,
String userId,
String guid)
Get a project scope relationship, which is a link between the project content and the project.
|
SubjectAreaOMASAPIResponse |
getRelatedTerm(String serverName,
String userId,
String guid)
Get a related Term relationship.
|
SubjectAreaOMASAPIResponse |
getReplacementTermRelationship(String serverName,
String userId,
String guid)
Get a replacementTerm relationship, which is a link to a glossary term that is replacing an obsolete glossary term.
|
SubjectAreaOMASAPIResponse |
getSemanticAssignmentRelationship(String serverName,
String userId,
String guid)
Get a SemanticAssignment relationship, Links a glossary term to another element such as an asset or schema element to define its meaning.
|
SubjectAreaOMASAPIResponse |
getSynonymRelationship(String serverName,
String userId,
String guid)
Get a synonym relationship, which is a link between glossary terms that have the same meaning.
|
SubjectAreaOMASAPIResponse |
getTermAnchorRelationship(String serverName,
String userId,
String guid)
Get a termAnchor Relationship.
|
SubjectAreaOMASAPIResponse |
getTermCategorizationRelationship(String serverName,
String userId,
String guid)
Get a termCategorization Relationship.
|
SubjectAreaOMASAPIResponse |
getTermHASARelationship(String serverName,
String userId,
String guid)
Get a Term HAS A relationship
|
SubjectAreaOMASAPIResponse |
getTermISATypeOFRelationship(String serverName,
String userId,
String guid)
Get a termISATypeOFRelationship relationship, which is an inheritance relationship between two spine objects.
|
SubjectAreaOMASAPIResponse |
getTranslationRelationship(String serverName,
String userId,
String guid)
Get a translation relationship, which is a link between glossary terms to provide different natural language translation of the same concept.
|
SubjectAreaOMASAPIResponse |
getTYPEDBYRelationshipRelationship(String serverName,
String userId,
String guid)
Get a termTYPEDBYRelationship relationship, which is a link between a spine attribute and its type.
|
SubjectAreaOMASAPIResponse |
getUsedInContextRelationship(String serverName,
String userId,
String guid)
Get a usedInContext relationship, which is a link between glossary terms, where one describes the context where the other one is valid to use.
|
SubjectAreaOMASAPIResponse |
getValidValueRelationship(String serverName,
String userId,
String guid)
Get a validValue relationship, which is a link between glossary terms that have the same meaning.
|
SubjectAreaOMASAPIResponse |
restoreAntonym(String serverName,
String userId,
String guid)
Restore a Antonym
|
SubjectAreaOMASAPIResponse |
restoreCategoryAnchorRelationship(String serverName,
String userId,
String guid)
Restore a CategoryAnchor Relationship.
|
SubjectAreaOMASAPIResponse |
restoreIsaRelationship(String serverName,
String userId,
String guid)
Restore a Isa Relationship
|
SubjectAreaOMASAPIResponse |
restorePreferredTerm(String serverName,
String userId,
String guid)
Restore a PreferredTerm
|
SubjectAreaOMASAPIResponse |
restoreProjectScoperRelationship(String serverName,
String userId,
String guid)
Restore a ProjectScope, which is a link between the project content and the project.
|
SubjectAreaOMASAPIResponse |
restoreRelatedTerm(String serverName,
String userId,
String guid)
Restore a related Term relationship.
|
SubjectAreaOMASAPIResponse |
restoreReplacementTerm(String serverName,
String userId,
String guid)
Restore a ReplacementTerm
|
SubjectAreaOMASAPIResponse |
restoreSynonym(String serverName,
String userId,
String guid)
Restore a Synonym
|
SubjectAreaOMASAPIResponse |
restoreTermAnchorRelationship(String serverName,
String userId,
String guid)
Restore a TermAnchor Relationship.
|
SubjectAreaOMASAPIResponse |
restoreTermCategorizationRelationship(String serverName,
String userId,
String guid)
Restore a TermCategorization Relationship.
|
SubjectAreaOMASAPIResponse |
restoreTermHASARelationship(String serverName,
String userId,
String guid)
Restore a has a relationship.
|
SubjectAreaOMASAPIResponse |
restoreTermIsaTypeOfRelationship(String serverName,
String userId,
String guid)
Restore a Is a Type Of Relationship
|
SubjectAreaOMASAPIResponse |
restoreTermTYPEDBYRelationship(String serverName,
String userId,
String guid)
Restore a Term TYPED BY relationship
|
SubjectAreaOMASAPIResponse |
restoreTranslation(String serverName,
String userId,
String guid)
Restore a Translation
|
SubjectAreaOMASAPIResponse |
restoreUsedInContext(String serverName,
String userId,
String guid)
Restore a UsedInContext
|
SubjectAreaOMASAPIResponse |
restoreValidValue(String serverName,
String userId,
String guid)
Restore a ValidValue
|
SubjectAreaOMASAPIResponse |
updateAntonymRelationship(String serverName,
String guid,
String userId,
Antonym antonym,
Boolean isReplace)
Update a Antonym relationship which is a link between glossary terms that have the opposite meaning
|
SubjectAreaOMASAPIResponse |
updateISARelationship(String serverName,
String userId,
String guid,
Isa isa,
Boolean isReplace)
Update a ISARelationship relationship, which is a link between a more general glossary term and a more specific definition.
|
SubjectAreaOMASAPIResponse |
updateISARelationship(String serverName,
String userId,
String guid,
IsaTypeOf isatypeof,
Boolean isReplace)
Update a ISARelationship relationship, which is a link between a more general glossary term and a more specific definition.
|
SubjectAreaOMASAPIResponse |
updatePreferredTermRelationship(String serverName,
String userId,
PreferredTerm preferredTerm,
String guid,
Boolean isReplace)
Update a PreferredTerm relationship, which is a link between glossary terms, it is a Link to an alternative term that the organization prefers is used.
|
SubjectAreaOMASAPIResponse |
updateProjectScopeRelationship(String serverName,
String userId,
ProjectScope projectScope,
String guid,
Boolean isReplace)
Update a Project scope relationship which is a link between the project content and the project.
|
SubjectAreaOMASAPIResponse |
updateRelatedTerm(String serverName,
String guid,
String userId,
RelatedTerm relatedTermRelationship,
Boolean isReplace)
Update a Related Term relationship.
|
SubjectAreaOMASAPIResponse |
updateReplacementTermRelationship(String serverName,
String userId,
ReplacementTerm replacementTerm,
String guid,
Boolean isReplace)
Update a ReplacementTerm relationship, which is a link to a glossary term that is replacing an obsolete glossary term.
|
SubjectAreaOMASAPIResponse |
updateSynonymRelationship(String serverName,
String guid,
String userId,
Synonym synonym,
Boolean isReplace)
Update a Synonym relationship which is a link between glossary terms that have the same meaning
|
SubjectAreaOMASAPIResponse |
updateTermCategorizationRelationship(String serverName,
String userId,
Categorization categorization,
String guid,
Boolean isReplace)
Update a termCategorization Relationship.
|
SubjectAreaOMASAPIResponse |
updateTermHASARelationship(String serverName,
String userId,
Hasa termHASARelationship,
String guid,
Boolean isReplace)
Update a TermHASARelationship is the relationship between a spine object and a spine attribute.
|
SubjectAreaOMASAPIResponse |
updateTermTYPEDBYRelationship(String serverName,
String userId,
TypedBy termTYPEDBYRelationship,
String guid,
Boolean isReplace)
Update a TermTYPEDBYRelationship relationship, which is a link between a spine attribute and its type.
|
SubjectAreaOMASAPIResponse |
updateTranslationRelationship(String serverName,
String guid,
String userId,
Translation translation,
Boolean isReplace)
Update a Translation relationship translation relationship, which is a link between glossary terms to provide different natural language translation of the same concept.
|
SubjectAreaOMASAPIResponse |
updateUsedInContextRelationship(String serverName,
String userId,
UsedInContext usedInContext,
String guid,
Boolean isReplace)
Update a UsedInContext relationship which is a link between glossary terms, where one describes the context where the other one is valid to use.
|
SubjectAreaOMASAPIResponse |
updateValidValueRelationship(String serverName,
String userId,
ValidValue validValue,
String guid,
Boolean isReplace)
Update a ValidValue relationship which is a link between glossary terms that have the same meaning
|
public SubjectAreaRelationshipRESTResource()
@PostMapping(path="/users/{userId}/relationships/has-as")
public SubjectAreaOMASAPIResponse createTermHASARelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
Hasa termHASARelationship)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedtermHASARelationship - the HASA relationship@GetMapping(path="/users/{userId}/relationships/has-as/{guid}")
public SubjectAreaOMASAPIResponse getTermHASARelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the HAS A relationship to get@PutMapping(path="/users/{userId}/relationships/has-as/{guid}")
public SubjectAreaOMASAPIResponse updateTermHASARelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
Hasa termHASARelationship,
@PathVariable
String guid,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedtermHASARelationship - the HASA relationshipguid - unique identifier of the LineisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/has-as/{guid}")
public SubjectAreaOMASAPIResponse deleteTermHASARelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the HAS A relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/has-as/{guid}")
public SubjectAreaOMASAPIResponse restoreTermHASARelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the relationship to restore@PostMapping(path="/users/{userId}/relationships/related-terms")
public SubjectAreaOMASAPIResponse createRelatedTerm(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
RelatedTerm relatedTermRelationshipRelationship)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedrelatedTermRelationshipRelationship - the RelatedTerm relationship@GetMapping(path="/users/{userId}/relationships/related-terms/{guid}")
public SubjectAreaOMASAPIResponse getRelatedTerm(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the related term relationship to get@PutMapping(path="/users/{userId}/relationships/related-terms/{guid}")
public SubjectAreaOMASAPIResponse updateRelatedTerm(@PathVariable
String serverName,
@PathVariable
String guid,
@PathVariable
String userId,
@RequestBody
RelatedTerm relatedTermRelationship,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantguid - unique identifier of the LineuserId - userId under which the request is performedrelatedTermRelationship - the related term relationshipisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/related-terms/{guid}")
public SubjectAreaOMASAPIResponse deleteRelatedTerm(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Related term relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/related-terms/{guid}")
public SubjectAreaOMASAPIResponse restoreRelatedTerm(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the relationship to restore@PostMapping(path="/users/{userId}/relationships/synonyms")
public SubjectAreaOMASAPIResponse createSynonym(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
Synonym synonym)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedsynonym - the Synonym relationship@GetMapping(path="/users/{userId}/relationships/synonyms/{guid}")
public SubjectAreaOMASAPIResponse getSynonymRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the synonym relationship to get@PutMapping(path="/users/{userId}/relationships/synonyms/{guid}")
public SubjectAreaOMASAPIResponse updateSynonymRelationship(@PathVariable
String serverName,
@PathVariable
String guid,
@PathVariable
String userId,
@RequestBody
Synonym synonym,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantguid - unique identifier of the LineuserId - userId under which the request is performedsynonym - the synonym relationshipisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/synonyms/{guid}")
public SubjectAreaOMASAPIResponse deleteSynonymRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Synonym relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/synonyms/{guid}")
public SubjectAreaOMASAPIResponse restoreSynonym(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted Synonym to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Synonym to delete@PostMapping(path="/users/{userId}/relationships/antonyms")
public SubjectAreaOMASAPIResponse createAntonym(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
Antonym antonym)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedantonym - the Antonym relationship@GetMapping(path="/users/{userId}/relationships/antonyms/{guid}")
public SubjectAreaOMASAPIResponse getAntonymRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the related term relationship to get@PutMapping(path="/users/{userId}/relationships/antonyms/{guid}")
public SubjectAreaOMASAPIResponse updateAntonymRelationship(@PathVariable
String serverName,
@PathVariable
String guid,
@PathVariable
String userId,
@RequestBody
Antonym antonym,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantguid - unique identifier of the LineuserId - userId under which the request is performedantonym - the antonym relationshipisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/antonyms/{guid}")
public SubjectAreaOMASAPIResponse deleteAntonymRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Antonym relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/antonyms/{guid}")
public SubjectAreaOMASAPIResponse restoreAntonym(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted Antonym to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Antonym to delete@PostMapping(path="/users/{userId}/relationships/translations")
public SubjectAreaOMASAPIResponse createTranslation(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
Translation translation)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedtranslation - the Translation relationship@GetMapping(path="/users/{userId}/relationships/translations/{guid}")
public SubjectAreaOMASAPIResponse getTranslationRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the translation relationship to get@PutMapping(path="/users/{userId}/relationships/translations/{guid}")
public SubjectAreaOMASAPIResponse updateTranslationRelationship(@PathVariable
String serverName,
@PathVariable
String guid,
@PathVariable
String userId,
@RequestBody
Translation translation,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantguid - unique identifier of the LineuserId - userId under which the request is performedtranslation - the translation relationshipisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/translations/{guid}")
public SubjectAreaOMASAPIResponse deleteTranslationRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Translation relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/translations/{guid}")
public SubjectAreaOMASAPIResponse restoreTranslation(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted Translation to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Translation to delete@PostMapping(path="/users/{userId}/relationships/used-in-contexts")
public SubjectAreaOMASAPIResponse createusedInContext(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
UsedInContext usedInContext)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedusedInContext - the UsedInContext relationship@GetMapping(path="/users/{userId}/relationships/used-in-contexts/{guid}")
public SubjectAreaOMASAPIResponse getUsedInContextRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the usedInContext relationship to get@PutMapping(path="/users/{userId}/relationships/used-in-contexts/{guid}")
public SubjectAreaOMASAPIResponse updateUsedInContextRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
UsedInContext usedInContext,
@PathVariable
String guid,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedusedInContext - the used in context relationshipguid - unique identifier of the LineisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/used-in-contexts/{guid}")
public SubjectAreaOMASAPIResponse deleteUsedInContextRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the UsedInContext relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/used-in-contexts/{guid}")
public SubjectAreaOMASAPIResponse restoreUsedInContext(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted UsedInContext to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the UsedInContext to delete@PostMapping(path="/users/{userId}/relationships/preferred-terms")
public SubjectAreaOMASAPIResponse createpreferredTerm(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
PreferredTerm preferredTerm)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedpreferredTerm - the preferred term relationship@GetMapping(path="/users/{userId}/relationships/preferred-terms/{guid}")
public SubjectAreaOMASAPIResponse getPreferredTermRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the preferredTerm relationship to get@PutMapping(path="/users/{userId}/relationships/preferred-terms/{guid}")
public SubjectAreaOMASAPIResponse updatePreferredTermRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
PreferredTerm preferredTerm,
@PathVariable
String guid,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedpreferredTerm - the preferred term relationshipguid - unique identifier of the LineisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/preferred-terms/{guid}")
public SubjectAreaOMASAPIResponse deletePreferredTermRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the PreferredTerm relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/preferred-terms/{guid}")
public SubjectAreaOMASAPIResponse restorePreferredTerm(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted PreferredTerm to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the PreferredTerm to delete@PostMapping(path="/users/{userId}/relationships/valid-values")
public SubjectAreaOMASAPIResponse createValidValue(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
ValidValue validValue)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedvalidValue - the ValidValue relationship@GetMapping(path="/users/{userId}/relationships/valid-values/{guid}")
public SubjectAreaOMASAPIResponse getValidValueRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the validValue relationship to get@PutMapping(path="/users/{userId}/relationships/valid-values/{guid}")
public SubjectAreaOMASAPIResponse updateValidValueRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
ValidValue validValue,
@PathVariable
String guid,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedvalidValue - the valid value relationshipguid - unique identifier of the LineisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/valid-values/{guid}")
public SubjectAreaOMASAPIResponse deleteValidValueRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the ValidValue relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/valid-values/{guid}")
public SubjectAreaOMASAPIResponse restoreValidValue(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted ValidValue to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the ValidValue to delete@PostMapping(path="/users/{userId}/relationships/replacement-terms")
public SubjectAreaOMASAPIResponse createReplacementTerm(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
ReplacementTerm replacementTerm)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedreplacementTerm - the ReplacementTerm relationship@GetMapping(path="/users/{userId}/relationships/replacement-terms/{guid}")
public SubjectAreaOMASAPIResponse getReplacementTermRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the replacementTerm relationship to get@PutMapping(path="/users/{userId}/relationships/replacement-terms/{guid}")
public SubjectAreaOMASAPIResponse updateReplacementTermRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
ReplacementTerm replacementTerm,
@PathVariable
String guid,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedreplacementTerm - the replacement term relationshipguid - unique identifier of the LineisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/replacement-terms/{guid}")
public SubjectAreaOMASAPIResponse deleteReplacementTermRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the ReplacementTerm relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/replacement-terms/{guid}")
public SubjectAreaOMASAPIResponse restoreReplacementTerm(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted ReplacementTerm to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the ReplacementTerm to delete@PostMapping(path="/users/{userId}/relationships/typed-bys")
public SubjectAreaOMASAPIResponse createtermTYPEDBYRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
TypedBy termTYPEDBYRelationship)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedtermTYPEDBYRelationship - the TermTYPEDBYRelationship relationship@GetMapping(path="/users/{userId}/relationships/typed-bys/{guid}")
public SubjectAreaOMASAPIResponse getTYPEDBYRelationshipRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the termTYPEDBYRelationship relationship to get@PutMapping(path="/users/{userId}/relationships/typed-bys/{guid}")
public SubjectAreaOMASAPIResponse updateTermTYPEDBYRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
TypedBy termTYPEDBYRelationship,
@PathVariable
String guid,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedtermTYPEDBYRelationship - the typed by relationshipguid - unique identifier of the LineisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/typed-bys/{guid}")
public SubjectAreaOMASAPIResponse deleteTypedByRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermTYPEDBYRelationship relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/typed-bys/{guid}")
public SubjectAreaOMASAPIResponse restoreTermTYPEDBYRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted TermTYPEDBY to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermTYPEDBY to delete@PostMapping(path="/users/{userId}/relationships/is-as")
public SubjectAreaOMASAPIResponse createiSARelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
Isa iSARelationship)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performediSARelationship - the ISARelationship relationship@GetMapping(path="/users/{userId}/relationships/is-as/{guid}")
public SubjectAreaOMASAPIResponse getISARelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the iSARelationship relationship to get@PutMapping(path="/users/{userId}/relationships/is-as/{guid}")
public SubjectAreaOMASAPIResponse updateISARelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestBody
Isa isa,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedguid - unique identifier of the Lineisa - the is-a relationshipisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/is-as/{guid}")
public SubjectAreaOMASAPIResponse deleteTermISARelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the ISARelationship relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/is-as/{guid}")
public SubjectAreaOMASAPIResponse restoreIsaRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted Isa Relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Isa Relationship to delete@PostMapping(path="/users/{userId}/relationships/is-a-type-ofs")
public SubjectAreaOMASAPIResponse createtermISATypeOFRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
IsaTypeOf termISATypeOFRelationship)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedtermISATypeOFRelationship - the TermISATypeOFRelationship relationship@GetMapping(path="/users/{userId}/relationships/is-a-type-ofs/{guid}")
public SubjectAreaOMASAPIResponse getTermISATypeOFRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the termISATypeOFRelationship relationship to get@PutMapping(path="/users/{userId}/relationships/is-a-type-ofs/{guid}")
public SubjectAreaOMASAPIResponse updateISARelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestBody
IsaTypeOf isatypeof,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedguid - unique identifier of the Lineisatypeof - the is-a-type-of relationshipisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/is-a-type-ofs/{guid}")
public SubjectAreaOMASAPIResponse deleteTermIsaTypeOfRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermISATypeOFRelationship relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/is-a-type-ofs/{guid}")
public SubjectAreaOMASAPIResponse restoreTermIsaTypeOfRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted Is a Type Of Relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Term Is a Type Of Relationship to delete@PostMapping(path="/users/{userId}/relationships/term-categorizations")
public SubjectAreaOMASAPIResponse createTermCategorization(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
Categorization termCategorizationRelationship)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedtermCategorizationRelationship - the TermCategorizationRelationship relationship@GetMapping(path="/users/{userId}/relationships/term-categorizations/{guid}")
public SubjectAreaOMASAPIResponse getTermCategorizationRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the termCategorizationRelationship relationship to get@PutMapping(path="/users/{userId}/relationships/term-categorizations/{guid}")
public SubjectAreaOMASAPIResponse updateTermCategorizationRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
Categorization categorization,
@PathVariable
String guid,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedcategorization - the termCategorization relationshipguid - unique identifier of the LineisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/term-categorizations/{guid}")
public SubjectAreaOMASAPIResponse deleteTermCategorizationRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermCategorizationRelationship relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/term-categorizations/{guid}")
public SubjectAreaOMASAPIResponse restoreTermCategorizationRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted TermCategorization Relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Term Is a Type Of Relationship to delete@PostMapping(path="/users/{userId}/relationships/term-anchor")
public SubjectAreaOMASAPIResponse createTermAnchor(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
TermAnchor termAnchorRelationship)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedtermAnchorRelationship - the TermAnchorRelationship relationship@GetMapping(path="/users/{userId}/relationships/term-anchor/{guid}")
public SubjectAreaOMASAPIResponse getTermAnchorRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the termAnchor Relationship to get@DeleteMapping(path="/users/{userId}/relationships/term-anchor/{guid}")
public SubjectAreaOMASAPIResponse deleteTermAnchorRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the TermAnchorRelationship relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/term-anchor/{guid}")
public SubjectAreaOMASAPIResponse restoreTermAnchorRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted TermAnchor Relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Term Anchor Relationship to delete@PostMapping(path="/users/{userId}/relationships/category-anchor")
public SubjectAreaOMASAPIResponse createCategoryAnchor(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
CategoryAnchor categoryAnchorRelationship)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedcategoryAnchorRelationship - the CategoryAnchorRelationship relationship@GetMapping(path="/users/{userId}/relationships/category-anchor/{guid}")
public SubjectAreaOMASAPIResponse getCategoryAnchorRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the categoryAnchor Relationship to get@DeleteMapping(path="/users/{userId}/relationships/category-anchor/{guid}")
public SubjectAreaOMASAPIResponse deleteCategoryAnchorRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the CategoryAnchorRelationship relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/category-anchor/{guid}")
public SubjectAreaOMASAPIResponse restoreCategoryAnchorRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted CategoryAnchor Relationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Category Anchor Relationship to delete@PostMapping(path="/users/{userId}/relationships/project-scopes")
public SubjectAreaOMASAPIResponse createProjectScopeRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
ProjectScope projectScope)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedprojectScope - the Project scope relationship@GetMapping(path="/users/{userId}/relationships/project-scopes/{guid}")
public SubjectAreaOMASAPIResponse getProjectScopeRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the project scope relationship to get@PutMapping(path="/users/{userId}/relationships/project-scopes/{guid}")
public SubjectAreaOMASAPIResponse updateProjectScopeRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
ProjectScope projectScope,
@PathVariable
String guid,
@RequestParam(value="isReplace",required=false,defaultValue="false")
Boolean isReplace)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - userId under which the request is performedprojectScope - the projectScope relationshipguid - unique identifier of the LineisReplace - flag to indicate that this update is a replace. When not set only the supplied (non null) fields are updated.@DeleteMapping(path="/users/{userId}/relationships/project-scopes/{guid}")
public SubjectAreaOMASAPIResponse deleteProjectScopeRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam(value="isPurge",required=false,defaultValue="false")
Boolean isPurge)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the Project scope relationship to deleteisPurge - true indicates a hard delete, false is a soft delete.@PostMapping(path="/users/{userId}/relationships/project-scopes/{guid}")
public SubjectAreaOMASAPIResponse restoreProjectScoperRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
Restore allows the deleted ProjectScopeRelationship to be made active again. Restore allows deletes to be undone. Hard deletes are not stored in the repository so cannot be restored.
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the ProjectScopeRelationship to delete@GetMapping(path="/users/{userId}/relationships/semantic-assignments/{guid}")
public SubjectAreaOMASAPIResponse getSemanticAssignmentRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId - unique identifier for requesting user, under which the request is performedguid - guid of the SemanticAssignment relationship to getCopyright © 2018–2020 ODPi. All rights reserved.