Update up to 100 mappings.
Mappings to update.
required | Array of objects (Items) [ 1 .. 10 ] items |
List of updated mappings.
The response for a bad request.
Validation Error
from cognite.client.data_classes.hosted_extractors import MappingUpdate mapping = MappingUpdate('my_mapping').published.set(False) res = client.hosted_extractors.mappings.update(mapping)
{- "items": [
- {
- "externalId": "my.known.id",
- "mapping": {
- "expression": "string"
}, - "input": {
- "type": "protobuf",
- "messageName": "string",
- "files": [
- {
- "fileName": "string"
}
]
}, - "published": true,
- "createdTime": 1730204346000,
- "lastUpdatedTime": 1730204346000
}
]
}