Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W wilmaplus-notifier
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Developer From Jokela
  • wilmaplus-notifier
  • Wiki
  • Push Request

Push Request · Changes

Page history
Updated push (markdown) authored May 18, 2020 by Developer From Jokela's avatar Developer From Jokela
Hide whitespace changes
Inline Side-by-side
Push-Request.md 0 → 100644
View page @ 1e79332b
This method starts performing routines that are defined in `notifier.py`
##### Request details:
* Method: `POST`
* URL: `/api/v1/push`
##### Parameters:
* `server_url`: Wilma Server's url (include the Slug ID if needed)
* `session`: Wilma Server's session cookie value (read more below)
* `iid_key`: FCM Client ID (or as google calls it "Instance ID")
* `apikey`: This is optional, required only if apikey check is turned on in `notifier.py`. (Can also be checked from client using a GET request to `/`, find JSON object `details`, and its boolean `apikey_required`)
#### Response:
`200 OK`
````
{
"status": true
}
````
#### Error Response:
````
{
"status": false,
"cause": "Example cause of this error"
}
````
\ No newline at end of file
Clone repository
  • Home
  • Installation
  • Push Request
  • _Sidebar