api_platform.yaml 2.86 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
api_platform:
    mapping:
        paths: ['%kernel.project_dir%/src/Entity']

# App\Entity\Adherent:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Page:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Comptoir:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Cotisation:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\CotisationAdherent:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\CotisationPrestataire:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\CotisationInfos:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Document:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\EmailToken:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Faq:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Flux:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Geoloc:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Groupe:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\GroupePrestataire:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Lien:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Message:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\News:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Page:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Prestataire:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Rubrique:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Siege:
#     get: ~
# App\Entity\Transaction:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\TransactionAdherentPrestataire:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\TransactionPrestataireAdherent:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\TransactionPrestatairePrestataire:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Transfert:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\TransfertComptoirGroupe:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\TransfertGroupeComptoir:
#     get: ~
#     post: ~
#     put: ~
Julien Jorry committed
115
# App\Entity\TransfertPrestataireComptoir:
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
#     get: ~
#     post: ~
#     put: ~
# App\Entity\TransfertSiegeGroupe:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\TypePrestataire:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\User:
#     get: ~
#     post: ~
#     put: ~
# App\Entity\Usergroup:
#     get: ~
#     post: ~
#     put: ~

# App\Entity\Book:
#     itemOperations:
#         get:
#             method: 'GET'
#             path: '/grimoire/{id}'
#             requirements:
#                 id: '\d+'
#             defaults:
#                 color: 'brown'
#             host: '{subdomain}.api-platform.com'
#             schemes: ['https']
#             options:
#                 my_option: 'my_option_value'
#             status: 200 # customize the HTTP status code to send
#         put:
#             method: 'PUT'
#             path: '/grimoire/{id}/update'
#             hydra_context: { foo: 'bar' }
#             requirements:
#                 id: '\d+'