IApiCollection.php 531 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Remote\Api;
  7. /**
  8. * Provides access to the various apis of a remote instance
  9. *
  10. * @since 13.0.0
  11. * @deprecated 23.0.0
  12. */
  13. interface IApiCollection {
  14. /**
  15. * @return IUserApi
  16. *
  17. * @since 13.0.0
  18. * @deprecated 23.0.0
  19. */
  20. public function getUserApi();
  21. /**
  22. * @return ICapabilitiesApi
  23. *
  24. * @since 13.0.0
  25. * @deprecated 23.0.0
  26. */
  27. public function getCapabilitiesApi();
  28. }