Accept a doc type for skipped docs of the source, held in Speccy (REQ-133). The repo takes no commit.
POST
/github/sources/{sourceId}/skipped
const url = 'https://example.com/api/v1/github/sources/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/skipped';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"items":[{"path":"example","profile":"example","link":{"kind":"example","target":"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://example.com/api/v1/github/sources/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/skipped \ --header 'Content-Type: application/json' \ --data '{ "items": [ { "path": "example", "profile": "example", "link": { "kind": "example", "target": "example" } } ] }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”sourceId
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
items
required
Array<object>
object
path
required
string
profile
required
string
link
A link a person confirmed. target is the root-relative path of the doc it links to.
object
kind
required
string
target
required
string
Examplegenerated
{ "items": [ { "path": "example", "profile": "example", "link": { "kind": "example", "target": "example" } } ]}Responses
Section titled “ Responses ”The source, after the sync that makes the bundles.
Media typeapplication/json
A repo, a branch and a folder whose bundles Speccy reads.
object
id
required
string format: uuid
repo
required
string
branch
required
string
path
required
The folder, relative to the repo root.
string
head_commit
required
string
synced_at
string format: date-time
error
required
string
bundles
required
integer
adopted
How many docs of this source have a type accepted in Speccy (REQ-133).
integer
Examplegenerated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "repo": "example", "branch": "example", "path": "example", "head_commit": "example", "synced_at": "2026-04-15T12:00:00Z", "error": "example", "bundles": 1, "adopted": 1}default
Section titled “default”An error.
Media typeapplication/problem+json
RFC 9457 problem details with a stable code.
object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required
A stable machine-readable error code.
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": "example"}