{"id":616,"date":"2020-12-14T16:10:41","date_gmt":"2020-12-14T16:10:41","guid":{"rendered":"https:\/\/cupl.co.uk\/?page_id=616"},"modified":"2020-12-16T10:53:45","modified_gmt":"2020-12-16T10:53:45","slug":"cuplfrontend-admin-features","status":"publish","type":"page","link":"https:\/\/cupl.co.uk\/index.php\/software\/cuplfrontend\/cuplfrontend-admin-features\/","title":{"rendered":"Admin Features"},"content":{"rendered":"\n<h2>Log In Page<\/h2>\n\n\n\n<p>Log in to <a href=\"http:\/\/redocly.github.io\/redoc\/?url=https:\/\/raw.githubusercontent.com\/cuplsensor\/cuplbackend\/dev\/docs\/api\/admin\/api.yaml#operation\/TokenPost\">obtain<\/a> a token. This is required for all other administrator operations.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"645\" src=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_login-1024x645.png\" alt=\"\" class=\"wp-image-669\" srcset=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_login-1024x645.png 1024w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_login-600x378.png 600w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_login-300x189.png 300w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_login-768x484.png 768w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_login.png 1388w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Log in page<\/figcaption><\/figure>\n\n\n\n<h2>Browse Tags, Captures and Webhooks<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"645\" src=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_list-1024x645.png\" alt=\"\" class=\"wp-image-671\" srcset=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_list-1024x645.png 1024w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_list-600x378.png 600w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_list-300x189.png 300w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_list-768x484.png 768w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_list.png 1388w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>A paginated list of tags read from the <a href=\"http:\/\/redocly.github.io\/redoc\/?url=https:\/\/raw.githubusercontent.com\/cuplsensor\/cuplbackend\/dev\/docs\/api\/admin\/api.yaml#operation\/TagsGet\" data-type=\"URL\" data-id=\"http:\/\/redocly.github.io\/redoc\/?url=https:\/\/raw.githubusercontent.com\/cuplsensor\/cuplbackend\/dev\/docs\/api\/admin\/api.yaml#operation\/TagsGet\">List Tags<\/a> endpoint.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"645\" src=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_captures_list-1024x645.png\" alt=\"\" class=\"wp-image-670\" srcset=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_captures_list-1024x645.png 1024w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_captures_list-600x378.png 600w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_captures_list-300x189.png 300w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_captures_list-768x484.png 768w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_captures_list.png 1388w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>A paginated list of capture from the <a href=\"http:\/\/redocly.github.io\/redoc\/?url=https:\/\/raw.githubusercontent.com\/cuplsensor\/cuplbackend\/dev\/docs\/api\/admin\/api.yaml#operation\/CapturesGet\" data-type=\"URL\" data-id=\"http:\/\/redocly.github.io\/redoc\/?url=https:\/\/raw.githubusercontent.com\/cuplsensor\/cuplbackend\/dev\/docs\/api\/admin\/api.yaml#operation\/CapturesGet\">List Captures<\/a> endpoint.<\/figcaption><\/figure>\n\n\n\n<h2>Add a Tag<\/h2>\n\n\n\n<p>This is a user interface for the <a href=\"https:\/\/cupl.co.uk\/index.php\/cuplbackend-admin-api\/#add-a-tag\">add a tag<\/a> feature in cuplbackend.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"645\" src=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_add-1024x645.png\" alt=\"\" class=\"wp-image-675\" srcset=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_add-1024x645.png 1024w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_add-600x378.png 600w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_add-300x189.png 300w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_add-768x484.png 768w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tags_add.png 1388w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Add a new tag. All fields are optional.<\/figcaption><\/figure>\n\n\n\n<h2>Write Configuration to a Tag<\/h2>\n\n\n\n<p><a href=\"https:\/\/cupltag.readthedocs.io\/en\/latest\/docs\/firmware\/configuration.html\" data-type=\"URL\" data-id=\"https:\/\/cupltag.readthedocs.io\/en\/latest\/docs\/firmware\/configuration.html\">Configuration strings<\/a> include the tag serial string and secret key. The <a href=\"https:\/\/cupltag.readthedocs.io\/en\/latest\/docs\/firmware\/operatingmodes.html#progmode\" data-type=\"URL\" data-id=\"https:\/\/cupltag.readthedocs.io\/en\/latest\/docs\/firmware\/operatingmodes.html#progmode\">encoder<\/a> running on cuplTag uses these to construct its URL. <\/p>\n\n\n\n<p>Two methods exist for writing configuration: <\/p>\n\n\n\n<ol><li>Put the cuplTag in <a href=\"https:\/\/cupltag.readthedocs.io\/en\/latest\/docs\/firmware\/operatingmodes.html#progmode\" data-type=\"URL\" data-id=\"https:\/\/cupltag.readthedocs.io\/en\/latest\/docs\/firmware\/operatingmodes.html#progmode\">programming mode<\/a> and write data into its serial port. To eliminate errors associated with copy-and-paste, data are written directly from the cuplfrontend web application. The &#8216;Write to Serial&#8217; button invokes the <a href=\"https:\/\/wicg.github.io\/serial\/\" data-type=\"URL\" data-id=\"https:\/\/wicg.github.io\/serial\/\">WebSerial API<\/a> (experimental and only on Chrome for now). <\/li><li>Configuration can be encapsulated in an NDEF text record and sent over NFC. On cuplTag, the microcontroller is connected to an NFC EEPROM. This is read every minute. If a text record is found, it is assumed to contain configuration data. A software reset occurs and the record is parsed. <\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"645\" src=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_configure_serial-1024x645.png\" alt=\"\" class=\"wp-image-679\" srcset=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_configure_serial-1024x645.png 1024w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_configure_serial-600x378.png 600w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_configure_serial-300x189.png 300w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_configure_serial-768x484.png 768w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_configure_serial.png 1388w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2>Edit an Existing Tag<\/h2>\n\n\n\n<p>The firmware version, hardware version and description of a tag can be viewed and modified.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"645\" src=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_edit-1024x645.png\" alt=\"\" class=\"wp-image-677\" srcset=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_edit-1024x645.png 1024w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_edit-600x378.png 600w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_edit-300x189.png 300w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_edit-768x484.png 768w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_edit.png 1388w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2>Simulate a Tag<\/h2>\n\n\n\n<p>This provides a user interface to the <a href=\"https:\/\/cupl.co.uk\/index.php\/cuplbackend-admin-api\/#simulate-a-tag\" data-type=\"URL\" data-id=\"https:\/\/cupl.co.uk\/index.php\/cuplbackend-admin-api\/#simulate-a-tag\">simulate feature<\/a> in cuplbackend. A virtual tag can be manipulated. Its URL is updated in real time. This is rendered as text and in a QR code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"645\" src=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_simulate-1024x645.png\" alt=\"\" class=\"wp-image-683\" srcset=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_simulate-1024x645.png 1024w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_simulate-600x378.png 600w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_simulate-300x189.png 300w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_simulate-768x484.png 768w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_simulate.png 1388w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2>Add or Delete a Webhook<\/h2>\n\n\n\n<p>This provides a user interface to the <a href=\"https:\/\/cupl.co.uk\/index.php\/cuplbackend-consumer-api\/#webhooks\" data-type=\"URL\" data-id=\"https:\/\/cupl.co.uk\/index.php\/cuplbackend-consumer-api\/#webhooks\">webhook<\/a> endpoints in the AdminAPI of cuplbackend. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"645\" src=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_webhook-1024x645.png\" alt=\"\" class=\"wp-image-684\" srcset=\"https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_webhook-1024x645.png 1024w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_webhook-600x378.png 600w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_webhook-300x189.png 300w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_webhook-768x484.png 768w, https:\/\/cupl.co.uk\/wp-content\/uploads\/2020\/12\/admin_tag_webhook.png 1388w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Log In Page Log in to obtain a token. This is required for all other administrator operations. Browse Tags, Captures and Webhooks Add a Tag This is a user interface for the add a tag feature in cuplbackend. Write Configuration to a Tag Configuration strings include the tag serial string and secret key. The encoder&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":175,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"spay_email":""},"featured_image_urls":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":""},"post_excerpt_stackable":"<p>Log In Page Log in to obtain a token. This is required for all other administrator operations. Log in page Browse Tags, Captures and Webhooks A paginated list of tags read from the List Tags endpoint. A paginated list of capture from the List Captures endpoint. Add a Tag This is a user interface for the add a tag feature in cuplbackend. Add a new tag. All fields are optional. Write Configuration to a Tag Configuration strings include the tag serial string and secret key. The encoder running on cuplTag uses these to construct its URL. Two methods exist for&hellip;<\/p>\n","category_list":"","author_info":{"name":"malcolmmackay","url":"https:\/\/cupl.co.uk\/index.php\/author\/malcolmmackay\/"},"comments_num":"0 comments","featured_image_urls_v2":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":""},"post_excerpt_stackable_v2":"<p>Log In Page Log in to obtain a token. This is required for all other administrator operations. Log in page Browse Tags, Captures and Webhooks A paginated list of tags read from the List Tags endpoint. A paginated list of capture from the List Captures endpoint. Add a Tag This is a user interface for the add a tag feature in cuplbackend. Add a new tag. All fields are optional. Write Configuration to a Tag Configuration strings include the tag serial string and secret key. The encoder running on cuplTag uses these to construct its URL. Two methods exist for&hellip;<\/p>\n","category_list_v2":"","author_info_v2":{"name":"malcolmmackay","url":"https:\/\/cupl.co.uk\/index.php\/author\/malcolmmackay\/"},"comments_num_v2":"0 comments","_links":{"self":[{"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/616"}],"collection":[{"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=616"}],"version-history":[{"count":12,"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/616\/revisions"}],"predecessor-version":[{"id":690,"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/616\/revisions\/690"}],"up":[{"embeddable":true,"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/175"}],"wp:attachment":[{"href":"https:\/\/cupl.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}