List Trail Sequences

get

/services/{version}/trails/{trail}/sequences

Required Role: User

Retrieve a collection of all sequences that exist for a specific trail.

Request

Path Parameters
  • Minimum Length: 2
    Maximum Length: 512
    Pattern: ^[a-zA-Z0-9_#$-]*$

    The name of the Trail. This corresponds to the trailName property in the ogg:trail resource or the trail filesystem path.

    A trail name can be either a human-friendly name like HumanResources or a two-character name plus a query parameter called 'path' whose value is the URI-encoded trail filesystem path, like ea?path=north%2Femployees. When a short name and a URI-encoded path is used for the trail name, it must match the name and path properties in the corresponding ogg:trail resource.

    A trail called HumanResources with the path/name set to north/employees/ea can be referred to as either HumanResources or ea?path=north%2Femployees, but the canonical name is always the human-friendly name.

    POST operations accept only the human-friendly name.

  • Oracle GoldenGate Service API version.

    Allowed Values: [ "v2" ]
Back to Top

Response

Supported Media Types

200 Response

Collection of Trail Sequences retrieved successfully.

Body ()
Root Schema : Oracle GoldenGate Collection
Type: object
Title: Oracle GoldenGate Collection
Show Source
Nested Schema : items
Type: array
Minimum Number of Items: 0
Maximum Number of Items: 32767
Show Source
Nested Schema : items
Type: object
Additional Properties Allowed: true
Show Source
Nested Schema : status
Item status
Match Any
Show Source
  • Allowed Values: [ "starting", "running", "stopped", "killed", "abended" ]
  • Default Value: stopped
    Allowed Values: [ "paused", "running", "stopping", "stopped", "killed", "uninitialized" ]
Example Response (application/json)
{
    "$schema":"api:standardResponse",
    "links":[
        {
            "rel":"canonical",
            "href":"http://localhost:9012/services/v2/trails/aa/sequences?path=dir1%2FT_EXT1",
            "mediaType":"application/json"
        },
        {
            "rel":"self",
            "href":"http://localhost:9012/services/v2/trails/aa/sequences?path=dir1%2FT_EXT1",
            "mediaType":"application/json"
        },
        {
            "rel":"describedby",
            "href":"http://localhost:9012/services/v2/metadata-catalog/sequences",
            "mediaType":"application/schema+json"
        }
    ],
    "messages":[
    ],
    "response":{
        "items":[
            {
                "links":[
                    {
                        "rel":"parent",
                        "href":"http://localhost:9012/services/v2/trails/aa/sequences?path=dir1%2FT_EXT1",
                        "mediaType":"application/json"
                    },
                    {
                        "rel":"canonical",
                        "href":"http://localhost:9012/services/v2/trails/aa/sequences/0?path=dir1%2FT_EXT1",
                        "mediaType":"application/json"
                    }
                ],
                "$schema":"ogg:collectionItem",
                "name":"0"
            },
            {
                "links":[
                    {
                        "rel":"parent",
                        "href":"http://localhost:9012/services/v2/trails/aa/sequences?path=dir1%2FT_EXT1",
                        "mediaType":"application/json"
                    },
                    {
                        "rel":"canonical",
                        "href":"http://localhost:9012/services/v2/trails/aa/sequences/1?path=dir1%2FT_EXT1",
                        "mediaType":"application/json"
                    }
                ],
                "$schema":"ogg:collectionItem",
                "name":"1"
            },
            {
                "links":[
                    {
                        "rel":"parent",
                        "href":"http://localhost:9012/services/v2/trails/aa/sequences?path=dir1%2FT_EXT1",
                        "mediaType":"application/json"
                    },
                    {
                        "rel":"canonical",
                        "href":"http://localhost:9012/services/v2/trails/aa/sequences/2?path=dir1%2FT_EXT1",
                        "mediaType":"application/json"
                    }
                ],
                "$schema":"ogg:collectionItem",
                "name":"2"
            }
        ],
        "$schema":"ogg:collection"
    }
}
Back to Top