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 raw content of an individual file, or the contents of a directory |
||
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 ResponseInterface |
||
35 | */ |
||
36 | 2 | public function get($account, $repo, $revision, $path) |
|
42 | |||
43 | /** |
||
44 | * Create file in repository |
||
45 | * $params contains the files to create, the key is the file (with path) to create and the value is the |
||
46 | * data that will be written to the file. |
||
47 | * See https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/src#post |
||
48 | * for details on what options are available |
||
49 | * @param string $account |
||
50 | * @param string $repo |
||
51 | * @param array $params |
||
52 | * @return ResponseInterface |
||
53 | */ |
||
54 | 3 | public function create($account, $repo, array $params = array()) |
|
72 | } |
||
73 |