Skip to content
DARC
Developers

REST Resource: repos

A GitHub repository linked to a research entry, with the data DARC last synced from GitHub.

Repository fields

FieldDescription
fullName
stringrequired
owner/name.
url
stringrequired
  • Format: url
The repository on GitHub.
owner
stringrequired
The owner on GitHub.
name
stringrequired
The name on GitHub.
role
stringrequired
  • One of: REFERENCE, BENCHMARK, FORMALIZATION, DOCS
What it is to the entry: the reference implementation, a benchmark, a formalization, or documentation.
description
string
GitHub's description.
stars
integer
Stars on GitHub.
forks
integer
Forks on GitHub.
openIssues
integer
Open issues on GitHub.
license
string
The license, as GitHub names it.
defaultBranch
string
The default branch.
language
string
The main language.
pushedAt
string
  • Format: date-time
The last push.
archived
boolean
Whether it is archived on GitHub.
syncedAt
string
  • Format: date-time
When DARC last read it from GitHub. The other data is as of then.
syncError
string
Why the last sync failed, if it did.
topic
object
Only in GET repos: its entry, {slug, title, area}, where area is the area's slug.

Methods

  • repos.list
    GET/api/v1/public/repos

    Lists GitHub repositories linked to research entries, most stars first.