I need to get a list of all spaces and included if archived (or not).
I have successfully retrieved a list of all of my spaces using
url = ... rest/api/space
url = ... rest/spacedirectory/1/search?type=global
Both cases do not return the status value if archived or not. I've tried adding 'status' to expand but that doesn't help.
So, how can I tell if the space is archived or not?