It seems API fields description is not updated for recent changes

31 views
Skip to first unread message

Alexey Kireyev

unread,
Apr 6, 2016, 4:22:08 PM4/6/16
to checkvist-api
Hi,

It seems that you extended schema a little,  so there are couple questions:

1. What is "details"?
2. Do you convert all dues into data? (out of curiosity - do you calculate all this "today", "asap", "tomorrow" on the fly when parsing UI, or there is a way to get due in the form as it was typed?)

  {
    "id": ,
    "parent_id": ,
    "checklist_id": ,
    "status": 0,
    "position": 1,
    "tasks": [],
    "update_line": "aa",
    "updated_at": "11",
    "due": "2016/04/06",
    "content": "aaa",
    "collapsed": false,
    "comments_count": 0,
    "assignee_ids": [],
    "details": {
      "mark": "fg1"
    },
    "tags": {},
    "tags_as_text": "",
    "color": {
      "text": "red"
    }
  },

KIR

unread,
Apr 7, 2016, 3:44:34 AM4/7/16
to checkv...@googlegroups.com
Hello,

  Json contains some data which I would not want to document entirely as OpenAPI because it can change in the future. 

  1. The 'details' field is use for auxiliary purposes, initially it contained only information about item color. But it is better to use "color" for that.
  2. All dates are converted to real dates and stored in database as dates. Except for ASAP, which is returned as 'asap' string.

  Best,
  KIR


--
You received this message because you are subscribed to the Google Groups "checkvist-api" group.
To unsubscribe from this group and stop receiving emails from it, send an email to checkvist-ap...@googlegroups.com.
To post to this group, send email to checkv...@googlegroups.com.
Visit this group at https://groups.google.com/group/checkvist-api.
For more options, visit https://groups.google.com/d/optout.



--
Kirill (KIR) Maximov
Software Engineer & Starter

Twitter:       http://twitter.com/maxkir
Google+      http://gplus.to/maxkir
Skype:        maxkir
http://kirblog.idetalk.com | http://checkvist.com | http://www.jetbrains.com/teamcity
Reply all
Reply to author
Forward
0 new messages