StillController
Last updated: 2025/3/7 11:58:11 | ||
Path To | Name | Description/Function |
/api/still | /imageformat | Get the image format. |
/api/still | /jpegquality | Get the JPEG quality. |
/api/still | /pathtemplate | Get the path template. |
/api/still | /rdi/actualrate | Gets the Actual RDI rate in seconds per still. |
/api/still | /rdi/rate | Gets the RDI rate in seconds per still. |
/api/still | /hascapturefailed | Gets a value indicating whether the still capture has failed. |
/api/still | /ismonoenabled | Gets whether monochrome is enabled. |
/api/still | /ismonoenabled/{ismonoenabled} | Enable/disable monochrome. |
/api/still | /rdi/isrdiing | IsRDIing. |
/api/still | /isstillrequestpending | Gets a value indicating whether a still request is pending. |
/api/still | /reset | Reset the image reader in the event of a failure. |
/api/still | /directorytemplate | Gets the directory name. |
/api/still | /directorytemplate/{template} | Set the still directory template (Tags example: {yyyy}{MM}{dd}). |
/api/still | /filenametemplate | Gets the file name. |
/api/still | /filenametemplate/{template} | Set the still filename template (Tags example: {hh}{mm}{ss}). |
/api/still | /imageformat/{value} | Set the image format used for saving stills. |
/api/still | /jpegquality/{value} | Set the JPEG quality. |
/api/still | /pathtemplate | Set the path template. |
/api/still | /rdi/rate/{rate} | Set RDI rate. |
/api/still | /rdi/start | Start RDI. |
/api/still | /rdi/startwithfeedback | Start RDI. |
/api/still | /rdi/stop | RDI service. |
/api/still | /take | Take a still with the camera. |
/api/still | /takeanddispose | Take a still with the camera. |
/api/still | /takeandftp | Take a still with the camera and upload it to ftp. |
/api/still | /takeandget | Take a still with the camera. |
/api/still | /takeandsavewithfeedback | Take a still with the camera with the current path template. (returns if the storage is full or not). |
/api/still | /takeandsave | Take a still with the camera with the current path template. |
/api/still | /takeandsave/{filename} | Take a still with the camera with the supplied filename. |
/api/still | /takeandsave | Take a still with the camera with the supplied path template. |
/imageformat
Function | Get the image format. |
---|---|
Method | Get |
Response | The image format used for saving stills. |
Example |
CODE
|
/jpegquality
Function | Get the JPEG quality. |
---|---|
Method | Get |
Response | The quality of the JPEG. |
Example |
CODE
|
/pathtemplate
Function | Get the path template. |
---|---|
Method | Get |
Response | The template of the still path. |
Example |
CODE
|
/rdi/actualrate
Function | Gets the Actual RDI rate in seconds per still. |
---|---|
Method | Get |
Response | Actual RDI rate. |
Example |
CODE
|
/rdi/rate
Function | Gets the RDI rate in seconds per still. |
---|---|
Method | Get |
Response | RDI rate. |
Example |
CODE
|
/hascapturefailed
Function | Gets a value indicating whether the still capture has failed. |
---|---|
Method | Get |
Response | True if the previous still still capture has failed. |
Example |
CODE
|
/ismonoenabled
Function | Gets whether monochrome is enabled. |
---|---|
Method | Get |
Response | If mono is enabled or not. |
Example |
CODE
|
/ismonoenabled/{ismonoenabled}
Function | Enable/disable monochrome. |
---|---|
Method | Get |
Response | true or false. |
Example |
CODE
|
/rdi/isrdiing
Function | IsRDIing. |
---|---|
Method | Get |
Response | Isrdiing. |
Example |
CODE
|
/isstillrequestpending
Function | Gets a value indicating whether a still request is pending. |
---|---|
Method | Get |
Response | True if a still request is still pending. |
Example |
CODE
|
/reset
Function | Reset the image reader in the event of a failure. |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|
/directorytemplate
Function | Gets the directory name. |
---|---|
Method | Get |
Response | Directory template. |
Example |
CODE
|
/directorytemplate/{template}
Function | Set the still directory template (Tags example: {yyyy}{MM}{dd}). |
---|---|
Method | Get |
Response | The template. |
Example |
CODE
|
/filenametemplate
Function | Gets the file name. |
---|---|
Method | Get |
Response | Filename template. |
Example |
CODE
|
/filenametemplate/{template}
Function | Set the still filename template (Tags example: {hh}{mm}{ss}). |
---|---|
Method | Get |
Response | The template. |
Example |
CODE
|
/imageformat/{value}
Function | Set the image format used for saving stills. |
---|---|
Method | Get |
Response | The image format to set. |
Example |
CODE
|
/jpegquality/{value}
Function | Set the JPEG quality. |
---|---|
Method | Get |
Response | Value of the quality to set. |
Example |
CODE
|
/pathtemplate
Function | Set the path template. |
---|---|
Method | Post |
Body |
CODE
|
Response | A representing the asynchronous operation. |
Explanation | The filename formatting, see the available formats below:
|
Example | Example 1
CODE
Output
CODE
|
/rdi/rate/{rate}
Function | Set RDI rate. |
---|---|
Method | Get |
Response | RDI rate. |
Example |
CODE
|
/rdi/start
Function | Start RDI. |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|
/rdi/startwithfeedback
Function | Start RDI. |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|
/rdi/stop
Function | RDI service. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/take
Function | Take a still with the camera. |
---|---|
Method | Get |
Response | The byte array of the still. |
Example |
CODE
|
/takeanddispose
Function | Take a still with the camera. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/takeandftp
Function | Take a still with the camera and upload it to ftp. |
---|---|
Method | Post |
Body |
CODE
|
Response | The byte array of the still. |
Explanation | Instructs the camera to take a still and upload it to the ftp server described in the post body. |
Example |
CODE
|
/takeandget
Function | Take a still with the camera. |
---|---|
Method | Get |
Response | The byte array of the still. |
Example |
CODE
|
/takeandsavewithfeedback
Function | Take a still with the camera with the current path template. (returns if the storage is full or not). |
---|---|
Method | Get |
Response | Path of the still taken. |
Example |
CODE
|
/takeandsave
Function | Take a still with the camera with the current path template. |
---|---|
Method | Get |
Response | Path of the still taken. |
Example |
CODE
|
/takeandsave/{filename}
Function | Take a still with the camera with the supplied filename. |
---|---|
Method | Get |
Response | Path of the still taken. |
Example |
CODE
|
/takeandsave
Function | Take a still with the camera with the supplied path template. |
---|---|
Method | Post |
Body | { "Template": "{string}" } |
Response | Path of the still taken. |
Explanation | Using the command:
CODE
With the template provided above, will give the result provided below. |
Example | Example 1
CODE
CODE
Results
CODE
|