audiovalid.postman_collection.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  1. {
  2. "info": {
  3. "_postman_id": "56025a1d-d5fe-4829-b231-0e444257b5b1",
  4. "name": "AudioValid",
  5. "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  6. },
  7. "item": [
  8. {
  9. "name": "audio",
  10. "item": [
  11. {
  12. "name": "/v1/audio",
  13. "request": {
  14. "method": "GET",
  15. "header": [
  16. {
  17. "key": "Content-Type",
  18. "name": "Content-Type",
  19. "value": "application/x-www-form-urlencoded",
  20. "type": "text"
  21. }
  22. ],
  23. "url": {
  24. "raw": "{{url}}/v1/audio",
  25. "host": [
  26. "{{url}}"
  27. ],
  28. "path": [
  29. "v1",
  30. "audio"
  31. ]
  32. }
  33. },
  34. "response": []
  35. },
  36. {
  37. "name": "/v1/audio/crear",
  38. "request": {
  39. "method": "POST",
  40. "header": [
  41. {
  42. "key": "Content-Type",
  43. "name": "Content-Type",
  44. "value": "application/json",
  45. "type": "text"
  46. }
  47. ],
  48. "body": {
  49. "mode": "raw",
  50. "raw": "{\n\t\"clave\": \"TVP0212020\",\n\t\"dependencia\": \"PROFECO\",\n\t\"nombre\": \"TVP0212020_PROFECO_RC2020_TV_REVISTA_No_08.mp3\",\n\t\"ruta\": \"/ruta/firebase/storage/-abcdef\",\n\t\"duracion\": 0\n}",
  51. "options": {
  52. "raw": {
  53. "language": "json"
  54. }
  55. }
  56. },
  57. "url": {
  58. "raw": "{{url}}/v1/audio/crear",
  59. "host": [
  60. "{{url}}"
  61. ],
  62. "path": [
  63. "v1",
  64. "audio",
  65. "crear"
  66. ]
  67. }
  68. },
  69. "response": []
  70. },
  71. {
  72. "name": "/v1/audio/editar",
  73. "request": {
  74. "method": "POST",
  75. "header": [
  76. {
  77. "key": "Content-Type",
  78. "name": "Content-Type",
  79. "value": "application/json",
  80. "type": "text"
  81. }
  82. ],
  83. "body": {
  84. "mode": "raw",
  85. "raw": "{\n\t\"clave\": \"TVP0212020\",\n\t\"dependencia\": \"PROFECO\",\n\t\"nombre\": \"TVP0212020_PROFECO_RC2020_TV_REVISTA_No_08.mp3\",\n\t\"ruta\": \"/ruta/firebase/storage/-abcdef\",\n\t\"duracion\": 0\n}",
  86. "options": {
  87. "raw": {
  88. "language": "json"
  89. }
  90. }
  91. },
  92. "url": {
  93. "raw": "{{url}}/v1/audio/editar?id=1",
  94. "host": [
  95. "{{url}}"
  96. ],
  97. "path": [
  98. "v1",
  99. "audio",
  100. "editar"
  101. ],
  102. "query": [
  103. {
  104. "key": "id",
  105. "value": "1"
  106. }
  107. ]
  108. }
  109. },
  110. "response": []
  111. }
  112. ],
  113. "protocolProfileBehavior": {}
  114. },
  115. {
  116. "name": "archivo",
  117. "item": [
  118. {
  119. "name": "/v1/archivo",
  120. "request": {
  121. "method": "GET",
  122. "header": [],
  123. "url": {
  124. "raw": "{{url}}/v1/archivo?ciudad=prueba&estacion=100_3HMO&fecha=2020-02-10",
  125. "host": [
  126. "{{url}}"
  127. ],
  128. "path": [
  129. "v1",
  130. "archivo"
  131. ],
  132. "query": [
  133. {
  134. "key": "ciudad",
  135. "value": "prueba"
  136. },
  137. {
  138. "key": "estacion",
  139. "value": "100_3HMO"
  140. },
  141. {
  142. "key": "fecha",
  143. "value": "2020-02-10"
  144. }
  145. ]
  146. }
  147. },
  148. "response": []
  149. }
  150. ],
  151. "protocolProfileBehavior": {}
  152. },
  153. {
  154. "name": "campaña",
  155. "item": [
  156. {
  157. "name": "/v1/campana/crear",
  158. "request": {
  159. "method": "POST",
  160. "header": [
  161. {
  162. "key": "Content-Type",
  163. "name": "Content-Type",
  164. "value": "application/json",
  165. "type": "text"
  166. }
  167. ],
  168. "body": {
  169. "mode": "raw",
  170. "raw": "{\n\t\"estado\": \"SONORA\",\n\t\"siglas\": \"XENW-AM\",\n\t\"orden\": \"DTORT/0241/2020\",\n\t\"tipo\": \"FISCAL\",\n\t\"pautas\": [\n\t\t{\n\t\t\t\"clave\": \"RDF3662019\",\n\t\t\t\"dependencia\": \"COFECE\",\n\t\t\t\"campana\": \"La COFECE Trabaja en tu Favor\",\n\t\t\t\"version\": \"Panaderias\",\n\t\t\t\"duracion\": 30,\n\t\t\t\"fecha\": [\n\t\t\t\t\"2020-02-18 06:00:00\",\n\t\t\t\t\"2020-02-18 07:00:00\"\n\t\t\t],\n\t\t\t\"repeticiones\": 1\n\t\t}\n\t]\n}",
  171. "options": {
  172. "raw": {
  173. "language": "json"
  174. }
  175. }
  176. },
  177. "url": {
  178. "raw": "{{url}}/v1/campana/crear",
  179. "host": [
  180. "{{url}}"
  181. ],
  182. "path": [
  183. "v1",
  184. "campana",
  185. "crear"
  186. ]
  187. }
  188. },
  189. "response": []
  190. }
  191. ],
  192. "protocolProfileBehavior": {}
  193. },
  194. {
  195. "name": "dependencia",
  196. "item": [
  197. {
  198. "name": "/v1/dependencia",
  199. "protocolProfileBehavior": {
  200. "disableBodyPruning": true
  201. },
  202. "request": {
  203. "method": "GET",
  204. "header": [
  205. {
  206. "key": "Content-Type",
  207. "value": "application/json",
  208. "type": "text"
  209. },
  210. {
  211. "key": "Accept",
  212. "value": "application/json",
  213. "type": "text"
  214. }
  215. ],
  216. "body": {
  217. "mode": "raw",
  218. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  219. },
  220. "url": {
  221. "raw": "{{url}}/v1/dependencia",
  222. "host": [
  223. "{{url}}"
  224. ],
  225. "path": [
  226. "v1",
  227. "dependencia"
  228. ]
  229. }
  230. },
  231. "response": [
  232. {
  233. "name": "/v1/entidad",
  234. "originalRequest": {
  235. "method": "POST",
  236. "header": [
  237. {
  238. "key": "Content-Type",
  239. "value": "application/json",
  240. "type": "text"
  241. },
  242. {
  243. "key": "Accept",
  244. "value": "application/json",
  245. "type": "text"
  246. }
  247. ],
  248. "body": {
  249. "mode": "raw",
  250. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  251. },
  252. "url": {
  253. "raw": "{{url}}/v1/entidad",
  254. "host": [
  255. "{{url}}"
  256. ],
  257. "path": [
  258. "v1",
  259. "entidad"
  260. ]
  261. }
  262. },
  263. "status": "OK",
  264. "code": 200,
  265. "_postman_previewlanguage": "json",
  266. "header": [
  267. {
  268. "key": "Date",
  269. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  270. },
  271. {
  272. "key": "Server",
  273. "value": "Apache/2.4.18 (Ubuntu)"
  274. },
  275. {
  276. "key": "Vary",
  277. "value": "Accept"
  278. },
  279. {
  280. "key": "Keep-Alive",
  281. "value": "timeout=5, max=100"
  282. },
  283. {
  284. "key": "Connection",
  285. "value": "Keep-Alive"
  286. },
  287. {
  288. "key": "Transfer-Encoding",
  289. "value": "chunked"
  290. },
  291. {
  292. "key": "Content-Type",
  293. "value": "application/json; charset=UTF-8"
  294. }
  295. ],
  296. "cookie": [],
  297. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  298. }
  299. ]
  300. },
  301. {
  302. "name": "/v1/dependencia/crear",
  303. "request": {
  304. "method": "POST",
  305. "header": [
  306. {
  307. "key": "Content-Type",
  308. "value": "application/json",
  309. "type": "text"
  310. },
  311. {
  312. "key": "Accept",
  313. "value": "application/json",
  314. "type": "text"
  315. }
  316. ],
  317. "body": {
  318. "mode": "raw",
  319. "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\"\n}"
  320. },
  321. "url": {
  322. "raw": "{{url}}/v1/dependencia/crear",
  323. "host": [
  324. "{{url}}"
  325. ],
  326. "path": [
  327. "v1",
  328. "dependencia",
  329. "crear"
  330. ]
  331. }
  332. },
  333. "response": [
  334. {
  335. "name": "/v1/entidad",
  336. "originalRequest": {
  337. "method": "POST",
  338. "header": [
  339. {
  340. "key": "Content-Type",
  341. "value": "application/json",
  342. "type": "text"
  343. },
  344. {
  345. "key": "Accept",
  346. "value": "application/json",
  347. "type": "text"
  348. }
  349. ],
  350. "body": {
  351. "mode": "raw",
  352. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  353. },
  354. "url": {
  355. "raw": "{{url}}/v1/entidad",
  356. "host": [
  357. "{{url}}"
  358. ],
  359. "path": [
  360. "v1",
  361. "entidad"
  362. ]
  363. }
  364. },
  365. "status": "OK",
  366. "code": 200,
  367. "_postman_previewlanguage": "json",
  368. "header": [
  369. {
  370. "key": "Date",
  371. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  372. },
  373. {
  374. "key": "Server",
  375. "value": "Apache/2.4.18 (Ubuntu)"
  376. },
  377. {
  378. "key": "Vary",
  379. "value": "Accept"
  380. },
  381. {
  382. "key": "Keep-Alive",
  383. "value": "timeout=5, max=100"
  384. },
  385. {
  386. "key": "Connection",
  387. "value": "Keep-Alive"
  388. },
  389. {
  390. "key": "Transfer-Encoding",
  391. "value": "chunked"
  392. },
  393. {
  394. "key": "Content-Type",
  395. "value": "application/json; charset=UTF-8"
  396. }
  397. ],
  398. "cookie": [],
  399. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  400. }
  401. ]
  402. },
  403. {
  404. "name": "/v1/dependencia/editar",
  405. "request": {
  406. "method": "POST",
  407. "header": [
  408. {
  409. "key": "Content-Type",
  410. "value": "application/json",
  411. "type": "text"
  412. },
  413. {
  414. "key": "Accept",
  415. "value": "application/json",
  416. "type": "text"
  417. }
  418. ],
  419. "body": {
  420. "mode": "raw",
  421. "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\"\n}"
  422. },
  423. "url": {
  424. "raw": "{{url}}/v1/dependencia/editar?id=1",
  425. "host": [
  426. "{{url}}"
  427. ],
  428. "path": [
  429. "v1",
  430. "dependencia",
  431. "editar"
  432. ],
  433. "query": [
  434. {
  435. "key": "id",
  436. "value": "1"
  437. }
  438. ]
  439. }
  440. },
  441. "response": [
  442. {
  443. "name": "/v1/entidad",
  444. "originalRequest": {
  445. "method": "POST",
  446. "header": [
  447. {
  448. "key": "Content-Type",
  449. "value": "application/json",
  450. "type": "text"
  451. },
  452. {
  453. "key": "Accept",
  454. "value": "application/json",
  455. "type": "text"
  456. }
  457. ],
  458. "body": {
  459. "mode": "raw",
  460. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  461. },
  462. "url": {
  463. "raw": "{{url}}/v1/entidad",
  464. "host": [
  465. "{{url}}"
  466. ],
  467. "path": [
  468. "v1",
  469. "entidad"
  470. ]
  471. }
  472. },
  473. "status": "OK",
  474. "code": 200,
  475. "_postman_previewlanguage": "json",
  476. "header": [
  477. {
  478. "key": "Date",
  479. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  480. },
  481. {
  482. "key": "Server",
  483. "value": "Apache/2.4.18 (Ubuntu)"
  484. },
  485. {
  486. "key": "Vary",
  487. "value": "Accept"
  488. },
  489. {
  490. "key": "Keep-Alive",
  491. "value": "timeout=5, max=100"
  492. },
  493. {
  494. "key": "Connection",
  495. "value": "Keep-Alive"
  496. },
  497. {
  498. "key": "Transfer-Encoding",
  499. "value": "chunked"
  500. },
  501. {
  502. "key": "Content-Type",
  503. "value": "application/json; charset=UTF-8"
  504. }
  505. ],
  506. "cookie": [],
  507. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  508. }
  509. ]
  510. }
  511. ],
  512. "protocolProfileBehavior": {}
  513. },
  514. {
  515. "name": "entidad",
  516. "item": [
  517. {
  518. "name": "/v1/entidad",
  519. "request": {
  520. "method": "GET",
  521. "header": [],
  522. "url": {
  523. "raw": "{{url}}/v1/entidad",
  524. "host": [
  525. "{{url}}"
  526. ],
  527. "path": [
  528. "v1",
  529. "entidad"
  530. ]
  531. }
  532. },
  533. "response": []
  534. },
  535. {
  536. "name": "/v1/entidad/crear",
  537. "request": {
  538. "method": "POST",
  539. "header": [
  540. {
  541. "key": "Content-Type",
  542. "value": "application/json",
  543. "type": "text"
  544. },
  545. {
  546. "key": "Accept",
  547. "value": "application/json",
  548. "type": "text"
  549. }
  550. ],
  551. "body": {
  552. "mode": "raw",
  553. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  554. },
  555. "url": {
  556. "raw": "{{url}}/v1/entidad/crear",
  557. "host": [
  558. "{{url}}"
  559. ],
  560. "path": [
  561. "v1",
  562. "entidad",
  563. "crear"
  564. ]
  565. }
  566. },
  567. "response": [
  568. {
  569. "name": "/v1/entidad",
  570. "originalRequest": {
  571. "method": "POST",
  572. "header": [
  573. {
  574. "key": "Content-Type",
  575. "value": "application/json",
  576. "type": "text"
  577. },
  578. {
  579. "key": "Accept",
  580. "value": "application/json",
  581. "type": "text"
  582. }
  583. ],
  584. "body": {
  585. "mode": "raw",
  586. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  587. },
  588. "url": {
  589. "raw": "{{url}}/v1/entidad",
  590. "host": [
  591. "{{url}}"
  592. ],
  593. "path": [
  594. "v1",
  595. "entidad"
  596. ]
  597. }
  598. },
  599. "status": "OK",
  600. "code": 200,
  601. "_postman_previewlanguage": "json",
  602. "header": [
  603. {
  604. "key": "Date",
  605. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  606. },
  607. {
  608. "key": "Server",
  609. "value": "Apache/2.4.18 (Ubuntu)"
  610. },
  611. {
  612. "key": "Vary",
  613. "value": "Accept"
  614. },
  615. {
  616. "key": "Keep-Alive",
  617. "value": "timeout=5, max=100"
  618. },
  619. {
  620. "key": "Connection",
  621. "value": "Keep-Alive"
  622. },
  623. {
  624. "key": "Transfer-Encoding",
  625. "value": "chunked"
  626. },
  627. {
  628. "key": "Content-Type",
  629. "value": "application/json; charset=UTF-8"
  630. }
  631. ],
  632. "cookie": [],
  633. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  634. }
  635. ]
  636. },
  637. {
  638. "name": "/v1/entidad/editar",
  639. "request": {
  640. "method": "POST",
  641. "header": [
  642. {
  643. "key": "Content-Type",
  644. "value": "application/json",
  645. "type": "text"
  646. },
  647. {
  648. "key": "Accept",
  649. "value": "application/json",
  650. "type": "text"
  651. }
  652. ],
  653. "body": {
  654. "mode": "raw",
  655. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  656. },
  657. "url": {
  658. "raw": "{{url}}/v1/entidad/editar?id=1",
  659. "host": [
  660. "{{url}}"
  661. ],
  662. "path": [
  663. "v1",
  664. "entidad",
  665. "editar"
  666. ],
  667. "query": [
  668. {
  669. "key": "id",
  670. "value": "1"
  671. }
  672. ]
  673. }
  674. },
  675. "response": [
  676. {
  677. "name": "/v1/entidad",
  678. "originalRequest": {
  679. "method": "POST",
  680. "header": [
  681. {
  682. "key": "Content-Type",
  683. "value": "application/json",
  684. "type": "text"
  685. },
  686. {
  687. "key": "Accept",
  688. "value": "application/json",
  689. "type": "text"
  690. }
  691. ],
  692. "body": {
  693. "mode": "raw",
  694. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  695. },
  696. "url": {
  697. "raw": "{{url}}/v1/entidad",
  698. "host": [
  699. "{{url}}"
  700. ],
  701. "path": [
  702. "v1",
  703. "entidad"
  704. ]
  705. }
  706. },
  707. "status": "OK",
  708. "code": 200,
  709. "_postman_previewlanguage": "json",
  710. "header": [
  711. {
  712. "key": "Date",
  713. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  714. },
  715. {
  716. "key": "Server",
  717. "value": "Apache/2.4.18 (Ubuntu)"
  718. },
  719. {
  720. "key": "Vary",
  721. "value": "Accept"
  722. },
  723. {
  724. "key": "Keep-Alive",
  725. "value": "timeout=5, max=100"
  726. },
  727. {
  728. "key": "Connection",
  729. "value": "Keep-Alive"
  730. },
  731. {
  732. "key": "Transfer-Encoding",
  733. "value": "chunked"
  734. },
  735. {
  736. "key": "Content-Type",
  737. "value": "application/json; charset=UTF-8"
  738. }
  739. ],
  740. "cookie": [],
  741. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  742. }
  743. ]
  744. }
  745. ],
  746. "protocolProfileBehavior": {}
  747. }
  748. ],
  749. "event": [
  750. {
  751. "listen": "prerequest",
  752. "script": {
  753. "id": "c6e1c907-8527-41c3-a54d-29c153d91237",
  754. "type": "text/javascript",
  755. "exec": [
  756. ""
  757. ]
  758. }
  759. },
  760. {
  761. "listen": "test",
  762. "script": {
  763. "id": "345e8197-137f-460d-bbd5-3c11878035b8",
  764. "type": "text/javascript",
  765. "exec": [
  766. ""
  767. ]
  768. }
  769. }
  770. ],
  771. "protocolProfileBehavior": {}
  772. }