INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MCWS Files Search Serialize  (Read 1040 times)

Groundhog

  • Recent member
  • *
  • Posts: 26
MCWS Files Search Serialize
« on: October 24, 2014, 07:15:02 am »

When I run a Files Search query in MCWS using the Serialize action, a list of file keys is returned. The documentation reads:
"Serialize: return serialized file array (basically a list of file keys)"

When I run this query:
MCWS/v1/Files/Search?Query=Hector Berlioz&Action=Serialize...

I get this response:
2;15;-1;7661;7663;7664;7665;7666;7667;7668;7669;7670;7671;7697;7698;7699;7700;7701

As you can see, there are 3 values before the file keys. The second value in the return appears to be the number of file keys returned. I have no clue about the other two - but they always seem to have the same values.

I'd like to know: What are these 3 values? Are there always 3?

Thanks!
-Brent
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: MCWS Files Search Serialize
« Reply #1 on: October 27, 2014, 10:24:28 am »

It's like this:
Save header (MFIA)
Version (2)
Elements (#)
Position active element (#)
Keys (###)
Logged
Matt Ashland, JRiver Media Center

Groundhog

  • Recent member
  • *
  • Posts: 26
Re: MCWS Files Search Serialize
« Reply #2 on: October 27, 2014, 05:16:48 pm »

It's like this:
Save header (MFIA)
Version (2)
Elements (#)
Position active element (#)
Keys (###)

Thanks, Matt.
Logged
Pages: [1]   Go Up