@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/common-services/{serviceURLName}/connected-asset/users/{userId}")
public class ConnectedAssetResource
extends Object
| Constructor and Description |
|---|
ConnectedAssetResource()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
CommentsResponse |
getAssetCommentReplies(String serverName,
String serviceURLName,
String userId,
String assetGUID,
String commentGUID,
int elementStart,
int maxElements)
Returns the list of comments for the asset.
|
CommentsResponse |
getAssetComments(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of comments for the asset.
|
GUIDResponse |
getAssetForConnectionGUID(String serverName,
String serviceURLName,
String userId,
String connectionGUID)
Returns the unique identifier for the asset connected to the connection identified by the supplied guid.
|
AssetResponse |
getAssetSummary(String serverName,
String serviceURLName,
String userId,
String assetGUID)
Returns the basic information about the asset.
|
CertificationsResponse |
getCertifications(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of certifications for the asset.
|
AssetResponse |
getConnectedAssetSummary(String serverName,
String serviceURLName,
String userId,
String assetGUID,
String connectionGUID)
Returns the basic information about the asset.
|
ConnectionResponse |
getConnectionByGUID(String serverName,
String serviceURLName,
String userId,
String guid)
Returns the connection object corresponding to the supplied connection GUID.
|
ConnectionResponse |
getConnectionForAsset(String serverName,
String serviceURLName,
String userId,
String assetGUID)
Returns the connection corresponding to the supplied asset GUID.
|
ConnectionsResponse |
getConnections(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of connections for the asset.
|
ExternalIdentifiersResponse |
getExternalIdentifiers(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of external identifiers for the asset.
|
ExternalReferencesResponse |
getExternalReferences(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of external references for the asset.
|
InformalTagsResponse |
getInformalTags(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of informal tags for the asset.
|
LocationsResponse |
getKnownLocations(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of known locations for the asset.
|
LicensesResponse |
getLicenses(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of licenses for the asset.
|
LikesResponse |
getLikes(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of likes for the asset.
|
MoreInformationResponse |
getMoreInformation(String serverName,
String serviceURLName,
String userId,
String elementGUID,
int elementStart,
int maxElements)
Returns the list of related Referenceables that provide more information for this asset, schema, ...
|
NoteLogsResponse |
getNoteLogs(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of note logs for the asset.
|
NotesResponse |
getNotes(String serverName,
String serviceURLName,
String userId,
String noteLogGUID,
int elementStart,
int maxElements)
Returns the list of notes for the asset.
|
RatingsResponse |
getRatings(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of ratings for the asset.
|
RelatedAssetsResponse |
getRelatedAssets(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of related assets for the asset.
|
RelatedMediaReferencesResponse |
getRelatedMediaReferences(String serverName,
String serviceURLName,
String userId,
String assetGUID,
int elementStart,
int maxElements)
Returns the list of related media references for the asset.
|
SchemaAttributesResponse |
getSchemaAttributes(String serverName,
String serviceURLName,
String userId,
String schemaTypeGUID,
int elementStart,
int maxElements)
Returns a list of schema attributes for a schema type.
|
@GetMapping(path="/connections/{guid}")
public ConnectionResponse getConnectionByGUID(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - name of the server instances for this request.serviceURLName - name of the service that created the connector that issued this request.userId - userId of user making request.guid - the unique id for the connection within the property server.@GetMapping(path="/assets/{assetGUID}/connection")
public ConnectionResponse getConnectionForAsset(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID)
serverName - name of the server instances for this requestserviceURLName - name of the service that created the connector that issued this request.userId - userId of user making request.assetGUID - the unique id for the asset within the metadata repository.@GetMapping(path="/assets/by-connection/{connectionGUID}")
public GUIDResponse getAssetForConnectionGUID(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String connectionGUID)
serverName - String name of the server instances for this request.serviceURLName - String name of the service that created the connector that issued this request.userId - String the userId of the requesting user.connectionGUID - uniqueId for the connection.@GetMapping(path="/assets/{assetGUID}/via-connection/{connectionGUID}")
public AssetResponse getConnectedAssetSummary(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@PathVariable
String connectionGUID)
serverName - String name of the server.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.connectionGUID - unique id for connection used to access asset.@GetMapping(path="/assets/{assetGUID}")
public AssetResponse getAssetSummary(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.@GetMapping(path="/assets/{assetGUID}/certifications")
public CertificationsResponse getCertifications(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/comments")
public CommentsResponse getAssetComments(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/comments/{commentGUID}/replies")
public CommentsResponse getAssetCommentReplies(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@PathVariable
String commentGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique identifier for the linked asset.commentGUID - String unique id for the root comment.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/connections")
public ConnectionsResponse getConnections(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/external-identifiers")
public ExternalIdentifiersResponse getExternalIdentifiers(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/external-references")
public ExternalReferencesResponse getExternalReferences(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/informal-tags")
public InformalTagsResponse getInformalTags(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/licenses")
public LicensesResponse getLicenses(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/likes")
public LikesResponse getLikes(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/known-locations")
public LocationsResponse getKnownLocations(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/note-logs")
public NoteLogsResponse getNoteLogs(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/note-log/{noteLogGUID}/notes")
public NotesResponse getNotes(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String noteLogGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.noteLogGUID - String unique id for note log.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/ratings")
public RatingsResponse getRatings(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/related-assets")
public RelatedAssetsResponse getRelatedAssets(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/referenceables/{elementGUID}/more-information")
public MoreInformationResponse getMoreInformation(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String elementGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.elementGUID - String unique id for the element.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{assetGUID}/related-media-references")
public RelatedMediaReferencesResponse getRelatedMediaReferences(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String assetGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.assetGUID - String unique id for asset.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.@GetMapping(path="/assets/{schemaTypeGUID}/schema-attributes")
public SchemaAttributesResponse getSchemaAttributes(@PathVariable
String serverName,
@PathVariable
String serviceURLName,
@PathVariable
String userId,
@PathVariable
String schemaTypeGUID,
@RequestParam
int elementStart,
@RequestParam
int maxElements)
serverName - String name of server instance to call.serviceURLName - String name of the service that created the connector that issued this request.userId - String userId of user making request.schemaTypeGUID - String unique id for containing schema type.elementStart - int starting position for fist returned element.maxElements - int maximum number of elements to return on the call.Copyright © 2018–2020 ODPi. All rights reserved.