v1/content

Create DSNP Broadcast for user

Changed on
post/v1/content/{msaId}/broadcast

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

msaIdstring required
Example:2

Msa Id of requested account

Request body

Example request

{
  "content": {
    "content": "Hello world!",
    "published": "1970-01-01T00:00:00+00:00",
    "assets": [
      {
        "references": [
          {
            "referenceId": "bafybeibzj4b4zt4h6n2f6i6lam3cidmywqj5rznb2ofr3gnahurorje2tu",
            "height": 228,
            "width": 350,
            "duration": "PT10M32S"
          }
        ],
        "name": "TheScream",
        "href": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Wilhelm_Scream.ogg"
      }
    ],
    "name": "A simple activity",
    "tag": [
      {
        "name": "@sally",
        "mentionedId": "dsnp://12345678"
      }
    ],
    "location": {
      "name": "New York, NY",
      "accuracy": 94,
      "altitude": 10,
      "latitude": 40.73,
      "longitude": -73.93,
      "radius": 100
    }
  }
}

Response

referenceIdstring required

Changes

    • ▲

      added to the /// request property allOf list

    • ▲

      added to the // request property allOf list

    • ▲

      removed the enum value cm of the request property //

    • ▲

      removed the enum value feet of the request property //

    • ▲

      removed the enum value hashtag of the request property ///

    • ▲

      removed the enum value inches of the request property //

    • ▲

      removed the enum value km of the request property //

    • ▲

      removed the enum value m of the request property //

    • ▲

      removed the enum value mention of the request property ///

    • ▲

      removed the enum value miles of the request property //

    • ▲

      the /// request property's minItems was increased to 1

    • ▲

      the /// request property format changed from no format to uri

    • ▲

      the // request property type changed from string to no type

    • ▲

      the /// request property type changed from string to no type

    • ○

      api operation id ContentControllerV1_broadcast removed and replaced with ContentControllerV1_broadcast_v1

    • ○

      added the new optional request property ///