Api session gpu: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
===GET gpu=== | ===GET gpu=== | ||
API Endpoint: api/session/gpu/ | API Endpoint: api/session/gpu/ | ||
'''Parameters:''' None | '''Parameters:''' None | ||
| Line 10: | Line 8: | ||
API Endpoint: api/session/gpu/jobs | API Endpoint: api/session/gpu/jobs | ||
Content-Type: application/ | Content-Type: application/json | ||
'''Parameters:''' | '''Parameters:''' | ||
| Line 22: | Line 20: | ||
| Query | | Query | ||
| [[Format]] | | [[Format]] | ||
| | | JSON | ||
|- | |- | ||
| cancel | | cancel | ||
| Line 33: | Line 31: | ||
API Endpoint: api/session/gpu/jobs | API Endpoint: api/session/gpu/jobs | ||
Content-Type: application/ | Content-Type: application/x-www-form-urlencoded | ||
'''Parameters:''' | '''Parameters:''' | ||
| Line 45: | Line 43: | ||
| Query | | Query | ||
| [[Format]] | | [[Format]] | ||
| | | HTML | ||
|- | |- | ||
| cancel | | cancel | ||
Revision as of 07:14, 7 July 2026
API Endpoint: api/session/gpu/
GET gpu
API Endpoint: api/session/gpu/
Parameters: None
POST jobs
API Endpoint: api/session/gpu/jobs
Content-Type: application/json
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| f | Query | Format | JSON |
| cancel | Query | long | -1 |
POST jobs
API Endpoint: api/session/gpu/jobs
Content-Type: application/x-www-form-urlencoded
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| f | Query | Format | HTML |
| cancel | Query | long | -1 |