SOLVED

Can we use the api: messages/in_group/<groupid>.json to read messages from a group

%3CLINGO-SUB%20id%3D%22lingo-sub-36168%22%20slang%3D%22en-US%22%3ECan%20we%20use%20the%20api%3A%20messages%2Fin_group%2F%3CGROUPID%3E.json%20to%20read%20messages%20from%20a%20group%3C%2FGROUPID%3E%3CLINGO-BODY%20id%3D%22lingo-body-36168%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%3CP%3EOn%20Yammer%20REST%20API%20reference%2C%20i%20see%20no%20api%2C%20that%20can%20be%20used%20to%20read%20messages%20from%20a%20group.%3C%2FP%3E%3CP%3EI%20came%20accross%20the%20api%20messages%2Fin_group%2F%3CGROUPID%3E.json%20which%20returns%20the%20messages%20from%20a%20group.%3C%2FGROUPID%3E%3C%2FP%3E%3CP%3ECan%20we%20use%20it%20as%20per%20our%20requirement%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-36168%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EREST%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-36680%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20we%20use%20the%20api%3A%20messages%2Fin_group%2F%3CGROUPID%3E.json%20to%20read%20messages%20from%20a%20group%3C%2FGROUPID%3E%3CLINGO-BODY%20id%3D%22lingo-body-36680%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EGood%20news%20--%20the%20group%20messages%20endpoint%20is%20now%20documented%20and%20supported%3A%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.yammer.com%2Fv1.0%2Fdocs%2Fmessagesin_groupgroup_id%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.yammer.com%2Fv1.0%2Fdocs%2Fmessagesin_%3CWBR%20%2F%3Egroupgroup_id%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-36405%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20we%20use%20the%20api%3A%20messages%2Fin_group%2F%3CGROUPID%3E.json%20to%20read%20messages%20from%20a%20group%3C%2FGROUPID%3E%3CLINGO-BODY%20id%3D%22lingo-body-36405%22%20slang%3D%22en-US%22%3E%3CP%3EFrom%20my%20experience%3A%20It%20is%20usable.%3C%2FP%3E%3CP%3EAlthough%3A%20It%20is%20-%20unfortunately%20-%20an%20unsupported%20API%20endpoint%20and%20thus%20not%20supported.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegardless%20of%20the%20endpoint%20being%20undocumented%20or%20not%20you%20should%20be%20really%20familiar%20with%20the%20endpoint%20and%20know%20what%20it%20can%20return.%20Once%20you%20know%20what%20could%20be%20thrown%20at%20you%20it%20should%20be%20safe%20to%20use.%3C%2FP%3E%3CP%3EKeep%20an%20eye%20on%20it%20though%20because%20it%20could%20be%20subject%20to%20change.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENinja%20edit%3A%20this%20could%20be%20helpful%20%26gt%3B%26gt%3B%20%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F14352458%2Fyammer-api-get-messages-by-group%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F14352458%2Fyammer-api-get-messages-by-group%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E%3C%2FLINGO-SUB%3E%3C%2FLINGO-SUB%3E
New Contributor

Hi Team,

On Yammer REST API reference, i see no api, that can be used to read messages from a group.

I came accross the api messages/in_group/<groupid>.json which returns the messages from a group.

Can we use it as per our requirement ?

2 Replies

From my experience: It is usable.

Although: It is - unfortunately - an unsupported API endpoint and thus not supported.

 

Regardless of the endpoint being undocumented or not you should be really familiar with the endpoint and know what it can return. Once you know what could be thrown at you it should be safe to use.

Keep an eye on it though because it could be subject to change.

 

Ninja edit: this could be helpful >> https://stackoverflow.com/questions/14352458/yammer-api-get-messages-by-group

Best Response confirmed by Aniket Rawat (New Contributor)