Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Object types
Object operations
User operations
Group operations
Last updated Jul 16, 2025

Repository

The Repository object type represents Developer Information (DevInfo) repository entity. It is used as a container for other DevInfo nouns. atlassian:repository should be used to ingest repository-specific fields.

Payload structure

1
2
  objects {}
  ├─ schemaVersion (string) [Required]
  ├─ id (string) [Required]
  ├─ updateSequenceNumber (long) [Required]
  ├─ displayName (string) [Required]
  ├─ description (string) [Optional]
  ├─ url (string) [Required]
  ├─ createdAt (Instant (ISO8601 / RFC3339)) [Required]
  └─ createdBy (userReference) [Optional]
      ├─ accountId (string) [Optional]
      ├─ email (string) [Optional]
      └─ externalId (string) [Required]
  └─ lastUpdatedAt (Instant (ISO8601 / RFC3339)) [Required]
  └─ lastUpdatedBy (userReference) [Optional]
      ├─ accountId (string) [Optional]
      ├─ email (string) [Optional]
      └─ externalId (string) [Required]
  └─ permissions [] [Required] 
      └─ accessControls
         └─ principals
            └─type
  └─ associations [] [Optional]
      ├─ associationType (string)
      └─ values []

  atlassian:repository
  ├─ name (string) [Optional]
  ├─ forkOf (string) [Optional]
  ├─ avatar (string) [Optional]
  └─ avatarDescription (string) [Optional]

Common properties

PropertyTypeRequiredDescription
schemaVersion

string

YesThe schema version of the object.
id

string

YesThe ID of the object in the source system.
updateSequenceNumberlongYesA sequence number to compare when writing to the database. Objects are written following a last write wins strategy, therefore an object with a greater UpdateSequenceNumber is considered a more recently updated object.
displayNamestringYesThe display name of the object.
descriptionstringNoThe description of the object.
urlstringYesThe URL from the provider which the object is accessible from.
createdAtstringYes

The date the object was created.

Format: Instant (ISO8601 / RFC3339)

createdByuserReferenceNo

A reference to the user that created the object.

See userReference to learn more.

lastUpdatedAtstringYes

The date the object was last updated.

Format: Instant (ISO8601 / RFC3339)

lastUpdatedByuserReferenceNo

A reference to the user that last updated the object.

See userReference to learn more.

ownerslist<userReference>NoList of references of users that own the object.
thumbnailthumbnailNo

The thumbnail of the object.

See Thumbnail to learn more.

parentKeyentityKeyNo

The ID of the parent object. If null, it is a standalone object.

See Entity key to learn more.

containerKeyentityKeyNo

The container identifier that this object belongs to.

See Entity key to learn more.

permissionslist<Permissions>Yes

The permissions configuration of the object.

See Permissions to learn more.

associationsassociationNo

List of objects associated with the object. Generally used to link an external object to a Atlassian object.

See Association to learn more.

Repository properties

PropertyTypeRequiredDescription
namestringNo

The name of the repository.

Validation: max-length: 255

forkOfstringNo

The repository that this repository is a fork of.

Validation: max-length: 255

avatarstringNo

The repository avatar URL.

Format: Valid URL

avatarDescriptionstringNo

The repository avatar description.

Validation: max-length: 1024

Example payload

1
2
{
  "objects" : [ {
    "schemaVersion" : "2.0",
    "id" : "repo-1",
    "updateSequenceNumber" : 1,
    "displayName" : "My cool repository",
    "description" : "A really cool repository that does stuff",
    "url" : "https://bitbucket.org/atlassian/jswdd-processor/src/master/",
    "createdAt" : "2023-07-18T10:00:00.000Z",
    "lastUpdatedAt" : "2023-07-19T15:27:37.000Z",
    "permissions" : [ {
      "accessControls" : [ {
        "principals" : [ {
          "type" : "ATLASSIAN_WORKSPACE"
        } ]
      } ]
    } ],
    "atlassian:repository" : {
      "name" : "jswdd-processor",
      "forkOf" : "repo-2",
      "avatar" : "https://bitbucket.org/atlassian/avatar.png",
      "avatarDescription" : "Repository avatar"
    }
  } ]
}

Rate this page: