No Results
Fetch Data Set

EdgeCore version: 4.3.2

Method

GET /public/pipeline/producers/remote/{producerId}/fetch

Used to fetch the data set of a specific producer.

Parameters

Name Type Description Mandatory
producerId

or

producerName
string ID or the name of the producer Yes


cURL example

curl --location --request GET 'http://localhost:8080/public/pipeline/producers/remote/remoteproducer/fetch' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' 

Example Response

{
    "stale": false,
    "doClass": "ResultBundleDO",
    "resultSet": {
        "mutable": true,
        "lastUpdate": 1606739445390,
        "resultStatusCode": 0,
        "statusMessage": null,
        "status": {
            "lastUpdate": 1606739445397,
            "resultStatusCode": 0,
            "statusMessage": null,
            "requiredCredentialNames": [],
            "isDataAvailable": true,
            "errorCode": null,
            "doClass": "ResultStatusDO"
        },
        "errorDetail": null,
        "stale": false,
        "dataAvailable": true,
        "errorMessageId": null,
        "doClass": "TabularDataResultsDO",
        "dataTypeId": "Tabular",
        "versionId": "77ae7e7b",
        "records": [
            {
                "doClass": "TabularRecordDO",
                "r": [
                    "bar"
                ],
                "k": ""
            }
        ],
        "columnMapping": {
            "doClass": "TabularRecordColumnMappingDO",
            "name": "Tabular",
            "columns": {
                "foo": 0
            }
        },
        "producerName": "Tabular",
        "sizeBytes": 0
    },
    "versionId": "77ae7e7b",
    "dataDef": {
        "doClass": "TabularDataDefDO",
        "versionId": "8d65ab93",
        "producerName": "remoteproducer",
        "producerID": "s3pvsu-k636f3lq6g97",
        "dataAttributes": [
            {
                "id": false,
                "doClass": "DataAttributeDO",
                "producerName": "remoteproducer",
                "type": 0,
                "name": "foo",
                "sourceName": "foo",
                "isId": false,
                "units": null,
                "format": null,
                "ordinalPosition": 1
            }
        ]
    },
    "isStale": false
}

HTTP Response

Code Status Description
200 OK The request has succeeded.
404 Not Found The producer ID or producer name could not be found.

 


Terms | Privacy