get all properties of subscriptions

Open
#69 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
api, backend

Research direction

Start by tracing how the API handles the webspace get packet and its subscriptions dataset. Compare the currently returned gen_info data with the requested hosting, stat, prefs, disk_usage, performance, php-settings, and resource-usage properties; the work is done when a subscription can be retrieved with the full requested property set or a documented customization path.

Written by the indexing model from the issue text.

Description

Hi,
in general, the API is just returning the gen_info tags mostly, there is no way of getting a full subscription, e.g. with a packet:

<packet>
	<webspace>
		<get>
			<filter/>
			<dataset>
				<gen_info/>
				<hosting/>
				<stat/>
				<prefs/>
				<disk_usage/>
				<performance/>
				<subscriptions/>
				<php-settings/>
				<resource-usage/>
			</dataset>
		</get>
	</webspace>
</packet>

Is there any plan to extend the API to really receive all properties, or a way to customize it without re-programming nearly the whole API?

@abashurov , any idea?

Dominant language
PHP
Stars
157
Forks
79
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plesk/api-php-lib

All issues in plesk/api-php-lib

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.