Update LookupTableRevision
Changed onUpdate a Lookup Table Revision for the given UUID.
NOTE: If you've already added data to a Lookup Table Revision - see the following Lookup Table Revision Data section - then you won't be able to change the Revision's field schema and you'll receive an error if you try do this. Create a new Revision instead, or delete the data items first.
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service.
The UUID of the Lookup Table Revision to update.
The UUID of the Lookup Table the Revision belongs to.
Request body
Example request
{
"fields": [
{
"name": "lookuptablerevisionfieldkey"
}
],
"keys": [
"foo",
"bar"
]
}Response
Returns the updated LookupTableRevision
Example response
{
"fields": [
{
"name": "lookuptablerevisionfieldkey"
}
]
}Changes
- breaking
added
subschema #1subschema #2to the/////request propertyallOflist - breaking
the
////request property type changed from no type toobject - breaking
the
////response's property type changed from no type toobjectfor status - warning
removed
subschema #2from the//request propertyallOflist - info
added the optional property
to the response with the status - info
removed
subschema #2from the//response propertyallOflist for the response status - info
removed
subschema #2from theresponse propertyallOflist for the response status
- breaking
- info
endpoint added
- info