Jump to content

Sticky Notes

TIred of boring messages spread across your board?

Then liven it up by downloading Sticky Notes

Not only can you pick and choose what user groups to show them to, you can even allow your members to send personal sticky notes to other members

TheJackal TheJackal
IPSDev
Sign in to follow this  
IPSDev

4.3: REST API Enhancements

Recommended Posts

code.jpg.44c1e7ade57fd28f1bf1c07619f6b5b1.jpg

"No man is an island" wrote John Donne. He wrote that a good 200 years before computers were invented, but it rings true for any well written framework like Invision Community.

The included REST API allows developers to fetch data from Invision Community and also allows data to be added.

This data can be used to power widgets on your website, or to be used within other applications you  are already using in a very simple way.

coding-924920_1280.thumb.jpg.f9a754d5c814494cb5312dcee3dd02f7.jpg

 

Several enhancements have been made to the REST API for Invision Community 4.3 that we wanted to let you know about.

These changes are developer-oriented, so if you do not use the REST API with your community please feel free to skip this update.

If you would like to learn more about the REST API available with Invision Community, please see our REST documentation.

Search capabilities

As previously noted, you can now perform searches through the REST API. You can perform searches based on keywords, tags, or both, and you can limit and filter results with parameters similar to when you perform a regular search on the site (e.g. to specific containers, returning only results over a set number of comments, or searching within clubs).

Permission awareness

Several REST API endpoints are now permission-aware when combined with Oauth functionality built into Invision Community 4.3. This means that many REST API endpoints can be called using a specific user's access token, and only results that the specific user would normally be able to see will be returned (and/or they will only be able to submit to areas they normally have permission to). 

Ability to search members

While an endpoint has always been available to retrieve (and add/edit/delete) members, the ability to search for members has now been implemented. You can search by name, email address, and (one or more) group(s), and a paginated response will be returned.

Private conversations

You can now start a new private conversation, reply to an existing private conversation, and delete a private conversation through the REST API.

Other REST API changes

  • You can now specify member's secondary groups when adding or updating a member through the REST API.
  • You can specify the member's registration IP address through the REST API when adding or updating a member.
  • You can now specify other member properties not directly exposed through the REST API when adding or updating a member by setting the rawProperties input field.
  • You can now specify other member properties to retrieve through the REST API through the otherFields request parameter.
  • The REST API now better logs changes to member accounts (so you will be able to more easily identify how a user's name, email address, password, etc. has changed when looking at the member history).
  • You can now retrieve all content a member is following through the REST API, as well as follow a new container/content item, and delete an existing follow.
  • You can now validate an account through the REST API
  • You can now specify a 'perPage' parameter for paginated responses to control how many items are returned per page.

 

Most of these changes were directly culled from client feedback and implemented per specific requests. If there are other REST API changes you would like to see implemented please don't hesitate to leave your feedback!

View the full article

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.