Beanstalk HTTP client v0.1.0 Beanstalk.Repository
Manage your repositories.
Summary
Functions
Returns a full list of repositories within your Beanstalk account
Returns a paginated list of repositories within your Beanstalk account
Returns an array of repository’s branches
Create a new repository
Delete a repository
Returns a single repository matching the given repository_id
Rename a repository
Returns an array of repository’s tags
Update an existing repository
Functions
Returns a paginated list of repositories within your Beanstalk account.
Set the page number and per page.
Args:
page
- page number for pagination.per_page
- number of elements per page (default 30, maximum 50).
Returns an array of repository’s branches.
For Subversion always returns an empty array.
Args:
repository_id
- Theid
attribute from therepository
object.
Create a new repository
Args:
name
- this is the slug (e.g.my-repository
) of the repository.title
- the title of the repository (e.g. ‘My Repository’).color_label
- name of the specified color label. See Beanstalk documentation for full list.type_id
- Type of repostory. Choices aregit
orsubversion
. Default isgit
.
Delete a repository
Args:
repository_id
- Theid
attribute from therepository
object.
Returns a single repository matching the given repository_id
.
Args:
repository_id
- Theid
attribute from therepository
object.
Rename a repository.
Args:
repository_id
- Theid
attribute from therepository
object.name
- this is the slug (e.g.my-repository
) of the repository.title
- the title of the repository (e.g. ‘My Repository’).
Returns an array of repository’s tags.
For Subversion always returns an empty array
Args:
repository_id
- Theid
attribute from therepository
object.
Update an existing repository
Args:
repository_id
- Theid
attribute from therepository
object.name
- this is the slug (e.g.my-repository
) of the repository.title
- the title of the repository (e.g. ‘My Repository’).color_label
- name of the specified color label. See Beanstalk documentation for full list.type_id
- Type of repostory. Choices aregit
orsubversion
. Default isgit
.