Get the lineage of a request

get

/epm/rest/v1/requests/{requestId}/lineage

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : RequestLineage
Type: object
Show Source
Nested Schema : requestLineageNodes
Type: array
Read Only: true
The list of requests used in this lineage.
Show Source
Nested Schema : subscriptionInstances
Type: array
The list of subscriptions used in this lineage.
Show Source
Nested Schema : RequestLineageNode
Type: object
Show Source
Nested Schema : incompleteSubscriptions
Type: array
Show Source
Nested Schema : viewpoints
Type: array
Read Only: true
Show Source
Nested Schema : SubscriptionInstance
Type: object
Subscription Instance details
Show Source
Nested Schema : allowedActions
Type: array
Show Source
Nested Schema : alternateAssignees
Type: array
Show Source
Nested Schema : User
Type: object
Show Source
Nested Schema : errors
Type: array
Show Source
Nested Schema : JsonNode
Type: object
Nested Schema : InclusionProperty
Type: object
Show Source
Nested Schema : propertiesToMatch
Type: array
Show Source
Nested Schema : topNodes
Type: array
Show Source
Nested Schema : AlternateAssignee
Type: object
Show Source
Nested Schema : artifactAssignments
Type: array
Show Source
Nested Schema : associatedRoles
Type: array
Show Source
Nested Schema : emailAddresses
Type: array
Show Source
Nested Schema : Preferences
Type: object
Show Source
Nested Schema : ArtifactAssignment
Type: object
Show Source
Nested Schema : Artifact
Type: object
Show Source
Nested Schema : Role
Type: object
Show Source
Nested Schema : TimeZone
Type: object
Show Source
Nested Schema : Error
Type: object
Show Source
Nested Schema : SubscriptionTopNode
Type: object
Show Source

403 Response

Forbidden access to request

404 Response

Request not found
Back to Top

Examples

The following example shows how to retrieve associated request lineage for a request by submitting a GET request on the REST resource using cURL.

curl --user edmcs_cloud_user -X GET https://servername.fa.us2.oraclecloud.com/epm/rest/v1/requests/d692eb1c-d47b-404b-b26a-c9ee04777d5f/lineage

Example of the Response Body

The following example shows the contents of the response body in JSON format:

{
         "requestLineageNodes": [
             {
                 "id": "d692eb1c-d47b-404b-b26a-c9ee04777d5f",
                 "title": "Request 4118",
                 "origin": "INTERACTIVE",
                 "status": "COMPLETED",
                 "autoSubmitted": false,
                 "sourceRequest": null,
                 "timeCreated": "2023-02-23T20:06:03.185Z",
                 "viewpoints": [
                     {
                         "id": "f23d7770-8f32-44cd-adae-b8f3db5cd6ea",
                         "name": "NT1 hier",
                         "links": [
                             {
                                 "rel": "self",
                                 "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/86b1454d-58e8-47bb-ac08-40d62ede02b4/viewpoints/f23d7770-8f32-44cd-adae-b8f3db5cd6ea"
                             }
                         ]
                     }
                 ],
                 "links": [
                     {
                         "rel": "self",
                         "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/requests/d692eb1c-d47b-404b-b26a-c9ee04777d5f"
                     }
                 ]
             },
             {
                 "id": "c1f6774d-51ca-49cd-a4cb-b915432a704b",
                 "title": "Request 4119",
                 "origin": "SUBSCRIPTION",
                 "status": "DRAFT",
                 "autoSubmitted": false,
                 "sourceRequest": {
                     "id": "d692eb1c-d47b-404b-b26a-c9ee04777d5f",
                     "name": "Request 4118",
                     "description": "Request for aUni created by Barry Dylan.",
                     "links": [
                         {
                             "rel": "self",
                             "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/requests/d692eb1c-d47b-404b-b26a-c9ee04777d5f"
                         }
                     ]
                 },
                 "timeCreated": "2023-02-23T20:06:23.836Z",
                 "viewpoints": [
                     {
                         "id": "c543eabc-37f1-4a5e-a15d-49bff3493fd1",
                         "name": "NT1(1) list",
                         "links": [
                             {
                                 "rel": "self",
                                 "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/86b1454d-58e8-47bb-ac08-40d62ede02b4/viewpoints/c543eabc-37f1-4a5e-a15d-49bff3493fd1"
                             }
                         ]
                     }
                 ],
                 "links": [
                     {
                         "rel": "self",
                         "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/requests/c1f6774d-51ca-49cd-a4cb-b915432a704b"
                     }
                 ]
             }
         ],
         "links": [
             {
                 "rel": "self",
                 "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/requests/d692eb1c-d47b-404b-b26a-c9ee04777d5f/lineage"
             }
         ],
         "subscriptionInstances": [
             {
                 "id": "11756efd-bdb5-4502-9941-cc59734e8332",
                 "name": "aUni | NT1 hier",
                 "sourceViewpoint": {
                     "id": "f23d7770-8f32-44cd-adae-b8f3db5cd6ea",
                     "name": "NT1 hier",
                     "links": [
                         {
                             "rel": "self",
                             "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/86b1454d-58e8-47bb-ac08-40d62ede02b4/viewpoints/f23d7770-8f32-44cd-adae-b8f3db5cd6ea"
                         }
                     ]
                 },
                 "targetViewpoint": {
                     "id": "c543eabc-37f1-4a5e-a15d-49bff3493fd1",
                     "name": "NT1(1) list",
                     "links": [
                         {
                             "rel": "self",
                             "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/views/86b1454d-58e8-47bb-ac08-40d62ede02b4/viewpoints/c543eabc-37f1-4a5e-a15d-49bff3493fd1"
                         }
                     ]
                 },
                 "sourceRequest": "d692eb1c-d47b-404b-b26a-c9ee04777d5f",
                 "targetRequest": "c1f6774d-51ca-49cd-a4cb-b915432a704b",
                 "subscriptionStatus": "PROCESSED",
                 "links": [
                     {
                         "rel": "self",
                         "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/subscriptions/11756efd-bdb5-4502-9941-cc59734e8332"
                     }
                 ]
             }
         ]
     }
Back to Top