Get Purge policy details
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/jobPurge/policies/{policyName}
Get Purge policy details. It contains information about policy name and expiration date after when specified object will get purged. In addition there is an optional collection of criterions registered for given policy added to response when query parameter include=criterions is set.
Request
Path Parameters
-
policyName(required): string
Job Purge Policy Name
Query Parameters
-
include: string
If query parameter include=criterions is specified, response will contain information about all the criterions set for policies.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Return a specific Job Purge Policy information
Root Schema : JobPurgePolicy
Type:
objectAn object representing Job Purge Policy information
Show Source
-
criterions: array
criterions
List of Purge Job criterions
-
expirationTimeInDays(required): integer
time after which object can be purged
-
links: object
SelfLink
A link to self
-
name(required): string
Unique name for Job Purge Policy
Nested Schema : criterions
Type:
arrayList of Purge Job criterions
Show Source
-
Array of:
object JobPurgeCriterionCollectionSummary
Job Purge Criterion information collection returned by LIST operation. Maps directly to Job Criterion objects.
Nested Schema : SelfLink
Type:
objectA link to self
Show Source
-
self(required): object
Link
A link referencing to another api
Nested Schema : JobPurgeCriterionCollectionSummary
Type:
objectJob Purge Criterion information collection returned by LIST operation. Maps directly to Job Criterion objects.
Match All
Job Purge Criterion information collection returned by LIST operation. Maps directly to Job Criterion objects.
Job Purge Criterion information collection returned by LIST operation. Maps directly to Job Criterion objects.
Show Source
-
object
JobPurgeCriterion
An object representing Job Purge Criterion
-
object
JobPurgeCriterionCollectionSummary-allOf[1]
Nested Schema : JobPurgeCriterion
Type:
objectAn object representing Job Purge Criterion
Show Source
-
id(required): string
Unique ordered id of the Criterion Used with this policy
-
isNegated(required): boolean
Determine if criterion is inclusive or exclusive
-
type(required): string
Allowed Values:
[ "TARGET", "JOB_TYPE", "USER", "JOB_NAME", "SYSTEM_JOB", "STATUS_NOT_FAILED" ]Type of the Criterion used -
values(required): array
values
Collection of values used by criterion
Nested Schema : JobPurgeCriterionCollectionSummary-allOf[1]
Type:
objectNested Schema : values
Type:
arrayCollection of values used by criterion
Show Source
-
Array of:
string
Value used with criterion
Nested Schema : Link
Type:
objectA link referencing to another api
Show Source
-
href: string
the reference
400 Response
Bad Request
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
404 Response
Not Found
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported