Headers
Authorization: Bearer JWT_TOKENContent-Type: application/jsonAccept: application/jsonENDPOINT : api/formats
SECURITY : authenticated
Headers
Authorization: Bearer JWT_TOKENContent-Type: application/jsonAccept: application/jsonQuery Parameters
Comma separated list relations to other models. Available: models, environments.
curl --request GET--get "https://---API_SERVER---/api/formats?paginate=1"--header "Content-Type: application/json"--header "Accept: application/json"const url = new URL( "https://---API_SERVER---/api/environments");const headers = { "Authorization": "Bearer {JWT_TOKEN}", "Content-Type": "application/json", "Accept": "application/json",};fetch(url, { method: "GET", headers,}).then(response => response.json());**Status**: 200
{ "data": [ { "uuid": "9b67eb56-6add-4530-a3fb-8248674332eb", "environment_ids": [ 1, 2 ], "display_name": "Business Card - 85x55mm Recto-Verso", "nb_page": 2, "rv": false, "width": 85, "height": 55, "default_ratio": 25.4, "dpi_echelle_1": 300, "dpi_echelle_1_4": 0, "fichier": "", "has_safe": true, "safe_top": 2, "safe_left": 2, "safe_bottom": 2, "safe_right": 2, "has_clip": true, "clip_top": 2, "clip_left": 2, "clip_bottom": 2, "clip_right": 2, "colors": "quadri", "tech": "", "output_support": "130g/m² couché brillant", "output_orientation": "paysage", "output_preset_format": "Business Card - 85x55mm Recto-Verso", "output_reliure": "Agraffe 2 points", "output_closed_format": "210x297mm", "output_inside_support": "90g/m² offset", "output_inside_pages": 2, "output_outside_support": "120g/m² offset", "output_outside_pages": 2, "output_selective_polish": "0", "output_selective_polish_3_d": "0", "output_hot_foil": "0", "output_hot_foil_3_d": "0", "fichier_exemple": "", "contraintes_autres": "", "data": null, "metadata": null, "created_at": "2024-03-04 08:22:04", "updated_at": "2024-03-04 08:22:04" }, { "uuid": "9b67eb56-779e-4287-b7ea-449871a9ec8d", "environment_ids": [ 1, 2 ], "display_name": "Styo BIC 4 Couleurs", "nb_page": 1, "rv": false, "width": 43, "height": 30, "default_ratio": 25.4, "dpi_echelle_1": 300, "dpi_echelle_1_4": 0, "fichier": "VECTO", "has_safe": false, "safe_top": 0, "safe_left": 0, "safe_bottom": 0, "safe_right": 0, "has_clip": true, "clip_top": 2, "clip_left": 2, "clip_bottom": 2, "clip_right": 2, "colors": "1 COUL", "tech": "SERIGRAPHIE", "output_support": "PLASTIC", "output_orientation": "paysage", "output_preset_format": "0", "output_reliure": "0", "output_closed_format": "0", "output_inside_support": "0", "output_inside_pages": 0, "output_outside_support": "0", "output_outside_pages": 0, "output_selective_polish": "0", "output_selective_polish_3_d": "0", "output_hot_foil": "0", "output_hot_foil_3_d": "0", "fichier_exemple": "", "contraintes_autres": "250 exemplaires minimum", "data": null, "metadata": null, "created_at": "2024-03-04 08:22:04", "updated_at": "2024-03-04 08:22:04" }, { "uuid": "9b67eb56-7e1d-4a89-aef4-ba2e853c1348", "environment_ids": [ 1, 2 ], "display_name": "Drapeau BEACHFLAG 4 m - perso TOTALE", "nb_page": 1, "rv": false, "width": 700, "height": 3300, "default_ratio": 25.4, "dpi_echelle_1": 150, "dpi_echelle_1_4": 300, "fichier": "VECTO pdf/ai/eps - tiff/jpeg/psd", "has_safe": true, "safe_top": 25, "safe_left": 25, "safe_bottom": 25, "safe_right": 25, "has_clip": true, "clip_top": 2, "clip_left": 2, "clip_bottom": 2, "clip_right": 2, "colors": "quadri", "tech": "SERIGRAPHIE", "output_support": "PLASTIC", "output_orientation": "portrait", "output_preset_format": "0", "output_reliure": "0", "output_closed_format": "0", "output_inside_support": "0", "output_inside_pages": 0, "output_outside_support": "0", "output_outside_pages": 0, "output_selective_polish": "0", "output_selective_polish_3_d": "0", "output_hot_foil": "0", "output_hot_foil_3_d": "0", "fichier_exemple": "sur macap.fr >", "contraintes_autres": "Version personnalisation TOTALE => toute la voile. Zone graphique + zone de découpe + zone de débord dans le fichier exemple -", "data": null, "metadata": null, "created_at": "2024-03-04 08:22:04", "updated_at": "2024-03-04 08:22:04" }, { "uuid": "9b67eb56-8b02-494a-b4a8-546c7626bcbd", "environment_ids": [ 1, 2 ], "display_name": "Drapeau BEACHFLAG 4 m - perso LIMITÉE", "nb_page": 1, "rv": false, "width": 620, "height": 2900, "default_ratio": 25.4, "dpi_echelle_1": 150, "dpi_echelle_1_4": 300, "fichier": "VECTO pdf/ai/eps - tiff/jpeg/psd", "has_safe": true, "safe_top": 25, "safe_left": 25, "safe_bottom": 25, "safe_right": 25, "has_clip": true, "clip_top": 2, "clip_left": 2, "clip_bottom": 2, "clip_right": 2, "colors": "quadri", "tech": "SERIGRAPHIE", "output_support": "PLASTIC", "output_orientation": "portrait", "output_preset_format": "0", "output_reliure": "0", "output_closed_format": "0", "output_inside_support": "0", "output_inside_pages": 0, "output_outside_support": "0", "output_outside_pages": 0, "output_selective_polish": "0", "output_selective_polish_3_d": "0", "output_hot_foil": "0", "output_hot_foil_3_d": "0", "fichier_exemple": "sur macap.fr >", "contraintes_autres": "Version personnalisation simple => choix couleur voile + zone de perso typo L 0,62 x h 2,9 m", "data": null, "metadata": null, "created_at": "2024-03-04 08:22:04", "updated_at": "2024-03-04 08:22:04" }, { "uuid": "9b67eb56-91f3-4217-8612-272467ef00b4", "environment_ids": [ 1, 2 ], "display_name": "Étui carte grise 1 volet", "nb_page": 1, "rv": false, "width": 70, "height": 110, "default_ratio": 25.4, "dpi_echelle_1": 300, "dpi_echelle_1_4": 0, "fichier": "VECTO", "has_safe": false, "safe_top": 0, "safe_left": 0, "safe_bottom": 0, "safe_right": 0, "has_clip": true, "clip_top": 2, "clip_left": 2, "clip_bottom": 2, "clip_right": 2, "colors": "1 COUL", "tech": "SERIGRAPHIE", "output_support": "PLASTIC", "output_orientation": "portrait", "output_preset_format": "0", "output_reliure": "0", "output_closed_format": "0", "output_inside_support": "0", "output_inside_pages": 0, "output_outside_support": "0", "output_outside_pages": 0, "output_selective_polish": "0", "output_selective_polish_3_d": "0", "output_hot_foil": "0", "output_hot_foil_3_d": "0", "fichier_exemple": "", "contraintes_autres": "", "data": null, "metadata": null, "created_at": "2024-03-04 08:22:04", "updated_at": "2024-03-04 08:22:04" }, { "uuid": "9b67eb56-9ac8-4abc-bbdf-335a7d874e55", "environment_ids": [ 1, 2 ], "display_name": "Plaque de porte Renault", "nb_page": 1, "rv": false, "width": 143, "height": 33, "default_ratio": 25.4, "dpi_echelle_1": 300, "dpi_echelle_1_4": 0, "fichier": "VECTO", "has_safe": false, "safe_top": 0, "safe_left": 0, "safe_bottom": 0, "safe_right": 0, "has_clip": true, "clip_top": 2, "clip_left": 2, "clip_bottom": 2, "clip_right": 2, "colors": "1 COUL", "tech": "SERIGRAPHIE", "output_support": "PLASTIC", "output_orientation": "portrait", "output_preset_format": "0", "output_reliure": "0", "output_closed_format": "0", "output_inside_support": "0", "output_inside_pages": 0, "output_outside_support": "0", "output_outside_pages": 0, "output_selective_polish": "0", "output_selective_polish_3_d": "0", "output_hot_foil": "0", "output_hot_foil_3_d": "0", "fichier_exemple": "oui", "contraintes_autres": "Typo NouvelR / Majuscule première lettre Nom Prénom / le reste en minuscules sauf => \"Renault Minute\" et \"Renault Pro\" / Dispo contrainte", "data": null, "metadata": null, "created_at": "2024-03-04 08:22:05", "updated_at": "2024-03-04 08:22:05" }, { "uuid": "9b67eb56-a211-40dd-acd1-59347468f789", "environment_ids": [ 1, 2 ], "display_name": "Porte clés libre rectangle", "nb_page": 2, "rv": true, "width": 20, "height": 48, "default_ratio": 25.4, "dpi_echelle_1": 300, "dpi_echelle_1_4": 0, "fichier": "VECTO", "has_safe": false, "safe_top": 0, "safe_left": 0, "safe_bottom": 0, "safe_right": 0, "has_clip": true, "clip_top": 2, "clip_left": 2, "clip_bottom": 2, "clip_right": 2, "colors": "1 COUL", "tech": "GRAVURE / MOULAGE", "output_support": "METAL", "output_orientation": "portrait", "output_preset_format": "0", "output_reliure": "0", "output_closed_format": "0", "output_inside_support": "0", "output_inside_pages": 0, "output_outside_support": "0", "output_outside_pages": 0, "output_selective_polish": "0", "output_selective_polish_3_d": "0", "output_hot_foil": "0", "output_hot_foil_3_d": "0", "fichier_exemple": "OUI", "contraintes_autres": "Gravure adresse sur une face / moulage et 1 couleur résine sur l'autre face", "data": null, "metadata": null, "created_at": "2024-03-04 08:22:05", "updated_at": "2024-03-04 08:22:05" } ], "links": { "first": "http://localhost:82/api/formats?page=1", "last": "http://localhost:82/api/formats?page=2", "prev": null, "next": "http://localhost:82/api/formats?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 2, "links": [ { "url": null, "label": "« Previous", "active": false }, { "url": "http://localhost:82/api/formats?page=1", "label": "1", "active": true }, { "url": "http://localhost:82/api/formats?page=2", "label": "2", "active": false }, { "url": "http://localhost:82/api/formats?page=2", "label": "Next »", "active": false } ], "path": "http://localhost:82/api/formats", "per_page": 15, "to": 15, "total": 27 }}