CData Python Connector for Bitbucket

Build 24.0.9060

Forks

Forks of a repository.

Table Specific Information

Select

The connector uses the Bitbucket API to process WHERE clause conditions built with the below columns. Filtering on other columns is processed client-side within the connector.

  • UUID
  • Name
  • Slug
  • Description
  • IsPrivate
  • CreatedOn
  • UpdatedOn
  • SCM
  • Size
  • Langage
  • HasIssues
  • HasWiki
  • ParentUUID

The connector uses the Bitbucket API to process ORDER BY clause conditions built with the below columns. Sorting on other columns is processed client-side within the connector.

  • UUID
  • Name
  • Slug
  • Description
  • IsPrivate
  • CreatedOn
  • UpdatedOn
  • SCM
  • Size
  • Langage
  • HasIssues
  • HasWiki
  • ForkPolicy
  • ParentUUID

For example, the following query is processed server side:

SELECT * FROM Forks WHERE Slug='myrepofork'

Insert

To create a new form, you must specify the WorkspaceSlug field. If you are forking into the same workspace, you must also specify the name. You can also, optionally, specify the Description, IsPrivate, Language, HasIssues, HasWiki, and ForkPolicy fields.

A sample INSERT is included below:

INSERT INTO Forks (WorkspaceSlug, Name) VALUES ('cdataworkspace', 'newrepository')

Update

UPDATEs are not supported for this table.

Delete

DELETEs are not supported for this table.

Columns

Name Type ReadOnly References Description
UUID [KEY] String True

The repository's immutable id.

FullName String True

The concatenation of the repository owner's username and the slug name.

Name String False

Name of the repository.

Slug String True

The short label that identifies this repository.

Description String False

Description of the repository.

IsPrivate Bool False

Whether the repository is private.

CreatedOn Datetime True

When the repository was created.

UpdatedOn Datetime True

When the repository was updated.

SCM String True

Source Code Management tool.

Size Int True

Size of the repository.

Language String False

Language of the repository.

HasIssues Bool False

Whether the issue tracker for this repository is enabled.

HasWiki Bool False

Whether the wiki for this repository is enabled.

ForkPolicy String False

Rules for forking this repository.

ParentUUID String True

UUID of the parent repository of this repository.

WorkspaceSlug String False

Slug of the workspace under which this repository is located.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060