Skip to content

Commit

Permalink
Document new API Invocable Scripts feature (was named-functions) (inf…
Browse files Browse the repository at this point in the history
…luxdata#3282)

* feat: add api-guides/guides and guides/api-invocable-scripts for the API-invocable scripts (managed functions) feature (#influxdata#2547, influxdata#2233).

* feat: document API-invocable scripts. Add example for creating and invoking a script with POST. Unable to make GET work with query parameters.

* feat: moved API-invocable scripts under api-guide. Remove guides directory. Add docs for list and find. Add example for list. Add shortcuts and glossary links. Verified with team-compute that GET /invoke and python are not supported yet.

* feat: rename example function for simplicity since there's no GET for now.

* feat: add find_and_update example (influxdata#2547).

* feat: add update example. Clarify, expand invoke example. Add links. (influxdata#2547)

* Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md

Co-authored-by: Scott Anderson <[email protected]>

* fix: remove accidental commit of generated redoc-static.html

* feat: manual update to cloud swagger. Merges meta, auth, tags, and x-tagGroups from src/cloud.yml to aggregate contracts/ref/cloud.yml.

* fix: replace /functions with /scripts

* feat: get swaggers from contracts/ref. Still requires copy-paste of info, tags, and auth from contracts/cloud.yml and contracts/oss.yml

* feat: invocable scripts (influxdata#2547)

* Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md

Co-authored-by: pierwill <[email protected]>

* feat: new section for params (influxdata#2547).

* fix: swagger server url (influxdata#2547)

* Update content/influxdb/cloud/api-guide/api-invocable-scripts/_index.md

Co-authored-by: Scott Anderson <[email protected]>

* feat: remove jq and function where there's no clear need.

Co-authored-by: pierwill <[email protected]>
  • Loading branch information
jstirnaman and pierwill authored Oct 25, 2021
1 parent b79d507 commit 6587ee1
Show file tree
Hide file tree
Showing 14 changed files with 20,854 additions and 21,972 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ node_modules
*.log
/resources
/content/influxdb/*/api/*.html
/api-docs/redoc-static.html*
Loading

0 comments on commit 6587ee1

Please sign in to comment.