open-insight/FRAMEWORKS/APPROW/SYSENV%003ASRP_HTTP_FRAMEWORK_TEMPLATE_API_BODY.json
2024-03-25 15:15:48 -07:00

31 lines
1.2 KiB
JSON

{
"header": {
"version": 1,
"type": "record",
"approw-key": "SRP_HTTP_FRAMEWORK_TEMPLATE_API_BODY"
},
"body": {
"record1": {
"<1>": "",
"<2>": "#pragma precomp SRP_PreCompiler",
"<3>": "",
"<4>": "$insert APP_INSERTS",
"<5>": "$insert API_SETUP",
"<6>": "$insert HTTP_INSERTS",
"<7>": "",
"<8>": "GoToAPI else",
"<9>": " // The specific resource endpoint doesn't have a API handler yet.",
"<10>": " HTTP_Services('SetResponseStatus', 204, 'This is a valid endpoint but a web API handler has not yet been created.')",
"<11>": "end",
"<12>": "",
"<13>": "Return Response OR ''",
"<14>": "",
"<15>": "",
"<16>": "////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////",
"<17>": "// Endpoint Handlers",
"<18>": "////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////",
"<19>": "",
"<20>": ""
}
}
}