CreatePostDocumentQuery
class CreatePostDocumentQuery extends AbstractQuery
Builds URL for CreateDocument REST-API calls.
Also holds the response after being executed.
Methods
__construct(string $filepath, string $resourceHash, string $username)
The query constructor builds the url and saves it into the url property.
$this
execute(Client $httpClient)
Execute a prepared query.
string
bibliography(string $bibliographyStyleName, string $lang = 'en-US', string $bibliographyStyle = '')
No description
from AbstractQuery
Details
at line 53
__construct(string $filepath, string $resourceHash, string $username)
The query constructor builds the url and saves it into the url property.
POST /users/[username]/posts/[resourcehash]/documents/
at line 73
$this
execute(Client $httpClient)
Execute a prepared query.