res = client.hosted_extractors.mappings.retrieve('myMapping')
res = client.hosted_extractors.mappings.retrieve(["myMapping", "myMapping2"], ignore_unknown_ids=True){
"items": [
{
"externalId": "my.known.id",
"mapping": {
"expression": "<string>"
},
"input": {
"type": "protobuf",
"messageName": "<string>",
"files": [
{
"fileName": "<string>"
}
]
},
"published": true,
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}Required capabilities:
hostedExtractors:READ
Retrieve a list of up to 100 mappings by their external ID, optionally ignoring unknown IDs.
res = client.hosted_extractors.mappings.retrieve('myMapping')
res = client.hosted_extractors.mappings.retrieve(["myMapping", "myMapping2"], ignore_unknown_ids=True){
"items": [
{
"externalId": "my.known.id",
"mapping": {
"expression": "<string>"
},
"input": {
"type": "protobuf",
"messageName": "<string>",
"files": [
{
"fileName": "<string>"
}
]
},
"published": true,
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
List of external IDs of mappings to retrieve.
List of retrieved mappings.
100Show child attributes
Was this page helpful?