Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Support new Zenhub API endpoint #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Reddshift
Copy link

Zenhub has added an API endpoint to fetch board data for a workspace.

Their documentation references this new endpoint:

GET /p2/workspaces/:workspace_id/repositories/:repo_id/board

for returning a "ZenHub Board for a repository". I thought they had replaced the old endpoint:

GET /p1/repositories/:repo_id/board

but it turns out it is listed under "Get the oldest Zenhub board for a repository" and still works, but will not return what you are expecting if you have multiple boards/workspaces.

This PR adds an api call to use the new endpoint which I needed.

Matt Redd added 3 commits February 4, 2022 17:50
returned board_data api call to its former form for backwards
compatibility.  It is uncler if Zenhub will continue to support that
call - but it is currently working.
@tkm-kj
Copy link
Owner

tkm-kj commented Oct 28, 2022

Thank you for your patch!
But, I have no time to maintain it. So I'll make this repository archive
If you want to use this feature, please use your forked repository 🙇

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants