fix: use native Postman auth field and declare collection variables
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
minguezsanzjuanjose
2026-04-18 14:11:39 +02:00
parent a064895689
commit 35e1d38859

View File

@@ -5,7 +5,10 @@
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_postman_id": "django-core-base-collection"
},
"variable": [],
"variable": [
{ "key": "access_token", "value": "", "type": "string" },
{ "key": "refresh_token", "value": "", "type": "string" }
],
"item": [
{
"name": "Auth",
@@ -51,10 +54,13 @@
{
"name": "Obtener Promoción",
"request": {
"auth": {
"type": "bearer",
"bearer": [{ "key": "token", "value": "{{access_token}}", "type": "string" }]
},
"method": "POST",
"header": [
{ "key": "Content-Type", "value": "application/json" },
{ "key": "Authorization", "value": "Bearer {{access_token}}" }
{ "key": "Content-Type", "value": "application/json" }
],
"body": {
"mode": "raw",
@@ -75,10 +81,13 @@
{
"name": "Ejecutar Automatizaciones",
"request": {
"auth": {
"type": "bearer",
"bearer": [{ "key": "token", "value": "{{access_token}}", "type": "string" }]
},
"method": "POST",
"header": [
{ "key": "Content-Type", "value": "application/json" },
{ "key": "Authorization", "value": "Bearer {{access_token}}" }
{ "key": "Content-Type", "value": "application/json" }
],
"body": {
"mode": "raw",
@@ -94,10 +103,13 @@
{
"name": "Historial de Ejecuciones",
"request": {
"auth": {
"type": "bearer",
"bearer": [{ "key": "token", "value": "{{access_token}}", "type": "string" }]
},
"method": "POST",
"header": [
{ "key": "Content-Type", "value": "application/json" },
{ "key": "Authorization", "value": "Bearer {{access_token}}" }
{ "key": "Content-Type", "value": "application/json" }
],
"body": {
"mode": "raw",
@@ -113,10 +125,13 @@
{
"name": "Estado del Módulo",
"request": {
"auth": {
"type": "bearer",
"bearer": [{ "key": "token", "value": "{{access_token}}", "type": "string" }]
},
"method": "POST",
"header": [
{ "key": "Content-Type", "value": "application/json" },
{ "key": "Authorization", "value": "Bearer {{access_token}}" }
{ "key": "Content-Type", "value": "application/json" }
],
"body": {
"mode": "raw",