Constructor
new GSP()
Methods
static delete(location, optionsopt, continuationopt) → {Promise}
GSP.delete Perform a GSP delete given the location, options for authentication and response content type, and an optional continuation operator.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
location |
string | the host and target repository name |
|
options |
Object |
<optional> |
|
etag |
string | the client revision identifer to identify the transaction |
|
authorization |
string | the basic authoentication string |
|
accept |
string | the media type for the confirmation response |
|
contentDisposition |
string | the replication disposition route |
|
graph |
string | the target graph |
|
continuation |
function |
<optional> |
if supplied, used to invoke the fetch promise. |
static get(location, optionsopt, continuationopt)
GSP.get Perform a GSP delete given the location, options for authentication and response content type, and an optional continuation operator.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
location |
string | the host and target repository name |
|
options |
Object |
<optional> |
|
etag |
string | the client revision identifer to identify the transaction |
|
authorization |
string | the basic authoentication string |
|
accept |
string | the media type for the response document |
|
subject |
string | a subject constraint |
|
predicate |
string | a predicate constraint |
|
object |
string | an object constraint |
|
graph |
string | a graph constraint |
|
continuation |
function |
<optional> |
if supplied, used to invoke the fetch promise. |
static head(location, optionsopt, continuationopt)
GSP.head
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
location |
string | the host and target repository name |
|
options |
Object |
<optional> |
|
authorization |
string | the basic authoentication string |
|
continuation |
function |
<optional> |
if supplied, used to invoke the fetch promise. |
static patch(location, content, optionsopt, continuationopt)
GSP.patch Perform a GSP patch given the location, content, options for authentication and section content type, and an optional continuation operator. The content is first encoded as per the given content type and a request is issued with the given headers.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
location |
string | the host and target repository name |
|
content |
Patch | the request content |
|
options |
Object |
<optional> |
|
etag |
string | the client revision identifer to identify the transaction |
|
authorization |
string | the basic authentication string |
|
accept |
string | the media type for the response document |
|
contentDisposition |
string | the replication disposition route |
|
continuation |
function |
<optional> |
if supplied, used to invoke the fetch promise. |
static post(location, content, optionsopt, continuationopt)
GSP.post Perform a GSP post given the location, content, options for authentication, and an optional continuation operator. The content is first encoded as per the given content type and a request is issued with the given headers.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
location |
string | the host and target repository name |
|
content |
Graph | the request content |
|
options |
Object |
<optional> |
|
etag |
string | the client revision identifer to identify the transaction |
|
authorization |
string | the basic authentication string |
|
accept |
string | the media type for the response document |
|
contentDisposition |
string | the replication disposition route |
|
continuation |
function |
<optional> |
if supplied, used to invoke the fetch promise. |
static put(location, content, optionsopt, continuationopt)
GSP.put Perform a GSP put given the location, content, options for authentication, and an optional continuation operator. The content is first encoded as per the given content type and a request is issued with the given headers.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
location |
string | the host and target repository name |
|
content |
Graph | the request content |
|
options |
Object |
<optional> |
|
etag |
string | the client revision identifer to identify the transaction |
|
authorization |
string | the basic authentication string |
|
accept |
string | the media type for the response document |
|
contentDisposition |
string | the replication disposition route |
|
continuation |
function |
<optional> |
if supplied, used to invoke the fetch promise. |