PreviewApiKeyExtension
trait PreviewApiKeyExtension
PreviewApiKeyExtension trait.
This extension is supposed to be applied to Client class which provides a fetchResource
method.
Methods
getPreviewApiKey(string $spaceId, string $previewApiKeyId)
Returns a PreviewApiKey resource.
getPreviewApiKeys(string $spaceId, Query $query = null)
Returns a ResourceArray object containing PreviewApiKey resources.
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
No description
Details
at line 33
getPreviewApiKey(string $spaceId, string $previewApiKeyId)
Returns a PreviewApiKey resource.
at line 46
getPreviewApiKeys(string $spaceId, Query $query = null)
Returns a ResourceArray object containing PreviewApiKey resources.