Not a developer? Go to MovableType.com

Documentation

Movable Type 6.1.2 Release Notes

This version of Movable Type was released June 30, 2015.

NEW AND IMPROVED FUNCTIONS

DATA API

NEW AVAILABLE ENDPOINT FOR TEMPLATE, ENTRY AND PAGE PREVIEW

Added ability to make a preview for entry, page and templates via Data API. Currently, template preview endpoint supports Index or Archive templates only.

Preview for Entry
  • Endpoint
    • POST /v2/sites/:site_id/entries/(:entry_id)/preview(?raw=1)
  • Query Parameter
    • :siteid … The ID for website/blog. This parameter is required.
    • :entryid … The ID for entry of the base for making a preview. This parameter is optional.
    • raw … If you specify “1”, the API returns raw content(in many case, html source). This parameter is optional.
  • Request Body
    • entry … Entries Resource (JSON format) that includes changes for preview. This parameter is required.
  • Response
    • { "status": "success", "preview": The URL for preview or the raw content if you specified raw parameter }
Preview for Page
  • Endpoint
    • POST /v2/sites/:site_id/pages/(:page_id)/preview(?raw=1)
  • Query Parameter
    • :siteid … The ID for website/blog. This parameter is required.
    • :pageid … The ID for page of the base for making a preview. This parameter is optional.
    • raw … If you specify “1”, the API returns html source. This parameter is optional.
  • Request Body
    • page … Pages Resource (JSON format) that includes changes for preview. This parameter is required.
  • Response
    • { "status": "success", "preview": The URL for preview or the raw content if you specified raw parameter }
Preview for Template
  • Endpoint
    • POST /v2/sites/:site_id/templates/(:template_id)/preview(?raw=1)
  • Query Parameter
    • :siteid … The ID for website/blog. This parameter is required.
    • :templateid … The ID for template of the base for make a preview. This parameter is optional.
    • raw … If you specify “1”, the API returns html source. This parameter is optional.
  • Request Body
    • template … Templates Resource (JSON format) that includes changes for preview. This parameter is required.
  • Response
    • { "status": "success", "preview": The URL for preview or the raw content if you specified raw parameter }

Add a new parameter to specify character encoding at export logs

In this version, you can specify character encoding of exporting activity logs via Data API.

  • Endpoint
    • GET /v2/sites/:site_id/logs/export(?encoding=xxx)
  • Query Parameter

    • encoding … The character encoding for output that you want to get. Available values are follows. If you do not specify this parameter, the API will use the value of ExportEncoding.

      • Available values
        • sjis
        • euc-jp
        • utf8
        • ascii

Add a new parameter for overwrite option at upload

This option allows you to overwrite an existing file at file uploading via Data API.

  • Endpoint
    • POST /v2/assets/upload?site_id=:site_id(&overwrite_once=1)
  • Query Parameter
    • :siteid … The ID of the site that you to upload. This parameter is required.
    • overwriteonce … If you specify “1”, the API always overwrites an existing file with the uploaded file. This parameter is optional.

Add a new parameter to fetch system level custom fields.

Now you can fetch system level custom field with one request.

  • Endpoint
    • GET /v2/sites/:site_id/fields(?includeShared=1)
  • Query Parameter
    • :site_id: … The ID for website/blog. This parameter is required
    • includeShared … If you specify “1”, you can also fetch custom fields together that are defined in system level.

Tiny improved: dashboard usability

When you open the search box, focus will be set on the search box automatically.

RESOLVED ISSUES

Entry / Page

  • Removing tags now works when the memcached server is enabled. (#113002)

Data API

  • The search endpoint now accepts multiple custom fields filter. (#113075)
  • The tag search endpoint does not require ‘search’ parameter now. (#112868)
  • The auto-saved object made with CMS admin screen is removed now when saving entry/page via Data API. (#113015)
  • Entries, Pages resource now includes unpublishedDate. (#113127)
  • Resolved some callback errors. (#113016, #113125)
  • The updateEntry endpoint now accepts empty categories array in the Entires resource. (#113138)
  • The listCategories endpoint now works when the Data API access is disabled in one or more sites. (#113038)
  • Making a relation with asset and page now works when saving the page via the createPages endpoint or the updatePages endpoint. (#113173)

MISCELLANEOUS

  • Tweak help string in the wizard screen. (#113033)
  • Tweak function definition. (#113014)
  • The output of isset function (PHP) now returns expected result. (#113105)

ACKNOWLEDGEMENTS

The release of Movable Type 6.1.2 brings with it a large number of improvements that were made possible by the help and support of Movable Type community members. We would like to include a special shout out to the following members for their contributions to this update:

  • Hideki Abe (#112868)
  • DQNEO on GitHub (#113014)
  • taiju on GitHub (#113016)
  • taiju@alfasado (#113105)

All bugs are documented through an external site. A FogBugz account is required in order to view case details.

Back