aw oneM2M short names

Created By: Andreas Kraft, 0 Stars, Last Updated: 20/09/21 14:22:35

Love this? Please consider supporting its creator by starring or sponsoring this project on GitHub!

From the project's README:

Alfred Workflow - Find oneM2M Short Names

This Alfred workflow provides a search for oneM2M attribute long and short names, and response status codes.



External Tools

  • jq - Command line JSON processor
    The workflow requires the jq command line JSON processor. You need to install it separately, for example via brew (see jq Homebrew formulae).

      brew install jq

The workflow by default expects jq in the directory /usr/local/bin, but this can be configured in the workflow.


sn : Attributes and short names

  • Alfred keyword trigger in Alfred: sn
  • Pressing return copies both the long and the short name to the clipboard.
  • Pressing Ctrl-return copies only the long name to the clipboard.
  • Modifier keys for the search result:
    • Alt: show attribute categories
    • Cmd: show documents where an attribute is defined

rsc : Response Status Codes

  • Alfred keyword trigger in Alfred: rsc
  • Pressing return copies the oneM2M Response Status Code and the description to the clipboard.
  • Modifier keys for the search result:
    • Alt: show detailed http status code
    • Cmd: show detailed CoAP response code

Alfred Universal Actions

This workflow supports Alfred's Universal Actions. Just mark a short name, attribute, or result status code in your text and hit the Alfred's selection hotkey.

Updating Attribute Mappings and Response Status Codes

The attribute mappings and information are located in the file attributes.json in the workflow directory. An updated version of this file can always be generated by using the script from the ankraft/onem2m-extract-attributes project. It then needs to be copied to the workflow's installation directory.

The response status codes and the mappings are located in the file responseStatusCodes.json in the workflow directory.


See the file.


This project is licensed under the terms of the BSD 3-Clause License.