Commit Graph

4 Commits (72c5295eed5ff8432ed930481e1b32fbf7896319)

Author SHA1 Message Date
Jason Stirnaman 22cf8ccadc
API examples and client guide updates (#3106)
* feat: troubleshoot write errors (#3003). Fix link in Flux reference.

* fix: make placeholders consistent and conform to style guide.

* fix: Node.js client. Delete unused files (#3003)

* Node.js client. Add examples.

* fix: gzip instructions for API with curl.

* fix: Node.js client guide. Query guide fixes. Frontmatter fixes.

* fix: API client frontmatter consistency. Use language for title so <children> list is sorted properly.

* Update content/influxdb/v2.0/api-guide/client-libraries/nodejs/install.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/v2.0/api-guide/client-libraries/nodejs/write.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/v2.0/api-guide/client-libraries/nodejs/write.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/v2.0/api-guide/client-libraries/nodejs/query.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* fix: customize example URLs (closes #3113)

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2021-09-13 11:08:02 -05:00
Jason Stirnaman e8666ddc22
2696 api browserjs fixes (#3005)
* fix: broken link (#2696).

* fix: correct errors in javascript for browsers. Added token warning. (#2696)

* WIP - split Javascript guide into separate pages.

* WIP - Revised and split JavaScript browser

* WIP fix: errors in browser and node js client library.

* fix: simplify and correct JavaScript for browsers. Remove separate library entry. Assume users will prefer ESM. Simplify instructions for the browser example app.

* fix: add import instruction

* fix: Redo Javascript browser doc. Break down the use cases and improve examples.

* fix: browser use cases for JS module distributions.

* fix: browser package should be used whether bundling or not.
2021-08-16 16:26:29 -05:00
Jason Stirnaman e8c9039ce1 update: restructured nodejs install and write guide. 2021-06-15 15:33:08 -05:00
Jason Stirnaman 5669ab17a3 update: divided JS client library page into separate.
* reorganized api shortcodes
2021-06-14 10:27:23 -05:00