Api event io get project saved sessions: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Server@tygron.com (talk | contribs)
Created page with "API Endpoint: api/event/io/get_project_saved_sessions/ Description: Get all saved Domain Sessions for a specified Project. {|class=wikitable !Index !Importance !Type !Description !Values |- | 0 | OPTIONAL | (String) | Domain Name (optional, leave empty by default) | |- | 1 | REQUIRED | (String) | Project Name | |} ===Response Codes=== {|class=wikitable !Response Code: !Description |- | 200 | SaveData[] (SaveData array) |- | 300-600 | Codes Overview |} ===Example..."
 
Server@tygron.com (talk | contribs)
No edit summary
Line 34: Line 34:
|}
|}
===Example POST===
===Example POST===
Curl example POST
<syntaxhighlight lang="text" copy>curl 'https://engine.tygron.com/api/event/io/get_project_saved_sessions/' -H 'Content-Type: application/json' -H 'Authorization: Basic <credentials>=' -d '[ "", "Project Name" ]'
</syntaxhighlight>
JavaScript example POST
<syntaxhighlight lang="text" copy>var options = {
 method: "POST",
 headers: { "Content-Type": "application/json", "Authorization": "Basic <credentials>=" },
 body: '[ "", "Project Name" ]'
};
fetch("https://engine.tygron.com/api/event/io/get_project_saved_sessions/", options)
 .then(response => response.text())
 .then(result => console.log(result))
 .catch(error => console.log('error', error));
</syntaxhighlight>
{{article end|seealso=*[[Api event io]]
{{article end|seealso=*[[Api event io]]
}}
}}


[[Category:API]]
[[Category:API]]

Revision as of 15:10, 20 November 2026

API Endpoint: api/event/io/get_project_saved_sessions/

Description: Get all saved Domain Sessions for a specified Project.

Index Importance Type Description Values
0 OPTIONAL (String) Domain Name (optional, leave empty by default)
1 REQUIRED (String) Project Name

Response Codes

Response Code: Description
200 SaveData[] (SaveData array)
300-600 Codes Overview

Example POST

See also