4.47b

TextMarks API V2 - AutoDoc: TextMarkManager / set_public_config()

Method: set_public_config() (POST) - Set public description/configuration

Package: TextMarkManager - Manage a TextMark owned by authenticated user (... View package)

Args:

Req? Name Type Description Test
REQ auth_user User User account / phone# used for login
REQ auth_pass Password Password
REQ tm TextMark TextMark keyword/TRI owned by auth_user
OPT api_key API Key API Key (Register here)
OPT publish_messages Bool (0/1) let anyone see previously sent messages?
OPT in_directory Bool (0/1) list the TextMark in the public directory?
OPT description String short textual description of your TextMark
OPT image_url URL (or NONE) URL of an image representing your TextMark
OPT site_url URL (or NONE) URL link to a web site related to your TextMark

Test:


Docs:

  • Set public configuration for the TextMark tm, determining what and how the TextMark and its group are revealed to the world.
  • Only options specified will be changed:
    publish_messages:
    Allow non-authenticated users to see previously sent messages (see Anybody.textmark_messages())? Disable this for private/sensitive content.
    in_directory:
    List the TextMark in the public directory?
    description:
    Short textual description of your TextMark (used in directory listing).
    image_url:
    URL of an image representing your TextMark (used in directory listing). ("NONE" to clear existing setting).
    site_url:
    URL link to a web site related to your TextMark (used in directory listing). ("NONE" to clear existing setting).
  • See public_config() to read the current settings.

Resp:

JSON response.head.rescode==0 for success, or error code otherwise.
JSON-P callback: (as 'jsonp' param, optional) (blank for none)

HTTP:

POST http://help.api2.textmarks.com//TextMarkManager/set_public_config/

More:

This page documents a single API function set_public_config() within the TextMarkManager package of the TextMarks Text Message API.
You may use the interactive form above to invoke this function and observe its actual JSON response.

More resources: