GitHub v3 REST API

announcement-expiration

string

The time at which the announcement expires. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. To set an announcement that never expires, omit this parameter, set it to null, or set it to an empty string.

Example

Enterprise Announcement

object

Enterprise global announcement

announcementstringrequired

The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see “Basic writing and formatting syntax.”

Example:Very **important** announcement about _nothing_.

expires_atstring(date-time)

The time at which the announcement expires. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. To set an announcement that never expires, omit this parameter, set it to null, or set it to an empty string.

Example:"2021-01-01T00:00:00.000-07:00"

Example

license-info

object
seatsOne Of
Variant 1string
seats_usedinteger
seats_availableOne Of
Variant 1string
kindstring
days_until_expirationinteger
expire_atstring
Example

Repository Enterprise Stats

object
total_reposintegerrequired
root_reposintegerrequired
fork_reposintegerrequired
org_reposintegerrequired
total_pushesintegerrequired
total_wikisintegerrequired
Example

Hooks Enterprise Stats

object
total_hooksintegerrequired
active_hooksintegerrequired
inactive_hooksintegerrequired
Example