Menu

Resource REPL

POST/v1/installations/{installationId}/resources/{resourceId}/repl
The REPL is a command-line interface on the Store Details page that allows customers to directly interact with their resource. This endpoint is used to run commands on a specific resource.
/v1/installations/{installationId}/resources/{resourceId}/repl
const response = await fetch('/v1/installations/string/resources/string/repl', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"input": "string",
"readOnly": "true"
}),
});
const data = await response.json();
console.log(data);
Response
[]
AuthorizationUser Authentication

Default authentication mechanism

installationIdstringRequired
resourceIdstringRequired
X-Vercel-AuthstringOptional
The auth style used in the request (system, user, etc)
Idempotency-KeystringOptional
A unique key to identify a request across multiple retries

This endpoint expects an object.

inputstringRequired
readOnlybooleanOptional
Return result of running REPL command
403Operation failed because the authentication is not allowed to perform this operation
Resource REPL | Partner API