POST /
Create a new autorun plugin on a network
Required Scope Token
bsn.api.main.autoruns.plugins.create
______________________________________________________________
Request Body
______________________________________________________________
Response
Success Response Body
201: Returns the Autorun Plugin Entity created and referenced by the Uri (given by the Location header field) in the response.
Failure
300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)
400: Either the request or request body is malformed and therefore invalid
401: The access token is invalid or not specified
403: The supplied access token, though valid, doesn't provide access to this method
406: The server cannot return the data representation that you requested (as specified in the "Accept" header)
415: The server cannot accept the data representation that you sent (as specified in the "Content-Type" header)
5XX: Any 500 code is an internal server error
DELETE /
Removes autorun plugins, specified by a filter, from a network. This allows multiple autorun plugins to be deleted at once.
Required Scope Token
bsn.api.main.autoruns.plugins.delete
______________________________________________________________
Query String Parameters
filter
string required
An expression for filtering search results.
______________________________________________________________
Response
Success Response Body
200: Returns the number of affected autorun plugins as an integer value.
Failure
300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)
400: The request is malformed and therefore invalid
401: The access token is invalid or not specified
403: The supplied access token, though valid, doesn't provide access to this method
406: The server cannot return the data representation that you requested (as specified in the "Accept" header)
5XX: Any 500 code is an internal server error
GET /Count/
Returns the number of autorun plugins on the network
Required Scope Token
bsn.api.main.autoruns.plugins.retrieve
______________________________________________________________
Query String Parameters
filter
string optional
An expression for filtering search results. The default value is null.
______________________________________________________________
Response
Success Response Body
200: The autorun plugin count is returned as an integer value.
Failure
300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)
400: The request is malformed and therefore invalid
401: The access token is invalid or not specified
403: The supplied access token, though valid, doesn't provide access to this method
406: The server cannot return the data representation that you requested (as specified in the "Accept" header)
5XX: Any 500 code is an internal server error
GET /{id:int}/
Returns the specified autorun plugin on a network
Required Scope Token
bsn.api.main.autoruns.plugins.retrieve
______________________________________________________________
Segment
id
int
A unique identifier for an autorun plugin instance
______________________________________________________________
Response
Success Response Body
200: Returns the Autorun Plugin Entity
Failure
300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)
400: The request is malformed and therefore invalid
401: The access token is invalid or not specified
403: The supplied access token, though valid, doesn't provide access to this method
404: An autorun plugin with the specified id does not exist
406: The server cannot return the data representation that you requested (as specified in the "Accept" header)
5XX: Any 500 code is an internal server error
PUT /{id:int}/
Update a specified autorun plugin on a network
Required Scope Token
bsn.api.main.autoruns.plugins.update
______________________________________________________________
Segment
id
int
A unique identifier for an autorun plugin instance
______________________________________________________________
Request Body
______________________________________________________________
Response
Success
204: The specified autorun plugin has been updated on the network
Failure
300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)
400: Either the request or request body is malformed and therefore invalid
401: The access token is invalid or not specified
403: The supplied access token, though valid, doesn't provide access to this method
404: The server cannot find the requested resource
406: The server cannot return the data representation that you requested (as specified in the "Accept" header)
412: Precondition failed (the resource/autorun plugin changed since the time specified in the “If-Unmodified-Since” header value)
415: The server cannot accept the data representation that you sent (as specified in the "Content-Type" header)
5XX: Any 500 code is an internal server error
DELETE /{id:int}/
Remove a specified autorun plugin from a network
Required Scope Token
bsn.api.main.autoruns.plugins.delete
______________________________________________________________
Segment
id
int
A unique identifier for an autorun plugin instance
______________________________________________________________
Response
Success
204: The specified autorun plugin has been removed from the network
Failure
300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)
400: The request is malformed and therefore invalid
401: The access token is invalid or not specified
403: The supplied access token, though valid, doesn't provide access to this method
404: The server cannot find the requested resource
406: The server cannot return the data representation that you requested (as specified in the "Accept" header)
412: Precondition failed (the resource changed since the time specified in the “If-Unmodified-Since” header value)
5XX: Any 500 code is an internal server error