Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fos_rest:
- param_fetcher_listener: true
- routing_loader:
- default_format: json
- include_format: json
- view:
- view_response_listener: 'force'
- formats:
- xml: false
- json: true
- templating_formats:
- html: false
- format_listener:
- rules: ~
- exception:
- codes:
- 'SymfonyComponentRoutingExceptionResourceNotFoundException': 404
- 'DoctrineORMOptimisticLockException': HTTP_CONFLICT
- messages:
- 'SymfonyComponentRoutingExceptionResourceNotFoundException': true
- allowed_methods_listener: true
- access_denied_listener:
- json: true
- body_listener: true
- service:
- inflector: app.util.inflector
- doctrine:
- dbal:
- driver: pdo_sqlsrv #pdo_mysql
- host: "%database_host%"
- port: "%database_port%"
- dbname: "%database_name%"
- user: "%database_user%"
- password: "%database_password%"
- charset: UTF8
- orm:
- auto_generate_proxy_classes: "%kernel.debug%"
- naming_strategy: doctrine.orm.naming_strategy.underscore
- auto_mapping: true
- metadata_cache_driver: apc
- query_cache_driver: apc
- "lista": [{
- "id": 1,
- "username": "admin",
- "email": "admin@admin.com",
- "enabled": true,
- "last_login": "2016-07-04T16:31:07-0500",
- "nombre": "admin",
- "primer_apellido": "admin",
- "segundo_apellido": "admin",
- "id_programa_docente": {
- "id": 1,
- "abreviatura": "LRI",
- "nomenclatura": "LRI",
- "descripcion": "Licenciatura en Relaciones Internacionales",
- "consecutivo": "1",
- "clave_dgp": "3453454355",
- "mes_anio_primer_periodo": "2016-06-09T10:30:00-0500",
- "campus": "HARVARD",
- "modalidad": "Escolarizado",
- "numero_registro_sege": "863676476",
- "fecha_registro_pnpc": "2016-06-09T10:30:00-0500",
- "numero_referencia_pnpc": "0976555",
- "requiere_pago": true,
- "color_rgb": "253545454",
- "ultima_actualizacion": "2016-06-17T12:51:28-0500",
- "id_nivel_estudios": {
- "id": 1,
- "clave": "LIC",
- "descripcion": "Licenciatura",
- "ultima_actualizacion": "2016-06-11T10:58:44-0500",
- "id_estatus": {
- "id": 1008,
- "valor": "Inactivo",
- "activo": true,
- "id_catalogo": {
- "id": 1004,
- "valor": "CatalogosEstatus",
- "activo": true
- }
- }
- },
- "id_archivo_credencial_frontal": {
- "id": 193,
- "nombre": "FRENTE-LRI.jpg",
- "extencion": "jpeg",
- "mime_type": "image/jpeg",
- "md5": "e5643b567aa6e134ae1abcc23fdb545e",
- "is_perfil": false
- },
- "id_archivo_credencial_reversa": {
- "id": 194,
- "nombre": "REVES-LRI.jpg",
- "extencion": "jpeg",
- "mime_type": "image/jpeg",
- "md5": "d490d35f448d3fcb849cc708f7291bc5",
- "is_perfil": false
- },
- "id_estatus": {
- "id": 1007,
- "valor": "Activo",
- "activo": true,
- "id_catalogo": {
- "id": 1004,
- "valor": "CatalogosEstatus",
- "activo": true
- }
- }
- },
- "ldap": true,
- "rolesdb": [{
- "id": 8,
- "id_rol": {
- "id": 9,
- "nombre": "ADMINISTRADOR",
- "descripcion": "Rol Administrador",
- "activo": true
- }
- }, {
- "id": 9,
- "id_rol": {
- "id": 10,
- "nombre": "SHOWCASE",
- "descripcion": "Rol showcase",
- "activo": true
- }
- }, {
- "id": 10,
- "id_rol": {
- "id": 11,
- "nombre": "DESARROLLADOR",
- "descripcion": "Rol desarrollador",
- "activo": true
- }
- }]
- }]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement