Skip to content

feat(applications): add support for new endpoints#268

Open
innomaxx wants to merge 4 commits into
masterfrom
feature/issue-170_add-applications-new-endpoints
Open

feat(applications): add support for new endpoints#268
innomaxx wants to merge 4 commits into
masterfrom
feature/issue-170_add-applications-new-endpoints

Conversation

@innomaxx

@innomaxx innomaxx commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Closes #170

Please merge only after #159

@codecov

codecov Bot commented Jun 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.41%. Comparing base (f3bca05) to head (b9ae3f4).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #268      +/-   ##
============================================
+ Coverage     93.30%   93.41%   +0.11%     
- Complexity     1840     1870      +30     
============================================
  Files           169      172       +3     
  Lines          4969     5048      +79     
============================================
+ Hits           4636     4715      +79     
  Misses          333      333              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new ApplicationApi surface to the PHP client to support Crowdin’s Applications API, including application data CRUD and application installation management (issue #170, and also covering the application data endpoints described in #159).

Changes:

  • Introduces src/CrowdinApiClient/Api/ApplicationApi.php with methods for application data (GET/POST/PUT/DELETE/PATCH) and installations (list/install/get/delete/edit).
  • Adds new models ApplicationData and ApplicationInstallation.
  • Registers the new API service on Crowdin and adds PHPUnit coverage for the new API/model behavior.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/CrowdinApiClient/Api/ApplicationApi.php New API wrapper for application data + installation endpoints.
src/CrowdinApiClient/Model/ApplicationData.php New model for arbitrary application data payloads.
src/CrowdinApiClient/Model/ApplicationInstallation.php New model for application installation resources with patchable fields.
src/CrowdinApiClient/Crowdin.php Registers application as a first-class API service.
tests/CrowdinApiClient/Api/ApplicationApiTest.php Adds API-level tests for new endpoints.
tests/CrowdinApiClient/Model/ApplicationDataTest.php Adds model test coverage for ApplicationData.
tests/CrowdinApiClient/Model/ApplicationInstallationTest.php Adds model test coverage for ApplicationInstallation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/CrowdinApiClient/Api/ApplicationApi.php
Comment thread tests/CrowdinApiClient/Api/ApplicationApiTest.php
@innomaxx

innomaxx commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator Author

@andrii-bodnar please review and merge

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.

Applications API: add support for new endpoints

2 participants