partielsymfonyjwt.meydetour.com Open in urlscan Pro
172.232.43.167  Public Scan

URL: https://partielsymfonyjwt.meydetour.com/
Submission: On December 18 via api from US — Scanned from FR

Form analysis 0 forms found in the DOM

Text Content

SUPPORT & DOCUMENTATION


CODING HELP

User Event Invitation suggestion
POST
Register /register
POST
Login /api/login_check
GET
Get all users /api/users
GET
Get own profile /api/profile
PUT
Edit own profile /api/profile
DELETE
Delete profile /api/profile
POST
Upload profile image /api/profile/upload/image
GET
Get events wich we are in /api/profile/events
GET
Get our contributions /api/profile/contributions
GET
Get events wich we are in /api/profile/events
GET
Create Event /api/create/event
PUT
Edit Event /api/edit/event/{id}
GET
Get Events /api/events
GET
Get Events Private /api/event/private
GET
Get Events Public /api/event/public
GET
Get one event /api/event/{id}
GET
Search event /api/search/Event/{searchterm}
PATCH
Add administrator /api/event/{event id}/add/profile/{profile
id}/as/administrator
DELETE
Add administrator /api/event/{event id}/remove/profile/{profile id
}/from/administrators
PATCH
Join public event /api/join/event/{id event }
PATCH
Left public event /api/left/event/{id event }
PATCH
Close/canceled public event /api/event/{id event }
POST
Invite to private event /api/invite
PATCH
Accept invite /api/invite/{id invitation}/accept
PATCH
Refuse invite /api/invite/{id invitation}/refuse
POST
Create suggestion to event /api/event/{id event}/create/suggestion
PUT
Edit suggestion to event /api/edit/suggestion/{id suggestion}
DELETE
Delete suggestion to event /api/delete/suggestion/{id suggestion}
PATCH
Handle suggestion /api/suggestion/{id suggestion}
DELETE
Miss handle suggestion /api/suggestion/{id suggestion}
post
Create rebelle contribution /api/event/{event id}/suggestion/rebelle
PUT
Edit own contribution /api/edit/contribution/{id contribution}
DELETE
Delete own contribution /api/delete/contribution/{id contribution}


REGISTER

POST
/register

This route doesn't need authentication

Body:

JSON[
  {
    "displayName": "string (NOT NUL)",
    "email": "string (NOT NUL)",
    "password": "string (NOT NUL)"
  }
]
                        

Response:

JSON{
  "message": "ok"
}
                        


LOGIN

POST
/api/login_check

This route doesn't need authentication

Body:

JSON[
  {
    "username": "string (NOT NUL)",
    "password": "string (NOT NUL)"
  }
]
                        

Response:

JSON{
  "token": "string"
}
                        


GET ALL USERS

GET
/api/users

This route needs authentication

Body:

JSON[]
                        

Response:

JSON{
  "0": [
    "..."
  ],
  "id": "int (AI) ",
  "email": "string",
  "createdAt": "string (d.m.Y h:i)",
  "profile": {
    "id": "int (AI) ",
    "displayName": "string",
    "imageUrl": "string"
  }
}
                        


GET OWN PROFILE

GET
/api/profile

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[
  {
    "0": [
      "..."
    ],
    "id": "int (AI)",
    "displayName": "string",
    "imageUrl": "string",
    "userAssociated": {
      "id": "int (AI) ",
      "email": "string",
      "createdAt": "string (d.m.Y h:i)"
    }
  }
]
                        


EDIT OWN PROFILE

PUT
/api/profile

This route needs authentication

Body:

JSON{
  "displayName": "string (NOT NULL)"
}
                        

Response:

JSON{
  "message": "ok"
}
                        


DELETE PROFILE

DELETE
/api/profile

This route needs authentication

Body:

JSON[]
                        

Response:

JSON{
  "message": "ok"
}
                        


UPLOAD PROFILE IMAGE

POST
/api/profile/upload/image

This route needs authentication

Body:

JSON{
    "formdata": "form data with key 'image'"
}
                        

Response:

JSON{
  "url": "string"
}
                        


GET EVENTS WICH WE ARE IN

GET
/api/profile/events

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[
  {
    "id": "int (AI) (NOT NULL)",
    "name": "string",
    "description": "string",
    "isPublic": "boolean",
    "startDate": "string (d.m.Y h:i)",
    "endDate": "string (d.m.Y h:i)",
    "isPublicPlace": "boolean",
    "state": "onSchedule/canceled",
    "createdAt": "string (d.m.Y h:i)"
  },
  [
    "..."
  ]
]
                        


GET OUR CONTRIBUTIONS

GET
/api/profile/contributions

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[
  {
    "id": "int (AI) (NOT NULL)",
    "description": "null because contirbution is attached to sughgestion",
    "suggestion": {
      "id": "int (AI) (NOT NULL)",
      "description": "string",
      "isTaken": "boolean"
    },
    "event": {
      "id": "int (AI) (NOT NULL)",
      "name": "string",
      "isPublic": "boolean",
      "startDate": "string (d.m.Y h:i)",
      "endDate": "string (d.m.Y h:i)",
      "description": "string",
      "isPublicPlace": "boolean",
      "state": "onSchedule/canceled",
      "createdAt": "string (d.m.Y h:i)"
    }
  },
  {
    "id": "int (AI) (NOT NULL)",
    "description": "string (NOT NULL)",
    "suggestion": "NULL",
    "event": {
      "id": "int (AI) (NOT NULL)",
      "name": "string",
      "isPublic": "boolean",
      "startDate": "string (d.m.Y h:i)",
      "endDate": "string (d.m.Y h:i)",
      "description": "string",
      "isPublicPlace": "boolean",
      "state": "onSchedule/canceled",
      "createdAt": "string (d.m.Y h:i)"
    }
  },
  [
    "..."
  ]
]
                        


GET EVENTS WICH WE ARE IN

GET
/api/profile/events

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[
  {
    "id": "int (AI) (NOT NULL)",
    "name": "string",
    "description": "string",
    "isPublic": "boolean",
    "startDate": "string (d.m.Y h:i)",
    "endDate": "string (d.m.Y h:i)",
    "isPublicPlace": "boolean",
    "state": "onSchedule/canceled",
    "createdAt": "string (d.m.Y h:i)"
  },
  [
    "..."
  ]
]
                        


CREATE EVENT

GET
/api/create/event

This route needs authentication

Body:

JSON{
  "name": "create by max",
  "description": "string",
  "startDate": "17.12.2024 9=>50",
  "endDate": "18.12.2024 10=>43",
  "publicPlace": true,
  "public": false
}
                        

Response:

JSON[]
                        


EDIT EVENT

PUT
/api/edit/event/{id}

This route needs authentication

Body:

JSON{
  "name": "create by max",
  "description": "string",
  "startDate": "17.12.2024 9=>50",
  "endDate": "18.12.2024 10=>43",
  "publicPlace": true,
  "public": false
}
                        

Response:

JSON[]
                        


GET EVENTS

GET
/api/events

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[
  {
    "id": "int (AI) (NOT NULL)",
    "name": "string",
    "isPublic": "boolean",
    "startDate": "string (d.m.Y h:i)",
    "endDate": "string (d.m.Y h:i)",
    "description": "string",
    "isPublicPlace": "boolean",
    "state": "onSchedule/canceled",
    "createdAt": "string (d.m.Y h:i)"
  },
  [
    "..."
  ]
]
                        


GET EVENTS PRIVATE

GET
/api/event/private

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[
  {
    "id": "int (AI) (NOT NULL)",
    "name": "string",
    "isPublic": "boolean",
    "startDate": "string (d.m.Y h:i)",
    "endDate": "string (d.m.Y h:i)",
    "description": "string",
    "isPublicPlace": "boolean",
    "state": "onSchedule/canceled",
    "createdAt": "string (d.m.Y h:i)"
  },
  [
    "..."
  ]
]
                        


GET EVENTS PUBLIC

GET
/api/event/public

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[
  {
    "id": "int (AI) (NOT NULL)",
    "name": "string",
    "isPublic": "boolean",
    "startDate": "string (d.m.Y h:i)",
    "endDate": "string (d.m.Y h:i)",
    "description": "string",
    "isPublicPlace": "boolean",
    "state": "onSchedule/canceled",
    "createdAt": "string (d.m.Y h:i)"
  },
  [
    "..."
  ]
]
                        


GET ONE EVENT

GET
/api/event/{id}

This route needs authentication

Body:

JSON[]
                        

Response:

JSON{
  "id": "int (AI) (NOT NULL)",
  "name": "string",
  "isPublic": "boolean",
  "startDate": "string (d.m.Y h:i)",
  "endDate": "string (d.m.Y h:i)",
  "description": "string",
  "isPublicPlace": "boolean",
  "state": "onSchedule/canceled",
  "createdAt": "string (d.m.Y h:i)",
  "participants": [
    {
      "id": "int (AI) (NOT NULL)",
      "displayName": "string"
    }
  ],
  "invitations": [],
  "suggestions": [
    {
      "id": "int (AI) (NOT NULL)",
      "description": "string",
      "isTaken": true
    }
  ],
  "contributions": [
    {
      "id": "int (AI) (NOT NULL)",
      "description": null,
      "author": {
        "id": 5,
        "displayName": "MeïMeï"
      },
      "suggestionId": 2
    },
    {
      "id": "int (AI) (NOT NULL)",
      "description": "string",
      "author": {
        "id": "int (AI) (NOT NULL)",
        "displayName": "MeïMeï"
      },
      "suggestionId": null
    }
  ],
  "administrators": []
}
                        


SEARCH EVENT

GET
/api/search/Event/{searchterm}

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[
  {
    "id": "int (AI) (NOT NULL)",
    "name": "string",
    "isPublic": "boolean",
    "startDate": "string (d.m.Y h:i)",
    "endDate": "string (d.m.Y h:i)",
    "description": "string",
    "isPublicPlace": "boolean",
    "state": "onSchedule/canceled",
    "createdAt": "string (d.m.Y h:i)"
  },
  [
    "..."
  ]
]
                        


ADD ADMINISTRATOR

PATCH
/api/event/{event id}/add/profile/{profile id}/as/administrator

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]
                        


ADD ADMINISTRATOR

DELETE
/api/event/{event id}/remove/profile/{profile id }/from/administrators

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]
                        


JOIN PUBLIC EVENT

PATCH
/api/join/event/{id event }

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]
                        


LEFT PUBLIC EVENT

PATCH
/api/left/event/{id event }

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]
                        


CLOSE/CANCELED PUBLIC EVENT

PATCH
/api/event/{id event }

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]
                        


INVITE TO PRIVATE EVENT

POST
/api/invite

This route needs authentication

Body:

JSON{
  "eventId": 20,
  "profileId": 16
}
                        

Response:

JSON[]
                        


ACCEPT INVITE

PATCH
/api/invite/{id invitation}/accept

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]
                        


REFUSE INVITE

PATCH
/api/invite/{id invitation}/refuse

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]
                        


CREATE SUGGESTION TO EVENT

POST
/api/event/{id event}/create/suggestion

This route needs authentication

Body:

JSON{
  "description": "string (NOT NULL)"
}
                        

Response:

JSON[]
                        


EDIT SUGGESTION TO EVENT

PUT
/api/edit/suggestion/{id suggestion}

This route needs authentication

Body:

JSON{
  "description": "string (NOT NULL)"
}
                        

Response:

JSON[]
                        


DELETE SUGGESTION TO EVENT

DELETE
/api/delete/suggestion/{id suggestion}

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]
                        


HANDLE SUGGESTION

PATCH
/api/suggestion/{id suggestion}

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]
                        


MISS HANDLE SUGGESTION

DELETE
/api/suggestion/{id suggestion}

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]
                        


CREATE REBELLE CONTRIBUTION

post
/api/event/{event id}/suggestion/rebelle

This route needs authentication

Body:

JSON{
  "description": "string (NOT NULL)"
}
                        

Response:

JSON[]
                        


EDIT OWN CONTRIBUTION

PUT
/api/edit/contribution/{id contribution}

This route needs authentication

Body:

JSON{
  "description": "string (NOT NULL)"
}
                        

Response:

JSON[]
                        


DELETE OWN CONTRIBUTION

DELETE
/api/delete/contribution/{id contribution}

This route needs authentication

Body:

JSON[]
                        

Response:

JSON[]