Skip to content

Conversation

@glaubinix
Copy link
Member

@glaubinix glaubinix commented Mar 16, 2018

  • Add endpoint to regenerate token
  • Add filters to fetch all packages
  • Add constraints to add packages to customers

@glaubinix glaubinix requested a review from naderman March 16, 2018 09:02
[
'name' => 'acme-website/package',
'versionConstraint' => '^1.0 | ^2.0', // optional version constraint to limit updades the customer receives
'expirationDate' => (new \DateTime())->add(new \DateInterval('P1Y'))->format('c'), // optional expiration date to limit updades the customer receives
Copy link
Member

Choose a reason for hiding this comment

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

Should we maybe add automatic conversion of datetime objects?

@naderman naderman merged commit ba73e96 into master Mar 16, 2018
@naderman naderman deleted the t/new-api-methods branch March 16, 2018 09:51
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.

3 participants