@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/repository-services/users/{userId}/enterprise")
public class EnterpriseRepositoryServicesResource
extends Object
| Constructor and Description |
|---|
EnterpriseRepositoryServicesResource()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
EntityDetailResponse |
deleteEntity(String serverName,
String userId,
String obsoleteEntityGUID,
TypeDefValidationForRequest typeDefValidationForRequest)
Delete an entity.
|
RelationshipResponse |
deleteRelationship(String serverName,
String userId,
String obsoleteRelationshipGUID,
TypeDefValidationForRequest typeDefValidationForRequest)
Delete a specific relationship.
|
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 |
purgeRelationship(String serverName,
String userId,
String deletedRelationshipGUID,
TypeDefValidationForRequest typeDefValidationForRequest)
Permanently delete the relationship from the repository.
|
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.
|
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.
|
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 EnterpriseRepositoryServicesResource()
@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/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.@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.Copyright © 2018–2020 ODPi. All rights reserved.