Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 707 Bytes

File metadata and controls

23 lines (15 loc) · 707 Bytes

Api

Basic types

This bundle expose all extra form types and extra form constraints via an API for whatever usage it suits you.

  • GET /extra-form-types.(json|html)
  • GET /extra-form-constraints.(json|html)
  • GET extra-form-types/{type_name}/options.(json|html)

## Configured types

In case you need to create several forms with fields that are always the same, you can save some configured types.

  • GET /configured-extra-form-types.json
  • PUT /configured-extra-form-types/{name}
  • DELETE /configured-extra-form-types/{name}
  • POST /configured-extra-form-types

Have a look at the controller.

TODO : Use NelmioApiDocBundle to document the API