mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
fix Location POST endpoint and saveNewLocation event method in vue_activity Location
This commit is contained in:
@@ -564,21 +564,23 @@ paths:
|
||||
name:
|
||||
type: string
|
||||
phonenumber1:
|
||||
type: string
|
||||
type: string
|
||||
phonenumber2:
|
||||
type: string
|
||||
type: string
|
||||
email:
|
||||
type: string
|
||||
type: string
|
||||
address:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
locationtype:
|
||||
locationType:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
type:
|
||||
type: string
|
||||
responses:
|
||||
401:
|
||||
description: "Unauthorized"
|
||||
@@ -591,6 +593,26 @@ paths:
|
||||
400:
|
||||
description: "transition cannot be applyed"
|
||||
|
||||
/1.0/main/location/{id}.json:
|
||||
get:
|
||||
tags:
|
||||
- location
|
||||
summary: Return the given location
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
required: true
|
||||
description: The location id
|
||||
schema:
|
||||
type: integer
|
||||
format: integer
|
||||
minimum: 1
|
||||
responses:
|
||||
200:
|
||||
description: "ok"
|
||||
401:
|
||||
description: "Unauthorized"
|
||||
|
||||
/1.0/main/location-type.json:
|
||||
get:
|
||||
tags:
|
||||
|
Reference in New Issue
Block a user