Add user to awtis & teks

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2021-05-22 23:28:30 +02:00
parent a31c8db7a0
commit 24f8b3b418
6 changed files with 280 additions and 3 deletions
+51
View File
@@ -620,6 +620,9 @@
"type": "string"
}
},
"user": {
"type": "string"
},
"published_at": {
"type": "string"
},
@@ -736,6 +739,51 @@
"okiMizikID": {
"type": "integer"
},
"user": {
"required": [
"id",
"username",
"email"
],
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
},
"email": {
"type": "string"
},
"provider": {
"type": "string"
},
"password": {
"type": "string"
},
"resetPasswordToken": {
"type": "string"
},
"confirmationToken": {
"type": "string"
},
"confirmed": {
"type": "boolean"
},
"blocked": {
"type": "boolean"
},
"role": {
"type": "string"
},
"created_by": {
"type": "string"
},
"updated_by": {
"type": "string"
}
}
},
"published_at": {
"type": "string",
"format": "date-time"
@@ -849,6 +897,9 @@
"okiMizikID": {
"type": "integer"
},
"user": {
"type": "string"
},
"published_at": {
"type": "string",
"format": "date-time"
+6 -1
View File
@@ -52,10 +52,15 @@
"images"
],
"plugin": "upload",
"required": false
"required": false,
"pluginOptions": {}
},
"okiMizikID": {
"type": "integer"
},
"user": {
"plugin": "users-permissions",
"model": "user"
}
}
}