Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

add application level events ONAPPINSTALL and ONAPPUNINSTALL #296

Closed
2 of 3 tasks
mesilov opened this issue Jun 23, 2022 · 1 comment
Closed
2 of 3 tasks

add application level events ONAPPINSTALL and ONAPPUNINSTALL #296

mesilov opened this issue Jun 23, 2022 · 1 comment
Assignees
Labels
2.x issue related with 2.x sdk version 💠 core improve DX developer experience improvement
Milestone

Comments

@mesilov
Copy link
Owner

mesilov commented Jun 23, 2022

add application level events ONAPPINSTALL and ONAPPUNINSTALL

{
  "payload": {
    "event": "ONAPPINSTALL",
    "data": {
      "VERSION": "1",
      "ACTIVE": "Y",
      "INSTALLED": "Y",
      "LANGUAGE_ID": "ru"
    },
    "ts": "1655823961",
    "auth": {
      "access_token": "69ecb....",
      "expires": "1655827561",
      "expires_in": "3600",
      "scope": "crm,telephony,call,user_basic,placement,im,imopenlines",
      "domain": "xxxxx.bitrix24.ru",
      "server_endpoint": "https://oauth.bitrix.info/rest/",
      "status": "F",
      "client_endpoint": "https://xxx.bitrix24.ru/rest/",
      "member_id": "9a1f68a4....",
      "user_id": "1",
      "refresh_token": "596bd962005bd...",
      "application_token": "c7d7b..."
    }
  }
}

and

{
  "payload": {
    "event": "ONAPPUNINSTALL",
    "data": {
      "CLEAN": "1",
      "LANGUAGE_ID": "ru"
    },
    "ts": "1655823904",
    "auth": {
      "domain": "xxxx.bitrix24.ru",
      "client_endpoint": "https://xxxx.bitrix24.ru/rest/",
      "server_endpoint": "https://oauth.bitrix.info/rest/",
      "member_id": "9a1f68a4...",
      "application_token": "c7d7b..."
    }
  }
}

Add events service - https://dev.1c-bitrix.ru/rest_help/general/events_method/events.php

  • methods
  • tests ?
  • offline events
@mesilov mesilov self-assigned this Jun 23, 2022
@mesilov mesilov added 2.x issue related with 2.x sdk version improvement improve DX developer experience 💠 core labels Jun 23, 2022
@mesilov mesilov added this to the 2.x-core milestone Jun 23, 2022
@mesilov
Copy link
Owner Author

mesilov commented Jun 23, 2022

@mesilov mesilov closed this as completed Jul 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.x issue related with 2.x sdk version 💠 core improve DX developer experience improvement
Projects
None yet
Development

No branches or pull requests

1 participant