atsign-foundation / docs.atsign.com

This repo is archived, see the linked website for our latest documentation repo.
https://github.com/atsign-foundation/docs
BSD 3-Clause "New" or "Revised" License
3 stars 35 forks source link

Protocol Spec update Notification Verb #198

Closed JeremyTubongbanua closed 1 year ago

JeremyTubongbanua commented 2 years ago

What needs to be done

Update the Protocol Specification with new notification examples + their responses, and a new regex.

  1. Notification regex to be updated with messageType: parameter.

New regex to be added:

notify:((?<operation>update|delete):)?(messageType:(?<messageType>key|text):)?(priority:(?<priority>low|medium|high):)?(strategy:(?<strategy>all|latest):)?(latestN:(?<latestN>\d+):)?(notifier:(?<notifier>[^\s:]+):)?(ttln:(?<ttln>\d+):)?(ttl:(?<ttl>\d+):)?(ttb:(?<ttb>\d+):)?(ttr:(?<ttr>(-)?\d+):)?(ccd:(?<ccd>true|false):)?(@(?<forAtSign>[^@:\s]*)):(?<atKey>[^:@]((?!:{2})[^@])+)(@(?<atSign>[^@:\s]+))?(:(?<value>.+))?$
  1. Add examples of notify:messageType:text: and their responses
  2. Add the notify:status: verb with examples and their responses

Support

Discord

Ruchika30 commented 2 years ago

are u looking into this @JeremyTubongbanua? or I can check it out

JeremyTubongbanua commented 2 years ago

Sure @Ruchika30 I updated the ticket

This one is using the atProtocol, so it's going to be a bit tricky.