Skip to main content

objects

info

Objects are returned from the API in JSON format using snake case.

Providers

fieldtypedescription
githubstringGitHub vcs provider

Response

fieldtypedescription
MetaDataObject, MetaDataMetadata about the response, omittable
Data[]TArray of type T, where T is a supported Data Type
Cursorstringcursor used for Pagination, omittable
ErrorObject, ErrorResponseError response containing information about the cause, omittable

Meta Data

fieldtypedescription
Countintnumber of records in the response data array
DataTypeintObject type of data from in the response data array

Data Types

Data types is a metadata value that describes the type of data found in the

valuetype
0Unknown
1EntityDetails

Entity Details

fieldtypedescription
IdUUID, stringVaunt UUID of the entity
ProviderstringVCS provider :: GitHub
Typestringentity type :: organization, user, bot
Namestringname of the entity
DisplayNamestringdisplay name of the entity
URLstringURL of the entity
AvatarURLstringURL pointing to the entities avatar icon
Experienceint64entity experience level
ContributionsObject, ContributionSummarycontribution summary for a entity, omittable
CreatedDttmdate timeDate entity was added to Vaunt.
UpdatedDttmdate timeLast updated time to an entity in Vaunt.

Repository Details

fieldtypedescription
IdUUID, stringVaunt UUID of the repository
ProviderstringVCS provider :: GitHub
Ownerstringname of the repository owner
Namestringname of the repository
URLstringURL of the repository
Deletedbooleanwhether this repo has been deleted
Forkbooleanwhether this is a fork
Forksint64number of times this repo has been forked
Privatebooleanwhether this is a private repository
Descriptionstringthe description of the repository
Languagestringprimary language of the repository
OpenIssuesint64number of open issues
Starsint64number of stars
Sizeint64size of the repository
Licensestringthe name of the license used by the repository
DefaultBranchNamestringthe name of the default branch used by the repository
CreatedDttmdate timeDate entity was added to Vaunt.

Contributor Details

fieldtypedescription
IdUUID, stringVaunt UUID of the Contributor
ProviderstringVCS provider :: GitHub
TypestringContributor type :: organization, user, bot
Namestringname of the Contributor
DisplayNamestringdisplay name of the Contributor
URLstringURL of the Contributor
AvatarURLstringURL pointing to the Contributors avatar icon
Contributionsint64,number of contributions
CreatedDttmdate timeDate Contributor was added to Vaunt.

Contribution Summary

fieldtypedescription
Commitsuint64total commits
Issuesuint64total issues
PullRequestsuint64total pull requests
Reviewsuint64total reviews
Starsuint64total stars earned
Discussionsuint64total discussions
IssuesCloseduint64total closed issues
PullRequestsMergeduint64total pull requests merged
DiscussionsAnswereduint64total answered discussions

Achievement Awarded Details

fieldtypedescription
IdUUID, stringid of the achievement
RepositoryNamestringachievement Repository name
Namestringtotal pull requests
IconUrlstringurl of achievement icon
Descriptionstringdescription of the achievement
AwardedDttmdate timetime the achievement was awarded

Key

fieldtypedescription
Keystringthe public key for an entity used to validate JWT signatures

Key ID

fieldtypedescription
Idstringthe id (Sha256 Hash) of the public key

Token

fieldtypedescription
Tokenstringthe Vaunt token that can be used for authorization for a specific entity

Error Response

fieldtypedescription
MessagestringHuman readable error message
Codeint32,ErrorCodeinternal error code

Error Codes

valuetype
0Unknown
1Missing Required Field
2No data
3Format Error