List Purge policies
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/jobPurge/policies
List Purge policies. Each item contain policy name and a link for detailed policy information. If query parameter include=total is specified, response contains total count of items available. If query parameter include=criterions is specified, response will contain information about all the criterions set for policies.
Request
Query Parameters
-
include: string
If query parameter include=total is specified, response contains total count of items available. If query parameter include=criterions is specified, response will contain information about all the criterions set for policies.
-
limit: integer
Limit the number of returned items on the page
-
page: string
pointer for the next set of records in pagination
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Return a Job Purge policies list
Root Schema : JobPurgePolicyCollection
Type:
objectA collection of Job Purge information
Show Source
-
items(required): array
items
List of Job Purge information
Match All
A collection of Job Purge information
A collection of Job Purge information
Show Source
-
object
BaseProperties
Abstract collection of summary objects for LIST operations
-
object
JobPurgePolicyCollection-allOf[1]
Nested Schema : items
Type:
arrayList of Job Purge information
Show Source
-
Array of:
object JobPurgePoliciesSummary
Job Purge collection returned by LIST operation. Maps directly to Job Purge Policy objects.
Nested Schema : BaseProperties
Type:
objectAbstract collection of summary objects for LIST operations
Show Source
-
count(required): integer
Count of summary objects in this page
-
links(required): object
links
Navigation links for results of collection type
Nested Schema : JobPurgePolicyCollection-allOf[1]
Type:
objectNested Schema : JobPurgePoliciesSummary
Type:
objectJob Purge collection returned by LIST operation. Maps directly to Job Purge Policy objects.
Match All
Job Purge collection returned by LIST operation. Maps directly to Job Purge Policy objects.
Job Purge collection returned by LIST operation. Maps directly to Job Purge Policy objects.
Show Source
-
object
JobPurgePolicy
An object representing Job Purge Policy information
-
object
JobPurgePoliciesSummary-allOf[1]
Nested 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 : JobPurgePoliciesSummary-allOf[1]
Type:
objectNested 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
Nested Schema : links
Type:
objectNavigation links for results of collection type
Show Source
-
next: object
Link
A link referencing to another api
-
previous: object
Link
A link referencing to another api
-
self(required): object
Link
A link referencing to another api
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
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