Api session event editor skill add: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Endpoint: api/session/event/editorskill/add/ Description: Add a new AI Skill file Item {|class=wikitable !Index !Importance !Type !Description !Values |} ===Response Codes=== {|class=wikitable !Response Code: !Description |- | 200 | Integer (Returns the ID of new Skill file item.) |- | 300-600 | Codes Overview |} ===Example POST=== Curl example POST <syntaxhighlight lang="text" copy>curl 'https://engine.tygron.com/api/session/event/editorskill/add/' -H 'Con..."
 
No edit summary
 
Line 1: Line 1:
API Endpoint: api/session/event/editorskill/add/
API Endpoint: api/session/event/editorskill/add/


Description: Add a new AI [[Skill]] file [[Item]]
Description: Add a new [[Skill]]


{|class=wikitable
{|class=wikitable
Line 16: Line 16:
|-
|-
| 200
| 200
| Integer (Returns the ID of new Skill file item.)
| Integer (Skill ID)
|-
|-
| 300-600
| 300-600

Latest revision as of 15:31, 10 November 2026

API Endpoint: api/session/event/editorskill/add/

Description: Add a new Skill

Index Importance Type Description Values

Response Codes

Response Code: Description
200 Integer (Skill ID)
300-600 Codes Overview

Example POST

Curl example POST

curl 'https://engine.tygron.com/api/session/event/editorskill/add/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d ''

JavaScript example POST

var options = {
 method: "POST",
 headers: { "Content-Type": "application/json", "Authorization": "Bearer API_TOKEN" },
 body: ''
};
fetch("https://engine.tygron.com/api/session/event/editorskill/add/", options)
 .then(response => response.text())
 .then(result => console.log(result))
 .catch(error => console.log('error', error));