Search code examples
restquire-api

REST API set a nonexistent parameter


Why can I send some parameters in the request that are not described in the documentation. For example, "iconColor" when creating the board, I pass

{
    "name": "Test Board",
    "iconColor": "45"
}

and returns

{
    "oid": "VfTDY8NtENjg5KDMObdFJCWx",
    "project": "zxoyOUci8yDC.eK.wwsocWbY",
    "id": "Test_Board",
    "name": "Test Board",
    "description": "",
    "iconColor": "45", 
    ...
}

Why i can set "iconColor", in the documentation there is no such parameter!


Solution

  • Looks like inconsistent documentation, most likely a new field that was added without updating the API docs.

    As I am writing this it just got updated, and the new fields were added to the API docs.

    https://quire.io/dev/api/#tag-board