docs: function modelQuery(options) {
              return models.Post.findOne(options.data, omit(options, ['data']))
                  .then((model) => {
                      if (!model) {
                          return Promise.reject(new common.errors.NotFoundError({
                              message: common.i18n.t('errors.api.posts.postNotFound')
                          }));
                      }
  
                      return {
                          posts: [urlsForPost(model.id, model.toJSON(options), options)]
                      };
                  });
          }