Apps And Solutions
Application
Register an Application
1 min
code examples curl location '/developer/apps?organizationid=string\&teamid=string' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ data '{"body" {"displayname" "string","type" "string\<web | backend | mobile>","listingid" "string","version" "string","isconsolecompatible"\ false,"visibility" {},"url" {},"shortdescription" "string","categories" \[],"menu" \["string",0,"string"]}}'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var raw = json stringify({ "body" { "displayname" "string", "type" "string\<web | backend | mobile>", "listingid" "string", "version" "string", "isconsolecompatible" false, "visibility" {}, "url" {}, "shortdescription" "string", "categories" \[], "menu" \[ "string", 0, "string" ] } }); var requestoptions = { method 'post', headers myheaders, body raw, redirect 'follow' }; fetch("/developer/apps?organizationid=string\&teamid=string", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("/developer/apps?organizationid=string\&teamid=string") http = net http new(url host, url port); request = net http post new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" request body = json dump({ "body" { "displayname" "string", "type" "string\<web | backend | mobile>", "listingid" "string", "version" "string", "isconsolecompatible" false, "visibility" {}, "url" {}, "shortdescription" "string", "categories" \[], "menu" \[ "string", 0, "string" ] } }) response = http request(request) puts response read body import requests import json url = "/developer/apps?organizationid=string\&teamid=string" payload = json dumps({ "body" { "displayname" "string", "type" "string\<web | backend | mobile>", "listingid" "string", "version" "string", "isconsolecompatible" false, "visibility" {}, "url" {}, "shortdescription" "string", "categories" \[], "menu" \[ "string", 0, "string" ] } }) headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("post", url, headers=headers, data=payload) print(response text) responses { "id" {} }// bad request { "error" { "description" "\[relevant error message here]", "additionalinfo" "\[relevant error message here]", "statuscode" 400, "timestamp" "2023 10 06t16 50 10 387z" }, "request" { "url" "", "method" "", "params" {}, "query" {}, "body" {} } }// org or team not found { "error" { "description" "\[relevant error message here]", "additionalinfo" "\[relevant error message here]", "statuscode" 404, "timestamp" "2023 10 06t16 50 10 387z" }, "request" { "url" "", "method" "", "params" {}, "query" {}, "body" {} } }