mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
vue_activity location: add NewLocation fields, submit activity form with hidden field (+)
This commit is contained in:
@@ -548,6 +548,48 @@ paths:
|
||||
description: "ok"
|
||||
401:
|
||||
description: "Unauthorized"
|
||||
post:
|
||||
tags:
|
||||
- location
|
||||
summary: create a new location
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
phonenumber1:
|
||||
type: string
|
||||
phonenumber2:
|
||||
type: string
|
||||
email:
|
||||
type: string
|
||||
address:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
locationtype:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
responses:
|
||||
401:
|
||||
description: "Unauthorized"
|
||||
404:
|
||||
description: "Not found"
|
||||
200:
|
||||
description: "OK"
|
||||
422:
|
||||
description: "Unprocessable entity (validation errors)"
|
||||
400:
|
||||
description: "transition cannot be applyed"
|
||||
|
||||
/1.0/main/location-type.json:
|
||||
get:
|
||||
|
Reference in New Issue
Block a user