{ "openapi": "3.0.3", "info": { "title": "Elysia Documentation", "description": "Development documentation", "version": "0.0.0" }, "paths": { "/api/pengaduan/category": { "get": { "operationId": "getApiPengaduanCategory", "tags": [ "mcp" ], "summary": "List Kategori Pengaduan", "description": "tool untuk mendapatkan list kategori pengaduan", "responses": { "200": {} } } }, "/api/pengaduan/category/create": { "post": { "parameters": [], "operationId": "postApiPengaduanCategoryCreate", "tags": [ "pengaduan" ], "summary": "buat kategori pengaduan", "description": "tool untuk membuat kategori pengaduan", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "name": { "minLength": 1, "error": "name harus diisi", "type": "string" } }, "required": [ "name" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "name": { "minLength": 1, "error": "name harus diisi", "type": "string" } }, "required": [ "name" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "name": { "minLength": 1, "error": "name harus diisi", "type": "string" } }, "required": [ "name" ] } } } }, "responses": { "200": {} } } }, "/api/pengaduan/category/update": { "post": { "parameters": [], "operationId": "postApiPengaduanCategoryUpdate", "tags": [ "pengaduan" ], "summary": "update kategori pengaduan", "description": "tool untuk update kategori pengaduan", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "name": { "minLength": 1, "error": "name harus diisi", "type": "string" } }, "required": [ "id", "name" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "name": { "minLength": 1, "error": "name harus diisi", "type": "string" } }, "required": [ "id", "name" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "name": { "minLength": 1, "error": "name harus diisi", "type": "string" } }, "required": [ "id", "name" ] } } } }, "responses": { "200": {} } } }, "/api/pengaduan/category/delete": { "post": { "parameters": [], "operationId": "postApiPengaduanCategoryDelete", "tags": [ "pengaduan" ], "summary": "delete kategori pengaduan", "description": "tool untuk delete kategori pengaduan", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" } }, "required": [ "id" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" } }, "required": [ "id" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" } }, "required": [ "id" ] } } } }, "responses": { "200": {} } } }, "/api/pengaduan/create": { "post": { "parameters": [], "operationId": "postApiPengaduanCreate", "tags": [ "mcp" ], "summary": "Create Pengaduan Warga", "description": "tool untuk membuat pengaduan warga", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "title": { "minLength": 1, "error": "title harus diisi", "type": "string" }, "detail": { "minLength": 1, "error": "detail harus diisi", "type": "string" }, "location": { "minLength": 1, "error": "location harus diisi", "type": "string" }, "image": {}, "idCategory": { "minLength": 1, "error": "idCategory harus diisi", "type": "string" }, "idWarga": { "minLength": 1, "error": "idWarga harus diisi", "type": "string" }, "phone": { "minLength": 1, "error": "phone harus diisi", "type": "string" } }, "required": [ "title", "detail", "location", "image", "idCategory", "idWarga", "phone" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "title": { "minLength": 1, "error": "title harus diisi", "type": "string" }, "detail": { "minLength": 1, "error": "detail harus diisi", "type": "string" }, "location": { "minLength": 1, "error": "location harus diisi", "type": "string" }, "image": {}, "idCategory": { "minLength": 1, "error": "idCategory harus diisi", "type": "string" }, "idWarga": { "minLength": 1, "error": "idWarga harus diisi", "type": "string" }, "phone": { "minLength": 1, "error": "phone harus diisi", "type": "string" } }, "required": [ "title", "detail", "location", "image", "idCategory", "idWarga", "phone" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "title": { "minLength": 1, "error": "title harus diisi", "type": "string" }, "detail": { "minLength": 1, "error": "detail harus diisi", "type": "string" }, "location": { "minLength": 1, "error": "location harus diisi", "type": "string" }, "image": {}, "idCategory": { "minLength": 1, "error": "idCategory harus diisi", "type": "string" }, "idWarga": { "minLength": 1, "error": "idWarga harus diisi", "type": "string" }, "phone": { "minLength": 1, "error": "phone harus diisi", "type": "string" } }, "required": [ "title", "detail", "location", "image", "idCategory", "idWarga", "phone" ] } } } }, "responses": { "200": {} } } }, "/api/pengaduan/update-status": { "post": { "parameters": [], "operationId": "postApiPengaduanUpdate-status", "tags": [ "pengaduan" ], "summary": "Update status pengaduan", "description": "tool untuk update status pengaduan", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "status": { "minLength": 1, "error": "status harus diisi", "type": "string" }, "keterangan": {}, "idUser": { "minLength": 1, "error": "idUser harus diisi", "type": "string" } }, "required": [ "id", "status", "keterangan", "idUser" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "status": { "minLength": 1, "error": "status harus diisi", "type": "string" }, "keterangan": {}, "idUser": { "minLength": 1, "error": "idUser harus diisi", "type": "string" } }, "required": [ "id", "status", "keterangan", "idUser" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "status": { "minLength": 1, "error": "status harus diisi", "type": "string" }, "keterangan": {}, "idUser": { "minLength": 1, "error": "idUser harus diisi", "type": "string" } }, "required": [ "id", "status", "keterangan", "idUser" ] } } } }, "responses": { "200": {} } } }, "/api/pengaduan/detail": { "get": { "operationId": "getApiPengaduanDetail", "tags": [ "mcp" ], "summary": "Detail Pengaduan Warga", "description": "tool untuk mendapatkan detail pengaduan warga / history pengaduan / mengecek status pengaduan", "responses": { "200": {} } } }, "/api/pengaduan/": { "get": { "operationId": "getApiPengaduan", "tags": [ "mcp" ], "summary": "List Pengaduan Warga", "description": "tool untuk mendapatkan list pengaduan warga", "responses": { "200": {} } } }, "/api/pelayanan/category": { "get": { "operationId": "getApiPelayananCategory", "tags": [ "mcp" ], "summary": "List Kategori Pelayanan Surat", "description": "tool untuk mendapatkan list kategori pelayanan surat", "responses": { "200": {} } } }, "/api/pelayanan/category/create": { "post": { "parameters": [], "operationId": "postApiPelayananCategoryCreate", "tags": [ "pelayanan" ], "summary": "buat kategori pelayanan surat", "description": "tool untuk membuat kategori pelayanan surat", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "name": { "minLength": 1, "error": "name harus diisi", "type": "string" }, "syaratDokumen": { "type": "array", "items": { "minLength": 1, "error": "syaratDokumen harus diisi", "type": "string" } }, "dataText": { "type": "array", "items": { "minLength": 1, "error": "dataText harus diisi", "type": "string" } } }, "required": [ "name", "syaratDokumen", "dataText" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "name": { "minLength": 1, "error": "name harus diisi", "type": "string" }, "syaratDokumen": { "type": "array", "items": { "minLength": 1, "error": "syaratDokumen harus diisi", "type": "string" } }, "dataText": { "type": "array", "items": { "minLength": 1, "error": "dataText harus diisi", "type": "string" } } }, "required": [ "name", "syaratDokumen", "dataText" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "name": { "minLength": 1, "error": "name harus diisi", "type": "string" }, "syaratDokumen": { "type": "array", "items": { "minLength": 1, "error": "syaratDokumen harus diisi", "type": "string" } }, "dataText": { "type": "array", "items": { "minLength": 1, "error": "dataText harus diisi", "type": "string" } } }, "required": [ "name", "syaratDokumen", "dataText" ] } } } }, "responses": { "200": {} } } }, "/api/pelayanan/category/update": { "post": { "parameters": [], "operationId": "postApiPelayananCategoryUpdate", "tags": [ "pelayanan" ], "summary": "update kategori pelayanan surat", "description": "tool untuk update kategori pelayanan surat", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "name": { "minLength": 1, "error": "name harus diisi", "type": "string" }, "syaratDokumen": { "type": "array", "items": { "minLength": 1, "error": "syaratDokumen harus diisi", "type": "string" } }, "dataText": { "type": "array", "items": { "minLength": 1, "error": "dataText harus diisi", "type": "string" } } }, "required": [ "id", "name", "syaratDokumen", "dataText" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "name": { "minLength": 1, "error": "name harus diisi", "type": "string" }, "syaratDokumen": { "type": "array", "items": { "minLength": 1, "error": "syaratDokumen harus diisi", "type": "string" } }, "dataText": { "type": "array", "items": { "minLength": 1, "error": "dataText harus diisi", "type": "string" } } }, "required": [ "id", "name", "syaratDokumen", "dataText" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "name": { "minLength": 1, "error": "name harus diisi", "type": "string" }, "syaratDokumen": { "type": "array", "items": { "minLength": 1, "error": "syaratDokumen harus diisi", "type": "string" } }, "dataText": { "type": "array", "items": { "minLength": 1, "error": "dataText harus diisi", "type": "string" } } }, "required": [ "id", "name", "syaratDokumen", "dataText" ] } } } }, "responses": { "200": {} } } }, "/api/pelayanan/category/delete": { "post": { "parameters": [], "operationId": "postApiPelayananCategoryDelete", "tags": [ "pelayanan" ], "summary": "delete kategori pelayanan surat", "description": "tool untuk delete kategori pelayanan surat", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" } }, "required": [ "id" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" } }, "required": [ "id" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" } }, "required": [ "id" ] } } } }, "responses": { "200": {} } } }, "/api/pelayanan/": { "get": { "operationId": "getApiPelayanan", "tags": [ "mcp" ], "summary": "List Ajuan Pelayanan Surat", "description": "tool untuk mendapatkan list ajuan pelayanan surat", "responses": { "200": {} } } }, "/api/pelayanan/detail": { "get": { "parameters": [ { "schema": { "type": "string", "minLength": 1, "error": "id harus diisi" }, "in": "query", "name": "id", "required": true } ], "operationId": "getApiPelayananDetail", "tags": [ "mcp" ], "summary": "Detail Ajuan Pelayanan Surat", "description": "tool untuk mendapatkan detail ajuan pelayanan surat", "responses": { "200": {} } } }, "/api/pelayanan/create": { "post": { "parameters": [], "operationId": "postApiPelayananCreate", "tags": [ "mcp" ], "summary": "Create Pengajuan Pelayanan Surat", "description": "tool untuk membuat pengajuan pelayanan surat", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "idCategory": { "minLength": 1, "error": "idCategory harus diisi", "type": "string" }, "idWarga": { "minLength": 1, "error": "idWarga harus diisi", "type": "string" }, "phone": { "minLength": 1, "error": "phone harus diisi", "type": "string" }, "dataText": { "type": "array", "items": { "type": "object", "properties": { "jenis": { "minLength": 1, "error": "jenis harus diisi", "type": "string" }, "value": { "minLength": 1, "error": "value harus diisi", "type": "string" } }, "required": [ "jenis", "value" ] } }, "syaratDokumen": { "type": "array", "items": { "type": "object", "properties": { "jenis": { "minLength": 1, "error": "jenis harus diisi", "type": "string" }, "value": { "minLength": 1, "error": "value harus diisi", "type": "string" } }, "required": [ "jenis", "value" ] } } }, "required": [ "idCategory", "idWarga", "phone", "dataText", "syaratDokumen" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "idCategory": { "minLength": 1, "error": "idCategory harus diisi", "type": "string" }, "idWarga": { "minLength": 1, "error": "idWarga harus diisi", "type": "string" }, "phone": { "minLength": 1, "error": "phone harus diisi", "type": "string" }, "dataText": { "type": "array", "items": { "type": "object", "properties": { "jenis": { "minLength": 1, "error": "jenis harus diisi", "type": "string" }, "value": { "minLength": 1, "error": "value harus diisi", "type": "string" } }, "required": [ "jenis", "value" ] } }, "syaratDokumen": { "type": "array", "items": { "type": "object", "properties": { "jenis": { "minLength": 1, "error": "jenis harus diisi", "type": "string" }, "value": { "minLength": 1, "error": "value harus diisi", "type": "string" } }, "required": [ "jenis", "value" ] } } }, "required": [ "idCategory", "idWarga", "phone", "dataText", "syaratDokumen" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "idCategory": { "minLength": 1, "error": "idCategory harus diisi", "type": "string" }, "idWarga": { "minLength": 1, "error": "idWarga harus diisi", "type": "string" }, "phone": { "minLength": 1, "error": "phone harus diisi", "type": "string" }, "dataText": { "type": "array", "items": { "type": "object", "properties": { "jenis": { "minLength": 1, "error": "jenis harus diisi", "type": "string" }, "value": { "minLength": 1, "error": "value harus diisi", "type": "string" } }, "required": [ "jenis", "value" ] } }, "syaratDokumen": { "type": "array", "items": { "type": "object", "properties": { "jenis": { "minLength": 1, "error": "jenis harus diisi", "type": "string" }, "value": { "minLength": 1, "error": "value harus diisi", "type": "string" } }, "required": [ "jenis", "value" ] } } }, "required": [ "idCategory", "idWarga", "phone", "dataText", "syaratDokumen" ] } } } }, "responses": { "200": {} } } }, "/api/pelayanan/update-status": { "post": { "parameters": [], "operationId": "postApiPelayananUpdate-status", "tags": [ "mcp" ], "summary": "Update status pengajuan pelayanan surat", "description": "tool untuk update status pengajuan pelayanan surat", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "status": { "minLength": 1, "error": "status harus diisi", "type": "string" }, "keterangan": { "minLength": 1, "error": "keterangan harus diisi", "type": "string" }, "idUser": { "minLength": 1, "error": "idUser harus diisi", "type": "string" } }, "required": [ "id", "status", "keterangan", "idUser" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "status": { "minLength": 1, "error": "status harus diisi", "type": "string" }, "keterangan": { "minLength": 1, "error": "keterangan harus diisi", "type": "string" }, "idUser": { "minLength": 1, "error": "idUser harus diisi", "type": "string" } }, "required": [ "id", "status", "keterangan", "idUser" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "id": { "minLength": 1, "error": "id harus diisi", "type": "string" }, "status": { "minLength": 1, "error": "status harus diisi", "type": "string" }, "keterangan": { "minLength": 1, "error": "keterangan harus diisi", "type": "string" }, "idUser": { "minLength": 1, "error": "idUser harus diisi", "type": "string" } }, "required": [ "id", "status", "keterangan", "idUser" ] } } } }, "responses": { "200": {} } } }, "/api/apikey/create": { "post": { "parameters": [], "operationId": "postApiApikeyCreate", "tags": [ "apikey" ], "summary": "create", "description": "create api key by user", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "expiredAt": { "format": "date-time", "type": "string" } }, "required": [ "name", "description" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "expiredAt": { "format": "date-time", "type": "string" } }, "required": [ "name", "description" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "expiredAt": { "format": "date-time", "type": "string" } }, "required": [ "name", "description" ] } } } }, "responses": { "200": {} } } }, "/api/apikey/list": { "get": { "operationId": "getApiApikeyList", "tags": [ "apikey" ], "summary": "list", "description": "get api key list by user", "responses": { "200": {} } } }, "/api/apikey/delete": { "delete": { "parameters": [], "operationId": "deleteApiApikeyDelete", "tags": [ "apikey" ], "summary": "delete", "description": "delete api key by id", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] } }, "multipart/form-data": { "schema": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] } }, "text/plain": { "schema": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] } } } }, "responses": { "200": {} } } }, "/api/darmasaba/repos": { "get": { "operationId": "getApiDarmasabaRepos", "tags": [ "darmasaba" ], "summary": "repos", "description": "get list of repositories", "responses": { "200": {} } } }, "/api/darmasaba/ls": { "get": { "operationId": "getApiDarmasabaLs", "tags": [ "darmasaba" ], "summary": "ls", "description": "get list of dir in darmasaba", "responses": { "200": {} } } }, "/api/darmasaba/ls/{dir}": { "get": { "parameters": [ { "schema": { "type": "string" }, "in": "path", "name": "dir", "required": true } ], "operationId": "getApiDarmasabaLsByDir", "tags": [ "darmasaba" ], "summary": "ls", "description": "get list of files in darmasaba/