POST /api/v1/owner/:owner/campaigns/:campaign/messages

Sign a NDEF message

Signs the provided NDEF message and returns the result.

Request Parameters

Name Description
description (optional) Description of the message. Used for reference only.
ndef_message NDEF message to be signed. Base 64 encoding expected.

Response Parameters

Name Description
owner Owner of the newly signed message in BlackSeal.
id Identifier for the newly signed message in BlackSeal.
campaign The campaign the signed message has been associated with.
signed_message The signed NDEF message.
date_created Date that the NDEF message was signed.
description Description of the signed message in BlackSeal.

Examples

Sample Request

POST:/api/v1/owner/tptestndef/campaigns/NDEF-Testing/messages
            
{
    "description": "signUriRecord"
    "ndef_message": "0QEOVQJ0cnVzdHBvaW50LmNh"
}
            
        

Sample Response

            
{
    "owner": "tptestndef",
    "id": "X6dGH22a",
    "campaign": "NDEF-Testing",
    "signed_message": "kQEOVQJ0cnVzdHBvaW50LmNhQQMAAAE2U2lnIAsCAEAeWmxNCchzWUjbL81iwfdhRRWeW2XNPfzHQ5yTeNKBPmuz5WYEeo62qfhEY1MebURA5rr4GbgPi5vzWUOu4cYCEQDudIHroFuBAQmCBSuBOgENpA2GC2JsYWNrc2VhbGNhhQRWujSQhgQB4oUApwqGCEMgKFAyNTYpiAUrgToBCYohA39S3X/HknnZqsvxCmeA2jQJ1u9UJ73qR53WrT+xYGTxgYGLMIGIAkIBiq/W/JA85nFokyVdPU3HSziFm12ZeGGw6dkd2tfe6oCOKjCy91UR5ThGCXhZ4AOK8bQsVwtUyfvmPebYsmyaAg8CQgCdAyVu2e4dhbXChf7NtIXzdEr7F9GlHqXjXTt8y66Ki3673BLYT1HpcTMnen0tnkjxuv0SqFE758BqSSvDFSdBSQ==",
    "date_created": "2016-02-08T19:50:05.295Z",
    "description": "signUriRecord"
}