gitea/src/acca507d-e632-4349-9e3a-9db.../README.md

2.3 KiB

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

class Subscriptions (Details)

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

@startuml
class Subscriptions  #Gold {
  + get(string $owner, string $repo, ...) : ?object
  + check(string $owner, string $repo, ...) : ?object
  + subscribe(string $owner, string $repo, ...) : string
  + unsubscribe(string $owner, string $repo, ...) : string
}

note right of Subscriptions::get
  Get users who subscribed on an issue.

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

note right of Subscriptions::check
  Check if user is subscribed to an issue.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $owner
    string $repo
    int $index
end note

note right of Subscriptions::subscribe
  Subscribe user to issue.

  since: 3.2.0
  return: string
  
  arguments:
    string $owner
    string $repo
    int $index
    string $user
end note

note right of Subscriptions::unsubscribe
  Unsubscribe user from issue.

  since: 3.2.0
  return: string
  
  arguments:
    string $owner
    string $repo
    int $index
    string $user
end note
 
@enduml

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

Build with Joomla Component Builder