Update a widget
Changed onUpdate a widget.
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/widgets/{id}
- Authnone declared
Path parameters
ID
Request body
Example request
{
"data": {
"type": "widgets",
"attributes": {
"title": "Revenue by Project",
"widget_type_id": 3,
"column_position": 0,
"row_position": 0,
"width": 6,
"height": 4
},
"relationships": {
"dashboard": {
"data": {
"type": "dashboards",
"id": "34"
}
}
}
}
}Response
Single widget
Example response
{
"data": {
"id": "56",
"type": "widgets",
"attributes": {
"title": "Revenue by Project",
"widget_type_id": 3,
"column_position": 0,
"row_position": 0,
"width": 6,
"height": 4,
"content": {}
},
"relationships": {
"dashboard": {
"data": {
"type": "dashboards",
"id": "34"
}
},
"filter": {
"data": null
}
}
},
"included": []
}Changes
- warning
added the new
bad_decimal_formatenum value to the//response property for the response status - warning
added the new
non_finite_numberenum value to the//response property for the response status - warning
added the new
null_bytes_in_paramsenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromintegerto no type for status - warning
deleted the
headerrequest parameterX-Organization-Id
This list may be incomplete.
- breaking