Skip to content

Lookup forge_remote_id by repo path #4231

Closed Answered by tyler71
tyler71 asked this question in Ask a Question
Discussion options

You must be logged in to vote

Thanks for the tip, I will look it up independently for now.

  const res = await fetch(`https://api.github.com/repos/${user}/${reponame}`, {
    headers: { Authorization: `Bearer ${token}` }
  })
 const resJson = await res.json()
 console.log({forgeId: resJson.id})

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by anbraten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants