last ...
This commit is contained in:
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user