Skip to content
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

docs: API examples #5499

Merged
merged 56 commits into from
Jan 15, 2025
Merged

docs: API examples #5499

merged 56 commits into from
Jan 15, 2025

Conversation

mendonk
Copy link
Collaborator

@mendonk mendonk commented Dec 31, 2024

This pull request includes updates to the documentation and the OpenAPI specification for the Langflow API.

The new API Examples page includes examples for endpoints related to flow building, CRUD, file upload and download, and monitoring. Endpoints not included are documented in the swagger spec.

The OpenAPI spec has been updated to 1.1.1 (and updated to include the EventManager integration)

@mendonk mendonk requested a review from anovazzi1 December 31, 2024 17:30
@mendonk mendonk self-assigned this Dec 31, 2024
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. documentation Improvements or additions to documentation labels Dec 31, 2024
@github-actions github-actions bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Dec 31, 2024
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 15, 2025
Copy link
Collaborator

@KimberlyFields KimberlyFields left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some style-related suggestions, but approving.

docs/docs/API-Reference/api-reference-api-examples.md Outdated Show resolved Hide resolved
docs/docs/API-Reference/api-reference-api-examples.md Outdated Show resolved Hide resolved
docs/docs/API-Reference/api-reference-api-examples.md Outdated Show resolved Hide resolved
docs/docs/API-Reference/api-reference-api-examples.md Outdated Show resolved Hide resolved
docs/docs/API-Reference/api-reference-api-examples.md Outdated Show resolved Hide resolved
docs/docs/API-Reference/api-reference-api-examples.md Outdated Show resolved Hide resolved
docs/docs/API-Reference/api-reference-api-examples.md Outdated Show resolved Hide resolved
docs/docs/API-Reference/api-reference-api-examples.md Outdated Show resolved Hide resolved
docs/docs/API-Reference/api-reference-api-examples.md Outdated Show resolved Hide resolved
@github-actions github-actions bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jan 15, 2025
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jan 15, 2025
@mendonk mendonk removed this pull request from the merge queue due to a manual request Jan 15, 2025
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
@github-actions github-actions bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jan 15, 2025
@github-actions github-actions bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jan 15, 2025
@github-actions github-actions bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jan 15, 2025
@github-actions github-actions bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jan 15, 2025
@github-actions github-actions bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jan 15, 2025
@mendonk mendonk enabled auto-merge January 15, 2025 17:08
@mendonk mendonk added this pull request to the merge queue Jan 15, 2025
Merged via the queue into main with commit 26ed6dc Jan 15, 2025
10 checks passed
@mendonk mendonk deleted the docs-api-examples branch January 15, 2025 17:20
mieslep pushed a commit to mieslep/langflow that referenced this pull request Jan 15, 2025
* bump-api-to-1.1.1

* docs: api reference content

* more-endpoints

* cleanup

* all-endpoints-accounted-for

* docs: update API reference with user response examples and authorization header

* all-200s-complete

* fix-spacing-for-gh-preview

* sidebars

* monitor-endpoints

* fix-build-error

* fix-sidebar-error

* create-flows

* flows-endpoint-finished

* move

* files-endpoint

* run-flow

* folder-endpoint

* docs: update API reference with new endpoints and examples for flows, folders, and files

* value

* docs: update openapi.json

* docs: enhance API reference with folder-id export instructions and examples

* docs: update API reference with new flow structure and log retrieval instructions

* docs: clarify ZIP file download endpoint description in API examples

* docs: refine API examples for clarity and consistency

* docs: refine API examples for clarity and consistency

* webhook

* docs: format curl example for improved readability

* docs: update curl examples to use double quotes for variable interpolation

* docs: Update API example descriptions for improved clarity

* docs: Update API example descriptions for improved clarity

* docs: Enhance API reference with Langflow API key setup and build flow examples

* docs: update API reference examples with new event data and structure

* docs: add clarification on LLM chat response streaming in API examples

* error-and-build-vertex

* docs: remove wrong information from API examples

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* docs: Update API reference examples for environment variable exports

* docs: Fix JSON structure in API reference examples

* docs: Update API reference examples for file download and log retrieval

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
viniciossilva3 pushed a commit to viniciossilva3/langflow that referenced this pull request Jan 16, 2025
* bump-api-to-1.1.1

* docs: api reference content

* more-endpoints

* cleanup

* all-endpoints-accounted-for

* docs: update API reference with user response examples and authorization header

* all-200s-complete

* fix-spacing-for-gh-preview

* sidebars

* monitor-endpoints

* fix-build-error

* fix-sidebar-error

* create-flows

* flows-endpoint-finished

* move

* files-endpoint

* run-flow

* folder-endpoint

* docs: update API reference with new endpoints and examples for flows, folders, and files

* value

* docs: update openapi.json

* docs: enhance API reference with folder-id export instructions and examples

* docs: update API reference with new flow structure and log retrieval instructions

* docs: clarify ZIP file download endpoint description in API examples

* docs: refine API examples for clarity and consistency

* docs: refine API examples for clarity and consistency

* webhook

* docs: format curl example for improved readability

* docs: update curl examples to use double quotes for variable interpolation

* docs: Update API example descriptions for improved clarity

* docs: Update API example descriptions for improved clarity

* docs: Enhance API reference with Langflow API key setup and build flow examples

* docs: update API reference examples with new event data and structure

* docs: add clarification on LLM chat response streaming in API examples

* error-and-build-vertex

* docs: remove wrong information from API examples

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* docs: Update API reference examples for environment variable exports

* docs: Fix JSON structure in API reference examples

* docs: Update API reference examples for file download and log retrieval

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants