Endpoint; /me/updaterepl
Response type: json
POST body parameters required-
input
: Dict
The dict options available are,
id
: String (required)
title
: String
description
: String
imageUrl
: String
iconUrl
: String
isPrivate
: Boolean
isStarred
: Boolean
language
: String
templateLabel
: String
isServer
: Boolean
isVnc
: Boolean
domain
: String
Python example:
import requests, json
token = "XXXX"
api = "https://replit-oauth.coolcodersj.repl.co/api/v1"
r = requests.post(f"{api}/me/updaterepl", headers={
"Authorization": f"Bearer {token}"
}, data=json.dumps({
"input": {
"id" : "XXXX",
"title": "a new repl"
}
}))