Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding missing API endpoints #5

Merged
merged 5 commits into from
Oct 16, 2024
Merged

Conversation

Ente
Copy link
Contributor

@Ente Ente commented Sep 5, 2024

I've added the missing API endpoints.

Added endpoint groups:

  • Address Rewriting
  • DKIM (as requested in Feature Request: Get DKIM Key #2)
  • oAuth2
  • TLS Policy Maps
  • Status
  • Routing
  • Resources
  • Ratelimits
  • Queue Manager
  • Quarantine
  • Forwarding Hosts
  • Fail2Ban
  • DomainAdmin
  • App Passwords

I've also added some code documentation where I thought it would be useful. Some changes at the composer were also made.
My IDE had a problem with the autoloader as the MailCowAPI class has a different namespace which is not covered by the psr-4 autoloader. TL;DR: I've added the following lines within the "autoload" configuration:

       "files": ["src/MailCowAPI.php", "src/Credentials.php"],
        "classmap": ["src"]

And changing the use of Exbil\Mailcow\MailCowAPI to Exbil\MailCowAPI the other uses stay the same, like Exbil\Mailcow\Domains\Domains. Couldn't find any issues with targeted version or higher (PHP 8.2) and composer 2.7.7

@efebagri efebagri merged commit 5435700 into Exbil:development Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants