Repository¶
Overview¶
Repository requests can be used to retrieve Repository information, such as directories or paths, using the GET
request type.
Repository requests can also be used for adding history entries for Jobs, Workers or the Repository using the POST
request type.
PUT
and DELETE
are not supported and sending a message of either of these types will result in a 501 Not Implemented Error message.
For more about these request types and their uses see the Request Formats and Responses documentation.
Requests and Responses¶
List of possible requests for the Repository.
Get Root Directory¶
URL: |
http://hostname:portnumber/api/repository?Directory=root |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the root Directory, or a message stating that the Directory is not set. |
Possible Errors: |
|
Get Bin Directory¶
URL: |
http://hostname:portnumber/api/repository?Directory=bin |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the bin Directory, or a message stating that the Directory is not set. |
Possible Errors: |
|
Get Settings Directory¶
URL: |
http://hostname:portnumber/api/repository?Directory=settings |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘settings’ Directory, or a message stating that the Directory is not set. |
Possible Errors: |
|
Get Events Directory¶
URL: |
http://hostname:portnumber/api/repository?Directory=events |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘events’ Directory, or a message stating that the Directory is not set. |
Possible Errors: |
|
Get Custom Events Directory¶
URL: |
http://hostname:portnumber/api/repository?Directory=customevents |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘custom events’ Directory, or a message stating that the Directory is not set. |
Possible Errors: |
|
Get Plugins Directory¶
URL: |
http://hostname:portnumber/api/repository?Directory=plugins |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘plugins’ Directory, or a message stating that the Directory is not set. |
Possible Errors: |
|
Get Custom Plugins Directory¶
URL: |
http://hostname:portnumber/api/repository?Directory=customplugins |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘custom plugins’ Directory, or a message stating that the Directory is not set. |
Possible Errors: |
|
Get Scripts Directory¶
URL: |
http://hostname:portnumber/api/repository?Directory=scripts |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘scripts’ Directory, or a message stating that the Directory is not set. |
Possible Errors: |
|
Get Custom Scripts Directory¶
URL: |
http://hostname:portnumber/api/repository?Directory=customscripts |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘custom scripts’ Directory, or a message stating that the Directory is not set. |
Possible Errors: |
|
Get Auxiliary Path¶
URL: |
http://hostname:portnumber/api/repository?AuxiliaryPath=job&JobID=validJobID |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the Auxiliary Path for the provided Job ID, or a message stating that the Path is not set. |
Possible Errors: |
|
Get Alternate Auxiliary Path¶
URL: |
http://hostname:portnumber/api/repository?AuxiliaryPath=alternate |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘alternate’ Auxiliary Path, or a message stating that the Path is not set. |
Possible Errors: |
|
Get Windows Alternate Auxiliary Path¶
URL: |
http://hostname:portnumber/api/repository?AuxiliaryPath=windowsalternate |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘Windows alternate’ Auxiliary Path, or a message stating that the path is not set. |
Possible Errors: |
|
Get Linux Alternate Auxiliary Path¶
URL: |
http://hostname:portnumber/api/repository?AuxiliaryPath=linuxalternate |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘Linux alternate’ Auxiliary Path, or a message stating that the Path is not set. |
Possible Errors: |
|
Get Mac Alternate Auxiliary Path¶
URL: |
http://hostname:portnumber/api/repository?AuxiliaryPath=macalternate |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the ‘Mac alternate’ Auxiliary Path, or a message stating that the Path is not set. |
Possible Errors: |
|
Get Maximum Priority¶
URL: |
http://hostname:portnumber/api/maximumpriority |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the Maximum Priority. |
Possible Errors: |
500 Internal Server Error: An exception occurred within the Deadline. |
Get Maximum Job Tasks¶
URL: |
http://hostname:portnumber/api/jobtasklimit |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the maximum number of Tasks per Job. |
Possible Errors: |
500 Internal Server Error: An exception occurred within the Deadline. |
Path Mapping¶
URL: |
http://hostname:portnumber/api/mappedpaths |
Request Type: |
POST |
Message Body: |
|
Response: |
JSON Object containing the updated paths. |
Possible Errors: |
500 Internal Server Error: An exception occurred within the Deadline. |
Get Plugin Names¶
URL: |
http://hostname:portnumber/api/plugins |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the Plugin Names |
Possible Errors: |
500 Internal Server Error: An exception occurred within the Deadline. |
Get Plugin Event Names¶
URL: |
http://hostname:portnumber/api/plugins?EventNames=true |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON Object containing the Plugin Event Names |
Possible Errors: |
500 Internal Server Error: An exception occurred within the Deadline. |
Get Database Connection String¶
URL: |
http://hostname:portnumber/api/repository?DatabaseConnection= |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
The Database Connection string in the form of: (server:port,server:port…). |
Possible Errors: |
500 Internal Server Error: An exception occurred within the Deadline. |
Add Job History Entry¶
URL: |
http://hostname:portnumber/api/repository |
Request Type: |
POST |
Message Body: |
|
Response: |
“Success” |
Possible Errors: |
|
Add Worker History Entry¶
URL: |
http://hostname:portnumber/api/repository |
Request Type: |
POST |
Message Body: |
|
Response: |
“Success” |
Possible Errors: |
|
Add Repository History Entry¶
URL: |
http://hostname:portnumber/api/repository |
Request Type: |
POST |
Message Body: |
|
Response: |
“Success” |
Possible Errors: |
|