@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/repository-services/users/{userId}")
public class LocalRepositoryServicesResource
extends Object
| Constructor and Description |
|---|
LocalRepositoryServicesResource()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
addAttributeTypeDef(String serverName,
String userId,
AttributeTypeDef newAttributeTypeDef)
Create a definition of a new AttributeTypeDef.
|
EntityDetailResponse |
addEntity(String serverName,
String userId,
EntityCreateRequest requestBody)
Create a new entity and put it in the requested state.
|
VoidResponse |
addEntityProxy(String serverName,
String userId,
EntityProxy entityProxy)
Create an entity proxy in the metadata collection.
|
EntityDetailResponse |
addExternalEntity(String serverName,
String userId,
EntityCreateRequest requestBody)
Save a new entity that is sourced from an external technology.
|
RelationshipResponse |
addExternalRelationship(String serverName,
String userId,
RelationshipCreateRequest createRequestParameters)
Save a new relationship that is sourced from an external technology.
|
RelationshipResponse |
addRelationship(String serverName,
String userId,
RelationshipCreateRequest createRequestParameters)
Add a new relationship between two entities to the metadata collection.
|
VoidResponse |
addTypeDef(String serverName,
String userId,
TypeDef newTypeDef)
Create a definition of a new TypeDef.
|
VoidResponse |
addTypeDefGallery(String serverName,
String userId,
TypeDefGallery newTypes)
Create a collection of related types.
|
EntityDetailResponse |
classifyEntity(String serverName,
String userId,
String entityGUID,
String classificationName,
InstancePropertiesRequest propertiesRequestBody)
Add the requested classification to a specific entity.
|
EntityDetailResponse |
declassifyEntity(String serverName,
String userId,
String entityGUID,
String classificationName,
OMRSAPIRequest requestBody)
Remove a specific classification from an entity.
|
VoidResponse |
deleteAttributeTypeDef(String serverName,
String userId,
String guid,
String name)
Delete an AttributeTypeDef.
|
EntityDetailResponse |
deleteEntity(String serverName,
String userId,
String obsoleteEntityGUID,
TypeDefValidationForRequest typeDefValidationForRequest)
Delete an entity.
|
VoidResponse |
deleteEntityReferenceCopy(String serverName,
String userId,
EntityDetail entity)
Remove a reference copy of the the entity from the local repository.
|
RelationshipResponse |
deleteRelationship(String serverName,
String userId,
String obsoleteRelationshipGUID,
TypeDefValidationForRequest typeDefValidationForRequest)
Delete a specific relationship.
|
VoidResponse |
deleteRelationshipReferenceCopy(String serverName,
String userId,
Relationship relationship)
Remove the reference copy of the relationship from the local repository.
|
VoidResponse |
deleteTypeDef(String serverName,
String userId,
String guid,
String name)
Delete the TypeDef.
|
AttributeTypeDefListResponse |
findAttributeTypeDefsByCategory(String serverName,
String userId,
AttributeTypeDefCategory category)
Returns all of the AttributeTypeDefs for a specific category.
|
EntityListResponse |
findEntities(String serverName,
String userId,
EntityFindRequest findRequestParameters)
Return a list of entities that match the supplied conditions.
|
EntityListResponse |
findEntitiesByClassification(String serverName,
String userId,
String classificationName,
PropertyMatchFindRequest findRequestParameters)
Return a list of entities that have the requested type of classification attached.
|
EntityListResponse |
findEntitiesByClassificationHistory(String serverName,
String userId,
String classificationName,
PropertyMatchHistoricalFindRequest findRequestParameters)
Return a list of entities that have the requested type of classification attached.
|
EntityListResponse |
findEntitiesByHistory(String serverName,
String userId,
EntityHistoricalFindRequest findRequestParameters)
Return a list of entities that match the supplied conditions.
|
EntityListResponse |
findEntitiesByProperty(String serverName,
String userId,
EntityPropertyFindRequest findRequestParameters)
Return a list of entities that match the supplied properties according to the match criteria.
|
EntityListResponse |
findEntitiesByPropertyHistory(String serverName,
String userId,
EntityPropertyHistoricalFindRequest findRequestParameters)
Return a list of entities that match the supplied properties according to the match criteria.
|
EntityListResponse |
findEntitiesByPropertyValue(String serverName,
String userId,
String searchCriteria,
EntityPropertyFindRequest findRequestParameters)
Return a list of entities whose string based property values match the search criteria.
|
EntityListResponse |
findEntitiesByPropertyValueHistory(String serverName,
String userId,
String searchCriteria,
EntityPropertyHistoricalFindRequest findRequestParameters)
Return a list of entities whose string based property values match the search criteria.
|
RelationshipListResponse |
findRelationships(String serverName,
String userId,
InstanceFindRequest findRequestParameters)
Return a list of relationships that match the requested conditions.
|
RelationshipListResponse |
findRelationshipsByHistory(String serverName,
String userId,
InstanceHistoricalFindRequest findRequestParameters)
Return a list of relationships that match the requested conditions.
|
RelationshipListResponse |
findRelationshipsByProperty(String serverName,
String userId,
PropertyMatchFindRequest findRequestParameters)
Return a list of relationships that match the requested properties by the matching criteria.
|
RelationshipListResponse |
findRelationshipsByPropertyHistory(String serverName,
String userId,
PropertyMatchHistoricalFindRequest findRequestParameters)
Return a list of relationships that match the requested properties by the matching criteria.
|
RelationshipListResponse |
findRelationshipsByPropertyValue(String serverName,
String userId,
String searchCriteria,
TypeLimitedFindRequest findRequestParameters)
Return a list of relationships that match the search criteria.
|
RelationshipListResponse |
findRelationshipsByPropertyValueHistory(String serverName,
String userId,
String searchCriteria,
TypeLimitedHistoricalFindRequest findRequestParameters)
Return a list of relationships that match the search criteria.
|
TypeDefListResponse |
findTypeDefsByCategory(String serverName,
String userId,
TypeDefCategory category)
Returns all of the TypeDefs for a specific category.
|
TypeDefListResponse |
findTypeDefsByProperty(String serverName,
String userId,
TypeDefProperties matchCriteria)
Return the TypeDefs that have the properties matching the supplied match criteria.
|
TypeDefListResponse |
findTypesByExternalID(String serverName,
String userId,
String standard,
String organization,
String identifier)
Return the types that are linked to the elements from the specified standard.
|
TypeDefGalleryResponse |
findTypesByName(String serverName,
String userId,
String name)
Returns a list of type definitions that have the specified name.
|
TypeDefGalleryResponse |
getAllTypes(String serverName,
String userId)
Returns the list of different types of metadata organized into two groups.
|
AttributeTypeDefResponse |
getAttributeTypeDefByGUID(String serverName,
String userId,
String guid)
Return the AttributeTypeDef identified by the GUID.
|
AttributeTypeDefResponse |
getAttributeTypeDefByName(String serverName,
String userId,
String name)
Return the AttributeTypeDef identified by the unique name.
|
EntityDetailResponse |
getEntityDetail(String serverName,
String userId,
String guid)
Return the header, classifications and properties of a specific entity.
|
EntityDetailResponse |
getEntityDetail(String serverName,
String userId,
String guid,
HistoryRequest asOfTime)
Return a historical version of an entity includes the header, classifications and properties of the entity.
|
InstanceGraphResponse |
getEntityNeighborhood(String serverName,
String userId,
String entityGUID,
int level,
EntityNeighborhoodFindRequest findRequestParameters)
Return the entities and relationships that radiate out from the supplied entity GUID.
|
InstanceGraphResponse |
getEntityNeighborhoodHistory(String serverName,
String userId,
String entityGUID,
int level,
EntityNeighborhoodHistoricalFindRequest findRequestParameters)
Return the entities and relationships that radiate out from the supplied entity GUID.
|
EntitySummaryResponse |
getEntitySummary(String serverName,
String userId,
String guid)
Return the header and classifications for a specific entity.
|
InstanceGraphResponse |
getLinkingEntities(String serverName,
String userId,
String startEntityGUID,
String endEntityGUID,
OMRSAPIFindRequest findRequestParameters)
Return all of the relationships and intermediate entities that connect the startEntity with the endEntity.
|
InstanceGraphResponse |
getLinkingEntitiesHistory(String serverName,
String userId,
String startEntityGUID,
String endEntityGUID,
OMRSAPIHistoricalFindRequest findRequestParameters)
Return all of the relationships and intermediate entities that connect the startEntity with the endEntity.
|
MetadataCollectionIdResponse |
getMetadataCollectionId(String serverName,
String userId)
Returns the identifier of the metadata repository.
|
EntityListResponse |
getRelatedEntities(String serverName,
String userId,
String startEntityGUID,
RelatedEntitiesFindRequest findRequestParameters)
Return the list of entities that are of the types listed in instanceTypes and are connected, either directly or
indirectly to the entity identified by startEntityGUID.
|
EntityListResponse |
getRelatedEntitiesHistory(String serverName,
String userId,
String startEntityGUID,
RelatedEntitiesHistoricalFindRequest findRequestParameters)
Return the list of entities that are of the types listed in instanceTypes and are connected, either directly or
indirectly to the entity identified by startEntityGUID.
|
RelationshipResponse |
getRelationship(String serverName,
String userId,
String guid)
Return a requested relationship.
|
RelationshipResponse |
getRelationship(String serverName,
String userId,
String guid,
HistoryRequest asOfTime)
Return a historical version of a relationship.
|
RelationshipListResponse |
getRelationshipsForEntity(String serverName,
String userId,
String entityGUID,
TypeLimitedFindRequest findRequestParameters)
Return the relationships for a specific entity.
|
RelationshipListResponse |
getRelationshipsForEntityHistory(String serverName,
String userId,
String entityGUID,
TypeLimitedHistoricalFindRequest findRequestParameters)
Return the relationships for a specific entity.
|
TypeDefResponse |
getTypeDefByGUID(String serverName,
String userId,
String guid)
Return the TypeDef identified by the GUID.
|
TypeDefResponse |
getTypeDefByName(String serverName,
String userId,
String name)
Return the TypeDef identified by the unique name.
|
EntityDetailResponse |
isEntityKnown(String serverName,
String userId,
String guid)
Returns a boolean indicating if the entity is stored in the metadata collection.
|
RelationshipResponse |
isRelationshipKnown(String serverName,
String userId,
String guid)
Returns a boolean indicating if the relationship is stored in the metadata collection.
|
VoidResponse |
purgeEntity(String serverName,
String userId,
String deletedEntityGUID,
TypeDefValidationForRequest typeDefValidationForRequest)
Permanently removes a deleted entity from the metadata collection.
|
VoidResponse |
purgeEntityReferenceCopy(String serverName,
String userId,
EntityDetail entity) |
VoidResponse |
purgeEntityReferenceCopy(String serverName,
String userId,
String entityGUID,
String homeMetadataCollectionId,
TypeDefValidationForRequest typeDefValidationForRequest)
Remove a reference copy of the the entity from the local repository.
|
VoidResponse |
purgeRelationship(String serverName,
String userId,
String deletedRelationshipGUID,
TypeDefValidationForRequest typeDefValidationForRequest)
Permanently delete the relationship from the repository.
|
VoidResponse |
purgeRelationshipReferenceCopy(String serverName,
String userId,
Relationship relationship)
Remove the reference copy of the relationship from the local repository.
|
VoidResponse |
purgeRelationshipReferenceCopy(String serverName,
String userId,
String relationshipGUID,
String homeMetadataCollectionId,
TypeDefValidationForRequest typeDefValidationForRequest)
Remove the reference copy of the relationship from the local repository.
|
VoidResponse |
refreshEntityReferenceCopy(String serverName,
String userId,
String entityGUID,
String homeMetadataCollectionId,
TypeDefValidationForRequest typeDefValidationForRequest)
The local repository has requested that the repository that hosts the home metadata collection for the
specified entity sends out the details of this entity so the local repository can create a reference copy.
|
VoidResponse |
refreshRelationshipReferenceCopy(String serverName,
String userId,
String relationshipGUID,
String homeMetadataCollectionId,
TypeDefValidationForRequest typeDefValidationForRequest)
The local repository has requested that the repository that hosts the home metadata collection for the
specified relationship sends out the details of this relationship so the local repository can create a
reference copy.
|
EntityDetailResponse |
reHomeEntity(String serverName,
String userId,
String entityGUID,
String homeMetadataCollectionId,
String newHomeMetadataCollectionId,
String newHomeMetadataCollectionName,
TypeDefValidationForRequest typeDefValidationForRequest)
Change the home of an existing entity.
|
RelationshipResponse |
reHomeRelationship(String serverName,
String userId,
String relationshipGUID,
String homeMetadataCollectionId,
String newHomeMetadataCollectionId,
String newHomeMetadataCollectionName,
TypeDefValidationForRequest typeDefValidationForRequest)
Change the home of an existing relationship.
|
AttributeTypeDefResponse |
reIdentifyAttributeTypeDef(String serverName,
String userId,
String originalAttributeTypeDefGUID,
TypeDefReIdentifyRequest requestParameters)
Change the guid or name of an existing TypeDef to a new value.
|
EntityDetailResponse |
reIdentifyEntity(String serverName,
String userId,
String entityGUID,
String newEntityGUID,
TypeDefValidationForRequest typeDefValidationForRequest)
Change the guid of an existing entity to a new value.
|
RelationshipResponse |
reIdentifyRelationship(String serverName,
String userId,
String relationshipGUID,
String newRelationshipGUID,
TypeDefValidationForRequest typeDefValidationForRequest)
Change the guid of an existing relationship.
|
TypeDefResponse |
reIdentifyTypeDef(String serverName,
String userId,
String originalTypeDefGUID,
TypeDefReIdentifyRequest requestParameters)
Change the guid or name of an existing TypeDef to a new value.
|
EntityDetailResponse |
restoreEntity(String serverName,
String userId,
String deletedEntityGUID)
Restore the requested entity to the state it was before it was deleted.
|
RelationshipResponse |
restoreRelationship(String serverName,
String userId,
String deletedRelationshipGUID)
Restore a deleted relationship into the metadata collection.
|
EntityDetailResponse |
reTypeEntity(String serverName,
String userId,
String entityGUID,
TypeDefChangeRequest typeDefChangeRequest)
Change the type of an existing entity.
|
RelationshipResponse |
reTypeRelationship(String serverName,
String userId,
String relationshipGUID,
TypeDefChangeRequest typeDefChangeRequest)
Change the type of an existing relationship.
|
VoidResponse |
saveEntityReferenceCopy(String serverName,
String userId,
EntityDetail entity)
Save the entity as a reference copy.
|
VoidResponse |
saveInstanceReferenceCopies(String serverName,
String userId,
InstanceGraphRequest instances)
Save the entities and relationships supplied in the instance graph as a reference copies.
|
VoidResponse |
saveRelationshipReferenceCopy(String serverName,
String userId,
Relationship relationship)
Save the relationship as a reference copy.
|
TypeDefListResponse |
searchForTypeDefs(String serverName,
String userId,
String searchCriteria)
Return the TypeDefs that match the search criteria.
|
EntityDetailResponse |
undoEntityUpdate(String serverName,
String userId,
String entityGUID)
Undo the last update to an entity and return the previous content.
|
RelationshipResponse |
undoRelationshipUpdate(String serverName,
String userId,
String relationshipGUID)
Undo the latest change to a relationship (either a change of properties or status).
|
EntityDetailResponse |
updateEntityClassification(String serverName,
String userId,
String entityGUID,
String classificationName,
InstancePropertiesRequest propertiesRequestBody)
Update one or more properties in one of an entity's classifications.
|
EntityDetailResponse |
updateEntityProperties(String serverName,
String userId,
String entityGUID,
InstancePropertiesRequest propertiesRequestBody)
Update selected properties in an entity.
|
EntityDetailResponse |
updateEntityStatus(String serverName,
String userId,
String entityGUID,
InstanceStatus newStatus)
Update the status for a specific entity.
|
RelationshipResponse |
updateRelationshipProperties(String serverName,
String userId,
String relationshipGUID,
InstancePropertiesRequest propertiesRequestBody)
Update the properties of a specific relationship.
|
RelationshipResponse |
updateRelationshipStatus(String serverName,
String userId,
String relationshipGUID,
InstanceStatus newStatus)
Update the status of a specific relationship.
|
TypeDefResponse |
updateTypeDef(String serverName,
String userId,
TypeDefPatch typeDefPatch)
Update one or more properties of the TypeDef.
|
BooleanResponse |
verifyAttributeTypeDef(String serverName,
String userId,
AttributeTypeDef attributeTypeDef)
Verify that a definition of an AttributeTypeDef is either new or matches the definition already stored.
|
BooleanResponse |
verifyTypeDef(String serverName,
String userId,
TypeDef typeDef)
Verify that a definition of a TypeDef is either new or matches the definition already stored.
|
public LocalRepositoryServicesResource()
@GetMapping(path="/metadata-collection-id") public MetadataCollectionIdResponse getMetadataCollectionId(@PathVariable String serverName, @PathVariable String userId)
serverName - unique identifier for requested server.userId - calling user@GetMapping(path="/types/all") public TypeDefGalleryResponse getAllTypes(@PathVariable String serverName, @PathVariable String userId)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.@GetMapping(path="/types/by-name") public TypeDefGalleryResponse findTypesByName(@PathVariable String serverName, @PathVariable String userId, @RequestParam String name)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.name - name of the TypeDefs to return (including wildcard characters).@PostMapping(path="/types/typedefs/by-category") public TypeDefListResponse findTypeDefsByCategory(@PathVariable String serverName, @PathVariable String userId, @RequestBody TypeDefCategory category)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.category - find parameters used to limit the returned results.@PostMapping(path="/types/attribute-typedefs/by-category") public AttributeTypeDefListResponse findAttributeTypeDefsByCategory(@PathVariable String serverName, @PathVariable String userId, @RequestBody AttributeTypeDefCategory category)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.category - find parameters used to limit the returned results.@GetMapping(path="/types/typedefs/by-property") public TypeDefListResponse findTypeDefsByProperty(@PathVariable String serverName, @PathVariable String userId, @RequestBody TypeDefProperties matchCriteria)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.matchCriteria - TypeDefProperties a list of property names.@GetMapping(path="/types/typedefs/by-external-id") public TypeDefListResponse findTypesByExternalID(@PathVariable String serverName, @PathVariable String userId, @RequestParam(required=false) String standard, @RequestParam(required=false) String organization, @RequestParam(required=false) String identifier)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.standard - name of the standard null means any.organization - name of the organization null means any.identifier - identifier of the element in the standard null means any.@GetMapping(path="/types/typedefs/by-property-value") public TypeDefListResponse searchForTypeDefs(@PathVariable String serverName, @PathVariable String userId, @RequestParam String searchCriteria)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.searchCriteria - String search criteria.@GetMapping(path="/types/typedef/{guid}")
public TypeDefResponse getTypeDefByGUID(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique id of the TypeDef.@GetMapping(path="/types/attribute-typedef/{guid}")
public AttributeTypeDefResponse getAttributeTypeDefByGUID(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique id of the TypeDef@GetMapping(path="/types/typedef/name/{name}")
public TypeDefResponse getTypeDefByName(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String name)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.name - String name of the TypeDef.@GetMapping(path="/types/attribute-typedef/name/{name}")
public AttributeTypeDefResponse getAttributeTypeDefByName(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String name)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.name - String name of the TypeDef.@PostMapping(path="/types") public VoidResponse addTypeDefGallery(@PathVariable String serverName, @PathVariable String userId, @RequestBody TypeDefGallery newTypes)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.newTypes - TypeDefGalleryResponse structure describing the new AttributeTypeDefs and TypeDefs.@PostMapping(path="/types/typedef") public VoidResponse addTypeDef(@PathVariable String serverName, @PathVariable String userId, @RequestBody TypeDef newTypeDef)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.newTypeDef - TypeDef structure describing the new TypeDef.@PostMapping(path="/types/attribute-typedef") public VoidResponse addAttributeTypeDef(@PathVariable String serverName, @PathVariable String userId, @RequestBody AttributeTypeDef newAttributeTypeDef)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.newAttributeTypeDef - TypeDef structure describing the new TypeDef.@PostMapping(path="/types/typedef/compatibility") public BooleanResponse verifyTypeDef(@PathVariable String serverName, @PathVariable String userId, @RequestBody TypeDef typeDef)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.typeDef - TypeDef structure describing the TypeDef to test.@PostMapping(path="/types/attribute-typedef/compatibility") public BooleanResponse verifyAttributeTypeDef(@PathVariable String serverName, @PathVariable String userId, @RequestBody AttributeTypeDef attributeTypeDef)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.attributeTypeDef - TypeDef structure describing the TypeDef to test.@PostMapping(path="/types/typedef/update") public TypeDefResponse updateTypeDef(@PathVariable String serverName, @PathVariable String userId, @RequestBody TypeDefPatch typeDefPatch)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.typeDefPatch - TypeDef patch describing change to TypeDef.@PostMapping(path="/types/typedef/{guid}/delete")
public VoidResponse deleteTypeDef(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam
String name)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique identifier for the TypeDef.name - String unique name for the TypeDef.@PostMapping(path="/types/attribute-typedef/{guid}/delete")
public VoidResponse deleteAttributeTypeDef(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestParam
String name)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique identifier for the AttributeTypeDef.name - String unique name for the AttributeTypeDef.@PostMapping(path="/types/typedef/{originalTypeDefGUID}/identifier")
public TypeDefResponse reIdentifyTypeDef(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String originalTypeDefGUID,
@RequestBody
TypeDefReIdentifyRequest requestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.originalTypeDefGUID - the original guid of the TypeDef.requestParameters - the original name of the TypeDef, the new identifier for the TypeDef and the
new name for this TypeDef.@PostMapping(path="/types/attribute-typedef/{originalAttributeTypeDefGUID}/identifier")
public AttributeTypeDefResponse reIdentifyAttributeTypeDef(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String originalAttributeTypeDefGUID,
@RequestBody
TypeDefReIdentifyRequest requestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.originalAttributeTypeDefGUID - the original guid of the AttributeTypeDef.requestParameters - the original name of the AttributeTypeDef and the new identifier for the AttributeTypeDef
and the new name for this AttributeTypeDef.@GetMapping(path="/instances/entity/{guid}/existence")
public EntityDetailResponse isEntityKnown(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique identifier for the entity@GetMapping(path="/instances/entity/{guid}/summary")
public EntitySummaryResponse getEntitySummary(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique identifier for the entity@GetMapping(path="/instances/entity/{guid}")
public EntityDetailResponse getEntityDetail(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique identifier for the entity.@PostMapping(path="/instances/entity/{guid}/history")
public EntityDetailResponse getEntityDetail(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestBody
HistoryRequest asOfTime)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique identifier for the entity.asOfTime - the time used to determine which version of the entity that is desired.@PostMapping(path="/instances/entity/{entityGUID}/relationships")
public RelationshipListResponse getRelationshipsForEntity(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@RequestBody
TypeLimitedFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - String unique identifier for the entity.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entity/{entityGUID}/relationships/history")
public RelationshipListResponse getRelationshipsForEntityHistory(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@RequestBody
TypeLimitedHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - String unique identifier for the entity.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities") public EntityListResponse findEntities(@PathVariable String serverName, @PathVariable String userId, @RequestBody EntityFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/history") public EntityListResponse findEntitiesByHistory(@PathVariable String serverName, @PathVariable String userId, @RequestBody EntityHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/by-property") public EntityListResponse findEntitiesByProperty(@PathVariable String serverName, @PathVariable String userId, @RequestBody EntityPropertyFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/by-property/history") public EntityListResponse findEntitiesByPropertyHistory(@PathVariable String serverName, @PathVariable String userId, @RequestBody EntityPropertyHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/by-classification/{classificationName}")
public EntityListResponse findEntitiesByClassification(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String classificationName,
@RequestBody
PropertyMatchFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.classificationName - name of the classification a null is not valid.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/by-classification/{classificationName}/history")
public EntityListResponse findEntitiesByClassificationHistory(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String classificationName,
@RequestBody
PropertyMatchHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.classificationName - name of the classification a null is not valid.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/by-property-value") public EntityListResponse findEntitiesByPropertyValue(@PathVariable String serverName, @PathVariable String userId, @RequestParam String searchCriteria, @RequestBody EntityPropertyFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.searchCriteria - String expression of the characteristics of the required relationships.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/by-property-value/history") public EntityListResponse findEntitiesByPropertyValueHistory(@PathVariable String serverName, @PathVariable String userId, @RequestParam String searchCriteria, @RequestBody EntityPropertyHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.searchCriteria - String expression of the characteristics of the required relationships.findRequestParameters - find parameters used to limit the returned results.@GetMapping(path="/instances/relationship/{guid}/existence")
public RelationshipResponse isRelationshipKnown(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique identifier for the relationship.@GetMapping(path="/instances/relationship/{guid}")
public RelationshipResponse getRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique identifier for the relationship.@PostMapping(path="/instances/relationship/{guid}/history")
public RelationshipResponse getRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestBody
HistoryRequest asOfTime)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.guid - String unique identifier for the relationship.asOfTime - the time used to determine which version of the entity that is desired.@PostMapping(path="/instances/relationships") public RelationshipListResponse findRelationships(@PathVariable String serverName, @PathVariable String userId, @RequestBody InstanceFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting userfindRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/relationships/history") public RelationshipListResponse findRelationshipsByHistory(@PathVariable String serverName, @PathVariable String userId, @RequestBody InstanceHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting userfindRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/relationships/by-property") public RelationshipListResponse findRelationshipsByProperty(@PathVariable String serverName, @PathVariable String userId, @RequestBody PropertyMatchFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting userfindRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/relationships/by-property/history") public RelationshipListResponse findRelationshipsByPropertyHistory(@PathVariable String serverName, @PathVariable String userId, @RequestBody PropertyMatchHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting userfindRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/relationships/by-property-value") public RelationshipListResponse findRelationshipsByPropertyValue(@PathVariable String serverName, @PathVariable String userId, @RequestParam String searchCriteria, @RequestBody TypeLimitedFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.searchCriteria - String expression of the characteristics of the required relationships.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/relationships/by-property-value/history") public RelationshipListResponse findRelationshipsByPropertyValueHistory(@PathVariable String serverName, @PathVariable String userId, @RequestParam String searchCriteria, @RequestBody TypeLimitedHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.searchCriteria - String expression of the characteristics of the required relationships.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/from-entity/{startEntityGUID}/by-linkage")
public InstanceGraphResponse getLinkingEntities(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String startEntityGUID,
@RequestParam
String endEntityGUID,
@RequestBody
OMRSAPIFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.startEntityGUID - The entity that is used to anchor the query.endEntityGUID - the other entity that defines the scope of the query.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/from-entity/{startEntityGUID}/by-linkage/history")
public InstanceGraphResponse getLinkingEntitiesHistory(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String startEntityGUID,
@RequestParam
String endEntityGUID,
@RequestBody
OMRSAPIHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.startEntityGUID - The entity that is used to anchor the query.endEntityGUID - the other entity that defines the scope of the query.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/from-entity/{entityGUID}/by-neighborhood")
public InstanceGraphResponse getEntityNeighborhood(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@RequestParam
int level,
@RequestBody
EntityNeighborhoodFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - the starting point of the query.level - the number of the relationships out from the starting entity that the query will traverse to
gather results.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/from-entity/{entityGUID}/by-neighborhood/history")
public InstanceGraphResponse getEntityNeighborhoodHistory(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@RequestParam
int level,
@RequestBody
EntityNeighborhoodHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - the starting point of the query.level - the number of the relationships out from the starting entity that the query will traverse to
gather results.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/from-entity/{startEntityGUID}/by-relationship")
public EntityListResponse getRelatedEntities(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String startEntityGUID,
@RequestBody
RelatedEntitiesFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.startEntityGUID - unique identifier of the starting entity.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entities/from-entity/{startEntityGUID}/by-relationship/history")
public EntityListResponse getRelatedEntitiesHistory(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String startEntityGUID,
@RequestBody
RelatedEntitiesHistoricalFindRequest findRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.startEntityGUID - unique identifier of the starting entity.findRequestParameters - find parameters used to limit the returned results.@PostMapping(path="/instances/entity") public EntityDetailResponse addEntity(@PathVariable String serverName, @PathVariable String userId, @RequestBody EntityCreateRequest requestBody)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.requestBody - parameters for the new entity@PostMapping(path="/instances/entity/external") public EntityDetailResponse addExternalEntity(@PathVariable String serverName, @PathVariable String userId, @RequestBody EntityCreateRequest requestBody)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.requestBody - parameters for the new entity@PostMapping(path="/instances/entity-proxy") public VoidResponse addEntityProxy(@PathVariable String serverName, @PathVariable String userId, @RequestBody EntityProxy entityProxy)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityProxy - details of entity to add.@PostMapping(path="/instances/entity/{entityGUID}/status")
public EntityDetailResponse updateEntityStatus(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@RequestBody
InstanceStatus newStatus)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - unique identifier (guid) for the requested entity.newStatus - new InstanceStatus for the entity.@PostMapping(path="/instances/entity/{entityGUID}/properties")
public EntityDetailResponse updateEntityProperties(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@RequestBody
InstancePropertiesRequest propertiesRequestBody)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - String unique identifier (guid) for the entity.propertiesRequestBody - a list of properties to change.@GetMapping(path="/instances/entity/{entityGUID}/previous")
public EntityDetailResponse undoEntityUpdate(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - String unique identifier (guid) for the entity.@PostMapping(path="/instances/entity/{obsoleteEntityGUID}/delete")
public EntityDetailResponse deleteEntity(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String obsoleteEntityGUID,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.obsoleteEntityGUID - String unique identifier (guid) for the entity.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@PostMapping(path="/instances/entity/{deletedEntityGUID}/purge")
public VoidResponse purgeEntity(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String deletedEntityGUID,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.deletedEntityGUID - String unique identifier (guid) for the entity.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@GetMapping(path="/instances/entity/{deletedEntityGUID}/restore")
public EntityDetailResponse restoreEntity(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String deletedEntityGUID)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.deletedEntityGUID - String unique identifier (guid) for the entity.@PostMapping(path="/instances/entity/{entityGUID}/classification/{classificationName}")
public EntityDetailResponse classifyEntity(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@PathVariable
String classificationName,
@RequestBody
InstancePropertiesRequest propertiesRequestBody)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - String unique identifier (guid) for the entity.classificationName - String name for the classification.propertiesRequestBody - list of properties to set in the classification.@PostMapping(path="/instances/entity/{entityGUID}/classification/{classificationName}/delete")
public EntityDetailResponse declassifyEntity(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@PathVariable
String classificationName,
@RequestBody
OMRSAPIRequest requestBody)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - String unique identifier (guid) for the entity.classificationName - String name for the classification.requestBody - empty request body@PostMapping(path="/instances/entity/{entityGUID}/classification/{classificationName}/properties")
public EntityDetailResponse updateEntityClassification(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@PathVariable
String classificationName,
@RequestBody
InstancePropertiesRequest propertiesRequestBody)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - String unique identifier (guid) for the entity.classificationName - String name for the classification.propertiesRequestBody - list of properties for the classification.@PostMapping(path="/instances/relationship") public RelationshipResponse addRelationship(@PathVariable String serverName, @PathVariable String userId, @RequestBody RelationshipCreateRequest createRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.createRequestParameters - parameters used to fill out the new relationship@PostMapping(path="/instances/relationship/external") public RelationshipResponse addExternalRelationship(@PathVariable String serverName, @PathVariable String userId, @RequestBody RelationshipCreateRequest createRequestParameters)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.createRequestParameters - parameters used to fill out the new relationship@PostMapping(path="/instances/relationship/{relationshipGUID}/status")
public RelationshipResponse updateRelationshipStatus(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String relationshipGUID,
@RequestBody
InstanceStatus newStatus)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.relationshipGUID - String unique identifier (guid) for the relationship.newStatus - new InstanceStatus for the relationship.@PostMapping(path="/instances/relationship/{relationshipGUID}/properties")
public RelationshipResponse updateRelationshipProperties(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String relationshipGUID,
@RequestBody
InstancePropertiesRequest propertiesRequestBody)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.relationshipGUID - String unique identifier (guid) for the relationship.propertiesRequestBody - list of the properties to update.@GetMapping(path="/instances/relationship/{relationshipGUID}/previous")
public RelationshipResponse undoRelationshipUpdate(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String relationshipGUID)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.relationshipGUID - String unique identifier (guid) for the relationship.@PostMapping(path="/instances/relationship/{obsoleteRelationshipGUID}/delete")
public RelationshipResponse deleteRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String obsoleteRelationshipGUID,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.obsoleteRelationshipGUID - String unique identifier (guid) for the relationship.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@PostMapping(path="/instances/relationship/{deletedRelationshipGUID}/purge")
public VoidResponse purgeRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String deletedRelationshipGUID,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.deletedRelationshipGUID - String unique identifier (guid) for the relationship.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@GetMapping(path="/instances/relationship/{deletedRelationshipGUID}/restore")
public RelationshipResponse restoreRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String deletedRelationshipGUID)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.deletedRelationshipGUID - String unique identifier (guid) for the relationship.@PostMapping(path="/instances/entity/{entityGUID}/identity")
public EntityDetailResponse reIdentifyEntity(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@RequestParam
String newEntityGUID,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - the existing identifier for the entity.newEntityGUID - new unique identifier for the entity.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@PostMapping(path="/instances/entity/{entityGUID}/type")
public EntityDetailResponse reTypeEntity(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@RequestBody
TypeDefChangeRequest typeDefChangeRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - the unique identifier for the entity to change.typeDefChangeRequest - the details of the current and new type.@PostMapping(path="/instances/entity/{entityGUID}/home/{homeMetadataCollectionId}")
public EntityDetailResponse reHomeEntity(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@PathVariable
String homeMetadataCollectionId,
@RequestParam
String newHomeMetadataCollectionId,
@RequestParam(required=false)
String newHomeMetadataCollectionName,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entityGUID - the unique identifier for the entity to change.homeMetadataCollectionId - the existing identifier for this entity's home.newHomeMetadataCollectionId - unique identifier for the new home metadata collection/repository.newHomeMetadataCollectionName - display name for the new home metadata collection/repository (optional).typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@PostMapping(path="/instances/relationship/{relationshipGUID}/identity")
public RelationshipResponse reIdentifyRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String relationshipGUID,
@RequestParam
String newRelationshipGUID,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.relationshipGUID - the existing identifier for the relationship.newRelationshipGUID - the new unique identifier for the relationship.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@PostMapping(path="/instances/relationship/{relationshipGUID}/type")
public RelationshipResponse reTypeRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String relationshipGUID,
@RequestBody
TypeDefChangeRequest typeDefChangeRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.relationshipGUID - the unique identifier for the relationship.typeDefChangeRequest - the details of the current and new type.@PostMapping(path="/instances/relationship/{relationshipGUID}/home/{homeMetadataCollectionId}")
public RelationshipResponse reHomeRelationship(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String relationshipGUID,
@PathVariable
String homeMetadataCollectionId,
@RequestParam
String newHomeMetadataCollectionId,
@RequestParam(required=false)
String newHomeMetadataCollectionName,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.relationshipGUID - the unique identifier for the relationship.homeMetadataCollectionId - the existing identifier for this relationship's home.newHomeMetadataCollectionId - unique identifier for the new home metadata collection/repository.newHomeMetadataCollectionName - unique name for the new home metadata collection/repository.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@PostMapping(path="/instances/entities/reference-copy") public VoidResponse saveEntityReferenceCopy(@PathVariable String serverName, @PathVariable String userId, @RequestBody EntityDetail entity)
serverName - unique identifier for requested server.userId - unique identifier for requesting user.entity - details of the entity to save.@PostMapping(path="/instances/entities/reference-copy/delete") public VoidResponse deleteEntityReferenceCopy(@PathVariable String serverName, @PathVariable String userId, @RequestBody EntityDetail entity)
serverName - unique identifier for requested server.userId - unique identifier for requesting server.entity - the instance to purge.@PostMapping(path="/instances/entities/reference-copy/purge") public VoidResponse purgeEntityReferenceCopy(@PathVariable String serverName, @PathVariable String userId, @RequestBody EntityDetail entity)
@PostMapping(path="/instances/entities/reference-copy/{entityGUID}/purge")
public VoidResponse purgeEntityReferenceCopy(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@RequestParam
String homeMetadataCollectionId,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting server.entityGUID - the unique identifier for the entity.homeMetadataCollectionId - identifier of the metadata collection that is the home to this entity.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@PostMapping(path="/instances/entities/reference-copy/{entityGUID}/refresh")
public VoidResponse refreshEntityReferenceCopy(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityGUID,
@RequestParam
String homeMetadataCollectionId,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting server.entityGUID - unique identifier of requested entity.homeMetadataCollectionId - identifier of the metadata collection that is the home to this entity.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@PostMapping(path="/instances/relationships/reference-copy") public VoidResponse saveRelationshipReferenceCopy(@PathVariable String serverName, @PathVariable String userId, @RequestBody Relationship relationship)
serverName - unique identifier for requested server.userId - unique identifier for requesting userId.relationship - relationship to save.@PostMapping(path="/instances/relationships/reference-copy/delete") public VoidResponse deleteRelationshipReferenceCopy(@PathVariable String serverName, @PathVariable String userId, @RequestBody Relationship relationship)
serverName - unique identifier for requested server.userId - unique identifier for requesting server.relationship - the instance to purge.@PostMapping(path="/instances/relationships/reference-copy/purge") public VoidResponse purgeRelationshipReferenceCopy(@PathVariable String serverName, @PathVariable String userId, @RequestBody Relationship relationship)
serverName - unique identifier for requested server.userId - unique identifier for requesting server.relationship - the instance to purge.@PostMapping(path="/instances/relationships/reference-copy/{relationshipGUID}/purge")
public VoidResponse purgeRelationshipReferenceCopy(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String relationshipGUID,
@RequestParam
String homeMetadataCollectionId,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting server.relationshipGUID - the unique identifier for the relationship.homeMetadataCollectionId - unique identifier for the home repository for this relationship.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@PostMapping(path="/instances/relationships/reference-copy/{relationshipGUID}/refresh")
public VoidResponse refreshRelationshipReferenceCopy(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String relationshipGUID,
@RequestParam
String homeMetadataCollectionId,
@RequestBody
TypeDefValidationForRequest typeDefValidationForRequest)
serverName - unique identifier for requested server.userId - unique identifier for requesting server.relationshipGUID - unique identifier of the relationship.homeMetadataCollectionId - unique identifier for the home repository for this relationship.typeDefValidationForRequest - information about the type used to confirm the right instance is specified.@PostMapping(path="/instances") public VoidResponse saveInstanceReferenceCopies(@PathVariable String serverName, @PathVariable String userId, @RequestBody InstanceGraphRequest instances)
serverName - unique identifier for requested server.userId - unique identifier for requesting server.instances - instances to saveCopyright © 2018–2020 ODPi. All rights reserved.