{
	"info": {
		"_postman_id": "35ca0d6c-8c3e-4091-9ef1-b4dcc0f97e7d",
		"name": "Painel MEI",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Auth",
			"item": [
				{
					"name": "Register",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {
							"accept": true
						}
					},
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"name\" : \"Carlito Matos\",\n    \"email\" : \"carlitomatos1@gmail.com\",\n    \"password\": \"teste123\",\n    \"password_confirmation\": \"teste13\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{url_local}}/api/auth/register?XDEBUG_SESSION=1",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"auth",
								"register"
							],
							"query": [
								{
									"key": "XDEBUG_SESSION",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Login",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"email\" : \"carlitomatos21@gmail.com\",\n    \"password\": \"carlito123\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{url_local}}/api/auth/login?XDEBUG_SESSION=1",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"auth",
								"login"
							],
							"query": [
								{
									"key": "XDEBUG_SESSION",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "User",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {
							"accept": true
						}
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODAwMVwvYXBpXC9hdXRoXC9yZWdpc3RlciIsImlhdCI6MTY2NjA1MzU1OCwiZXhwIjoxNjY2MDU3MTU4LCJuYmYiOjE2NjYwNTM1NTgsImp0aSI6IjVOT3hQbFM3QlRyM1M1R0ciLCJzdWIiOiIxYzBjMTIwZC1kNDkwLTQwNWItODg3My00YTZhNWE2ZWQ4MWYiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.Osg--v5m0pPSfh5PO4YL-Gu0lZ1P3RJ9ve9VNTf21cE",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url_local}}/api/auth/user",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"auth",
								"user"
							]
						}
					},
					"response": []
				},
				{
					"name": "Logout",
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url_local}}/api/auth/logout",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"auth",
								"logout"
							]
						}
					},
					"response": []
				},
				{
					"name": "Refresh",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {
							"accept": true
						}
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODAwMFwvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTY2NjU2OTAzMywiZXhwIjoxNjY2NTcyNjMzLCJuYmYiOjE2NjY1NjkwMzMsImp0aSI6IkFpUHFMcHRKbkdmWEtqbEwiLCJzdWIiOiIxNjk0ZWI4Zi05N2U4LTQyMTQtODM1Zi1jYzAxMzQ4NTJkNzMiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.uwTYoP_awRu7Av1JS8bhxkN6zW-dVO0htn3JVuMDLJo",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url_local}}/api/auth/refresh",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"auth",
								"refresh"
							]
						}
					},
					"response": []
				},
				{
					"name": "Request Reset Link Password",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url_local}}/api/auth/requestResetPasswordLink/?XDEBUG_SESSION=1&email=carlitomat12321@gmail.com&url=https://urldofront.pensousistemas.com",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"auth",
								"requestResetPasswordLink",
								""
							],
							"query": [
								{
									"key": "XDEBUG_SESSION",
									"value": "1"
								},
								{
									"key": "email",
									"value": "carlitomat12321@gmail.com"
								},
								{
									"key": "url",
									"value": "https://urldofront.pensousistemas.com"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Reset Password",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"password\": \"carlito123\",\n    \"password_confirmation\": \"carlito123\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{url_local}}/api/auth/resetPassword?token=7kZfvl3YGHL6Pbbv8h83bJjTXdGpdhJNsr7nr2TQnyc0eJxUA3cEPz6rw22U7z4h",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"auth",
								"resetPassword"
							],
							"query": [
								{
									"key": "password",
									"value": null,
									"disabled": true
								},
								{
									"key": "token",
									"value": "7kZfvl3YGHL6Pbbv8h83bJjTXdGpdhJNsr7nr2TQnyc0eJxUA3cEPz6rw22U7z4h"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Notícias",
			"item": [
				{
					"name": "Detalhes",
					"protocolProfileBehavior": {
						"disableBodyPruning": true,
						"disabledSystemHeaders": {
							"accept": true
						}
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"descricao\" : \"Descrição teste\",\n    \"data_fim\" : \"2022-12-31\",\n    \"categoria_id\" : \"955e287e-2ae0-40f6-8980-f26bda76b6c8\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{url_local}}/api/noticias/9ef039e5-61de-4ac3-af34-bcf6ab41150",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"noticias",
								"9ef039e5-61de-4ac3-af34-bcf6ab41150"
							]
						}
					},
					"response": []
				},
				{
					"name": "Listar",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {
							"accept": true
						}
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODAwMFwvYXBpXC9ub3RpY2lhcyIsImlhdCI6MTY2NjU3MTk1MCwiZXhwIjoxNjY2NTc1NTU4LCJuYmYiOjE2NjY1NzE5NTgsImp0aSI6InNRN1FlQ1NZM3FtUFhpb1YiLCJzdWIiOiIxNjk0ZWI4Zi05N2U4LTQyMTQtODM1Zi1jYzAxMzQ4NTJkNzMiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.I-yvqQZu9Fk8jVi6WV0MI4PfA631JvvfpAo6ADCQvEM",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url_local}}/api/noticias",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"noticias"
							]
						}
					},
					"response": []
				},
				{
					"name": "Apagar",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{url_local}}/api/noticias/9ef039e5-61de-4ac3-af34-bcf6ab411500",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"noticias",
								"9ef039e5-61de-4ac3-af34-bcf6ab411500"
							]
						}
					},
					"response": []
				},
				{
					"name": "Atualizar",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {
							"accept": true
						}
					},
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"descricao\" : \"Descrição teste\",\n    \"data_fim\" : \"2022-12-31\",\n    \"categoria_id\" : \"955e287e-2ae0-40f6-8980-f26bda76b6c9\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{url_local}}/api/noticias/9ef039e5-61de-4ac3-af34-bcf6ab411500",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"noticias",
								"9ef039e5-61de-4ac3-af34-bcf6ab411500"
							]
						}
					},
					"response": []
				},
				{
					"name": "Salvar",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {
							"accept": true
						}
					},
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"descricao\" : \"Descrição teste\",\n    \"data_fim\" : \"2022-11-01\",\n    \"categoria_id\" : \"955e287e-2ae0-40f6-8980-f26bda76b6c9\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{url_local}}/api/noticias",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"noticias"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Categorias",
			"item": [
				{
					"name": "LIstar",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {
							"accept": true
						}
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url_local}}/api/categorias",
							"host": [
								"{{url_local}}"
							],
							"path": [
								"api",
								"categorias"
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "url_local",
			"value": "localhost:8000"
		}
	]
}