Add a GitHub repository as a marketplace (public, or private via the GitHub App)
POST
/v1/marketplaces
const url = 'https://app.skillpouch.net/v1/marketplaces';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"repo":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.skillpouch.net/v1/marketplaces \ --header 'Content-Type: application/json' \ --data '{ "repo": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
repo
required
string
Example generated
{ "repo": "example"}Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
ok
required
boolean
data
required
object
id
required
string
source
required
string
name
required
string
description
required
string | null
repo
required
string | null
private
required
boolean
builtin
required
boolean
url
required
string
kinds
required
Array<string>
meta
required
object
request_id
required
string
next_cursor
string | null
Example
{ "ok": true, "data": { "source": "skills_sh", "kinds": [ "skill" ] }}