We have detected an error in your notification set-up
(Event-ID dab39dc24f564ec7bd4628d1305fd03c).
Currently, we cannot inform you about inspection progress.
Please check that the user
557058:bca11929-8c2d-43f2-8a82-c5416880d395 still has access to your repository or
update the API account.
| 1 | <?php |
||
| 24 | class Src extends API\Api |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * Get a list of repo source |
||
| 28 | * |
||
| 29 | * @access public |
||
| 30 | * @param string $account The team or individual account owning the repository. |
||
| 31 | * @param string $repo The repository identifier. |
||
| 32 | * @param string $revision A value representing the revision or branch to list. |
||
| 33 | * @param string $path The path can be a filename or a directory path. |
||
| 34 | * @return MessageInterface |
||
| 35 | */ |
||
| 36 | 1 | public function get($account, $repo, $revision, $path) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * Get raw content of an individual file |
||
| 45 | * |
||
| 46 | * @access public |
||
| 47 | * @param string $account The team or individual account owning the repository. |
||
| 48 | * @param string $repo The repository identifier. |
||
| 49 | * @param string $revision A value representing the revision or branch to list. |
||
| 50 | * @param string $path The path can be a filename or a directory path. |
||
| 51 | * @return MessageInterface |
||
| 52 | */ |
||
| 53 | 1 | public function raw($account, $repo, $revision, $path) |
|
| 59 | |||
| 60 | /** |
||
| 61 | * Create file in repository |
||
| 62 | * $params contains the files to create, the key is the file (with path) to create and the value is the |
||
| 63 | * data that will be written to the file. |
||
| 64 | * See https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/src#post |
||
| 65 | * for details on what options are available |
||
| 66 | * @param $account |
||
| 67 | * @param $repo |
||
| 68 | * @param array $params |
||
| 69 | * @return MessageInterface |
||
| 70 | */ |
||
| 71 | 3 | public function create($account, $repo, array $params = array()) |
|
| 89 | } |
||
| 90 |