Update Content

Allows to update a content in the system.

This endpoint requires authentication with a JWT token or API key.

POST https://api.instantuploader.com/сontent

Example: /content/?uid=00273d24f34295j67bd17dc189

Query Parameters

Name
Type
Description

uid*

String

The ID of the content to retrieve all details of the account

Request Body

Name
Type
Description

contentType

Object

id and name parameters are required

pipelineId

String

Id of content

address

String

address of Location, like "Ukraine"

city

String

name of the City

coordData

Object

geohash and geopoint

seo

Object

Nested property "permalink" must be text

stage

String

Id of stage

status

Object

Nested properties are: content: "draft" / "writing", "dropped" / "reviewing" / "finalized" publish: "notPublished" / "published"

service: "open", "cancelled", "completed"

title

String

title of content

tags

array

["0d37274bb98568dd713fc038ffd9"]

services

array

["96g37274bb98568dd713fc038ffd9"]

labels

array

["00dg37274bb98568dd713fc038ffd9"]

media

array

array of media objects

{
  "accountId": "f09394dc775a870f9c7b8f98e45a",
  "address": "",
  "agencyId": "10d125c1277ac06295d25b79edc6",
  "businessCategories": [],
  "businessLabels": [],
  "businessServices": [],
  "businessTags": [],
  "city": "",
  "contentType": {
    "id": "7eb49931fab86365a07f137db5fe",
    "name": "Project"
  },
  "coordData": {
    "geohash": ""
  },
  "coords": "44.00,44.0114",
  "createDate": "2021-05-31T11:51:57.0Z",
  "customerName": "",
  "datetimeStamp": 516,
  "description": "",
  "internalNote": "",
  "lock": {},
  "media": [],
  "neighborhood": "",
  "permitNumber": "",
  "pipelineId": "5c760838b1976bc7465b5fa8fff9",
  "presentation": {},
  "seo": {
    "permalink": "title_"
  },
  "smartTags": [],
  "stage": "1cb355e1ebaf70bb46eda2f6d3f9",
  "status": {
    "content": "draft",
    "publish": "notPublished",
    "service": "open"
  },
  "tasks": [],
  "testimonial": {},
  "title": "",
  "updateDate": "2021-05-31T11:51:57.0Z",
  "userId": "user_id",
  "writings": {}
} 

Examples:

GET https://api.instantuploader.com/content/1e969d35f22897bb0f79ae74bc53 HTTP/1.1
Content-Type: application/json
Authorization: Bearer "<your_token_or_api_key>"

Last updated