docs: function modelQuery(options) {
              return models.Post.edit(options.data.posts[0], omit(options, ['data']))
                  .then((model) => {
                      if (!model) {
                          return Promise.reject(new common.errors.NotFoundError({
                              message: common.i18n.t('errors.api.posts.postNotFound')
                          }));
                      }
  
                      const post = urlsForPost(model.id, model.toJSON(options), options);
  
                      // If previously was not published and now is (or vice versa), signal the change
                      // @TODO: `statusChanged` get's added for the API headers only. Reconsider this.
                      post.statusChanged = false;
                      if (model.previous('status') !== model.get('status')) {
                          post.statusChanged = true;
                      }
  
                      return {
                          posts: [post]
                      };
                  });
          }