{"openapi":"3.0.0","servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/MackUbX/AbarCMS/1.0.0"}],"info":{"description":"API Rest for AbarCMS","version":"1.0.0","title":"AbarCMS API Rest","contact":{"email":"vescamilla@abargon.com"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"tags":[{"name":"Access","description":"Paths relacionados al acceso al cms"},{"name":"Profile","description":"Operaciones para gestionar perfil de usuario"},{"name":"User","description":"Recursos para gestionar operaciones sobre usuarios"},{"name":"Roles","description":"Recursos para gestionar operaciones sobre roles"},{"name":"Content type","description":"Métodos para gestionar operaciones sobre la base de los content types"},{"name":"Content type - Field","description":"Métodos para gestionar operaciones sobre los campos de los content types"},{"name":"Field","description":"Métodos para gestionar operaciones sobre los tipos de campo existentes"},{"name":"Content","description":"Métodos para gestionar operaciones sobre los contenidos existentes"},{"name":"Dashboard","description":"Recursos para gestionar operaciones sobre dashboard"},{"name":"Media","description":"Recursos para gestionar operaciones sobre media"},{"name":"Media - Folder","description":"Recursos para gestionar operaciones sobre carpetas de media"},{"name":"Media - Tag","description":"Recursos para gestionar operaciones sobre tags de media"},{"name":"Log","description":"Recursos para gestionar operaciones sobre Log"},{"name":"Permissions","description":"Recursos para gestionar operaciones sobre permisos"},{"name":"Modules","description":"Recursos para gestionar operaciones sobre módulos"},{"name":"Languages","description":"Recursos para gestionar operaciones sobre idiomas"}],"paths":{"/verification-code/validate":{"post":{"description":"Verificamos el código que se envía cuando el usuario se registra o cuando recupera la contraseña en abarCMS","tags":["Access"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string"},"code":{"type":"string"},"email":{"type":"string"}}}}}},"responses":{"200":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/verification-code/generate":{"post":{"description":"Se dispara la solicitud de un nuevo código de verificación","tags":["Access"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string"},"code":{"type":"string"},"email":{"type":"string"}}}}}},"responses":{"200":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/access/signin":{"post":{"description":"Inicio de sesion de usuario para abarCMS","tags":["Access"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string","format":"string"},"password":{"type":"string","minLength":8,"maxLength":32}}}}}},"responses":{"200":{"headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"description":"A user object.","content":{"application/json":{"schema":{"type":"object","properties":{"accessToken":{"$ref":"#/components/schemas/AccessToken"},"user":{"$ref":"#/components/schemas/UserItem"}}}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/access/password-recovery":{"post":{"description":"Registro de recuperación de contraseña de usuario en abarCMS","tags":["Access"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"}}}}}},"responses":{"201":{"description":"Registro para recuperación creado","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordRecovery"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/access/register":{"post":{"description":"Registro de usuarios en abarCMS","tags":["Access"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegister"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/access/register/password":{"post":{"description":"Registro de contraseña de usuario","tags":["Access"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"},"password":{"type":"string"}}}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/profile":{"get":{"parameters":[{"$ref":"#/components/parameters/AuthParam"}],"description":"Datos del usuario en abarCMS","tags":["Profile"],"responses":{"200":{"description":"Usuario registrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserItem"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"put":{"description":"Actualiza datos del usuario en abarCMS","tags":["Profile"],"parameters":[{"$ref":"#/components/parameters/AuthParam"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRegister"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/user":{"get":{"description":"Listado de usuarios en abarCMS","tags":["User"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/PaginationPageParam"},{"$ref":"#/components/parameters/PaginationItemsParam"}],"responses":{"200":{"description":"Listado correcto","headers":{"X-Total-Items":{"schema":{"type":"string"},"description":"Número total de elementos devueltos"},"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"post":{"description":"Crea un usuario en abarCMS","parameters":[{"$ref":"#/components/parameters/AuthParam"}],"tags":["User"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/user/{uuid}":{"get":{"description":"Usuario del abarCMS","tags":["User"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"responses":{"200":{"description":"Listado correcto","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserItem"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"put":{"description":"Actualiza datos del usuario en abarCMS","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"tags":["User"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"delete":{"description":"Elimina el usuario en abarCMS","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"tags":["User"],"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content-type":{"get":{"description":"Obtiene el listado de content types disponibles en el sistema","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/PaginationPageParam"},{"$ref":"#/components/parameters/PaginationItemsParam"}],"tags":["Content type"],"responses":{"200":{"description":"Listado de Content Types obtenido correctamente","headers":{"X-Total-Items":{"schema":{"type":"string"},"description":"Número total de elementos devueltos"},"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"post":{"description":"Crea la estructura base de un nuevo content type","parameters":[{"$ref":"#/components/parameters/AuthParam"}],"tags":["Content type"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content-type/{uuid}":{"get":{"description":"Obtiene el detalle de un content type especifico por uuid","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"tags":["Content type"],"responses":{"200":{"description":"Detalle de Content Type obtenido correctamente","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeItem"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"put":{"description":"Actualiza un Content Type específico","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"tags":["Content type"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"delete":{"description":"Elimina un Content Type","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"tags":["Content type"],"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content-type/{uuid}/field":{"get":{"description":"Obtiene el listado de campos de un content type específico","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"tags":["Content type - Field"],"responses":{"200":{"description":"Listado de campos obtenido correctamente","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeFieldArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"post":{"description":"Crea un campo de un Content Type específico","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"tags":["Content type - Field"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeFieldItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content-type/{uuid}/field/{field-uuid}":{"get":{"description":"Obtiene el detalle de un campo de un content type específico","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"},{"in":"path","name":"field-uuid","schema":{"type":"string"},"required":true}],"tags":["Content type - Field"],"responses":{"200":{"description":"Detalle de campo obtenido correctamente","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeFieldItem"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"put":{"description":"Actualiza la información de un campo de un Content Type específico","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"},{"in":"path","name":"field-uuid","schema":{"type":"string"},"required":true}],"tags":["Content type - Field"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeFieldItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"delete":{"description":"Elimina un campo de un Content Type específico","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"},{"in":"path","name":"field-uuid","schema":{"type":"string"},"required":true}],"tags":["Content type - Field"],"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/field":{"get":{"description":"Obtiene el listado de tipos de campos con sus respectibos metadatos","parameters":[{"$ref":"#/components/parameters/AuthParam"}],"tags":["Field"],"responses":{"200":{"description":"Listado de tipos de campos obtenido correctamente","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/log":{"get":{"summary":"Logs de CMS","description":"Reistros de log en abarCMS","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/PaginationPageParam"},{"$ref":"#/components/parameters/PaginationItemsParam"}],"tags":["Log"],"responses":{"200":{"description":"Listoado obtenido correctamente","headers":{"X-Total-Items":{"schema":{"type":"string"},"description":"Número total de elementos devueltos"},"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/permission":{"get":{"description":"Listado de los permisos del abarCMS","tags":["Permissions"],"parameters":[{"$ref":"#/components/parameters/AuthParam"}],"responses":{"200":{"description":"Listado correcto","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/module":{"get":{"description":"Listado de los modulos del abarCMS","tags":["Modules"],"parameters":[{"$ref":"#/components/parameters/AuthParam"}],"responses":{"200":{"description":"Listado correcto","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModuleArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/role":{"get":{"description":"Listado de los roles del abarCMS","tags":["Roles"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/PaginationPageParam"},{"$ref":"#/components/parameters/PaginationItemsParam"}],"responses":{"200":{"description":"Listado correcto","headers":{"X-Total-Items":{"schema":{"type":"string"},"description":"Número total de elementos devueltos"},"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"post":{"description":"Crea un rol de usuario en abarCMS","parameters":[{"$ref":"#/components/parameters/AuthParam"}],"tags":["Roles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleArray"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/role/{uuid}":{"get":{"description":"Rol del usuario en el abarCMS","tags":["Roles"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"responses":{"200":{"description":"Listado correcto","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"put":{"description":"Actualiza datos del role en abarCMS","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"tags":["Roles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleArray"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"delete":{"description":"Elimina el role del usuario en abarCMS","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"tags":["Roles"],"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/language":{"get":{"description":"Listado de idiomas","tags":["Languages"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/PaginationPageParam"},{"$ref":"#/components/parameters/PaginationItemsParam"}],"responses":{"200":{"description":"Listado correcto","headers":{"X-Total-Items":{"schema":{"type":"string"},"description":"Número total de elementos devueltos"},"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"post":{"description":"Crea un idioma","parameters":[{"$ref":"#/components/parameters/AuthParam"}],"tags":["Languages"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/language/{id}":{"get":{"description":"Detalle de idioma","tags":["Languages"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/IdParam"}],"responses":{"200":{"description":"Listado correcto","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageItem"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"put":{"description":"Actualiza idioma","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/IdParam"}],"tags":["Languages"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"delete":{"description":"Elimina idioma","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/IdParam"}],"tags":["Languages"],"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/media":{"get":{"description":"Lista todos los archivos en el abarCMS","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/PaginationPageParam"},{"$ref":"#/components/parameters/PaginationItemsParam"}],"tags":["Media"],"responses":{"200":{"description":"Listado obtenido correctamente","headers":{"X-Total-Items":{"schema":{"type":"string"},"description":"Número total de elementos devueltos"},"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"post":{"description":"Agregar archivos nuevos en el abarCMS","tags":["Media"],"parameters":[{"$ref":"#/components/parameters/AuthParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaItem"}}}},"responses":{"200":{"description":"Ok","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaItem"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/media/{uuid}":{"get":{"description":"Elimina uno o mas archivos en el abarCMS","tags":["Media"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"responses":{"200":{"description":"OK","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaItem"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"put":{"description":"Actualiza un archivo del usuario en abarCMS","tags":["Media"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"delete":{"description":"Elimina uno o mas archivos en el abarCMS","tags":["Media"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/media-folder":{"get":{"description":"Lista todos las carpetas de archivos","parameters":[{"$ref":"#/components/parameters/AuthParam"}],"tags":["Media - Folder"],"responses":{"200":{"description":"Listado obtenido correctamente","headers":{"X-Total-Items":{"schema":{"type":"string"},"description":"Número total de elementos devueltos"},"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaFolderArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"post":{"description":"Agregar careptas para archivos en el abarCMS","tags":["Media - Folder"],"parameters":[{"$ref":"#/components/parameters/AuthParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaFolderItem"}}}},"responses":{"200":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/media-folder/{uuid}":{"get":{"description":"Elimina carpeta del abarCMS","tags":["Media - Folder"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"responses":{"200":{"description":"OK","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaFolderItem"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"put":{"description":"Actualiza carpeta en abarCMS","tags":["Media - Folder"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaFolderItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"delete":{"description":"Elimina carpeta del abarCMS","tags":["Media - Folder"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/media-tag":{"get":{"description":"Lista todos las tag de archivos","parameters":[{"$ref":"#/components/parameters/AuthParam"}],"tags":["Media - Tag"],"responses":{"200":{"description":"Listado obtenido correctamente","headers":{"X-Total-Items":{"schema":{"type":"string"},"description":"Número total de elementos devueltos"},"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTagArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"post":{"description":"Agregar tags para archivos en el abarCMS","tags":["Media - Tag"],"parameters":[{"$ref":"#/components/parameters/AuthParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTagItem"}}}},"responses":{"200":{"description":"OK","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTagItem"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/media-tag/{uuid}":{"get":{"description":"Elimina tag del abarCMS","tags":["Media - Tag"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"responses":{"200":{"description":"OK","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTagItem"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"put":{"description":"Actualiza tag en abarCMS","tags":["Media - Tag"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTagItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"delete":{"description":"Elimina tag del abarCMS","tags":["Media - Tag"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content":{"get":{"description":"Obtiene el listado de todos los contenidos del sistema","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/PaginationPageParam"},{"$ref":"#/components/parameters/PaginationItemsParam"},{"$ref":"#/components/parameters/ContentTypeFilterParam"},{"$ref":"#/components/parameters/StatusFilterParam"},{"$ref":"#/components/parameters/LanguageFilterParam"}],"tags":["Content"],"responses":{"200":{"description":"Listado de contenidos obtenido correctamente","headers":{"X-Total-Items":{"schema":{"type":"string"},"description":"Número total de elementos devueltos"},"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"post":{"description":"Crear contenido","tags":["Content"],"parameters":[{"$ref":"#/components/parameters/AuthParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentCreateItem"}}}},"responses":{"200":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content/{uuid}":{"put":{"description":"Crear contenido","tags":["Content"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentCreateItem"}}}},"responses":{"200":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}},"delete":{"description":"Elimina el contenido seleccionado","tags":["Content"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content/bulk":{"put":{"description":"Actualiza contenidos en batch","tags":["Content"],"parameters":[{"$ref":"#/components/parameters/AuthParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentBulkItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content/{content_type_uuid}/{content_uuid}":{"get":{"description":"Obtiene el listado de campos de un content type específico junto con sus valores ingresados","parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/ContentTypeUUIDParam"},{"$ref":"#/components/parameters/ContentUUIDParam"},{"$ref":"#/components/parameters/LanguageFilterParam"}],"tags":["Content"],"responses":{"200":{"description":"Listado de campos y valores obtenido correctamente","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentFieldArray"}}}},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content/clone":{"post":{"description":"Clona un contenido","tags":["Content"],"parameters":[{"$ref":"#/components/parameters/AuthParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentCloneItem"}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content/lock/{uuid}":{"put":{"description":"Bloquea un contenido","tags":["Content"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","format":"uuid","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"password":{"type":"string","format":"password","example":"12345678"}}}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}},"/content/unlock/{uuid}":{"put":{"description":"Desbloquea un contenido","tags":["Content"],"parameters":[{"$ref":"#/components/parameters/AuthParam"},{"$ref":"#/components/parameters/UUIDParam"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","format":"uuid","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"password":{"type":"string","format":"password","example":"12345678"}}}}}},"responses":{"201":{"$ref":"#/components/responses/Success200"},"400":{"$ref":"#/components/responses/Error400"},"500":{"$ref":"#/components/responses/Error500"}}}}},"components":{"parameters":{"AuthParam":{"in":"header","name":"X-Auth-Token","description":"Token del usuario logeado","schema":{"type":"string"},"required":true},"UUIDParam":{"in":"path","name":"uuid","schema":{"type":"string","format":"uuid"},"required":true},"ContentTypeUUIDParam":{"in":"path","name":"content_type_uuid","schema":{"type":"string","format":"uuid"},"required":true},"ContentUUIDParam":{"in":"path","name":"content_uuid","schema":{"type":"string","format":"uuid"},"required":true},"IdParam":{"in":"path","name":"id","schema":{"type":"integer"},"required":true},"PaginationPageParam":{"in":"header","name":"X-Current-Page","schema":{"type":"integer"},"required":true},"PaginationItemsParam":{"in":"header","name":"X-Items-Page","schema":{"type":"integer"},"required":true},"ContentTypeFilterParam":{"in":"query","name":"content_type_id","schema":{"type":"string"},"required":false},"StatusFilterParam":{"in":"query","name":"status","schema":{"type":"integer"},"required":false},"LanguageFilterParam":{"in":"query","name":"language_id","schema":{"type":"string"},"required":false}},"responses":{"Success200":{"description":"OK","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}}},"Error400":{"description":"Error de aplicación","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}}},"Error500":{"description":"Error interno","headers":{"X-Status-Message":{"schema":{"type":"string"},"description":"Mensaje resultado de la petición"},"X-Status-Code":{"schema":{"type":"string"},"description":"Código de estatus"},"X-Inner-Status-Code":{"schema":{"type":"string"},"description":"Códifo de estatus interno"}}}},"schemas":{"ContentCreateItem":{"type":"object","properties":{"uuid":{"type":"string","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"language":{"type":"string","example":"es"},"content_type":{"type":"string","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"values":{"type":"array","items":{"type":"object","properties":{"field_system_name":{"type":"string","example":"titulo"},"field_value":{"type":"string","example":"El título del contenido"}}},"example":[{"field_system_name":"titulo","field_value":"El titulo del contenido"},{"field_system_name":"descripcion","field_value":"La descripción del contenido"},{"field_system_name":"estatus","field_value":1}]}}},"ContentCloneItem":{"type":"object","properties":{"content":{"type":"string","format":"uuid","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"name":{"type":"string","example":"Nombre del nuevo contenido"}}},"ContentBulkItem":{"type":"object","properties":{"action":{"type":"string","example":"publish|unpublish|delete"},"items":{"type":"array","items":{"type":"string"},"example":["d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"]}}},"ContentItem":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"title":{"type":"string","example":"Contenido"},"system_name":{"type":"string","example":"contenido"},"locked":{"type":"boolean","example":true},"status":{"type":"integer","example":1},"author":{"$ref":"#/components/schemas/UserItem"},"content_type":{"$ref":"#/components/schemas/ContentTypeItem"},"language":{"$ref":"#/components/schemas/LanguageItem"},"log":{"$ref":"#/components/schemas/ContentLogArray"},"created":{"type":"string","format":"datetime","example":"2020-03-31T00:00:00.000Z"},"updated":{"type":"string","format":"datetime","example":"2020-03-31T00:00:00.000Z"},"deleted":{"type":"string","format":"datetime","example":"2020-03-31T00:00:00.000Z"}}},"ContentLogItem":{"type":"object","properties":{"user":{"type":"string","example":"Edgar Perez"},"action":{"type":"string","example":"Bloqueado"},"created":{"type":"string","format":"datetime","example":"2020-03-31T00:00:00.000Z"}}},"ContentLogArray":{"type":"array","items":{"$ref":"#/components/schemas/ContentLogItem"},"example":[{"user":"Edgar Perez","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Edgar Perez","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Edgar Perez","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}]},"ContentArray":{"type":"array","items":{"$ref":"#/components/schemas/ContentItem"},"example":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":false,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":"2020-03-31T00:00:00.000Z"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":true,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":"2020-03-31T00:00:00.000Z"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":false,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":"2020-03-31T00:00:00.000Z"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":true,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":"2020-03-31T00:00:00.000Z"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":false,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":"2020-03-31T00:00:00.000Z"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":true,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":"2020-03-31T00:00:00.000Z"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":false,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":"2020-03-31T00:00:00.000Z"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":true,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":"2020-03-31T00:00:00.000Z"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":false,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":null},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":true,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":"2020-03-31T00:00:00.000Z"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":false,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":null},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":true,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":"2020-03-31T00:00:00.000Z"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":false,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":null},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":true,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":null},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":false,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":null},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","title":"Contenido 1","system_name":"contenido-1","locked":true,"status":1,"author":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Edgar","lastname":"Perez","username":"eperez","email":"edgarperez@abargon.com"},"content_type":{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Contenido simple","system_name":"contenido_simple"},"language":{"id":1,"name":"Español","code":"es"},"log":[{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"},{"user":"Juan","action":"Bloqueado","created":"2020-03-31T00:00:00.000Z"}],"created":"2020-03-31T00:00:00.000Z","updated":"2020-03-31T00:00:00.000Z","deleted":null}]},"AccessToken":{"type":"object","properties":{"accessToken":{"type":"string","example":"ZXlKMWRXbGtJam9nSW1Rd05HRmhNR05qTFRneFpERXROR001WmkxaE1XWTRMV0ZtTUdZME1HRXhNRGRoT0NJc0NpQWdJQ0FnSUNKdVlXMWxJam9nSWtvZ1IyVnlZWEprYnlJc0NpQWdJQ0FnSUNKc1lYTjBibUZ0WlNJNklDSkhZWEpqYVdFaUxBb2dJQ0FnSUNBaWRYTmxjbTVoYldVaU9pQWlaMmRoY21OcFlVQmhZbUZ5WjI5dUxtTnZiU0lzQ2lBZ0lDQWdJQ0psYldGcGJDSTZJQ0puWjJGeVkybGhRR0ZpWVhKbmIyNHVZMjl0SW4wPQ=="},"refreshToken":{"type":"string","example":"refresh token"},"expiresAt":{"type":"string","format":"date-time","example":"2020-03-31T00:00:00.000Z"}}},"UserItem":{"type":"object","properties":{"uuid":{"type":"string","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"name":{"type":"string","example":"J Gerardo"},"lastname":{"type":"string","example":"Garcia"},"username":{"type":"string","example":"ggarcia@abargon.com"},"email":{"type":"string","format":"email","example":"ggarcia@abargon.com"},"password":{"type":"string","format":"password","example":"12345678"},"last_signin":{"type":"string","format":"datetime","example":"2020-05-02 18:05"},"status":{"type":"integer","example":1},"image":{"type":"string","example":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f"},"roles":{"$ref":"#/components/schemas/RoleArray"}}},"UserArray":{"type":"array","items":{"$ref":"#/components/schemas/UserItem"},"example":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Victor","lastname":"Escamilla","username":"vescamilla","email":"vescamilla@abargon.com","status":0,"last_signin":"2020-05-02 18:05","image":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","roles":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r0","name":"Administrador","description":"Description","status":0},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r1","name":"Administrador","description":"Description","status":0},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r2","name":"Administrador","description":"Description","status":0},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r3","name":"Administrador","description":"Description","status":0}]},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Gerardo","lastname":"García","username":"ggarcia","email":"ggarcia@abargon.com","status":0,"last_signin":"2020-05-02 18:05","image":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","roles":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r0"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r1"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r2"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r3"}]},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Karin","lastname":"Dominguez","username":"kdominguez","email":"kdominguez@abargon.com","status":0,"last_signin":"2020-05-02 18:05","image":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","roles":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r0"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r1"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r2"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r3"}]}]},"LanguageItem":{"type":"object","properties":{"id":{"type":"integer","example":1},"name":{"type":"string","example":"Español"},"code":{"type":"string","example":"es"},"craeted":{"type":"string","format":"date","example":"2020-05-02T18:05:34.743241"},"author":{"type":"string","example":"Test"},"isActive":{"type":"boolean","example":true}}},"LanguageArray":{"type":"array","items":{"$ref":"#/components/schemas/LanguageItem"},"example":[{"id":1,"name":"Español","code":"es","created":"2020-05-02T18:05:34.743241","author":"Victor Escamilla","isActive":true},{"id":1,"name":"Ingles","code":"en","created":"2020-05-02T18:05:34.743241","author":"Victor Escamilla","isActive":true},{"id":1,"name":"Portugues","code":"pt","created":"2020-05-02T18:05:34.743241","author":"Victor Escamilla","isActive":true}]},"ContentTypeItem":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"name":{"type":"string","example":"Sucursales"},"system_name":{"type":"string","example":"sucursales"},"total_items":{"type":"integer","example":10}}},"ContentTypeArray":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeItem"},"example":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f1","name":"Sucursales","system_name":"sucursales","total_items":15},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f2","name":"Servicios","system_name":"servicios","total_items":15},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f3","name":"Contenido simple","system_name":"contenido/simple","total_items":15}]},"ContentFieldArray":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeFieldItem"},"example":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Título","system_name":"titulo","type":1,"value":"Valor del campo para el contenido","metadata":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Required","system_name":"required","value":"1"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Max length","system_name":"max-length","value":"100"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"Descripción del campo para tooltip"}]},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Slug","system_name":"slug","type":2,"value":"Valor del campo para el contenido","metadata":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Required","system_name":"required","value":"1"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Max length","system_name":"max-length","value":"100"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"Descripción del campo para tooltip","value":""}]},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"descripcion","type":3,"value":"Valor del campo para el contenido","metadata":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Required","system_name":"required","value":"1"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Max length","system_name":"max-length","value":"100"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"Descripción del campo para tooltip","value":""}]}]},"ContentTypeFieldItem":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"name":{"type":"string","example":"Título"},"system_name":{"type":"string","example":"titulo"},"type":{"type":"integer","example":1},"metadata":{"$ref":"#/components/schemas/ContentTypeFieldMetadataArray"}}},"ContentTypeFieldArray":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeFieldItem"},"example":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Título","system_name":"titulo","type":1,"metadata":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Required","system_name":"required","value":"1","type":"string"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Max length","system_name":"max-length","value":"100","type":"numeric"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"Descripción del campo para tooltip","value":"fdsfs","type":"boolean"}]},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Slug","system_name":"slug","type":2,"metadata":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Required","system_name":"required","value":"1","type":"string"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Max length","system_name":"max-length","value":"100","type":"numeric"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"Descripción del campo para tooltip","value":"","type":"boolean"}]},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"descripcion","type":3,"metadata":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Required","system_name":"required","value":"1","type":"string"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Max length","system_name":"max-length","value":"100","type":"numeric"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"Descripción del campo para tooltip","value":"","type":"boolean"}]}]},"ContentTypeFieldMetadataItem":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"name":{"type":"string","example":"Título"},"system_name":{"type":"string","example":"titulo"},"value":{"type":"string","example":"Metadata value"},"type":{"type":"string","example":"numeric|string|boolean"}}},"ContentTypeFieldMetadataArray":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeFieldMetadataItem"},"example":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Required","system_name":"required","value":""},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Max length","system_name":"max-length","value":""},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"Descripción del campo para tooltip"}]},"FieldItem":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"name":{"type":"string","example":"Campo de texto"},"system_name":{"type":"string","example":"campo-de-texto"},"icano":{"type":"string","example":"/path/icon.jpg"},"metadata":{"$ref":"#/components/schemas/ContentTypeFieldMetadataItem"}}},"FieldArray":{"type":"array","items":{"$ref":"#/components/schemas/FieldItem"},"example":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Campo de texto","system_name":"campo-de-texto","icon":"/path/icon.jpg","metadata":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Required","system_name":"required","value":"1","type":"string"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Max length","system_name":"max-length","value":"100","type":"numeric"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"Descripción del campo para tooltip","value":"","type":"boolean"}]},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Campo de texto","system_name":"campo-de-texto","icon":"/path/icon.jpg","metadata":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Required","system_name":"required","value":"1","type":"string"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Max length","system_name":"max-length","value":"100","type":"numeric"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"Descripción del campo para tooltip","value":"","type":"boolean"}]},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Campo de texto","system_name":"campo-de-texto","icon":"/path/icon.jpg","metadata":[{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Required","system_name":"required","value":"1","type":"string"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Max length","system_name":"max-length","value":"100","type":"numeric"},{"uuid":"2a60d0fb-09c5-4fd8-83e4-ce64d35a071f","name":"Descripción","system_name":"Descripción del campo para tooltip","value":"","type":"boolean"}]}]},"UserRegister":{"type":"object","properties":{"name":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"}}},"UpdateRegister":{"type":"object","properties":{"name":{"type":"string"},"lastname":{"type":"string"},"email":{"type":"string","format":"email"},"password":{"type":"string"},"rol":{"type":"string"}}},"PasswordRecovery":{"type":"object","properties":{"email":{"type":"string","format":"email"},"token":{"type":"string"},"message":{"type":"string"}}},"Log":{"type":"object","properties":{"module":{"type":"string"},"action":{"type":"string"},"date":{"type":"string"},"field":{"type":"string"},"user":{"type":"string"}}},"LogArray":{"type":"array","items":{"$ref":"#/components/schemas/Log"},"example":[{"module":"Contenido","action":"Editar","date":"03-30-2020","field":"Título","user":"El Carlos"},{"module":"Contenido","action":"Editar","date":"03-30-2020","field":"Descripción","user":"El Carlos"},{"module":"Contenido","action":"Editar","date":"03-30-2020","field":"Extracto","user":"El Carlos"}]},"MediaTagItem":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"name":{"type":"string","example":"Tag 1"}}},"MediaTagArray":{"type":"array","items":{"$ref":"#/components/schemas/MediaTagItem"},"example":[{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","name":"Tag 1"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a1","name":"Tag 2"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a2","name":"Tag 3"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a3","name":"Tag 4"}]},"MediaFolderItem":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"name":{"type":"string","example":"Carpeta 1"}}},"MediaFolderArray":{"type":"array","items":{"$ref":"#/components/schemas/MediaFolderItem"},"example":[{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","name":"Carpeta 1"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a1","name":"Carpeta 2"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a2","name":"Carpeta 3"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a3","name":"Carpeta 4"}]},"MediaItem":{"type":"object","properties":{"uuid":{"type":"string","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8"},"name":{"type":"string","example":"TarjetaCirculacionFrontal"},"description":{"type":"string","example":"Descripción de la imagen"},"type":{"type":"string","example":"imagen/jpg"},"size":{"type":"integer","example":20480},"dimension":{"type":"string","example":"2340x1080"},"base64":{"type":"string","example":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAA..."},"path":{"type":"string","example":"https://i.picsum.photos/id/66/600/600.jpg"},"created":{"type":"string"},"modified":{"type":"string"},"author":{"type":"string"},"tag":{"$ref":"#/components/schemas/MediaTagArray"},"alt":{"type":"string","example":"AltImage"},"folder":{"$ref":"#/components/schemas/MediaFolderItem"}}},"MediaArray":{"type":"array","items":{"$ref":"#/components/schemas/MediaItem"},"example":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","name":"IMG_2233-1","description":"Descripción de la imagen","type":"imagen/jpg","size":20480,"dimension":"2340x1080","base64":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAA...","path":"https://i.picsum.photos/id/966/600/600.jpg","alt":"AltImage","created":"12/04/2019","modified":"12/04/2020","author":"Edgar Chavez","tag":[{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","name":"Tag 1"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a1","name":"Tag 2"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a2","name":"Tag 3"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a3","name":"Tag 4"}],"folder":{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","name":"Carpeta 1"}},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a1","name":"IMG_2233-2","description":"Descripción de la imagen","type":"imagen/jpg","size":20480,"dimension":"2340x1080","base64":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAA...","path":"https://i.picsum.photos/id/6/600/600.jpg","alt":"AltImage","created":"12/06/2019","modified":"12/07/2020","author":"Edgar Chavez","tag":[{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","name":"Tag 1"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a1","name":"Tag 2"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a2","name":"Tag 3"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a3","name":"Tag 4"}],"folder":{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","name":"Carpeta 1"}},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a2","name":"IMG_2233-3","description":"Descripción de la imagen","type":"imagen/jpg","size":20480,"dimension":"2340x1080","base64":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAA...","path":"https://i.picsum.photos/id/866/600/600.jpg","alt":"AltImage","created":"12/08/2019","modified":"12/09/2020","author":"Edgar Chavez","tag":[{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","name":"Tag 1"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a1","name":"Tag 2"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a2","name":"Tag 3"},{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a3","name":"Tag 4"}],"folder":{"id":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a8","name":"Carpeta 1"}}]},"PermissionItem":{"type":"object","properties":{"uuid":{"type":"string"},"name":{"type":"string"}}},"PermissionArray":{"type":"array","items":{"$ref":"#/components/schemas/PermissionItem"},"example":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p0","name":"Ver"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p1","name":"Agregar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p2","name":"Editar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p3","name":"Borrar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p4","name":"Estatus"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p5","name":"Traducción"}]},"ModuleItem":{"type":"object","properties":{"uuid":{"type":"integer","example":"1\""},"name":{"type":"string","example":"Contenido"}}},"ModuleArray":{"type":"array","items":{"$ref":"#/components/schemas/ModuleItem"},"example":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107m0","name":"Contenido"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107m1","name":"Templates"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107m2","name":"Términos y condiciones"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107m3","name":"Aviso de privacidad"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107m4","name":"Banners"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107m5","name":"¿Qué es Dank - Pasos?"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107m6","name":"FAQ"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107m7","name":"Tipos de contenido"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107m8","name":"Crear"}]},"RolePermissionItem":{"type":"object","properties":{"module":{"type":"string","example":"usuarios"},"permission":{"$ref":"#/components/schemas/PermissionArray"}}},"RolePermissionArray":{"type":"array","items":{"$ref":"#/components/schemas/RolePermissionItem"},"example":[{"module":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107m1"},{"permission":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p0","name":"Ver"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p1","name":"agregar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p2","name":"editar"}]}]},"RoleItem":{"type":"object","properties":{"uuid":{"type":"string","example":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107a0"},"name":{"type":"string","example":"Administrador"},"description":{"type":"string","example":"Descripción administrador"},"status":{"type":"integer","example":1},"permission":{"$ref":"#/components/schemas/RolePermissionArray"}}},"RoleArray":{"type":"array","items":{"$ref":"#/components/schemas/RoleItem"},"example":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107r0","name":"Administrador","description":"Description","status":0,"permission":[{"module":"usuarios","permission":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p0","name":"ver"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p1","name":"agregar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p2","name":"editar"}]},{"module":"roles","permission":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p0","name":"ver"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p1","name":"agregar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p2","name":"editar"}]},{"module":"terminos-y-condiciones","permission":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p0","name":"ver"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p1","name":"agregar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p2","name":"editar"}]},{"module":"politicas-de-privacidad","permission":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p0","name":"ver"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p1","name":"agregar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p2","name":"editar"}]},{"module":"banners","permission":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p0","name":"ver"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p1","name":"agregar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p2","name":"editar"}]},{"module":"que-es-dank-pasos","permission":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p0","name":"ver"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p1","name":"agregar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p2","name":"editar"}]},{"module":"faq","permission":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p0","name":"ver"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p1","name":"agregar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p2","name":"editar"}]},{"module":"Tipos de contenido","permission":[{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p0","name":"ver"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p1","name":"agregar"},{"uuid":"d04aa0cc-81d1-4c9f-a1f8-af0f40a107p2","name":"editar"}]}]}]}}}}