Skip to content

Improve the API fields data type information in the API documentation #1101

Open
@ymgupta

Description

@ymgupta

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 imply base64. Also, the type of API field interpreted should depends on the actual message. For example, the frm_payload of the ApplicationDownlink is read as a base64 type, whereas the dev_eui field of the EndDeviceIdentifiers is read as hex.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions