-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the API fields data type information in the API documentation #1101
Comments
We need to update our tooling in order to deal with this inconsistency. I will pick this up. |
@adriansmares: It would be great if you could find some time to pick this up this month. |
I'll pick this up as part of the API documentation item that I'm working on. |
hey @KrishnaIyer was this covered in #1230? |
I think this requires a few small updates to the generated docs. I'll pick this up later this month. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
The Things Stack users are often confused with API field data types i.e., in the documentation API field type
type: bytes
does not implybase64
. Also, the type of API field interpreted should depends on the actual message. For example, thefrm_payload
of the ApplicationDownlink is read as abase64
type, whereas thedev_eui
field of the EndDeviceIdentifiers is read ashex
.Why do we need this ?
To help users in distinguishing between different data types of API fields.
What is already there? What do you see now?
https://www.thethingsindustries.com/docs/reference/api/
What is missing? What do you want to see?
API fields with more details on the data types/examples.
@adriansmares , could you please add your insights here?
How do you propose to document this?
...
Can you do this yourself and submit a Pull Request?
No, @nejraselimovic
The text was updated successfully, but these errors were encountered: