Computed vs. user entered fields
I would like to see fields like open-tickets-count be marked as non-editable in the API so a client knows to present that to the user as read=only.
Discussions are closed to public comments.
If you need help with Lighthouse please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
1 Posted by Rick on 07 Feb, 2010 04:45 AM
The ticket documentation lists which keys are available to be written:
There is no format for specifying in the actual API which fields are read only.
Rick closed this discussion on 07 Feb, 2010 04:45 AM.
Michael Latta re-opened this discussion on 07 Feb, 2010 05:20 AM
2 Posted by Michael Latta on 07 Feb, 2010 05:20 AM
I was requesting a new feature. It would be helpful to have that encoded in the API or accessible from the API so changes are automatically accounted for without hard-coding the fields.
Michael
3 Posted by Rick on 07 Feb, 2010 07:06 AM
Thanks for the suggestion, but we're favoring JSON for all our new API
formats (though the existing XML calls will continue to work). Most
JSON APIs don't include any type of schema information, and our users
aren't demanding it. We'll reconsider if we get a lot more requests
for it.
4 Posted by Michael Latta on 07 Feb, 2010 07:24 AM
Hopefully project data will include som data or a separate call can
provide it? Where are the Jason calls documented? The XML docs are
getting out of date.
Michael
5 Posted by Rick on 07 Feb, 2010 07:55 AM
Projects have their own API endpoint:
http://lighthouseapp.com/api/projects. The JSON matches the XML key
for key. Yes, the documentation does need a refresh though, as some
new attributes have been updated here and there.
Nicole closed this discussion on 10 Feb, 2010 06:56 PM.