gitea/src/fd560f3e-ce19-474f-86ca-1fb...
Robot 71bd39cb1e
update 2023-10-10 10:16:07
2023-10-10 11:39:23 +02:00
..
README.md update 2023-10-10 10:16:07 2023-10-10 11:39:23 +02:00
code.php first commit 2023-04-15 17:08:07 +02:00
code.power first commit 2023-04-15 17:08:07 +02:00
settings.json first commit 2023-04-15 17:08:07 +02:00

README.md

██████╗  ██████╗ ██╗    ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║    ██║██╔════╝██╔══██╗
██████╔╝██║   ██║██║ █╗ ██║█████╗  ██████╔╝
██╔═══╝ ██║   ██║██║███╗██║██╔══╝  ██╔══██╗
██║     ╚██████╔╝╚███╔███╔╝███████╗██║  ██║
╚═╝      ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝

class Repos (Details)

namespace: VDM\Joomla\Gitea\User extends: Api

@startuml
class Repos  #Gold {
  + create(string $name, ?string $description = null, ...) : ?object
  + list(int $page = 1, int $limit = 10) : ?array
  + star(string $owner, string $repo) : string
  + unstar(string $owner, string $repo) : string
}

note right of Repos::create
  Create a repository for the authenticated user.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $name
    ?string $description = null
    bool $private = false
    bool $autoInit = false
    ?string $defaultBranch = null
    ?string $gitignores = null
    ?string $issueLabels = null
    ?string $license = null
    ?string $readme = null
    ?bool $template = null
    ?string $trustModel = null
end note

note right of Repos::list
  List the repos that the authenticated user owns.

  since: 3.2.0
  return: ?array
end note

note right of Repos::star
  Star the given repo for the authenticated user.

  since: 3.2.0
  return: string
end note

note right of Repos::unstar
  Unstar the given repo for the authenticated user.

  since: 3.2.0
  return: string
end note
 
@enduml

     ██╗ ██████╗██████╗
     ██║██╔════╝██╔══██╗
     ██║██║     ██████╔╝
██   ██║██║     ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
 ╚════╝  ╚═════╝╚═════╝

Build with Joomla Component Builder