Skip to content

Commit

Permalink
fix(linkedin): Fix endpoint for linkedin (#167)
Browse files Browse the repository at this point in the history
See
https://linear.app/nango/issue/NAN-2434/undefined-undefined-endpoint-in-docs

## Describe your changes

## Issue ticket number and link

## Checklist before requesting a review (skip if just adding/editing
APIs & templates)

-   [ ] I added tests, otherwise the reason is:
-   [ ] External API requests have `retries`
-   [ ] Pagination is used where appropriate
- [ ] The built in `nango.paginate` call is used instead of a `while
(true)` loop
- [ ] Third party requests are NOT parallelized (this can cause issues
with rate limits)
- [ ] If a sync requires metadata the `nango.yaml` has `auto_start:
false`
-   [ ] If the sync is a `full` sync then `track_deletes: true` is set
- [ ] I followed the best practices and guidelines from the [Writing
Integration
Scripts](/NangoHQ/integration-templates/blob/main/WRITING_INTEGRATION_SCRIPTS.md)
doc
  • Loading branch information
nalanj authored Dec 19, 2024
1 parent a4b5439 commit 7eda627
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion flows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9049,7 +9049,9 @@ integrations:
description: Create a linkedin post with an optional video
input: LinkedinVideoPost
output: CreateLinkedInPostWithVideoResponse
endpoint: POST /videos
endpoint:
method: POST
path: /videos
scopes:
- openid
- profile
Expand Down
2 changes: 1 addition & 1 deletion integrations/linkedin/actions/post.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

### Request Endpoint

`GET undefined`
`POST /videos`

### Request Query Parameters

Expand Down
4 changes: 3 additions & 1 deletion integrations/linkedin/nango.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ integrations:
description: Create a linkedin post with an optional video
input: LinkedinVideoPost
output: CreateLinkedInPostWithVideoResponse
endpoint: POST /videos
endpoint:
method: POST
path: /videos
scopes:
- openid
- profile
Expand Down

0 comments on commit 7eda627

Please sign in to comment.