Skip to content

Get quota information for an organization

GET
/orgs/{org}/quota
org
required
string

Name of the organization

QuotaInfo

Media type application/json

QuotaInfo represents information about a user’s quota

object
groups

QuotaGroupList represents a list of quota groups

Array<object>

QuotaGroup represents a quota group

object
name

Name of the group

string
rules

Rules associated with the group

Array<object>

QuotaRuleInfo contains information about a quota rule

object
limit

The limit set by the rule

integer format: int64
name

Name of the rule (only shown to admins)

string
subjects

Subjects the rule affects

Array<string>
used

QuotaUsed represents the quota usage of a user

object
size

QuotaUsedSize represents the size-based quota usage of a user

object
assets

QuotaUsedSizeAssets represents the size-based asset usage of a user

object
artifacts

Storage size used for the user’s artifacts

integer format: int64
attachments

QuotaUsedSizeAssetsAttachments represents the size-based attachment quota usage of a user

object
issues

Storage size used for the user’s issue & comment attachments

integer format: int64
releases

Storage size used for the user’s release attachments

integer format: int64
packages

QuotaUsedSizeAssetsPackages represents the size-based package quota usage of a user

object
all

Storage suze used for the user’s packages

integer format: int64
git

QuotaUsedSizeGit represents the size-based git (lfs) quota usage of a user

object
LFS

Storage size of the user’s Git LFS objects

integer format: int64
repos

QuotaUsedSizeRepos represents the size-based repository quota usage of a user

object
private

Storage size of the user’s private repositories

integer format: int64
public

Storage size of the user’s public repositories

integer format: int64
Example generated
{
"groups": [
{
"name": "example",
"rules": [
{
"limit": 1,
"name": "example",
"subjects": [
"example"
]
}
]
}
],
"used": {
"size": {
"assets": {
"artifacts": 1,
"attachments": {
"issues": 1,
"releases": 1
},
"packages": {
"all": 1
}
},
"git": {
"LFS": 1
},
"repos": {
"private": 1,
"public": 1
}
}
}
}

APIForbiddenError is a forbidden error response

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}