Package com.atlan.api
Class RequestsEndpoint
java.lang.Object
com.atlan.api.AbstractEndpoint
com.atlan.api.HeraclesEndpoint
com.atlan.api.RequestsEndpoint
API endpoints for interacting with Atlan's requests.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlan.api.AbstractEndpoint
AbstractEndpoint.RawResponse
-
Field Summary
Fields inherited from class com.atlan.api.AbstractEndpoint
client
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Approve the specified request in Atlan.boolean
approve
(String guid, String message, RequestOptions options) Approve the specified request in Atlan.void
create
(AtlanRequest request) Create a new request.void
create
(AtlanRequest request, RequestOptions options) Create a new request.void
create
(List<AtlanRequest> requests) Create multiple new requests.void
create
(List<AtlanRequest> requests, RequestOptions options) Create multiple new requests.Retrieve a single request by its unique identifier (GUID).get
(String guid, RequestOptions options) Retrieve a single request by its unique identifier (GUID).list()
Retrieve the list of requests defined in Atlan as you would via the Admin UI.list
(RequestOptions options) Retrieve the list of requests defined in Atlan as you would via the Admin UI.Retrieves a list of the requests defined in Atlan.list
(String filter, RequestOptions options) Retrieves a list of the requests defined in Atlan.Retrieves a list of the requests defined in Atlan.list
(String filter, String sort, int offset, int limit, RequestOptions options) Retrieves a list of the requests defined in Atlan.Retrieve the list of requests that can be acted upon.listActionable
(RequestOptions options) Retrieve the list of requests that can be acted upon.listActionable
(String filter) Retrieve the list of requests that can be acted upon.listActionable
(String filter, RequestOptions options) Retrieve the list of requests that can be acted upon.listActionable
(String filter, String sort, int offset, int limit) Retrieve the list of requests that can be acted upon.listActionable
(String filter, String sort, int offset, int limit, RequestOptions options) Retrieve the list of requests that can be acted upon.boolean
Reject the specified request in Atlan.boolean
reject
(String guid, String message, RequestOptions options) Reject the specified request in Atlan.Methods inherited from class com.atlan.api.HeraclesEndpoint
getBaseUrl
Methods inherited from class com.atlan.api.AbstractEndpoint
getBaseUrl
-
Constructor Details
-
RequestsEndpoint
-
-
Method Details
-
get
Retrieve a single request by its unique identifier (GUID).- Parameters:
guid
- of the request to retrieve- Returns:
- the unique request, or null if none exists with that GUID
- Throws:
AtlanException
- on any API communication issue
-
get
Retrieve a single request by its unique identifier (GUID).- Parameters:
guid
- of the request to retrieveoptions
- to override default client settings- Returns:
- the unique request, or null if none exists with that GUID
- Throws:
AtlanException
- on any API communication issue
-
list
public AtlanRequestResponse list(String filter, String sort, int offset, int limit) throws AtlanException Retrieves a list of the requests defined in Atlan.- Parameters:
filter
- which requests to retrievesort
- property by which to sort the resultsoffset
- starting point for results to return, for paginglimit
- maximum number of results to be returned- Returns:
- a list of requests that match the provided criteria
- Throws:
AtlanException
- on any API communication issue
-
list
public AtlanRequestResponse list(String filter, String sort, int offset, int limit, RequestOptions options) throws AtlanException Retrieves a list of the requests defined in Atlan.- Parameters:
filter
- which requests to retrievesort
- property by which to sort the resultsoffset
- starting point for results to return, for paginglimit
- maximum number of results to be returnedoptions
- to override default client settings- Returns:
- a list of requests that match the provided criteria
- Throws:
AtlanException
- on any API communication issue
-
list
Retrieves a list of the requests defined in Atlan.- Parameters:
filter
- which requests to retrieve- Returns:
- a list of requests that match the provided criteria
- Throws:
AtlanException
- on any API communication issue
-
list
Retrieves a list of the requests defined in Atlan.- Parameters:
filter
- which requests to retrieveoptions
- to override default client settings- Returns:
- a list of requests that match the provided criteria
- Throws:
AtlanException
- on any API communication issue
-
list
Retrieve the list of requests defined in Atlan as you would via the Admin UI.- Returns:
- a list of all the requests in Atlan
- Throws:
AtlanException
- on any API communication issue
-
list
Retrieve the list of requests defined in Atlan as you would via the Admin UI.- Parameters:
options
- to override default client settings- Returns:
- a list of all the requests in Atlan
- Throws:
AtlanException
- on any API communication issue
-
listActionable
public AtlanRequestResponse listActionable(String filter, String sort, int offset, int limit) throws AtlanException Retrieve the list of requests that can be acted upon.- Parameters:
filter
- which requests to retrievesort
- property by which to sort the resultsoffset
- starting point for results to return, for paginglimit
- maximum number of results to be returned- Returns:
- a list of actionable requests that match the provided criteria
- Throws:
AtlanException
- on any API communication issue
-
listActionable
public AtlanRequestResponse listActionable(String filter, String sort, int offset, int limit, RequestOptions options) throws AtlanException Retrieve the list of requests that can be acted upon.- Parameters:
filter
- which requests to retrievesort
- property by which to sort the resultsoffset
- starting point for results to return, for paginglimit
- maximum number of results to be returnedoptions
- to override default client settings- Returns:
- a list of actionable requests that match the provided criteria
- Throws:
AtlanException
- on any API communication issue
-
listActionable
Retrieve the list of requests that can be acted upon.- Parameters:
filter
- which requests to retrieve- Returns:
- a list of actionable requests that match the provided criteria
- Throws:
AtlanException
- on any API communication issue
-
listActionable
public AtlanRequestResponse listActionable(String filter, RequestOptions options) throws AtlanException Retrieve the list of requests that can be acted upon.- Parameters:
filter
- which requests to retrieveoptions
- to override default client settings- Returns:
- a list of actionable requests that match the provided criteria
- Throws:
AtlanException
- on any API communication issue
-
listActionable
Retrieve the list of requests that can be acted upon.- Returns:
- a list of actionable requests based on default criteria
- Throws:
AtlanException
- on any API communication issue
-
listActionable
Retrieve the list of requests that can be acted upon.- Parameters:
options
- to override default client settings- Returns:
- a list of actionable requests based on default criteria
- Throws:
AtlanException
- on any API communication issue
-
create
Create a new request.- Parameters:
request
- the details of the new request- Throws:
AtlanException
- on any API communication issue
-
create
Create a new request.- Parameters:
request
- the details of the new requestoptions
- to override default client settings- Throws:
AtlanException
- on any API communication issue
-
create
Create multiple new requests.- Parameters:
requests
- the details of the new requests to create- Throws:
AtlanException
- on any API communication issue
-
create
Create multiple new requests.- Parameters:
requests
- the details of the new requests to createoptions
- to override default client settings- Throws:
AtlanException
- on any API communication issue
-
approve
Approve the specified request in Atlan.- Parameters:
guid
- unique identifier (GUID) of the request to approvemessage
- (optional) message to include with the approval- Returns:
- true if the approval succeeded, otherwise false
- Throws:
AtlanException
- on any API interaction issues
-
approve
Approve the specified request in Atlan.- Parameters:
guid
- unique identifier (GUID) of the request to approvemessage
- (optional) message to include with the approvaloptions
- to override default client settings- Returns:
- true if the approval succeeded, otherwise false
- Throws:
AtlanException
- on any API interaction issues
-
reject
Reject the specified request in Atlan.- Parameters:
guid
- unique identifier (GUID) of the request to rejectmessage
- (optional) message to include with the rejection- Returns:
- true if the rejection succeeded, otherwise false
- Throws:
AtlanException
- on any API interaction issues
-
reject
Reject the specified request in Atlan.- Parameters:
guid
- unique identifier (GUID) of the request to rejectmessage
- (optional) message to include with the rejectionoptions
- to override default client settings- Returns:
- true if the rejection succeeded, otherwise false
- Throws:
AtlanException
- on any API interaction issues
-