gitea/src/7f852309-122b-42fb-b2f3-ea9...
Robot 12042ffd4d
update 2024-04-07 13:20:18
2024-04-07 13:20:22 +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 update 2024-04-07 13:20:18 2024-04-07 13:20:22 +02:00

README.md

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

class Topics (Details)

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

@startuml
class Topics  #Gold {
  + get(string $owner, string $repo, ...) : ?object
  + replace(string $ownerName, string $repoName, ...) : string
  + add(string $ownerName, string $repoName, ...) : string
  + delete(string $ownerName, string $repoName, ...) : string
  + search(string $searchKeyword, int $page = 1, ...) : ?array
}

note right of Topics::get
  Get the list of topics that a repository has.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $owner
    string $repo
    int $page = 1
    int $limit = 10
end note

note right of Topics::replace
  Replace the list of topics for a repository.

  since: 3.2.0
  return: string
  
  arguments:
    string $ownerName
    string $repoName
    array $topicNames
end note

note right of Topics::add
  Add a topic to a repository.

  since: 3.2.0
  return: string
  
  arguments:
    string $ownerName
    string $repoName
    string $topicName
end note

note right of Topics::delete
  Delete a topic from a repository.

  since: 3.2.0
  return: string
  
  arguments:
    string $ownerName
    string $repoName
    string $topicName
end note

note right of Topics::search
  Search topics via keyword.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $searchKeyword
    int $page = 1
    int $limit = 10
end note
 
@enduml

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

Build with Joomla Component Builder