Files API (v1)

Files

Returns generated files

POSThttps://api.powerdevbox.com/v1/autoreview/file
Body
configs*file_configs (object)

configs

properties*file_properties (object)

properties

Response

default

Body
filestring

file

datastring

data

Request
const response = await fetch('https://api.powerdevbox.com/v1/autoreview/file', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "configs": {},
      "properties": {
        "definition": {},
        "displayName": "text",
        "environment": "text",
        "name": "text",
        "owner": "text"
      }
    }),
});
const data = await response.json();
Response
{
  "file": "text",
  "data": "text"
}

Next - Files

Review

Last updated