From 5f99e4f5d91a6bbc8114115f616e1e7c576d02f9 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Tue, 10 Nov 2026 11:57:17 +0330 Subject: [PATCH] last ... --- Documents/Resources/Json/Requests.md | 224 +++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) diff --git a/Documents/Resources/Json/Requests.md b/Documents/Resources/Json/Requests.md index a11767d..87d4717 100644 --- a/Documents/Resources/Json/Requests.md +++ b/Documents/Resources/Json/Requests.md @@ -415,3 +415,227 @@ Response: } } ``` + +## Project + +### Create Project + +Request: + +```json +{ + "title": "string", + "prompt": "string", + "description": "string", +} +``` + +Response: + +```json +{ + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "deleted": true, + "ownerId": "string", + "owner": { + "avatar": "string", + "userId": "string", + "username": "string", + "lastname": "string", + "firstname": "string" + }, + "title": "string", + "titleResource": { + "resource": "string", + "locales": [ + { + "language": "string", + "value": "string" + } + ] + }, + "description": "string", + "descriptionResource": { + "resource": "string", + "locales": [ + { + "language": "string", + "value": "string" + } + ] + }, + "prompt": "string", + "createdOn": "2026-11-10T07:59:42.213Z", + "updatedAt": "2026-11-10T07:59:42.213Z", + "conversations": [ + { + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "deleted": true, + "ownerId": "string", + "owner": { + "avatar": "string", + "userId": "string", + "username": "string", + "lastname": "string", + "firstname": "string" + }, + "title": "string", + "titleResource": { + "resource": "string", + "locales": [ + { + "language": "string", + "value": "string" + } + ] + }, + "createdOn": "2026-11-10T07:59:42.213Z", + "updatedAt": "2026-11-10T07:59:42.213Z", + "messages": [ + { + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "deleted": true, + "ownerId": "string", + "owner": { + "avatar": "string", + "userId": "string", + "username": "string", + "lastname": "string", + "firstname": "string" + }, + "content": "string", + "role": 0, + "createdOn": "2026-11-10T07:59:42.213Z", + "updatedAt": "2026-11-10T07:59:42.213Z", + "conversationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "conversationTitle": "string", + "conversationTitleResouce": { + "resource": "string", + "locales": [ + { + "language": "string", + "value": "string" + } + ] + }, + "metaDatas": "string" + } + ], + "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "projectTitle": "string", + "projectDescription": "string", + "projectTitleResource": { + "resource": "string", + "locales": [ + { + "language": "string", + "value": "string" + } + ] + }, + "projectDescriptionResource": { + "resource": "string", + "locales": [ + { + "language": "string", + "value": "string" + } + ] + } + } + ] +} +``` + +## Conversation + +### Create Conversation + +Request: + +```json +{ + "title": "string", + "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", +} +``` + +Response: + +```json +{ + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "deleted": true, + "ownerId": "string", + "owner": { + "avatar": "string", + "userId": "string", + "username": "string", + "lastname": "string", + "firstname": "string" + }, + "title": "string", + "titleResource": { + "resource": "string", + "locales": [ + { + "language": "string", + "value": "string" + } + ] + }, + "createdOn": "2026-11-10T08:03:05.051Z", + "updatedAt": "2026-11-10T08:03:05.051Z", + "messages": [ + { + "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "deleted": true, + "ownerId": "string", + "owner": { + "avatar": "string", + "userId": "string", + "username": "string", + "lastname": "string", + "firstname": "string" + }, + "content": "string", + "role": 0, + "createdOn": "2026-11-10T08:03:05.051Z", + "updatedAt": "2026-11-10T08:03:05.051Z", + "conversationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "conversationTitle": "string", + "conversationTitleResouce": { + "resource": "string", + "locales": [ + { + "language": "string", + "value": "string" + } + ] + }, + "metaDatas": "string" + } + ], + "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "projectTitle": "string", + "projectDescription": "string", + "projectTitleResource": { + "resource": "string", + "locales": [ + { + "language": "string", + "value": "string" + } + ] + }, + "projectDescriptionResource": { + "resource": "string", + "locales": [ + { + "language": "string", + "value": "string" + } + ] + } +} +```