gitea/src/605d7058-345b-411e-b55d-027...
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 Hooks (Details)

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

@startuml
class Hooks  #Gold {
  + list(string $orgName, int $page = 1, ...) : ?array
  + create(string $org, string $type, ...) : ?object
  + get(string $org, int $id) : ?object
  + delete(string $org, int $id) : string
  + update(string $orgName, int $hookId, ...) : ?object
}

note right of Hooks::list
  List an organization's webhooks.

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

note right of Hooks::create
  Create a hook for an organization.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $org
    string $type
    string $url
    string $secret = ''
    bool $events = true
    bool $active = true
end note

note right of Hooks::get
  Get a hook for an organization.

  since: 3.2.0
  return: ?object
end note

note right of Hooks::delete
  Delete a hook for an organization.

  since: 3.2.0
  return: string
end note

note right of Hooks::update
  Update a hook for an organization.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $orgName
    int $hookId
    ?bool $active = null
    ?string $branchFilter = null
    ?array $config = null
    ?array $events = null
end note
 
@enduml

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

Build with Joomla Component Builder