From fbd87d2446cdd3a8cbeb5e8fec5bd3280819edb2 Mon Sep 17 00:00:00 2001 From: Client Date: Fri, 29 May 2020 08:40:33 +0000 Subject: [PATCH] PubNub SDK v4.14.0 release. --- .pubnub.yml | 28 +- CHANGELOG.md | 12 + Example/PubNub/PNAppDelegate.m | 2 +- Example/PubNub/PubNub Example-Info.plist | 4 - .../project.pbxproj | 2152 +++++++++-------- .../xcschemes/Framework (OSX).xcscheme | 6 +- .../xcschemes/Framework (iOS).xcscheme | 6 +- .../xcschemes/Framework (tvOS).xcscheme | 6 +- .../xcschemes/Framework (watchOS).xcscheme | 6 +- Framework/PubNub/Info.plist | 6 +- Framework/PubNub/PubNub-iOS-Info.plist | 6 +- Framework/PubNub/PubNub-tvOS-Info.plist | 6 +- Framework/PubNub/PubNub-watchOS-Info.plist | 6 +- Framework/PubNub/PubNub.h | 8 +- PubNub.podspec | 2 +- PubNub/Core/PubNub+Core.m | 4 +- PubNub/Core/PubNub+Objects.h | 731 +++--- PubNub/Core/PubNub+Objects.m | 903 ++++--- PubNub/Core/PubNub+Subscribe.h | 12 +- PubNub/Core/PubNub+Subscribe.m | 4 +- ...NFetchAllChannelsMetadataAPICallBuilder.h} | 49 +- ...PNFetchAllChannelsMetadataAPICallBuilder.m | 96 + .../PNFetchChannelMetadataAPICallBuilder.h | 59 + .../PNFetchChannelMetadataAPICallBuilder.m | 42 + .../PNRemoveChannelMetadataAPICallBuilder.h | 48 + .../PNRemoveChannelMetadataAPICallBuilder.m | 32 + .../PNSetChannelMetadataAPICallBuilder.h | 87 + .../PNSetChannelMetadataAPICallBuilder.m | 72 + .../Membership/PNFetchMembersAPICallBuilder.h | 36 +- .../Membership/PNFetchMembersAPICallBuilder.m | 20 +- .../PNFetchMembershipsAPICallBuilder.h | 47 +- .../PNFetchMembershipsAPICallBuilder.m | 32 +- .../PNManageMembersAPICallBuilder.h | 68 +- .../PNManageMembersAPICallBuilder.m | 46 +- .../PNManageMembershipsAPICallBuilder.h | 77 +- .../PNManageMembershipsAPICallBuilder.m | 56 +- .../PNRemoveMembersAPICallBuilder.h | 123 + .../PNRemoveMembersAPICallBuilder.m | 106 + .../PNRemoveMembershipsAPICallBuilder.h | 139 ++ .../PNRemoveMembershipsAPICallBuilder.m | 115 + .../Membership/PNSetMembersAPICallBuilder.h | 128 + .../Membership/PNSetMembersAPICallBuilder.m | 106 + .../PNSetMembershipsAPICallBuilder.h | 144 ++ .../PNSetMembershipsAPICallBuilder.m | 115 + .../Objects/PNObjectsAPICallBuilder.h | 185 ++ .../Objects/PNObjectsAPICallBuilder.m | 246 ++ .../Space/PNCreateSpaceAPICallBuilder.h | 96 - .../Space/PNCreateSpaceAPICallBuilder.m | 82 - .../Space/PNDeleteSpaceAPICallBuilder.h | 60 - .../Space/PNDeleteSpaceAPICallBuilder.m | 46 - .../Space/PNFetchSpaceAPICallBuilder.h | 68 - .../Space/PNFetchSpaceAPICallBuilder.m | 52 - .../Space/PNFetchSpacesAPICallBuilder.m | 96 - .../Space/PNUpdateSpaceAPICallBuilder.h | 96 - .../Space/PNUpdateSpaceAPICallBuilder.m | 82 - .../PNFetchAllUUIDMetadataAPICallBuilder.h} | 49 +- .../PNFetchAllUUIDMetadataAPICallBuilder.m} | 42 +- .../UUID/PNFetchUUIDMetadataAPICallBuilder.h | 68 + .../UUID/PNFetchUUIDMetadataAPICallBuilder.m | 52 + .../UUID/PNRemoveUUIDMetadataAPICallBuilder.h | 60 + .../UUID/PNRemoveUUIDMetadataAPICallBuilder.m | 45 + .../UUID/PNSetUUIDMetadataAPICallBuilder.h | 114 + .../PNSetUUIDMetadataAPICallBuilder.m} | 48 +- .../Objects/User/PNCreateUserAPICallBuilder.h | 114 - .../Objects/User/PNDeleteUserAPICallBuilder.h | 60 - .../Objects/User/PNDeleteUserAPICallBuilder.m | 46 - .../Objects/User/PNFetchUserAPICallBuilder.h | 68 - .../Objects/User/PNFetchUserAPICallBuilder.m | 52 - .../Objects/User/PNUpdateUserAPICallBuilder.h | 114 - .../Objects/User/PNUpdateUserAPICallBuilder.m | 102 - PubNub/Data/Managers/PNStateListener.h | 36 +- PubNub/Data/Managers/PNStateListener.m | 124 +- PubNub/Data/Managers/PNSubscriber.h | 2 +- PubNub/Data/Managers/PNSubscriber.m | 21 +- PubNub/Data/Managers/PNTelemetry.m | 22 +- .../Data/Models/PNChannelMetadata+Private.h | 69 + PubNub/Data/Models/PNChannelMetadata.h | 57 + PubNub/Data/Models/PNChannelMetadata.m | 137 ++ PubNub/Data/Models/PNMember+Private.h | 13 +- PubNub/Data/Models/PNMember.h | 34 +- PubNub/Data/Models/PNMember.m | 56 +- PubNub/Data/Models/PNMembership+Private.h | 13 +- PubNub/Data/Models/PNMembership.h | 37 +- PubNub/Data/Models/PNMembership.m | 94 +- PubNub/Data/Models/PNSpace+Private.h | 68 - PubNub/Data/Models/PNSpace.h | 61 - PubNub/Data/Models/PNSpace.m | 118 - PubNub/Data/Models/PNUUIDMetadata+Private.h | 78 + PubNub/Data/Models/PNUUIDMetadata.h | 66 + PubNub/Data/Models/PNUUIDMetadata.m | 150 ++ PubNub/Data/Models/PNUser+Private.h | 78 - PubNub/Data/Models/PNUser.h | 71 - PubNub/Data/Models/PNUser.m | 160 -- .../Service Objects/PNCreateSpaceStatus.h | 57 - .../Service Objects/PNCreateSpaceStatus.m | 78 - .../Data/Service Objects/PNCreateUserStatus.h | 57 - .../Data/Service Objects/PNCreateUserStatus.m | 82 - .../PNFetchChannelsMetadataResult.h | 127 + .../PNFetchChannelsMetadataResult.m | 165 ++ .../Service Objects/PNFetchMembersResult.h | 14 +- .../Service Objects/PNFetchMembersResult.m | 6 +- .../PNFetchMembershipsResult.h | 14 +- .../PNFetchMembershipsResult.m | 6 +- .../Service Objects/PNFetchSpacesResult.h | 123 - .../Service Objects/PNFetchSpacesResult.m | 165 -- .../PNFetchUUIDMetadataResult.h | 125 + .../PNFetchUUIDMetadataResult.m | 164 ++ .../Data/Service Objects/PNFetchUsersResult.h | 122 - .../Data/Service Objects/PNFetchUsersResult.m | 164 -- .../Service Objects/PNManageMembersStatus.h | 25 +- .../Service Objects/PNManageMembersStatus.m | 4 +- .../PNManageMembershipsStatus.h | 26 +- .../PNManageMembershipsStatus.m | 4 +- .../PNSetChannelMetadataStatus.h | 59 + .../PNSetChannelMetadataStatus.m | 82 + .../Service Objects/PNSetUUIDMetadataStatus.h | 59 + .../Service Objects/PNSetUUIDMetadataStatus.m | 82 + .../Service Objects/PNSubscriberResults.h | 264 +- .../Service Objects/PNSubscriberResults.m | 223 +- .../Service Objects/PNUpdateSpaceStatus.h | 57 - .../Service Objects/PNUpdateSpaceStatus.m | 82 - .../Data/Service Objects/PNUpdateUserStatus.h | 57 - .../Data/Service Objects/PNUpdateUserStatus.m | 82 - PubNub/Misc/PNConstants.h | 4 +- PubNub/Misc/PNPrivateStructures.h | 78 +- PubNub/Misc/PNStructures.h | 210 +- ...jectEventListener.h => PNEventsListener.h} | 46 +- PubNub/Network/PNNetwork.m | 10 +- PubNub/Network/PNURLBuilder.m | 34 +- .../Objects/PNChannelMetadataChangeParser.h | 25 + ...rser.m => PNChannelMetadataChangeParser.m} | 14 +- .../Objects/PNFetchChannelsMetadataParser.h | 25 + ...rser.m => PNFetchChannelsMetadataParser.m} | 16 +- .../Objects/PNFetchUUIDMetadataParser.h | 25 + ...rsParser.m => PNFetchUUIDMetadataParser.m} | 16 +- .../Parsers/Objects/PNFetchUsersParser.h | 25 - .../Network/Parsers/Objects/PNMembersParser.h | 8 +- .../Network/Parsers/Objects/PNMembersParser.m | 13 +- .../Parsers/Objects/PNMembershipsParser.h | 8 +- .../Parsers/Objects/PNMembershipsParser.m | 13 +- .../Parsers/Objects/PNObjectsDeleteParser.h | 25 - ...SpacesParser.h => PNObjectsRemoveParser.h} | 10 +- ...DeleteParser.m => PNObjectsRemoveParser.m} | 12 +- .../Parsers/Objects/PNSpaceDataChangeParser.h | 25 - .../Objects/PNUUIDMetadataChangeParser.h | 25 + ...eParser.m => PNUUIDMetadataChangeParser.m} | 14 +- .../Parsers/Objects/PNUserDataChangeParser.h | 25 - PubNub/Network/Parsers/PNSubscribeParser.m | 67 +- .../PNFetchAllChannelsMetadataRequest.h | 33 + .../PNFetchAllChannelsMetadataRequest.m | 31 + .../Channel/PNFetchChannelMetadataRequest.h | 55 + .../Channel/PNFetchChannelMetadataRequest.m | 50 + .../Channel/PNRemoveChannelMetadataRequest.h | 44 + .../PNRemoveChannelMetadataRequest.m} | 16 +- .../Channel/PNSetChannelMetadataRequest.h | 71 + .../PNSetChannelMetadataRequest.m} | 74 +- .../PNBaseObjectsMembershipRequest+Private.h | 67 + .../PNBaseObjectsMembershipRequest.h | 24 + .../PNBaseObjectsMembershipRequest.m | 180 ++ .../Membership/PNFetchMembersRequest.h | 17 +- .../Membership/PNFetchMembersRequest.m | 10 +- .../Membership/PNFetchMembershipsRequest.h | 18 +- .../Membership/PNFetchMembershipsRequest.m | 9 +- .../Membership/PNManageMembersRequest.h | 47 +- .../Membership/PNManageMembersRequest.m | 153 +- .../Membership/PNManageMembershipsRequest.h | 48 +- .../Membership/PNManageMembershipsRequest.m | 153 +- .../Membership/PNRemoveMembersRequest.h | 55 + .../Membership/PNRemoveMembersRequest.m | 78 + .../Membership/PNRemoveMembershipsRequest.h | 56 + .../Membership/PNRemoveMembershipsRequest.m | 79 + .../Objects/Membership/PNSetMembersRequest.h | 60 + .../Objects/Membership/PNSetMembersRequest.m | 83 + .../Membership/PNSetMembershipsRequest.h | 61 + .../Membership/PNSetMembershipsRequest.m | 83 + .../Objects/PNBaseObjectsRequest+Private.h | 20 +- .../Requests/Objects/PNBaseObjectsRequest.h | 14 +- .../Requests/Objects/PNBaseObjectsRequest.m | 103 +- .../Objects/PNObjectsPaginatedRequest.h | 18 +- .../Objects/PNObjectsPaginatedRequest.m | 17 +- .../Objects/Space/PNCreateSpaceRequest.h | 59 - .../Objects/Space/PNCreateSpaceRequest.m | 83 - .../Objects/Space/PNDeleteSpaceRequest.h | 44 - .../Objects/Space/PNFetchSpaceRequest.h | 55 - .../Objects/Space/PNFetchSpaceRequest.m | 42 - .../Objects/Space/PNFetchSpacesRequest.h | 34 - .../Objects/Space/PNFetchSpacesRequest.m | 27 - .../Objects/Space/PNManageSpaceDataRequest.h | 43 - .../Objects/Space/PNUpdateSpaceRequest.h | 55 - .../Objects/Space/PNUpdateSpaceRequest.m | 43 - .../UUID/PNFetchAllUUIDMetadataRequest.h | 33 + .../UUID/PNFetchAllUUIDMetadataRequest.m | 31 + .../Objects/UUID/PNFetchUUIDMetadataRequest.h | 56 + .../Objects/UUID/PNFetchUUIDMetadataRequest.m | 54 + .../UUID/PNRemoveUUIDMetadataRequest.h | 45 + .../PNRemoveUUIDMetadataRequest.m} | 20 +- .../Objects/UUID/PNSetUUIDMetadataRequest.h | 81 + .../PNSetUUIDMetadataRequest.m} | 67 +- .../Objects/User/PNCreateUserRequest.h | 60 - .../Objects/User/PNCreateUserRequest.m | 83 - .../Objects/User/PNDeleteUserRequest.h | 44 - .../Objects/User/PNFetchUserRequest.h | 55 - .../Objects/User/PNFetchUserRequest.m | 42 - .../Objects/User/PNFetchUsersRequest.h | 34 - .../Objects/User/PNFetchUsersRequest.m | 27 - .../Objects/User/PNManageUserDataRequest.h | 53 - .../Objects/User/PNUpdateUserRequest.h | 56 - .../Objects/User/PNUpdateUserRequest.m | 43 - PubNub/Network/Requests/PNRequest+Private.h | 18 +- PubNub/Network/Requests/PNRequest.h | 1 + PubNub/Network/Requests/PNRequest.m | 21 +- PubNub/PubNub.h | 2 +- README.md | 2 +- Tests/PubNub Tests.xcodeproj/project.pbxproj | 112 +- ...AndReceiveResultWithExpectedOperation.json | 852 +++++++ ...tchAllChannelsMetadataWhenLimitItSet.json} | 268 +- ...ndReceiveResultWithExpectedOperation.json} | 92 +- ...teredChannelsMetadataWhenFilterIsSet.json} | 298 ++- ...lsMetadataPageWhenStartAndLimitIsSet.json} | 316 ++- ...hSortedChannelsMetadataWhenSortIsSet.json} | 298 ++- ...WhenTargetChannelDoesNotHaveMetadata.json} | 66 +- ...atusWithExpectedOperationAndCategory.json} | 150 +- ...tadataAndTriggerDeleteEventToChannel.json} | 222 +- ...ationAndCategoryWhenOnlyChannelIsSet.json} | 76 +- ...tadataWhenAdditionalInformationIsSet.json} | 98 +- ...urnSortedUserInformationWhenSortIsSet.json | 922 ------- ...ldFetchFilteredMembersWhenFilterIsSet.json | 376 +-- ...AndReceiveResultWithExpectedOperation.json | 392 +-- .../ItShouldFetchMembersWhenLimitIsSet.json | 374 +-- ...tMembershipPageWhenStartAndLimitIsSet.json | 392 +-- ...ouldFetchOrderedMembersWhenOrderIsSet.json | 336 +-- ...enSpaceAlreadyHasTargetUsersAsMembers.json | 704 ------ ...tFetchMembersWhenSpaceObjectNotExists.json | 202 -- ...enSpaceNotHaveSpecifiedUsersAsMembers.json | 482 ---- ...tatusWithExpectedOperationAndCategory.json | 652 +++++ ...eredMembersInformationWhenFilterIsSet.json | 598 +++++ ...MemberInformationWhenIncludeFlagIsSet.json | 598 +++++ ...SortedMembersInformationWhenSortIsSet.json | 922 +++++++ ...MembersAndTriggerDeleteEventOnChannel.json | 782 ++++++ ...rsAndTriggerDeleteEventOnUUIDChannel.json} | 310 +-- ...tatusWithExpectedOperationAndCategory.json | 652 +++++ ...eredMembersInformationWhenFilterIsSet.json | 598 +++++ ...MemberInformationWhenIncludeFlagIsSet.json | 598 +++++ ...SortedMembersInformationWhenSortIsSet.json | 922 +++++++ ...ManageAndTriggerDeleteEventOnChannel.json} | 330 +-- ...geAndTriggerDeleteEventOnUUIDChannel.json} | 348 +-- ...tatusWithExpectedOperationAndCategory.json | 540 +++++ ...eredMembersInformationWhenFilterIsSet.json | 598 +++++ ...emberInformationWhenIncludeFlagIsSet.json} | 176 +- ...ortedMembersInformationWhenSortIsSet.json} | 248 +- ...etMembersAndTriggerSetEventOnChannel.json} | 350 +-- ...embersAndTriggerSetEventOnUUIDChannel.json | 731 ++++++ ...atusWithExpectedOperationAndCategory.json} | 218 +- ...eredMembersInformationWhenFilterIsSet.json | 598 +++++ ...mbersInformationWhenIncludeFlagIsSet.json} | 218 +- ...SortedMembersInformationWhenSortIsSet.json | 814 +++++++ ...ingManageAndTriggerSetEventOnChannel.json} | 354 +-- ...anageAndTriggerSetEventOnUUIDChannel.json} | 334 +-- ...ventOnChannelWhenUUIDMetadataRemoved.json} | 294 +-- ...OnChannelWhenUUIDMetadataDataChanged.json} | 308 +-- ...tatusWithExpectedOperationAndCategory.json | 598 ----- ...urnSortedUserInformationWhenSortIsSet.json | 814 ------- ...erInformationWhenUserIncludeFlagIsSet.json | 598 ----- ...teredSpacesInformationWhenFilterIsSet.json | 540 ----- ...eInformationWhenSpaceIncludeFlagIsSet.json | 540 ----- ...ipAndTriggerCreateEventOnSpaceChannel.json | 675 ------ ...SortedSpaceInformationWhenSortedIsSet.json | 922 ------- ...tchFilteredMembershipsWhenFilterIsSet.json | 382 ++- ...ItShouldFetchMembershipWhenLimitIsSet.json | 380 ++- ...AndReceiveResultWithExpectedOperation.json | 432 ++-- ...tMembershipPageWhenStartAndLimitIsSet.json | 398 ++- ...FetchSortedMembershipsWhenSortedIsSet.json | 342 ++- ...erAlreadyHasMembershipWithTargetSpace.json | 704 ------ ...tchMembershipsWhenUserObjectNotExists.json | 202 -- ...rNotHaveMembershipWithSpecifiedSpaces.json | 482 ---- ...eMemberAndTriggerUUIDDeleteOnChannel.json} | 482 ++-- ...atusWithExpectedOperationAndCategory.json} | 244 +- ...embershipsInformationWhenFilterIsSet.json} | 218 +- ...shipsInformationWhenIncludeFlagIsSet.json} | 218 +- ...MembershipsInformationWhenSortedIsSet.json | 920 +++++++ ...ershipAndTriggerDeleteEventOnChannel.json} | 310 +-- ...ipAndTriggerDeleteEventOnUUIDChannel.json} | 330 +-- ...atusWithExpectedOperationAndCategory.json} | 244 +- ...embershipsInformationWhenFilterIsSet.json} | 218 +- ...shipsInformationWhenIncludeFlagIsSet.json} | 218 +- ...MembershipsInformationWhenSortedIsSet.json | 920 +++++++ ...ManageAndTriggerDeleteEventOnChannel.json} | 292 +-- ...ageAndTriggerDeleteEventOnUUIDChannel.json | 782 ++++++ ...atusWithExpectedOperationAndCategory.json} | 196 +- ...embershipsInformationWhenFilterIsSet.json} | 200 +- ...ershipInformationWhenIncludeFlagIsSet.json | 540 +++++ ...edMembershipsInformationWhenSortIsSet.json | 598 +++++ ...MembershipAndTriggerSetEventOnChannel.json | 731 ++++++ ...rshipAndTriggerSetEventOnUUIDChannel.json} | 350 +-- ...atusWithExpectedOperationAndCategory.json} | 196 +- ...MembershipsInformationWhenFilterIsSet.json | 540 +++++ ...ershipInformationWhenIncludeFlagIsSet.json | 540 +++++ ...dMembershipsInformationWhenSortIsSet.json} | 196 +- ...singManageAndTriggerSetEventOnChannel.json | 731 ++++++ ...anageAndTriggerSetEventOnUUIDChannel.json} | 420 ++-- ...tatusWithExpectedOperationAndCategory.json | 598 ----- ...rnSortedSpaceInformationWhenSortIsSet.json | 814 ------- ...eInformationWhenSpaceIncludeFlagIsSet.json | 598 ----- ...teSpaceWhenAdditionalInformationIsSet.json | 210 -- ...AndReceiveResultWithExpectedOperation.json | 854 ------- ...CreateSpaceWhenSameSpaceAlreadyExists.json | 322 --- ...otUpdateSpaceWhenTargetSpaceNotExists.json | 214 -- ...ceAndTriggerUpdateEventToSpaceChannel.json | 459 ---- ...ndReceiveResultWithExpectedOperation.json} | 310 +-- ...ldFetchAllUUIDMetadataWhenLimitItSet.json} | 292 +-- ...FilteredUUIDsMetadataWhenFilterIsSet.json} | 292 +-- ...IDMetadataPageWhenStartAndLimitIsSet.json} | 310 +-- ...FetchSortedUUIDMetadataWhenSortIsSet.json} | 262 +- ...ndReceiveResultWithExpectedOperation.json} | 92 +- ...ataWhenTargetUUIDDoesNotHaveMetadata.json} | 66 +- ...nelWhenSentFromPreviousObjectsVersion.json | 559 +++++ ...atusWithExpectedOperationAndCategory.json} | 150 +- ...taAndTriggerDeleteEventToUUIDChannel.json} | 222 +- ...perationAndCategoryWhenOnlyUUIDIsSet.json} | 80 +- ...tadataWhenAdditionalInformationIsSet.json} | 98 +- ...ateUserWhenAdditionalInformationIsSet.json | 210 -- ...otCreateUserWhenSameUserAlreadyExists.json | 322 --- ...dNotUpdateUserWhenTargetUserNotExists.json | 214 -- ...serAndTriggerUpdateEventToUserChannel.json | 459 ---- Tests/Tests/Helpers/PNRecordableTestCase.h | 359 ++- Tests/Tests/Helpers/PNRecordableTestCase.m | 571 +++-- .../PNChannelMetadataIntegrationTest.m | 432 ++++ .../Objects/PNMemberIntegrationTest.m | 1735 +++++++------ .../Objects/PNMembershipIntegrationTest.m | 1699 +++++++------ .../Objects/PNSpaceIntegrationTest.m | 551 ----- .../Objects/PNUUIDMetadataIntegrationTest.m | 504 ++++ .../Objects/PNUserIntegrationTest.m | 564 ----- .../PNChannelMetadataAPICallBuilderTest.m | 539 +++++ .../PNMembersObjectsAPICallBuilderTest.m | 747 +++++- .../PNMembershipsObjectsAPICallBuilderTest.m | 881 ++++++- .../Objects/PNObjectsAPICallBuilderTest.m | 500 ++++ ...t.m => PNUUIDMetadataAPICallBuilderTest.m} | 461 ++-- .../Objects/PNUserObjectsAPICallBuilderTest.m | 1115 --------- .../Objects/PNChannelMetadataObjectsTest.m | 318 +++ .../Unit/Core/Objects/PNMemberObjectsTest.m | 203 +- .../Core/Objects/PNMembershipObjectsTest.m | 276 ++- .../Unit/Core/Objects/PNSpaceObjectsTest.m | 490 ---- .../Core/Objects/PNUUIDMetadataObjectsTest.m | 391 +++ .../Unit/Core/Objects/PNUserObjectsTest.m | 486 ---- VERSION | 2 +- 345 files changed, 40701 insertions(+), 34941 deletions(-) rename PubNub/Data/Builders/API Call/Objects/{Space/PNFetchSpacesAPICallBuilder.h => Channel/PNFetchAllChannelsMetadataAPICallBuilder.h} (51%) create mode 100644 PubNub/Data/Builders/API Call/Objects/Channel/PNFetchAllChannelsMetadataAPICallBuilder.m create mode 100644 PubNub/Data/Builders/API Call/Objects/Channel/PNFetchChannelMetadataAPICallBuilder.h create mode 100644 PubNub/Data/Builders/API Call/Objects/Channel/PNFetchChannelMetadataAPICallBuilder.m create mode 100644 PubNub/Data/Builders/API Call/Objects/Channel/PNRemoveChannelMetadataAPICallBuilder.h create mode 100644 PubNub/Data/Builders/API Call/Objects/Channel/PNRemoveChannelMetadataAPICallBuilder.m create mode 100644 PubNub/Data/Builders/API Call/Objects/Channel/PNSetChannelMetadataAPICallBuilder.h create mode 100644 PubNub/Data/Builders/API Call/Objects/Channel/PNSetChannelMetadataAPICallBuilder.m create mode 100644 PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembersAPICallBuilder.h create mode 100644 PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembersAPICallBuilder.m create mode 100644 PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembershipsAPICallBuilder.h create mode 100644 PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembershipsAPICallBuilder.m create mode 100644 PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembersAPICallBuilder.h create mode 100644 PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembersAPICallBuilder.m create mode 100644 PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembershipsAPICallBuilder.h create mode 100644 PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembershipsAPICallBuilder.m create mode 100644 PubNub/Data/Builders/API Call/Objects/PNObjectsAPICallBuilder.h create mode 100644 PubNub/Data/Builders/API Call/Objects/PNObjectsAPICallBuilder.m delete mode 100644 PubNub/Data/Builders/API Call/Objects/Space/PNCreateSpaceAPICallBuilder.h delete mode 100644 PubNub/Data/Builders/API Call/Objects/Space/PNCreateSpaceAPICallBuilder.m delete mode 100644 PubNub/Data/Builders/API Call/Objects/Space/PNDeleteSpaceAPICallBuilder.h delete mode 100644 PubNub/Data/Builders/API Call/Objects/Space/PNDeleteSpaceAPICallBuilder.m delete mode 100644 PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpaceAPICallBuilder.h delete mode 100644 PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpaceAPICallBuilder.m delete mode 100644 PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpacesAPICallBuilder.m delete mode 100644 PubNub/Data/Builders/API Call/Objects/Space/PNUpdateSpaceAPICallBuilder.h delete mode 100644 PubNub/Data/Builders/API Call/Objects/Space/PNUpdateSpaceAPICallBuilder.m rename PubNub/Data/Builders/API Call/Objects/{User/PNFetchUsersAPICallBuilder.h => UUID/PNFetchAllUUIDMetadataAPICallBuilder.h} (52%) rename PubNub/Data/Builders/API Call/Objects/{User/PNFetchUsersAPICallBuilder.m => UUID/PNFetchAllUUIDMetadataAPICallBuilder.m} (50%) create mode 100644 PubNub/Data/Builders/API Call/Objects/UUID/PNFetchUUIDMetadataAPICallBuilder.h create mode 100644 PubNub/Data/Builders/API Call/Objects/UUID/PNFetchUUIDMetadataAPICallBuilder.m create mode 100644 PubNub/Data/Builders/API Call/Objects/UUID/PNRemoveUUIDMetadataAPICallBuilder.h create mode 100644 PubNub/Data/Builders/API Call/Objects/UUID/PNRemoveUUIDMetadataAPICallBuilder.m create mode 100644 PubNub/Data/Builders/API Call/Objects/UUID/PNSetUUIDMetadataAPICallBuilder.h rename PubNub/Data/Builders/API Call/Objects/{User/PNCreateUserAPICallBuilder.m => UUID/PNSetUUIDMetadataAPICallBuilder.m} (53%) delete mode 100644 PubNub/Data/Builders/API Call/Objects/User/PNCreateUserAPICallBuilder.h delete mode 100644 PubNub/Data/Builders/API Call/Objects/User/PNDeleteUserAPICallBuilder.h delete mode 100644 PubNub/Data/Builders/API Call/Objects/User/PNDeleteUserAPICallBuilder.m delete mode 100644 PubNub/Data/Builders/API Call/Objects/User/PNFetchUserAPICallBuilder.h delete mode 100644 PubNub/Data/Builders/API Call/Objects/User/PNFetchUserAPICallBuilder.m delete mode 100644 PubNub/Data/Builders/API Call/Objects/User/PNUpdateUserAPICallBuilder.h delete mode 100644 PubNub/Data/Builders/API Call/Objects/User/PNUpdateUserAPICallBuilder.m create mode 100644 PubNub/Data/Models/PNChannelMetadata+Private.h create mode 100644 PubNub/Data/Models/PNChannelMetadata.h create mode 100644 PubNub/Data/Models/PNChannelMetadata.m delete mode 100644 PubNub/Data/Models/PNSpace+Private.h delete mode 100644 PubNub/Data/Models/PNSpace.h delete mode 100644 PubNub/Data/Models/PNSpace.m create mode 100644 PubNub/Data/Models/PNUUIDMetadata+Private.h create mode 100644 PubNub/Data/Models/PNUUIDMetadata.h create mode 100644 PubNub/Data/Models/PNUUIDMetadata.m delete mode 100644 PubNub/Data/Models/PNUser+Private.h delete mode 100644 PubNub/Data/Models/PNUser.h delete mode 100644 PubNub/Data/Models/PNUser.m delete mode 100644 PubNub/Data/Service Objects/PNCreateSpaceStatus.h delete mode 100644 PubNub/Data/Service Objects/PNCreateSpaceStatus.m delete mode 100644 PubNub/Data/Service Objects/PNCreateUserStatus.h delete mode 100644 PubNub/Data/Service Objects/PNCreateUserStatus.m create mode 100644 PubNub/Data/Service Objects/PNFetchChannelsMetadataResult.h create mode 100644 PubNub/Data/Service Objects/PNFetchChannelsMetadataResult.m delete mode 100644 PubNub/Data/Service Objects/PNFetchSpacesResult.h delete mode 100644 PubNub/Data/Service Objects/PNFetchSpacesResult.m create mode 100644 PubNub/Data/Service Objects/PNFetchUUIDMetadataResult.h create mode 100644 PubNub/Data/Service Objects/PNFetchUUIDMetadataResult.m delete mode 100644 PubNub/Data/Service Objects/PNFetchUsersResult.h delete mode 100644 PubNub/Data/Service Objects/PNFetchUsersResult.m create mode 100644 PubNub/Data/Service Objects/PNSetChannelMetadataStatus.h create mode 100644 PubNub/Data/Service Objects/PNSetChannelMetadataStatus.m create mode 100644 PubNub/Data/Service Objects/PNSetUUIDMetadataStatus.h create mode 100644 PubNub/Data/Service Objects/PNSetUUIDMetadataStatus.m delete mode 100644 PubNub/Data/Service Objects/PNUpdateSpaceStatus.h delete mode 100644 PubNub/Data/Service Objects/PNUpdateSpaceStatus.m delete mode 100644 PubNub/Data/Service Objects/PNUpdateUserStatus.h delete mode 100644 PubNub/Data/Service Objects/PNUpdateUserStatus.m rename PubNub/Misc/Protocols/{PNObjectEventListener.h => PNEventsListener.h} (66%) create mode 100644 PubNub/Network/Parsers/Objects/PNChannelMetadataChangeParser.h rename PubNub/Network/Parsers/Objects/{PNUserDataChangeParser.m => PNChannelMetadataChangeParser.m} (67%) create mode 100644 PubNub/Network/Parsers/Objects/PNFetchChannelsMetadataParser.h rename PubNub/Network/Parsers/Objects/{PNFetchSpacesParser.m => PNFetchChannelsMetadataParser.m} (73%) create mode 100644 PubNub/Network/Parsers/Objects/PNFetchUUIDMetadataParser.h rename PubNub/Network/Parsers/Objects/{PNFetchUsersParser.m => PNFetchUUIDMetadataParser.m} (77%) delete mode 100644 PubNub/Network/Parsers/Objects/PNFetchUsersParser.h delete mode 100644 PubNub/Network/Parsers/Objects/PNObjectsDeleteParser.h rename PubNub/Network/Parsers/Objects/{PNFetchSpacesParser.h => PNObjectsRemoveParser.h} (50%) rename PubNub/Network/Parsers/Objects/{PNObjectsDeleteParser.m => PNObjectsRemoveParser.m} (71%) delete mode 100644 PubNub/Network/Parsers/Objects/PNSpaceDataChangeParser.h create mode 100644 PubNub/Network/Parsers/Objects/PNUUIDMetadataChangeParser.h rename PubNub/Network/Parsers/Objects/{PNSpaceDataChangeParser.m => PNUUIDMetadataChangeParser.m} (67%) delete mode 100644 PubNub/Network/Parsers/Objects/PNUserDataChangeParser.h create mode 100644 PubNub/Network/Requests/Objects/Channel/PNFetchAllChannelsMetadataRequest.h create mode 100644 PubNub/Network/Requests/Objects/Channel/PNFetchAllChannelsMetadataRequest.m create mode 100644 PubNub/Network/Requests/Objects/Channel/PNFetchChannelMetadataRequest.h create mode 100644 PubNub/Network/Requests/Objects/Channel/PNFetchChannelMetadataRequest.m create mode 100644 PubNub/Network/Requests/Objects/Channel/PNRemoveChannelMetadataRequest.h rename PubNub/Network/Requests/Objects/{Space/PNDeleteSpaceRequest.m => Channel/PNRemoveChannelMetadataRequest.m} (55%) create mode 100644 PubNub/Network/Requests/Objects/Channel/PNSetChannelMetadataRequest.h rename PubNub/Network/Requests/Objects/{Space/PNManageSpaceDataRequest.m => Channel/PNSetChannelMetadataRequest.m} (57%) create mode 100644 PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest+Private.h create mode 100644 PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest.h create mode 100644 PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest.m create mode 100644 PubNub/Network/Requests/Objects/Membership/PNRemoveMembersRequest.h create mode 100644 PubNub/Network/Requests/Objects/Membership/PNRemoveMembersRequest.m create mode 100644 PubNub/Network/Requests/Objects/Membership/PNRemoveMembershipsRequest.h create mode 100644 PubNub/Network/Requests/Objects/Membership/PNRemoveMembershipsRequest.m create mode 100644 PubNub/Network/Requests/Objects/Membership/PNSetMembersRequest.h create mode 100644 PubNub/Network/Requests/Objects/Membership/PNSetMembersRequest.m create mode 100644 PubNub/Network/Requests/Objects/Membership/PNSetMembershipsRequest.h create mode 100644 PubNub/Network/Requests/Objects/Membership/PNSetMembershipsRequest.m delete mode 100644 PubNub/Network/Requests/Objects/Space/PNCreateSpaceRequest.h delete mode 100644 PubNub/Network/Requests/Objects/Space/PNCreateSpaceRequest.m delete mode 100644 PubNub/Network/Requests/Objects/Space/PNDeleteSpaceRequest.h delete mode 100644 PubNub/Network/Requests/Objects/Space/PNFetchSpaceRequest.h delete mode 100644 PubNub/Network/Requests/Objects/Space/PNFetchSpaceRequest.m delete mode 100644 PubNub/Network/Requests/Objects/Space/PNFetchSpacesRequest.h delete mode 100644 PubNub/Network/Requests/Objects/Space/PNFetchSpacesRequest.m delete mode 100644 PubNub/Network/Requests/Objects/Space/PNManageSpaceDataRequest.h delete mode 100644 PubNub/Network/Requests/Objects/Space/PNUpdateSpaceRequest.h delete mode 100644 PubNub/Network/Requests/Objects/Space/PNUpdateSpaceRequest.m create mode 100644 PubNub/Network/Requests/Objects/UUID/PNFetchAllUUIDMetadataRequest.h create mode 100644 PubNub/Network/Requests/Objects/UUID/PNFetchAllUUIDMetadataRequest.m create mode 100644 PubNub/Network/Requests/Objects/UUID/PNFetchUUIDMetadataRequest.h create mode 100644 PubNub/Network/Requests/Objects/UUID/PNFetchUUIDMetadataRequest.m create mode 100644 PubNub/Network/Requests/Objects/UUID/PNRemoveUUIDMetadataRequest.h rename PubNub/Network/Requests/Objects/{User/PNDeleteUserRequest.m => UUID/PNRemoveUUIDMetadataRequest.m} (52%) create mode 100644 PubNub/Network/Requests/Objects/UUID/PNSetUUIDMetadataRequest.h rename PubNub/Network/Requests/Objects/{User/PNManageUserDataRequest.m => UUID/PNSetUUIDMetadataRequest.m} (70%) delete mode 100644 PubNub/Network/Requests/Objects/User/PNCreateUserRequest.h delete mode 100644 PubNub/Network/Requests/Objects/User/PNCreateUserRequest.m delete mode 100644 PubNub/Network/Requests/Objects/User/PNDeleteUserRequest.h delete mode 100644 PubNub/Network/Requests/Objects/User/PNFetchUserRequest.h delete mode 100644 PubNub/Network/Requests/Objects/User/PNFetchUserRequest.m delete mode 100644 PubNub/Network/Requests/Objects/User/PNFetchUsersRequest.h delete mode 100644 PubNub/Network/Requests/Objects/User/PNFetchUsersRequest.m delete mode 100644 PubNub/Network/Requests/Objects/User/PNManageUserDataRequest.h delete mode 100644 PubNub/Network/Requests/Objects/User/PNUpdateUserRequest.h delete mode 100644 PubNub/Network/Requests/Objects/User/PNUpdateUserRequest.m create mode 100644 Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchAllChannelsMetadataAndReceiveResultWithExpectedOperation.json rename Tests/Support Files/Fixtures/{PNSpaceIntegrationTest.bundle/ItShouldFetchSortedSpacesWhenSortIsSet.json => PNChannelMetadataIntegrationTest.bundle/ItShouldFetchAllChannelsMetadataWhenLimitItSet.json} (53%) rename Tests/Support Files/Fixtures/{PNSpaceIntegrationTest.bundle/ItShouldFetchSpaceAndReceiveResultWithExpectedOperation.json => PNChannelMetadataIntegrationTest.bundle/ItShouldFetchChannelMetadataAndReceiveResultWithExpectedOperation.json} (55%) rename Tests/Support Files/Fixtures/{PNSpaceIntegrationTest.bundle/ItShouldFetchFilteredSpacesWhenFilterIsSet.json => PNChannelMetadataIntegrationTest.bundle/ItShouldFetchFilteredChannelsMetadataWhenFilterIsSet.json} (51%) rename Tests/Support Files/Fixtures/{PNSpaceIntegrationTest.bundle/ItShouldFetchNextSpacesPageWhenStartAndLimitIsSet.json => PNChannelMetadataIntegrationTest.bundle/ItShouldFetchNextChannelsMetadataPageWhenStartAndLimitIsSet.json} (50%) rename Tests/Support Files/Fixtures/{PNSpaceIntegrationTest.bundle/ItShouldFetchAllSpacesWhenLimitItSet.json => PNChannelMetadataIntegrationTest.bundle/ItShouldFetchSortedChannelsMetadataWhenSortIsSet.json} (51%) rename Tests/Support Files/Fixtures/{PNSpaceIntegrationTest.bundle/ItShouldNotFetchSpaceWhenTargetSpaceNotExists.json => PNChannelMetadataIntegrationTest.bundle/ItShouldNotFetchChannelMetadataWhenTargetChannelDoesNotHaveMetadata.json} (62%) rename Tests/Support Files/Fixtures/{PNSpaceIntegrationTest.bundle/ItShouldDeleteSpaceAndReceiveStatusWithExpectedOperationAndCategory.json => PNChannelMetadataIntegrationTest.bundle/ItShouldRemoveChannelMetadataAndReceiveStatusWithExpectedOperationAndCategory.json} (55%) rename Tests/Support Files/Fixtures/{PNSpaceIntegrationTest.bundle/ItShouldDeleteSpaceAndTriggerDeleteEventToSpaceChannel.json => PNChannelMetadataIntegrationTest.bundle/ItShouldRemoveChannelsMetadataAndTriggerDeleteEventToChannel.json} (57%) rename Tests/Support Files/Fixtures/{PNSpaceIntegrationTest.bundle/ItShouldCreateSpaceAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlySpaceAndIdentifierIsSet.json => PNChannelMetadataIntegrationTest.bundle/ItShouldSetChannelMetadataAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlyChannelIsSet.json} (58%) rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldUpdateUserAndReceiveStatusWithExpectedOperationAndCategory.json => PNChannelMetadataIntegrationTest.bundle/ItShouldSetChannelMetadataWhenAdditionalInformationIsSet.json} (52%) delete mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnSortedUserInformationWhenSortIsSet.json delete mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotAddMembersWhenSpaceAlreadyHasTargetUsersAsMembers.json delete mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotFetchMembersWhenSpaceObjectNotExists.json delete mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotUpdateMembersWhenSpaceNotHaveSpecifiedUsersAsMembers.json create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReceiveStatusWithExpectedOperationAndCategory.json create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnFilteredMembersInformationWhenFilterIsSet.json create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnMemberInformationWhenIncludeFlagIsSet.json create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnSortedMembersInformationWhenSortIsSet.json create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndTriggerDeleteEventOnChannel.json rename Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/{ItShouldDeleteMembersAndTriggerDeleteEventOnUserChannel.json => ItShouldRemoveMembersAndTriggerDeleteEventOnUUIDChannel.json} (55%) create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnFilteredMembersInformationWhenFilterIsSet.json create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnMemberInformationWhenIncludeFlagIsSet.json create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnSortedMembersInformationWhenSortIsSet.json rename Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/{ItShouldDeleteMembersAndTriggerDeleteEventOnSpaceChannel.json => ItShouldRemoveMembersUsingManageAndTriggerDeleteEventOnChannel.json} (55%) rename Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/{ItShouldAddMembersAndTriggerCreateEventOnUserChannel.json => ItShouldRemoveMembersUsingManageAndTriggerDeleteEventOnUUIDChannel.json} (51%) create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReceiveStatusWithExpectedOperationAndCategory.json create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnFilteredMembersInformationWhenFilterIsSet.json rename Tests/Support Files/Fixtures/{PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnSortedSpacesInformationWhenSortIsSet.json => PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnMemberInformationWhenIncludeFlagIsSet.json} (54%) rename Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/{ItShouldAddMembersAndReturnSortedUserInformationWhenSortIsSet.json => ItShouldSetMembersAndReturnSortedMembersInformationWhenSortIsSet.json} (52%) rename Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/{ItShouldAddMembersAndTriggerCreateEventOnSpaceChannel.json => ItShouldSetMembersAndTriggerSetEventOnChannel.json} (52%) create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndTriggerSetEventOnUUIDChannel.json rename Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/{ItShouldUpdateMembersAndReturnFilteredUserInformationWhenFilterIsSet.json => ItShouldSetMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json} (50%) create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnFilteredMembersInformationWhenFilterIsSet.json rename Tests/Support Files/Fixtures/{PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnFilteredSpaceInformationWhenFilterIsSet.json => PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnMembersInformationWhenIncludeFlagIsSet.json} (50%) create mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnSortedMembersInformationWhenSortIsSet.json rename Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/{ItShouldUpdateMembersAndTriggerUpdateEventOnSpaceChannel.json => ItShouldSetMembersUsingManageAndTriggerSetEventOnChannel.json} (51%) rename Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/{ItShouldUpdateMembersAndTriggerUpdateEventOnUserChannel.json => ItShouldSetMembersUsingManageAndTriggerSetEventOnUUIDChannel.json} (52%) rename Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/{ItShouldTriggerDeleteMemberEventOnSpaceChannelWhenUserRemoved.json => ItShouldTriggerDeleteMemberEventOnChannelWhenUUIDMetadataRemoved.json} (55%) rename Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/{ItShouldTriggerUpdateMemberEventOnSpaceChannelWhenUserDataChanged.json => ItShouldTriggerSetMemberEventOnChannelWhenUUIDMetadataDataChanged.json} (54%) delete mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReceiveStatusWithExpectedOperationAndCategory.json delete mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnSortedUserInformationWhenSortIsSet.json delete mode 100644 Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json delete mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnFilteredSpacesInformationWhenFilterIsSet.json delete mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json delete mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndTriggerCreateEventOnSpaceChannel.json delete mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReturnSortedSpaceInformationWhenSortedIsSet.json delete mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotCreateMembershipWhenUserAlreadyHasMembershipWithTargetSpace.json delete mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotFetchMembershipsWhenUserObjectNotExists.json delete mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotUpdateMembershipWhenUserNotHaveMembershipWithSpecifiedSpaces.json rename Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/{ItShouldUpdateMembershipAndTriggerUpdateEventOnSpaceChannel.json => ItShouldRemoveMemberAndTriggerUUIDDeleteOnChannel.json} (50%) rename Tests/Support Files/Fixtures/{PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReceiveStatusWithExpectedOperationAndCategory.json => PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReceiveStatusWithExpectedOperationAndCategory.json} (53%) rename Tests/Support Files/Fixtures/{PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json => PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnFilteredMembershipsInformationWhenFilterIsSet.json} (52%) rename Tests/Support Files/Fixtures/{PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnFilteredUserInformationWhenFilterIsSet.json => PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnMembershipsInformationWhenIncludeFlagIsSet.json} (52%) create mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnSortedMembershipsInformationWhenSortedIsSet.json rename Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/{ItShouldDeleteMembershipAndTriggerDeleteEventOnSpaceChannel.json => ItShouldRemoveMembershipAndTriggerDeleteEventOnChannel.json} (55%) rename Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/{ItShouldDeleteMembershipAndTriggerDeleteEventOnUserChannel.json => ItShouldRemoveMembershipAndTriggerDeleteEventOnUUIDChannel.json} (55%) rename Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/{ItShouldDeleteMembershipAndReceiveStatusWithExpectedOperationAndCategory.json => ItShouldRemoveMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json} (52%) rename Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/{ItShouldDeleteMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json => ItShouldRemoveMembershipUsingManageAndReturnFilteredMembershipsInformationWhenFilterIsSet.json} (52%) rename Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/{ItShouldDeleteMembershipAndReturnFilteredSpaceInformationWhenFilterIsSet.json => ItShouldRemoveMembershipUsingManageAndReturnMembershipsInformationWhenIncludeFlagIsSet.json} (51%) create mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReturnSortedMembershipsInformationWhenSortedIsSet.json rename Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/{ItShouldDeleteMemberAndTriggerUserDeleteOnSpaceChannel.json => ItShouldRemoveMembershipUsingManageAndTriggerDeleteEventOnChannel.json} (54%) create mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndTriggerDeleteEventOnUUIDChannel.json rename Tests/Support Files/Fixtures/{PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReceiveStatusWithExpectedOperationAndCategory.json => PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReceiveStatusWithExpectedOperationAndCategory.json} (52%) rename Tests/Support Files/Fixtures/{PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnFilteredUserInformationWhenFilterIsSet.json => PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnFilteredMembershipsInformationWhenFilterIsSet.json} (51%) create mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnMembershipInformationWhenIncludeFlagIsSet.json create mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnSortedMembershipsInformationWhenSortIsSet.json create mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndTriggerSetEventOnChannel.json rename Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/{ItShouldCreateMembershipAndTriggerCreateEventOnUserChannel.json => ItShouldSetMembershipAndTriggerSetEventOnUUIDChannel.json} (52%) rename Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/{ItShouldCreateMembershipAndReceiveStatusWithExpectedOperationAndCategory.json => ItShouldSetMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json} (52%) create mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnFilteredMembershipsInformationWhenFilterIsSet.json create mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnMembershipInformationWhenIncludeFlagIsSet.json rename Tests/Support Files/Fixtures/{PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json => PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnSortedMembershipsInformationWhenSortIsSet.json} (51%) create mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndTriggerSetEventOnChannel.json rename Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/{ItShouldUpdateMembershipAndTriggerUpdateEventOnUserChannel.json => ItShouldSetMembershipUsingManageAndTriggerSetEventOnUUIDChannel.json} (51%) delete mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReceiveStatusWithExpectedOperationAndCategory.json delete mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnSortedSpaceInformationWhenSortIsSet.json delete mode 100644 Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json delete mode 100644 Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldCreateSpaceWhenAdditionalInformationIsSet.json delete mode 100644 Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchAllSpacesAndReceiveResultWithExpectedOperation.json delete mode 100644 Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotCreateSpaceWhenSameSpaceAlreadyExists.json delete mode 100644 Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotUpdateSpaceWhenTargetSpaceNotExists.json delete mode 100644 Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldUpdateSpaceAndTriggerUpdateEventToSpaceChannel.json rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldFetchAllUsersAndReceiveResultWithExpectedOperation.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchAllUUIDMetadataAndReceiveResultWithExpectedOperation.json} (50%) rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldFetchAllUsersWhenLimitItSet.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchAllUUIDMetadataWhenLimitItSet.json} (53%) rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldFetchFilteredUsersWhenFilterIsSet.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchFilteredUUIDsMetadataWhenFilterIsSet.json} (53%) rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldFetchNextUsersPageWhenStartAndLimitIsSet.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchNextUUIDMetadataPageWhenStartAndLimitIsSet.json} (52%) rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldFetchSortedUsersWhenSortIsSet.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchSortedUUIDMetadataWhenSortIsSet.json} (54%) rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldFetchUserAndReceiveResultWithExpectedOperation.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchUUIDMetadataAndReceiveResultWithExpectedOperation.json} (56%) rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldNotFetchUserWhenTargetUserNotExists.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldNotFetchUUIDMetadataWhenTargetUUIDDoesNotHaveMetadata.json} (63%) create mode 100644 Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldNotTriggerDeleteEventToUUIDChannelWhenSentFromPreviousObjectsVersion.json rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldDeleteUserAndReceiveStatusWithExpectedOperationAndCategory.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldRemoveUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategory.json} (54%) rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldDeleteUserAndTriggerDeleteEventToSUserChannel.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldRemoveUUIDMetadataAndTriggerDeleteEventToUUIDChannel.json} (56%) rename Tests/Support Files/Fixtures/{PNUserIntegrationTest.bundle/ItShouldCreateUserAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlySpaceAndIdentifierIsSet.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldSetUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlyUUIDIsSet.json} (57%) rename Tests/Support Files/Fixtures/{PNSpaceIntegrationTest.bundle/ItShouldUpdateSpaceAndReceiveStatusWithExpectedOperationAndCategory.json => PNUUIDMetadataIntegrationTest.bundle/ItShouldSetUUIDMetadataWhenAdditionalInformationIsSet.json} (51%) delete mode 100644 Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldCreateUserWhenAdditionalInformationIsSet.json delete mode 100644 Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotCreateUserWhenSameUserAlreadyExists.json delete mode 100644 Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotUpdateUserWhenTargetUserNotExists.json delete mode 100644 Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldUpdateUserAndTriggerUpdateEventToUserChannel.json create mode 100644 Tests/Tests/Integration/Objects/PNChannelMetadataIntegrationTest.m delete mode 100644 Tests/Tests/Integration/Objects/PNSpaceIntegrationTest.m create mode 100644 Tests/Tests/Integration/Objects/PNUUIDMetadataIntegrationTest.m delete mode 100644 Tests/Tests/Integration/Objects/PNUserIntegrationTest.m create mode 100644 Tests/Tests/Unit/Core/Interfaces/Objects/PNChannelMetadataAPICallBuilderTest.m create mode 100644 Tests/Tests/Unit/Core/Interfaces/Objects/PNObjectsAPICallBuilderTest.m rename Tests/Tests/Unit/Core/Interfaces/Objects/{PNSpaceObjectsAPICallBuilderTest.m => PNUUIDMetadataAPICallBuilderTest.m} (50%) delete mode 100644 Tests/Tests/Unit/Core/Interfaces/Objects/PNUserObjectsAPICallBuilderTest.m create mode 100644 Tests/Tests/Unit/Core/Objects/PNChannelMetadataObjectsTest.m delete mode 100644 Tests/Tests/Unit/Core/Objects/PNSpaceObjectsTest.m create mode 100644 Tests/Tests/Unit/Core/Objects/PNUUIDMetadataObjectsTest.m delete mode 100644 Tests/Tests/Unit/Core/Objects/PNUserObjectsTest.m diff --git a/.pubnub.yml b/.pubnub.yml index 7b9b2f408..9b522da80 100644 --- a/.pubnub.yml +++ b/.pubnub.yml @@ -1,9 +1,19 @@ --- name: objective-c scm: github.com/pubnub/objective-c -version: "4.13.2" +version: "4.14.0" schema: 1 changelog: + - + changes: + - + text: "Add simplified Objects API support with UUID and Channel metadata / membership management." + type: feature + - + text: "Deprecate and replace old `PNObjectEventListener` protocol with new one `PNEventsListener`." + type: improvement + date: May 29, 20 + version: v4.14.0 - changes: - @@ -1060,6 +1070,22 @@ features: - OBJECTS-GET-MEMBERS - OBJECTS-FILTERING - OBJECTS-SORTING + - OBJECTS-GET-ALL-UUID-METADATA + - OBJECTS-GET-UUID-METADATA + - OBJECTS-SET-UUID-METADATA + - OBJECTS-REMOVE-UUID-METADATA + - OBJECTS-GET-ALL-CHANNEL-METADATA + - OBJECTS-GET-CHANNEL-METADATA + - OBJECTS-SET-CHANNEL-METADATA + - OBJECTS-REMOVE-CHANNEL-METADATA + - OBJECTS-GET-MEMBERSHIPS-V2 + - OBJECTS-SET-MEMBERSHIPS-V2 + - OBJECTS-REMOVE-MEMBERSHIPS-V2 + - OBJECTS-MANAGE-MEMBERSHIPS-V2 + - OBJECTS-GET-MEMBERS-V2 + - OBJECTS-SET-MEMBERS-V2 + - OBJECTS-REMOVE-MEMBERS-V2 + - OBJECTS-MANAGE-MEMBERS-V2 message-actions: - MESSAGE-ACTIONS-GET - MESSAGE-ACTIONS-ADD diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e02ef0bb..6b6c6bb35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## [v4.14.0](https://github.com/pubnub/objective-c/releases/tag/v4.14.0) +May 29 2020 + +[Full Changelog](https://github.com/pubnub/objective-c/compare/v4.13.2...v4.14.0) + +#### Added +- Add simplified Objects API support with UUID and Channel metadata / membership management. + +#### Modified +- Deprecate and replace old `PNObjectEventListener` protocol with new one `PNEventsListener`. +- Update tests which has been used for previous Objects API version to test simplified Objects. + ## [v4.13.2](https://github.com/pubnub/objective-c/releases/tag/v4.13.2) May 18 2020 diff --git a/Example/PubNub/PNAppDelegate.m b/Example/PubNub/PNAppDelegate.m index 709db31a6..d0b6e616d 100644 --- a/Example/PubNub/PNAppDelegate.m +++ b/Example/PubNub/PNAppDelegate.m @@ -11,7 +11,7 @@ #pragma mark Private interface declaration -@interface PNAppDelegate () +@interface PNAppDelegate () #pragma mark - Properties diff --git a/Example/PubNub/PubNub Example-Info.plist b/Example/PubNub/PubNub Example-Info.plist index 306ce17ae..8894906bd 100644 --- a/Example/PubNub/PubNub Example-Info.plist +++ b/Example/PubNub/PubNub Example-Info.plist @@ -41,10 +41,6 @@ UIMainStoryboardFile Main - UIRequiredDeviceCapabilities - - armv7 - UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/Framework/PubNub Framework.xcodeproj/project.pbxproj b/Framework/PubNub Framework.xcodeproj/project.pbxproj index 4a826a4ab..bdfda2e4d 100644 --- a/Framework/PubNub Framework.xcodeproj/project.pbxproj +++ b/Framework/PubNub Framework.xcodeproj/project.pbxproj @@ -145,7 +145,7 @@ 7915825B1BD709C60084FC70 /* PNAcknowledgmentStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB07D1BD03DE4001FC34D /* PNAcknowledgmentStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; 7915825C1BD709C60084FC70 /* PNChannelGroupsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0871BD03DE4001FC34D /* PNChannelGroupsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; 7915825D1BD709C60084FC70 /* PubNub+ChannelGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0581BD03DE4001FC34D /* PubNub+ChannelGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7915825E1BD709C60084FC70 /* PNObjectEventListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CC1BD03DE4001FC34D /* PNObjectEventListener.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7915825E1BD709C60084FC70 /* PNEventsListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CC1BD03DE4001FC34D /* PNEventsListener.h */; settings = {ATTRIBUTES = (Public, ); }; }; 7915825F1BD709C60084FC70 /* PNSubscriberResults.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0A31BD03DE4001FC34D /* PNSubscriberResults.h */; settings = {ATTRIBUTES = (Public, ); }; }; 791582601BD709C60084FC70 /* PNClientInformation.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0771BD03DE4001FC34D /* PNClientInformation.h */; settings = {ATTRIBUTES = (Public, ); }; }; 791582611BD709C60084FC70 /* PNPushNotificationsAuditParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0E41BD03DE4001FC34D /* PNPushNotificationsAuditParser.h */; }; @@ -289,7 +289,7 @@ 791583041BD709D10084FC70 /* PNAcknowledgmentStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB07D1BD03DE4001FC34D /* PNAcknowledgmentStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; 791583051BD709D10084FC70 /* PNChannelGroupsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0871BD03DE4001FC34D /* PNChannelGroupsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; 791583061BD709D10084FC70 /* PubNub+ChannelGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0581BD03DE4001FC34D /* PubNub+ChannelGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 791583071BD709D10084FC70 /* PNObjectEventListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CC1BD03DE4001FC34D /* PNObjectEventListener.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 791583071BD709D10084FC70 /* PNEventsListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CC1BD03DE4001FC34D /* PNEventsListener.h */; settings = {ATTRIBUTES = (Public, ); }; }; 791583081BD709D10084FC70 /* PNSubscriberResults.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0A31BD03DE4001FC34D /* PNSubscriberResults.h */; settings = {ATTRIBUTES = (Public, ); }; }; 791583091BD709D10084FC70 /* PNClientInformation.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0771BD03DE4001FC34D /* PNClientInformation.h */; settings = {ATTRIBUTES = (Public, ); }; }; 7915830A1BD709D10084FC70 /* PNPushNotificationsAuditParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0E41BD03DE4001FC34D /* PNPushNotificationsAuditParser.h */; }; @@ -520,7 +520,7 @@ 7988427A1C18F25E003E8948 /* PNErrorCodes.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0C81BD03DE4001FC34D /* PNErrorCodes.h */; settings = {ATTRIBUTES = (Public, ); }; }; 7988427B1C18F263003E8948 /* PNPrivateStructures.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0C91BD03DE4001FC34D /* PNPrivateStructures.h */; }; 7988427C1C18F267003E8948 /* PNStructures.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CA1BD03DE4001FC34D /* PNStructures.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7988427D1C18F26E003E8948 /* PNObjectEventListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CC1BD03DE4001FC34D /* PNObjectEventListener.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7988427D1C18F26E003E8948 /* PNEventsListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CC1BD03DE4001FC34D /* PNEventsListener.h */; settings = {ATTRIBUTES = (Public, ); }; }; 7988427E1C18F272003E8948 /* PNParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CD1BD03DE4001FC34D /* PNParser.h */; }; 7988427F1C18F286003E8948 /* PNNumber.h in Headers */ = {isa = PBXBuildFile; fileRef = 793887021BEAD49100DCC662 /* PNNumber.h */; }; 798842801C18F286003E8948 /* PNArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0AC1BD03DE4001FC34D /* PNArray.h */; }; @@ -940,7 +940,7 @@ 79A8BC711C58F93900015BDE /* PNAcknowledgmentStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB07D1BD03DE4001FC34D /* PNAcknowledgmentStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; 79A8BC721C58F93900015BDE /* PNChannelGroupsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0871BD03DE4001FC34D /* PNChannelGroupsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; 79A8BC731C58F93900015BDE /* PubNub+ChannelGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0581BD03DE4001FC34D /* PubNub+ChannelGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 79A8BC741C58F93900015BDE /* PNObjectEventListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CC1BD03DE4001FC34D /* PNObjectEventListener.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 79A8BC741C58F93900015BDE /* PNEventsListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CC1BD03DE4001FC34D /* PNEventsListener.h */; settings = {ATTRIBUTES = (Public, ); }; }; 79A8BC751C58F93900015BDE /* PNSubscriberResults.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0A31BD03DE4001FC34D /* PNSubscriberResults.h */; settings = {ATTRIBUTES = (Public, ); }; }; 79A8BC761C58F93900015BDE /* PNClientInformation.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0771BD03DE4001FC34D /* PNClientInformation.h */; settings = {ATTRIBUTES = (Public, ); }; }; 79A8BC771C58F93900015BDE /* PNPushNotificationsAuditParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0E41BD03DE4001FC34D /* PNPushNotificationsAuditParser.h */; }; @@ -1120,7 +1120,7 @@ 79CBB1631BD03DE4001FC34D /* PNErrorCodes.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0C81BD03DE4001FC34D /* PNErrorCodes.h */; settings = {ATTRIBUTES = (Public, ); }; }; 79CBB1641BD03DE4001FC34D /* PNPrivateStructures.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0C91BD03DE4001FC34D /* PNPrivateStructures.h */; }; 79CBB1651BD03DE4001FC34D /* PNStructures.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CA1BD03DE4001FC34D /* PNStructures.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 79CBB1661BD03DE4001FC34D /* PNObjectEventListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CC1BD03DE4001FC34D /* PNObjectEventListener.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 79CBB1661BD03DE4001FC34D /* PNEventsListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CC1BD03DE4001FC34D /* PNEventsListener.h */; settings = {ATTRIBUTES = (Public, ); }; }; 79CBB1671BD03DE4001FC34D /* PNParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0CD1BD03DE4001FC34D /* PNParser.h */; }; 79CBB1681BD03DE4001FC34D /* PNChannelGroupAuditionParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 79CBB0D01BD03DE4001FC34D /* PNChannelGroupAuditionParser.h */; }; 79CBB1691BD03DE4001FC34D /* PNChannelGroupAuditionParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 79CBB0D11BD03DE4001FC34D /* PNChannelGroupAuditionParser.m */; }; @@ -1203,6 +1203,261 @@ 79F90F241FDEC1DE007132A3 /* PNPresenceHeartbeatAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = 79F90F171FDEC1B9007132A3 /* PNPresenceHeartbeatAPICallBuilder.m */; }; 79F90F251FDEC1DE007132A3 /* PNPresenceHeartbeatAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = 79F90F171FDEC1B9007132A3 /* PNPresenceHeartbeatAPICallBuilder.m */; }; 79F90F261FDEC1DE007132A3 /* PNPresenceHeartbeatAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = 79F90F171FDEC1B9007132A3 /* PNPresenceHeartbeatAPICallBuilder.m */; }; + A5046E17247844E70008C81E /* PNSetMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E0F247844E70008C81E /* PNSetMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E18247844E70008C81E /* PNSetMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E0F247844E70008C81E /* PNSetMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E19247844E70008C81E /* PNSetMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E0F247844E70008C81E /* PNSetMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E1A247844E70008C81E /* PNSetMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E0F247844E70008C81E /* PNSetMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E1B247844E70008C81E /* PNSetMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E0F247844E70008C81E /* PNSetMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E21247844E70008C81E /* PNSetMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E11247844E70008C81E /* PNSetMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E22247844E70008C81E /* PNSetMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E11247844E70008C81E /* PNSetMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E23247844E70008C81E /* PNSetMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E11247844E70008C81E /* PNSetMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E24247844E70008C81E /* PNSetMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E11247844E70008C81E /* PNSetMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E25247844E70008C81E /* PNSetMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E11247844E70008C81E /* PNSetMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E2F2478471D0008C81E /* PNSetMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E272478471C0008C81E /* PNSetMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E302478471D0008C81E /* PNSetMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E272478471C0008C81E /* PNSetMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E312478471D0008C81E /* PNSetMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E272478471C0008C81E /* PNSetMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E322478471D0008C81E /* PNSetMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E272478471C0008C81E /* PNSetMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E332478471D0008C81E /* PNSetMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E272478471C0008C81E /* PNSetMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E392478471D0008C81E /* PNSetMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E292478471D0008C81E /* PNSetMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E3A2478471D0008C81E /* PNSetMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E292478471D0008C81E /* PNSetMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E3B2478471D0008C81E /* PNSetMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E292478471D0008C81E /* PNSetMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E3C2478471D0008C81E /* PNSetMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E292478471D0008C81E /* PNSetMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E3D2478471D0008C81E /* PNSetMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5046E292478471D0008C81E /* PNSetMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5046E3E24784CA90008C81E /* PNRemoveMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451F5246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.m */; }; + A5046E3F24784CA90008C81E /* PNManageMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */; }; + A5046E4024784CA90008C81E /* PNFetchMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */; }; + A5046E4124784CA90008C81E /* PNRemoveMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451CD246F2678008ECC74 /* PNRemoveMembersAPICallBuilder.m */; }; + A5046E4224784CA90008C81E /* PNManageMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */; }; + A5046E4324784CA90008C81E /* PNSetMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E0E247844E70008C81E /* PNSetMembershipsAPICallBuilder.m */; }; + A5046E4424784CA90008C81E /* PNFetchMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */; }; + A5046E4524784CA90008C81E /* PNSetMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E10247844E70008C81E /* PNSetMembersAPICallBuilder.m */; }; + A5046E4624784CA90008C81E /* PNFetchAllChannelsMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F822FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.m */; }; + A5046E4724784CA90008C81E /* PNRemoveChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F322FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.m */; }; + A5046E4824784CA90008C81E /* PNFetchChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F722FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.m */; }; + A5046E4924784CA90008C81E /* PNSetChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EE22FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.m */; }; + A5046E4A24784CA90008C81E /* PNFetchAllUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E622FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.m */; }; + A5046E4B24784CA90008C81E /* PNRemoveUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E922FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.m */; }; + A5046E4C24784CA90008C81E /* PNFetchUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E322FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.m */; }; + A5046E4D24784CA90008C81E /* PNSetUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EC22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.m */; }; + A5046E4E24784CA90008C81E /* PNObjectsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = CA01FBE21124CDAEBD4948E6 /* PNObjectsAPICallBuilder.m */; }; + A5046E4F24784CA90008C81E /* PNMembership.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975C123005BD80093BD9A /* PNMembership.m */; }; + A5046E5024784CA90008C81E /* PNMember.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975D123005BE60093BD9A /* PNMember.m */; }; + A5046E5124784CA90008C81E /* PNChannelMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A922FD817E002D0A72 /* PNChannelMetadata.m */; }; + A5046E5224784CA90008C81E /* PNUUIDMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A422FD817E002D0A72 /* PNUUIDMetadata.m */; }; + A5046E5324784CA90008C81E /* PNBaseObjectsMembershipRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A45179246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.m */; }; + A5046E5424784CA90008C81E /* PNManageMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */; }; + A5046E5524784CA90008C81E /* PNRemoveMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A4519D246DE792008ECC74 /* PNRemoveMembershipsRequest.m */; }; + A5046E5624784CA90008C81E /* PNFetchMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */; }; + A5046E5724784CA90008C81E /* PNManageMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */; }; + A5046E5824784CA90008C81E /* PNRemoveMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451A9246DE8C1008ECC74 /* PNRemoveMembersRequest.m */; }; + A5046E5924784CA90008C81E /* PNSetMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E262478471C0008C81E /* PNSetMembershipsRequest.m */; }; + A5046E5A24784CA90008C81E /* PNFetchMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */; }; + A5046E5B24784CA90008C81E /* PNSetMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E282478471C0008C81E /* PNSetMembersRequest.m */; }; + A5046E5C24784CA90008C81E /* PNSetChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876522FD8272002D0A72 /* PNSetChannelMetadataRequest.m */; }; + A5046E5D24784CA90008C81E /* PNRemoveChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875E22FD8272002D0A72 /* PNRemoveChannelMetadataRequest.m */; }; + A5046E5E24784CA90008C81E /* PNFetchChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875922FD8272002D0A72 /* PNFetchChannelMetadataRequest.m */; }; + A5046E5F24784CA90008C81E /* PNFetchAllChannelsMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875A22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.m */; }; + A5046E6024784CA90008C81E /* PNSetUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875322FD8272002D0A72 /* PNSetUUIDMetadataRequest.m */; }; + A5046E6124784CA90008C81E /* PNRemoveUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874F22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.m */; }; + A5046E6224784CA90008C81E /* PNFetchUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874A22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.m */; }; + A5046E6324784CA90008C81E /* PNFetchAllUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875622FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.m */; }; + A5046E6424784CA90008C81E /* PNObjectsPaginatedRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */; }; + A5046E6524784CA90008C81E /* PNBaseObjectsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */; }; + A5046E6624784CA90008C81E /* PNChannelMetadataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865B8230173030014E17C /* PNChannelMetadataChangeParser.m */; }; + A5046E6724784CA90008C81E /* PNUUIDMetadataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A873522FD825A002D0A72 /* PNUUIDMetadataChangeParser.m */; }; + A5046E6824784CA90008C81E /* PNObjectsRemoveParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865C8230173AA0014E17C /* PNObjectsRemoveParser.m */; }; + A5046E6924784CA90008C81E /* PNMembershipsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865D8230175EC0014E17C /* PNMembershipsParser.m */; }; + A5046E6A24784CA90008C81E /* PNFetchChannelsMetadataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865A8230172950014E17C /* PNFetchChannelsMetadataParser.m */; }; + A5046E6B24784CA90008C81E /* PNFetchUUIDMetadataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5686598230170690014E17C /* PNFetchUUIDMetadataParser.m */; }; + A5046E6C24784CA90008C81E /* PNMembersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865E8230176760014E17C /* PNMembersParser.m */; }; + A5046E6D24784CAA0008C81E /* PNRemoveMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451F5246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.m */; }; + A5046E6E24784CAA0008C81E /* PNManageMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */; }; + A5046E6F24784CAA0008C81E /* PNFetchMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */; }; + A5046E7024784CAA0008C81E /* PNRemoveMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451CD246F2678008ECC74 /* PNRemoveMembersAPICallBuilder.m */; }; + A5046E7124784CAA0008C81E /* PNManageMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */; }; + A5046E7224784CAA0008C81E /* PNSetMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E0E247844E70008C81E /* PNSetMembershipsAPICallBuilder.m */; }; + A5046E7324784CAA0008C81E /* PNFetchMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */; }; + A5046E7424784CAA0008C81E /* PNSetMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E10247844E70008C81E /* PNSetMembersAPICallBuilder.m */; }; + A5046E7524784CAA0008C81E /* PNFetchAllChannelsMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F822FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.m */; }; + A5046E7624784CAA0008C81E /* PNRemoveChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F322FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.m */; }; + A5046E7724784CAA0008C81E /* PNFetchChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F722FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.m */; }; + A5046E7824784CAA0008C81E /* PNSetChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EE22FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.m */; }; + A5046E7924784CAA0008C81E /* PNFetchAllUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E622FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.m */; }; + A5046E7A24784CAA0008C81E /* PNRemoveUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E922FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.m */; }; + A5046E7B24784CAA0008C81E /* PNFetchUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E322FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.m */; }; + A5046E7C24784CAA0008C81E /* PNSetUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EC22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.m */; }; + A5046E7D24784CAA0008C81E /* PNObjectsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = CA01FBE21124CDAEBD4948E6 /* PNObjectsAPICallBuilder.m */; }; + A5046E7E24784CAA0008C81E /* PNMembership.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975C123005BD80093BD9A /* PNMembership.m */; }; + A5046E7F24784CAA0008C81E /* PNMember.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975D123005BE60093BD9A /* PNMember.m */; }; + A5046E8024784CAA0008C81E /* PNChannelMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A922FD817E002D0A72 /* PNChannelMetadata.m */; }; + A5046E8124784CAA0008C81E /* PNUUIDMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A422FD817E002D0A72 /* PNUUIDMetadata.m */; }; + A5046E8224784CAA0008C81E /* PNBaseObjectsMembershipRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A45179246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.m */; }; + A5046E8324784CAA0008C81E /* PNManageMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */; }; + A5046E8424784CAA0008C81E /* PNRemoveMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A4519D246DE792008ECC74 /* PNRemoveMembershipsRequest.m */; }; + A5046E8524784CAA0008C81E /* PNFetchMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */; }; + A5046E8624784CAA0008C81E /* PNManageMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */; }; + A5046E8724784CAA0008C81E /* PNRemoveMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451A9246DE8C1008ECC74 /* PNRemoveMembersRequest.m */; }; + A5046E8824784CAA0008C81E /* PNSetMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E262478471C0008C81E /* PNSetMembershipsRequest.m */; }; + A5046E8924784CAA0008C81E /* PNFetchMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */; }; + A5046E8A24784CAA0008C81E /* PNSetMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E282478471C0008C81E /* PNSetMembersRequest.m */; }; + A5046E8B24784CAA0008C81E /* PNSetChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876522FD8272002D0A72 /* PNSetChannelMetadataRequest.m */; }; + A5046E8C24784CAA0008C81E /* PNRemoveChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875E22FD8272002D0A72 /* PNRemoveChannelMetadataRequest.m */; }; + A5046E8D24784CAA0008C81E /* PNFetchChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875922FD8272002D0A72 /* PNFetchChannelMetadataRequest.m */; }; + A5046E8E24784CAA0008C81E /* PNFetchAllChannelsMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875A22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.m */; }; + A5046E8F24784CAA0008C81E /* PNSetUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875322FD8272002D0A72 /* PNSetUUIDMetadataRequest.m */; }; + A5046E9024784CAA0008C81E /* PNRemoveUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874F22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.m */; }; + A5046E9124784CAA0008C81E /* PNFetchUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874A22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.m */; }; + A5046E9224784CAA0008C81E /* PNFetchAllUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875622FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.m */; }; + A5046E9324784CAA0008C81E /* PNObjectsPaginatedRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */; }; + A5046E9424784CAA0008C81E /* PNBaseObjectsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */; }; + A5046E9524784CAA0008C81E /* PNChannelMetadataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865B8230173030014E17C /* PNChannelMetadataChangeParser.m */; }; + A5046E9624784CAA0008C81E /* PNUUIDMetadataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A873522FD825A002D0A72 /* PNUUIDMetadataChangeParser.m */; }; + A5046E9724784CAA0008C81E /* PNObjectsRemoveParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865C8230173AA0014E17C /* PNObjectsRemoveParser.m */; }; + A5046E9824784CAA0008C81E /* PNMembershipsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865D8230175EC0014E17C /* PNMembershipsParser.m */; }; + A5046E9924784CAA0008C81E /* PNFetchChannelsMetadataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865A8230172950014E17C /* PNFetchChannelsMetadataParser.m */; }; + A5046E9A24784CAA0008C81E /* PNFetchUUIDMetadataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5686598230170690014E17C /* PNFetchUUIDMetadataParser.m */; }; + A5046E9B24784CAA0008C81E /* PNMembersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865E8230176760014E17C /* PNMembersParser.m */; }; + A5046E9C24784CAA0008C81E /* PNRemoveMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451F5246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.m */; }; + A5046E9D24784CAA0008C81E /* PNManageMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */; }; + A5046E9E24784CAA0008C81E /* PNFetchMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */; }; + A5046E9F24784CAA0008C81E /* PNRemoveMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451CD246F2678008ECC74 /* PNRemoveMembersAPICallBuilder.m */; }; + A5046EA024784CAA0008C81E /* PNManageMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */; }; + A5046EA124784CAA0008C81E /* PNSetMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E0E247844E70008C81E /* PNSetMembershipsAPICallBuilder.m */; }; + A5046EA224784CAA0008C81E /* PNFetchMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */; }; + A5046EA324784CAA0008C81E /* PNSetMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E10247844E70008C81E /* PNSetMembersAPICallBuilder.m */; }; + A5046EA424784CAA0008C81E /* PNFetchAllChannelsMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F822FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.m */; }; + A5046EA524784CAA0008C81E /* PNRemoveChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F322FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.m */; }; + A5046EA624784CAA0008C81E /* PNFetchChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F722FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.m */; }; + A5046EA724784CAA0008C81E /* PNSetChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EE22FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.m */; }; + A5046EA824784CAA0008C81E /* PNFetchAllUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E622FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.m */; }; + A5046EA924784CAA0008C81E /* PNRemoveUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E922FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.m */; }; + A5046EAA24784CAA0008C81E /* PNFetchUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E322FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.m */; }; + A5046EAB24784CAA0008C81E /* PNSetUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EC22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.m */; }; + A5046EAC24784CAA0008C81E /* PNObjectsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = CA01FBE21124CDAEBD4948E6 /* PNObjectsAPICallBuilder.m */; }; + A5046EAD24784CAA0008C81E /* PNMembership.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975C123005BD80093BD9A /* PNMembership.m */; }; + A5046EAE24784CAA0008C81E /* PNMember.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975D123005BE60093BD9A /* PNMember.m */; }; + A5046EAF24784CAA0008C81E /* PNChannelMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A922FD817E002D0A72 /* PNChannelMetadata.m */; }; + A5046EB024784CAA0008C81E /* PNUUIDMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A422FD817E002D0A72 /* PNUUIDMetadata.m */; }; + A5046EB124784CAA0008C81E /* PNBaseObjectsMembershipRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A45179246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.m */; }; + A5046EB224784CAA0008C81E /* PNManageMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */; }; + A5046EB324784CAA0008C81E /* PNRemoveMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A4519D246DE792008ECC74 /* PNRemoveMembershipsRequest.m */; }; + A5046EB424784CAA0008C81E /* PNFetchMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */; }; + A5046EB524784CAA0008C81E /* PNManageMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */; }; + A5046EB624784CAA0008C81E /* PNRemoveMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451A9246DE8C1008ECC74 /* PNRemoveMembersRequest.m */; }; + A5046EB724784CAA0008C81E /* PNSetMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E262478471C0008C81E /* PNSetMembershipsRequest.m */; }; + A5046EB824784CAA0008C81E /* PNFetchMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */; }; + A5046EB924784CAA0008C81E /* PNSetMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E282478471C0008C81E /* PNSetMembersRequest.m */; }; + A5046EBA24784CAA0008C81E /* PNSetChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876522FD8272002D0A72 /* PNSetChannelMetadataRequest.m */; }; + A5046EBB24784CAA0008C81E /* PNRemoveChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875E22FD8272002D0A72 /* PNRemoveChannelMetadataRequest.m */; }; + A5046EBC24784CAA0008C81E /* PNFetchChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875922FD8272002D0A72 /* PNFetchChannelMetadataRequest.m */; }; + A5046EBD24784CAA0008C81E /* PNFetchAllChannelsMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875A22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.m */; }; + A5046EBE24784CAA0008C81E /* PNSetUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875322FD8272002D0A72 /* PNSetUUIDMetadataRequest.m */; }; + A5046EBF24784CAA0008C81E /* PNRemoveUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874F22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.m */; }; + A5046EC024784CAA0008C81E /* PNFetchUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874A22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.m */; }; + A5046EC124784CAA0008C81E /* PNFetchAllUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875622FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.m */; }; + A5046EC224784CAA0008C81E /* PNObjectsPaginatedRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */; }; + A5046EC324784CAA0008C81E /* PNBaseObjectsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */; }; + A5046EC424784CAA0008C81E /* PNChannelMetadataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865B8230173030014E17C /* PNChannelMetadataChangeParser.m */; }; + A5046EC524784CAA0008C81E /* PNUUIDMetadataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A873522FD825A002D0A72 /* PNUUIDMetadataChangeParser.m */; }; + A5046EC624784CAA0008C81E /* PNObjectsRemoveParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865C8230173AA0014E17C /* PNObjectsRemoveParser.m */; }; + A5046EC724784CAA0008C81E /* PNMembershipsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865D8230175EC0014E17C /* PNMembershipsParser.m */; }; + A5046EC824784CAA0008C81E /* PNFetchChannelsMetadataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865A8230172950014E17C /* PNFetchChannelsMetadataParser.m */; }; + A5046EC924784CAA0008C81E /* PNFetchUUIDMetadataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5686598230170690014E17C /* PNFetchUUIDMetadataParser.m */; }; + A5046ECA24784CAA0008C81E /* PNMembersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865E8230176760014E17C /* PNMembersParser.m */; }; + A5046ECB24784CAB0008C81E /* PNRemoveMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451F5246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.m */; }; + A5046ECC24784CAB0008C81E /* PNManageMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */; }; + A5046ECD24784CAB0008C81E /* PNFetchMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */; }; + A5046ECE24784CAB0008C81E /* PNRemoveMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451CD246F2678008ECC74 /* PNRemoveMembersAPICallBuilder.m */; }; + A5046ECF24784CAB0008C81E /* PNManageMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */; }; + A5046ED024784CAB0008C81E /* PNSetMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E0E247844E70008C81E /* PNSetMembershipsAPICallBuilder.m */; }; + A5046ED124784CAB0008C81E /* PNFetchMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */; }; + A5046ED224784CAB0008C81E /* PNSetMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E10247844E70008C81E /* PNSetMembersAPICallBuilder.m */; }; + A5046ED324784CAB0008C81E /* PNFetchAllChannelsMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F822FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.m */; }; + A5046ED424784CAB0008C81E /* PNRemoveChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F322FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.m */; }; + A5046ED524784CAB0008C81E /* PNFetchChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F722FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.m */; }; + A5046ED624784CAB0008C81E /* PNSetChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EE22FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.m */; }; + A5046ED724784CAB0008C81E /* PNFetchAllUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E622FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.m */; }; + A5046ED824784CAB0008C81E /* PNRemoveUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E922FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.m */; }; + A5046ED924784CAB0008C81E /* PNFetchUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E322FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.m */; }; + A5046EDA24784CAB0008C81E /* PNSetUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EC22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.m */; }; + A5046EDB24784CAB0008C81E /* PNObjectsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = CA01FBE21124CDAEBD4948E6 /* PNObjectsAPICallBuilder.m */; }; + A5046EDC24784CAB0008C81E /* PNMembership.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975C123005BD80093BD9A /* PNMembership.m */; }; + A5046EDD24784CAB0008C81E /* PNMember.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975D123005BE60093BD9A /* PNMember.m */; }; + A5046EDE24784CAB0008C81E /* PNChannelMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A922FD817E002D0A72 /* PNChannelMetadata.m */; }; + A5046EDF24784CAB0008C81E /* PNUUIDMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A422FD817E002D0A72 /* PNUUIDMetadata.m */; }; + A5046EE024784CAB0008C81E /* PNBaseObjectsMembershipRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A45179246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.m */; }; + A5046EE124784CAB0008C81E /* PNManageMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */; }; + A5046EE224784CAB0008C81E /* PNRemoveMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A4519D246DE792008ECC74 /* PNRemoveMembershipsRequest.m */; }; + A5046EE324784CAB0008C81E /* PNFetchMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */; }; + A5046EE424784CAB0008C81E /* PNManageMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */; }; + A5046EE524784CAB0008C81E /* PNRemoveMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451A9246DE8C1008ECC74 /* PNRemoveMembersRequest.m */; }; + A5046EE624784CAB0008C81E /* PNSetMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E262478471C0008C81E /* PNSetMembershipsRequest.m */; }; + A5046EE724784CAB0008C81E /* PNFetchMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */; }; + A5046EE824784CAB0008C81E /* PNSetMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E282478471C0008C81E /* PNSetMembersRequest.m */; }; + A5046EE924784CAB0008C81E /* PNSetChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876522FD8272002D0A72 /* PNSetChannelMetadataRequest.m */; }; + A5046EEA24784CAB0008C81E /* PNRemoveChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875E22FD8272002D0A72 /* PNRemoveChannelMetadataRequest.m */; }; + A5046EEB24784CAB0008C81E /* PNFetchChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875922FD8272002D0A72 /* PNFetchChannelMetadataRequest.m */; }; + A5046EEC24784CAB0008C81E /* PNFetchAllChannelsMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875A22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.m */; }; + A5046EED24784CAB0008C81E /* PNSetUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875322FD8272002D0A72 /* PNSetUUIDMetadataRequest.m */; }; + A5046EEE24784CAB0008C81E /* PNRemoveUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874F22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.m */; }; + A5046EEF24784CAB0008C81E /* PNFetchUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874A22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.m */; }; + A5046EF024784CAB0008C81E /* PNFetchAllUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875622FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.m */; }; + A5046EF124784CAB0008C81E /* PNObjectsPaginatedRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */; }; + A5046EF224784CAB0008C81E /* PNBaseObjectsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */; }; + A5046EF324784CAB0008C81E /* PNChannelMetadataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865B8230173030014E17C /* PNChannelMetadataChangeParser.m */; }; + A5046EF424784CAB0008C81E /* PNUUIDMetadataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A873522FD825A002D0A72 /* PNUUIDMetadataChangeParser.m */; }; + A5046EF524784CAB0008C81E /* PNObjectsRemoveParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865C8230173AA0014E17C /* PNObjectsRemoveParser.m */; }; + A5046EF624784CAB0008C81E /* PNMembershipsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865D8230175EC0014E17C /* PNMembershipsParser.m */; }; + A5046EF724784CAB0008C81E /* PNFetchChannelsMetadataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865A8230172950014E17C /* PNFetchChannelsMetadataParser.m */; }; + A5046EF824784CAB0008C81E /* PNFetchUUIDMetadataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5686598230170690014E17C /* PNFetchUUIDMetadataParser.m */; }; + A5046EF924784CAB0008C81E /* PNMembersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865E8230176760014E17C /* PNMembersParser.m */; }; + A5046EFA24784CAB0008C81E /* PNRemoveMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451F5246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.m */; }; + A5046EFB24784CAB0008C81E /* PNManageMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */; }; + A5046EFC24784CAB0008C81E /* PNFetchMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */; }; + A5046EFD24784CAB0008C81E /* PNRemoveMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451CD246F2678008ECC74 /* PNRemoveMembersAPICallBuilder.m */; }; + A5046EFE24784CAB0008C81E /* PNManageMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */; }; + A5046EFF24784CAB0008C81E /* PNSetMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E0E247844E70008C81E /* PNSetMembershipsAPICallBuilder.m */; }; + A5046F0024784CAB0008C81E /* PNFetchMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */; }; + A5046F0124784CAB0008C81E /* PNSetMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E10247844E70008C81E /* PNSetMembersAPICallBuilder.m */; }; + A5046F0224784CAB0008C81E /* PNFetchAllChannelsMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F822FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.m */; }; + A5046F0324784CAB0008C81E /* PNRemoveChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F322FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.m */; }; + A5046F0424784CAB0008C81E /* PNFetchChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F722FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.m */; }; + A5046F0524784CAB0008C81E /* PNSetChannelMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EE22FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.m */; }; + A5046F0624784CAB0008C81E /* PNFetchAllUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E622FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.m */; }; + A5046F0724784CAB0008C81E /* PNRemoveUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E922FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.m */; }; + A5046F0824784CAB0008C81E /* PNFetchUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E322FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.m */; }; + A5046F0924784CAB0008C81E /* PNSetUUIDMetadataAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EC22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.m */; }; + A5046F0A24784CAB0008C81E /* PNObjectsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = CA01FBE21124CDAEBD4948E6 /* PNObjectsAPICallBuilder.m */; }; + A5046F0B24784CAB0008C81E /* PNMembership.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975C123005BD80093BD9A /* PNMembership.m */; }; + A5046F0C24784CAB0008C81E /* PNMember.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975D123005BE60093BD9A /* PNMember.m */; }; + A5046F0D24784CAB0008C81E /* PNChannelMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A922FD817E002D0A72 /* PNChannelMetadata.m */; }; + A5046F0E24784CAB0008C81E /* PNUUIDMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A422FD817E002D0A72 /* PNUUIDMetadata.m */; }; + A5046F0F24784CAB0008C81E /* PNBaseObjectsMembershipRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A45179246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.m */; }; + A5046F1024784CAB0008C81E /* PNManageMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */; }; + A5046F1124784CAB0008C81E /* PNRemoveMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A4519D246DE792008ECC74 /* PNRemoveMembershipsRequest.m */; }; + A5046F1224784CAB0008C81E /* PNFetchMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */; }; + A5046F1324784CAB0008C81E /* PNManageMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */; }; + A5046F1424784CAB0008C81E /* PNRemoveMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A451A9246DE8C1008ECC74 /* PNRemoveMembersRequest.m */; }; + A5046F1524784CAB0008C81E /* PNSetMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E262478471C0008C81E /* PNSetMembershipsRequest.m */; }; + A5046F1624784CAB0008C81E /* PNFetchMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */; }; + A5046F1724784CAB0008C81E /* PNSetMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5046E282478471C0008C81E /* PNSetMembersRequest.m */; }; + A5046F1824784CAB0008C81E /* PNSetChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876522FD8272002D0A72 /* PNSetChannelMetadataRequest.m */; }; + A5046F1924784CAB0008C81E /* PNRemoveChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875E22FD8272002D0A72 /* PNRemoveChannelMetadataRequest.m */; }; + A5046F1A24784CAB0008C81E /* PNFetchChannelMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875922FD8272002D0A72 /* PNFetchChannelMetadataRequest.m */; }; + A5046F1B24784CAB0008C81E /* PNFetchAllChannelsMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875A22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.m */; }; + A5046F1C24784CAB0008C81E /* PNSetUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875322FD8272002D0A72 /* PNSetUUIDMetadataRequest.m */; }; + A5046F1D24784CAB0008C81E /* PNRemoveUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874F22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.m */; }; + A5046F1E24784CAB0008C81E /* PNFetchUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874A22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.m */; }; + A5046F1F24784CAB0008C81E /* PNFetchAllUUIDMetadataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875622FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.m */; }; + A5046F2024784CAB0008C81E /* PNObjectsPaginatedRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */; }; + A5046F2124784CAB0008C81E /* PNBaseObjectsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */; }; + A5046F2224784CAB0008C81E /* PNChannelMetadataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865B8230173030014E17C /* PNChannelMetadataChangeParser.m */; }; + A5046F2324784CAB0008C81E /* PNUUIDMetadataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A873522FD825A002D0A72 /* PNUUIDMetadataChangeParser.m */; }; + A5046F2424784CAB0008C81E /* PNObjectsRemoveParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865C8230173AA0014E17C /* PNObjectsRemoveParser.m */; }; + A5046F2524784CAB0008C81E /* PNMembershipsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865D8230175EC0014E17C /* PNMembershipsParser.m */; }; + A5046F2624784CAB0008C81E /* PNFetchChannelsMetadataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865A8230172950014E17C /* PNFetchChannelsMetadataParser.m */; }; + A5046F2724784CAB0008C81E /* PNFetchUUIDMetadataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5686598230170690014E17C /* PNFetchUUIDMetadataParser.m */; }; + A5046F2824784CAB0008C81E /* PNMembersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865E8230176760014E17C /* PNMembersParser.m */; }; A5105B50238F027D00CB693D /* PNDate.h in Headers */ = {isa = PBXBuildFile; fileRef = A5105B4E238F027D00CB693D /* PNDate.h */; }; A5105B51238F027D00CB693D /* PNDate.h in Headers */ = {isa = PBXBuildFile; fileRef = A5105B4E238F027D00CB693D /* PNDate.h */; }; A5105B52238F027D00CB693D /* PNDate.h in Headers */ = {isa = PBXBuildFile; fileRef = A5105B4E238F027D00CB693D /* PNDate.h */; }; @@ -1233,206 +1488,111 @@ A55A85DA22FD8078002D0A72 /* PubNub+Objects.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85D022FD8077002D0A72 /* PubNub+Objects.m */; }; A55A85DB22FD8078002D0A72 /* PubNub+Objects.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85D022FD8077002D0A72 /* PubNub+Objects.m */; }; A55A85DD22FD8078002D0A72 /* PubNub+Objects.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85D022FD8077002D0A72 /* PubNub+Objects.m */; }; - A55A85FB22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E122FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A85FC22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E122FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A85FD22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E122FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A85FE22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E122FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A860022FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E122FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A860922FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E322FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m */; }; - A55A860A22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E322FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m */; }; - A55A860B22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E322FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m */; }; - A55A860C22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E322FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m */; }; - A55A860E22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E322FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m */; }; - A55A861022FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E422FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A861122FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E422FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A861222FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E422FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A861322FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E422FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A861522FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E422FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A861722FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E522FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A861822FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E522FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A861922FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E522FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A861A22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E522FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A861C22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E522FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A861E22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E622FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m */; }; - A55A861F22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E622FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m */; }; - A55A862022FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E622FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m */; }; - A55A862122FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E622FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m */; }; - A55A862322FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E622FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m */; }; - A55A862C22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E822FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m */; }; - A55A862D22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E822FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m */; }; - A55A862E22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E822FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m */; }; - A55A862F22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E822FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m */; }; - A55A863122FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E822FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m */; }; - A55A863322FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E922FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m */; }; - A55A863422FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E922FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m */; }; - A55A863522FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E922FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m */; }; - A55A863622FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E922FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m */; }; - A55A863822FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85E922FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m */; }; - A55A863A22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EA22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A863B22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EA22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A863C22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EA22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A863D22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EA22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A863F22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EA22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A864122FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EB22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A864222FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EB22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A864322FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EB22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A864422FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EB22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A864622FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EB22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A864822FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EC22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m */; }; - A55A864922FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EC22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m */; }; - A55A864A22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EC22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m */; }; - A55A864B22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EC22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m */; }; - A55A864D22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EC22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m */; }; - A55A864F22FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EE22FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m */; }; - A55A865022FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EE22FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m */; }; - A55A865122FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EE22FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m */; }; - A55A865222FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EE22FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m */; }; - A55A865422FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EE22FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m */; }; - A55A865622FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EF22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m */; }; - A55A865722FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EF22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m */; }; - A55A865822FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EF22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m */; }; - A55A865922FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EF22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m */; }; - A55A865B22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85EF22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m */; }; - A55A865D22FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A865E22FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A865F22FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A866022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A866222FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A866B22FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F222FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A866C22FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F222FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A866D22FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F222FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A866E22FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F222FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A867022FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F222FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A867222FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F322FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m */; }; - A55A867322FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F322FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m */; }; - A55A867422FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F322FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m */; }; - A55A867522FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F322FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m */; }; - A55A867722FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F322FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m */; }; - A55A867922FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F422FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A867A22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F422FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A867B22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F422FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A867C22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F422FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A867E22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F422FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A868022FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F522FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A868122FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F522FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A868222FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F522FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A868322FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F522FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A868522FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F522FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A868E22FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F722FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m */; }; - A55A868F22FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F722FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m */; }; - A55A869022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F722FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m */; }; - A55A869122FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F722FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m */; }; - A55A869322FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F722FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m */; }; - A55A869522FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F822FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m */; }; - A55A869622FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F822FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m */; }; - A55A869722FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F822FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m */; }; - A55A869822FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F822FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m */; }; - A55A869A22FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A85F822FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m */; }; - A55A869C22FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F922FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A869D22FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F922FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A869E22FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F922FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A869F22FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F922FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86A122FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F922FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86AA22FD817E002D0A72 /* PNUser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A422FD817E002D0A72 /* PNUser.m */; }; - A55A86AB22FD817E002D0A72 /* PNUser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A422FD817E002D0A72 /* PNUser.m */; }; - A55A86AC22FD817E002D0A72 /* PNUser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A422FD817E002D0A72 /* PNUser.m */; }; - A55A86AD22FD817E002D0A72 /* PNUser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A422FD817E002D0A72 /* PNUser.m */; }; - A55A86AF22FD817E002D0A72 /* PNUser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A422FD817E002D0A72 /* PNUser.m */; }; - A55A86B122FD817E002D0A72 /* PNSpace+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A522FD817E002D0A72 /* PNSpace+Private.h */; }; - A55A86B222FD817E002D0A72 /* PNSpace+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A522FD817E002D0A72 /* PNSpace+Private.h */; }; - A55A86B322FD817E002D0A72 /* PNSpace+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A522FD817E002D0A72 /* PNSpace+Private.h */; }; - A55A86B422FD817E002D0A72 /* PNSpace+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A522FD817E002D0A72 /* PNSpace+Private.h */; }; - A55A86B622FD817E002D0A72 /* PNSpace+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A522FD817E002D0A72 /* PNSpace+Private.h */; }; - A55A86B822FD817E002D0A72 /* PNSpace.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A622FD817E002D0A72 /* PNSpace.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86B922FD817E002D0A72 /* PNSpace.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A622FD817E002D0A72 /* PNSpace.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86BA22FD817E002D0A72 /* PNSpace.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A622FD817E002D0A72 /* PNSpace.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86BB22FD817E002D0A72 /* PNSpace.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A622FD817E002D0A72 /* PNSpace.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86BD22FD817E002D0A72 /* PNSpace.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A622FD817E002D0A72 /* PNSpace.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86BF22FD817E002D0A72 /* PNUser+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A722FD817E002D0A72 /* PNUser+Private.h */; }; - A55A86C022FD817E002D0A72 /* PNUser+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A722FD817E002D0A72 /* PNUser+Private.h */; }; - A55A86C122FD817E002D0A72 /* PNUser+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A722FD817E002D0A72 /* PNUser+Private.h */; }; - A55A86C222FD817E002D0A72 /* PNUser+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A722FD817E002D0A72 /* PNUser+Private.h */; }; - A55A86C422FD817E002D0A72 /* PNUser+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A722FD817E002D0A72 /* PNUser+Private.h */; }; - A55A86C622FD817E002D0A72 /* PNUser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A822FD817E002D0A72 /* PNUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86C722FD817E002D0A72 /* PNUser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A822FD817E002D0A72 /* PNUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86C822FD817E002D0A72 /* PNUser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A822FD817E002D0A72 /* PNUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86C922FD817E002D0A72 /* PNUser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A822FD817E002D0A72 /* PNUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86CB22FD817E002D0A72 /* PNUser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A822FD817E002D0A72 /* PNUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86CD22FD817E002D0A72 /* PNSpace.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A922FD817E002D0A72 /* PNSpace.m */; }; - A55A86CE22FD817E002D0A72 /* PNSpace.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A922FD817E002D0A72 /* PNSpace.m */; }; - A55A86CF22FD817E002D0A72 /* PNSpace.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A922FD817E002D0A72 /* PNSpace.m */; }; - A55A86D022FD817E002D0A72 /* PNSpace.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A922FD817E002D0A72 /* PNSpace.m */; }; - A55A86D222FD817E002D0A72 /* PNSpace.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86A922FD817E002D0A72 /* PNSpace.m */; }; - A55A86E022FD81E3002D0A72 /* PNFetchUsersResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D422FD81E1002D0A72 /* PNFetchUsersResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86E122FD81E3002D0A72 /* PNFetchUsersResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D422FD81E1002D0A72 /* PNFetchUsersResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86E222FD81E3002D0A72 /* PNFetchUsersResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D422FD81E1002D0A72 /* PNFetchUsersResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86E322FD81E3002D0A72 /* PNFetchUsersResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D422FD81E1002D0A72 /* PNFetchUsersResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86E522FD81E3002D0A72 /* PNFetchUsersResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D422FD81E1002D0A72 /* PNFetchUsersResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86E722FD81E3002D0A72 /* PNFetchUsersResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D522FD81E2002D0A72 /* PNFetchUsersResult.m */; }; - A55A86E822FD81E3002D0A72 /* PNFetchUsersResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D522FD81E2002D0A72 /* PNFetchUsersResult.m */; }; - A55A86E922FD81E3002D0A72 /* PNFetchUsersResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D522FD81E2002D0A72 /* PNFetchUsersResult.m */; }; - A55A86EA22FD81E3002D0A72 /* PNFetchUsersResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D522FD81E2002D0A72 /* PNFetchUsersResult.m */; }; - A55A86EC22FD81E3002D0A72 /* PNFetchUsersResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D522FD81E2002D0A72 /* PNFetchUsersResult.m */; }; - A55A86EE22FD81E3002D0A72 /* PNCreateUserStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D622FD81E2002D0A72 /* PNCreateUserStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86EF22FD81E3002D0A72 /* PNCreateUserStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D622FD81E2002D0A72 /* PNCreateUserStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86F022FD81E3002D0A72 /* PNCreateUserStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D622FD81E2002D0A72 /* PNCreateUserStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86F122FD81E3002D0A72 /* PNCreateUserStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D622FD81E2002D0A72 /* PNCreateUserStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86F322FD81E3002D0A72 /* PNCreateUserStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D622FD81E2002D0A72 /* PNCreateUserStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A86F522FD81E3002D0A72 /* PNFetchSpacesResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D722FD81E2002D0A72 /* PNFetchSpacesResult.m */; }; - A55A86F622FD81E3002D0A72 /* PNFetchSpacesResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D722FD81E2002D0A72 /* PNFetchSpacesResult.m */; }; - A55A86F722FD81E3002D0A72 /* PNFetchSpacesResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D722FD81E2002D0A72 /* PNFetchSpacesResult.m */; }; - A55A86F822FD81E3002D0A72 /* PNFetchSpacesResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D722FD81E2002D0A72 /* PNFetchSpacesResult.m */; }; - A55A86FA22FD81E3002D0A72 /* PNFetchSpacesResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D722FD81E2002D0A72 /* PNFetchSpacesResult.m */; }; - A55A86FC22FD81E3002D0A72 /* PNCreateSpaceStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D822FD81E2002D0A72 /* PNCreateSpaceStatus.m */; }; - A55A86FD22FD81E3002D0A72 /* PNCreateSpaceStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D822FD81E2002D0A72 /* PNCreateSpaceStatus.m */; }; - A55A86FE22FD81E3002D0A72 /* PNCreateSpaceStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D822FD81E2002D0A72 /* PNCreateSpaceStatus.m */; }; - A55A86FF22FD81E3002D0A72 /* PNCreateSpaceStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D822FD81E2002D0A72 /* PNCreateSpaceStatus.m */; }; - A55A870122FD81E3002D0A72 /* PNCreateSpaceStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D822FD81E2002D0A72 /* PNCreateSpaceStatus.m */; }; - A55A870322FD81E3002D0A72 /* PNUpdateUserStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D922FD81E2002D0A72 /* PNUpdateUserStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A870422FD81E3002D0A72 /* PNUpdateUserStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D922FD81E2002D0A72 /* PNUpdateUserStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A870522FD81E3002D0A72 /* PNUpdateUserStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D922FD81E2002D0A72 /* PNUpdateUserStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A870622FD81E3002D0A72 /* PNUpdateUserStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D922FD81E2002D0A72 /* PNUpdateUserStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A870822FD81E3002D0A72 /* PNUpdateUserStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D922FD81E2002D0A72 /* PNUpdateUserStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A870A22FD81E3002D0A72 /* PNUpdateUserStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DA22FD81E2002D0A72 /* PNUpdateUserStatus.m */; }; - A55A870B22FD81E3002D0A72 /* PNUpdateUserStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DA22FD81E2002D0A72 /* PNUpdateUserStatus.m */; }; - A55A870C22FD81E3002D0A72 /* PNUpdateUserStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DA22FD81E2002D0A72 /* PNUpdateUserStatus.m */; }; - A55A870D22FD81E3002D0A72 /* PNUpdateUserStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DA22FD81E2002D0A72 /* PNUpdateUserStatus.m */; }; - A55A870F22FD81E3002D0A72 /* PNUpdateUserStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DA22FD81E2002D0A72 /* PNUpdateUserStatus.m */; }; - A55A871122FD81E3002D0A72 /* PNCreateUserStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DB22FD81E2002D0A72 /* PNCreateUserStatus.m */; }; - A55A871222FD81E3002D0A72 /* PNCreateUserStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DB22FD81E2002D0A72 /* PNCreateUserStatus.m */; }; - A55A871322FD81E3002D0A72 /* PNCreateUserStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DB22FD81E2002D0A72 /* PNCreateUserStatus.m */; }; - A55A871422FD81E3002D0A72 /* PNCreateUserStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DB22FD81E2002D0A72 /* PNCreateUserStatus.m */; }; - A55A871622FD81E3002D0A72 /* PNCreateUserStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DB22FD81E2002D0A72 /* PNCreateUserStatus.m */; }; - A55A871822FD81E3002D0A72 /* PNCreateSpaceStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DC22FD81E2002D0A72 /* PNCreateSpaceStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A871922FD81E3002D0A72 /* PNCreateSpaceStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DC22FD81E2002D0A72 /* PNCreateSpaceStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A871A22FD81E3002D0A72 /* PNCreateSpaceStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DC22FD81E2002D0A72 /* PNCreateSpaceStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A871B22FD81E3002D0A72 /* PNCreateSpaceStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DC22FD81E2002D0A72 /* PNCreateSpaceStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A871D22FD81E3002D0A72 /* PNCreateSpaceStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DC22FD81E2002D0A72 /* PNCreateSpaceStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A871F22FD81E3002D0A72 /* PNUpdateSpaceStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DD22FD81E2002D0A72 /* PNUpdateSpaceStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A872022FD81E3002D0A72 /* PNUpdateSpaceStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DD22FD81E2002D0A72 /* PNUpdateSpaceStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A872122FD81E3002D0A72 /* PNUpdateSpaceStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DD22FD81E2002D0A72 /* PNUpdateSpaceStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A872222FD81E3002D0A72 /* PNUpdateSpaceStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DD22FD81E2002D0A72 /* PNUpdateSpaceStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A872422FD81E3002D0A72 /* PNUpdateSpaceStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DD22FD81E2002D0A72 /* PNUpdateSpaceStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A872622FD81E3002D0A72 /* PNFetchSpacesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DE22FD81E2002D0A72 /* PNFetchSpacesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A872722FD81E3002D0A72 /* PNFetchSpacesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DE22FD81E2002D0A72 /* PNFetchSpacesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A872822FD81E3002D0A72 /* PNFetchSpacesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DE22FD81E2002D0A72 /* PNFetchSpacesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A872922FD81E3002D0A72 /* PNFetchSpacesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DE22FD81E2002D0A72 /* PNFetchSpacesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A872B22FD81E3002D0A72 /* PNFetchSpacesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DE22FD81E2002D0A72 /* PNFetchSpacesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A872D22FD81E3002D0A72 /* PNUpdateSpaceStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DF22FD81E3002D0A72 /* PNUpdateSpaceStatus.m */; }; - A55A872E22FD81E3002D0A72 /* PNUpdateSpaceStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DF22FD81E3002D0A72 /* PNUpdateSpaceStatus.m */; }; - A55A872F22FD81E3002D0A72 /* PNUpdateSpaceStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DF22FD81E3002D0A72 /* PNUpdateSpaceStatus.m */; }; - A55A873022FD81E3002D0A72 /* PNUpdateSpaceStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DF22FD81E3002D0A72 /* PNUpdateSpaceStatus.m */; }; - A55A873222FD81E3002D0A72 /* PNUpdateSpaceStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DF22FD81E3002D0A72 /* PNUpdateSpaceStatus.m */; }; - A55A873722FD825A002D0A72 /* PNUserDataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A873522FD825A002D0A72 /* PNUserDataChangeParser.m */; }; - A55A873822FD825A002D0A72 /* PNUserDataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A873522FD825A002D0A72 /* PNUserDataChangeParser.m */; }; - A55A873922FD825A002D0A72 /* PNUserDataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A873522FD825A002D0A72 /* PNUserDataChangeParser.m */; }; - A55A873A22FD825A002D0A72 /* PNUserDataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A873522FD825A002D0A72 /* PNUserDataChangeParser.m */; }; - A55A873C22FD825A002D0A72 /* PNUserDataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A873522FD825A002D0A72 /* PNUserDataChangeParser.m */; }; - A55A873E22FD825A002D0A72 /* PNUserDataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A873622FD825A002D0A72 /* PNUserDataChangeParser.h */; }; - A55A873F22FD825A002D0A72 /* PNUserDataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A873622FD825A002D0A72 /* PNUserDataChangeParser.h */; }; - A55A874022FD825A002D0A72 /* PNUserDataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A873622FD825A002D0A72 /* PNUserDataChangeParser.h */; }; - A55A874122FD825A002D0A72 /* PNUserDataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A873622FD825A002D0A72 /* PNUserDataChangeParser.h */; }; - A55A874322FD825A002D0A72 /* PNUserDataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A873622FD825A002D0A72 /* PNUserDataChangeParser.h */; }; + A55A861022FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E422FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A861122FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E422FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A861222FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E422FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A861322FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E422FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A861522FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E422FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A861722FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E522FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A861822FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E522FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A861922FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E522FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A861A22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E522FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A861C22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85E522FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A863A22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EA22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A863B22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EA22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A863C22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EA22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A863D22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EA22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A863F22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EA22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A864122FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EB22FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A864222FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EB22FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A864322FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EB22FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A864422FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EB22FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A864622FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85EB22FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A865D22FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F022FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A865E22FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F022FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A865F22FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F022FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A866022FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F022FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A866222FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F022FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A866B22FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F222FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A866C22FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F222FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A866D22FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F222FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A866E22FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F222FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A867022FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F222FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A868022FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F522FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A868122FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F522FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A868222FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F522FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A868322FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F522FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A868522FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F522FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A869C22FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F922FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A869D22FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F922FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A869E22FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F922FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A869F22FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F922FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86A122FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A85F922FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86B122FD817E002D0A72 /* PNChannelMetadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A522FD817E002D0A72 /* PNChannelMetadata+Private.h */; }; + A55A86B222FD817E002D0A72 /* PNChannelMetadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A522FD817E002D0A72 /* PNChannelMetadata+Private.h */; }; + A55A86B322FD817E002D0A72 /* PNChannelMetadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A522FD817E002D0A72 /* PNChannelMetadata+Private.h */; }; + A55A86B422FD817E002D0A72 /* PNChannelMetadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A522FD817E002D0A72 /* PNChannelMetadata+Private.h */; }; + A55A86B622FD817E002D0A72 /* PNChannelMetadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A522FD817E002D0A72 /* PNChannelMetadata+Private.h */; }; + A55A86B822FD817E002D0A72 /* PNChannelMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A622FD817E002D0A72 /* PNChannelMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86B922FD817E002D0A72 /* PNChannelMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A622FD817E002D0A72 /* PNChannelMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86BA22FD817E002D0A72 /* PNChannelMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A622FD817E002D0A72 /* PNChannelMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86BB22FD817E002D0A72 /* PNChannelMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A622FD817E002D0A72 /* PNChannelMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86BD22FD817E002D0A72 /* PNChannelMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A622FD817E002D0A72 /* PNChannelMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86BF22FD817E002D0A72 /* PNUUIDMetadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A722FD817E002D0A72 /* PNUUIDMetadata+Private.h */; }; + A55A86C022FD817E002D0A72 /* PNUUIDMetadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A722FD817E002D0A72 /* PNUUIDMetadata+Private.h */; }; + A55A86C122FD817E002D0A72 /* PNUUIDMetadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A722FD817E002D0A72 /* PNUUIDMetadata+Private.h */; }; + A55A86C222FD817E002D0A72 /* PNUUIDMetadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A722FD817E002D0A72 /* PNUUIDMetadata+Private.h */; }; + A55A86C422FD817E002D0A72 /* PNUUIDMetadata+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A722FD817E002D0A72 /* PNUUIDMetadata+Private.h */; }; + A55A86C622FD817E002D0A72 /* PNUUIDMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A822FD817E002D0A72 /* PNUUIDMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86C722FD817E002D0A72 /* PNUUIDMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A822FD817E002D0A72 /* PNUUIDMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86C822FD817E002D0A72 /* PNUUIDMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A822FD817E002D0A72 /* PNUUIDMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86C922FD817E002D0A72 /* PNUUIDMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A822FD817E002D0A72 /* PNUUIDMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86CB22FD817E002D0A72 /* PNUUIDMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86A822FD817E002D0A72 /* PNUUIDMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86E022FD81E3002D0A72 /* PNFetchUUIDMetadataResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D422FD81E1002D0A72 /* PNFetchUUIDMetadataResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86E122FD81E3002D0A72 /* PNFetchUUIDMetadataResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D422FD81E1002D0A72 /* PNFetchUUIDMetadataResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86E222FD81E3002D0A72 /* PNFetchUUIDMetadataResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D422FD81E1002D0A72 /* PNFetchUUIDMetadataResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86E322FD81E3002D0A72 /* PNFetchUUIDMetadataResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D422FD81E1002D0A72 /* PNFetchUUIDMetadataResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86E522FD81E3002D0A72 /* PNFetchUUIDMetadataResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D422FD81E1002D0A72 /* PNFetchUUIDMetadataResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A86E722FD81E3002D0A72 /* PNFetchUUIDMetadataResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D522FD81E2002D0A72 /* PNFetchUUIDMetadataResult.m */; }; + A55A86E822FD81E3002D0A72 /* PNFetchUUIDMetadataResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D522FD81E2002D0A72 /* PNFetchUUIDMetadataResult.m */; }; + A55A86E922FD81E3002D0A72 /* PNFetchUUIDMetadataResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D522FD81E2002D0A72 /* PNFetchUUIDMetadataResult.m */; }; + A55A86EA22FD81E3002D0A72 /* PNFetchUUIDMetadataResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D522FD81E2002D0A72 /* PNFetchUUIDMetadataResult.m */; }; + A55A86EC22FD81E3002D0A72 /* PNFetchUUIDMetadataResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D522FD81E2002D0A72 /* PNFetchUUIDMetadataResult.m */; }; + A55A86F522FD81E3002D0A72 /* PNFetchChannelsMetadataResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D722FD81E2002D0A72 /* PNFetchChannelsMetadataResult.m */; }; + A55A86F622FD81E3002D0A72 /* PNFetchChannelsMetadataResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D722FD81E2002D0A72 /* PNFetchChannelsMetadataResult.m */; }; + A55A86F722FD81E3002D0A72 /* PNFetchChannelsMetadataResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D722FD81E2002D0A72 /* PNFetchChannelsMetadataResult.m */; }; + A55A86F822FD81E3002D0A72 /* PNFetchChannelsMetadataResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D722FD81E2002D0A72 /* PNFetchChannelsMetadataResult.m */; }; + A55A86FA22FD81E3002D0A72 /* PNFetchChannelsMetadataResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86D722FD81E2002D0A72 /* PNFetchChannelsMetadataResult.m */; }; + A55A870322FD81E3002D0A72 /* PNSetUUIDMetadataStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D922FD81E2002D0A72 /* PNSetUUIDMetadataStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A870422FD81E3002D0A72 /* PNSetUUIDMetadataStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D922FD81E2002D0A72 /* PNSetUUIDMetadataStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A870522FD81E3002D0A72 /* PNSetUUIDMetadataStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D922FD81E2002D0A72 /* PNSetUUIDMetadataStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A870622FD81E3002D0A72 /* PNSetUUIDMetadataStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D922FD81E2002D0A72 /* PNSetUUIDMetadataStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A870822FD81E3002D0A72 /* PNSetUUIDMetadataStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86D922FD81E2002D0A72 /* PNSetUUIDMetadataStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A870A22FD81E3002D0A72 /* PNSetUUIDMetadataStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DA22FD81E2002D0A72 /* PNSetUUIDMetadataStatus.m */; }; + A55A870B22FD81E3002D0A72 /* PNSetUUIDMetadataStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DA22FD81E2002D0A72 /* PNSetUUIDMetadataStatus.m */; }; + A55A870C22FD81E3002D0A72 /* PNSetUUIDMetadataStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DA22FD81E2002D0A72 /* PNSetUUIDMetadataStatus.m */; }; + A55A870D22FD81E3002D0A72 /* PNSetUUIDMetadataStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DA22FD81E2002D0A72 /* PNSetUUIDMetadataStatus.m */; }; + A55A870F22FD81E3002D0A72 /* PNSetUUIDMetadataStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DA22FD81E2002D0A72 /* PNSetUUIDMetadataStatus.m */; }; + A55A871F22FD81E3002D0A72 /* PNSetChannelMetadataStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DD22FD81E2002D0A72 /* PNSetChannelMetadataStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A872022FD81E3002D0A72 /* PNSetChannelMetadataStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DD22FD81E2002D0A72 /* PNSetChannelMetadataStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A872122FD81E3002D0A72 /* PNSetChannelMetadataStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DD22FD81E2002D0A72 /* PNSetChannelMetadataStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A872222FD81E3002D0A72 /* PNSetChannelMetadataStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DD22FD81E2002D0A72 /* PNSetChannelMetadataStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A872422FD81E3002D0A72 /* PNSetChannelMetadataStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DD22FD81E2002D0A72 /* PNSetChannelMetadataStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A872622FD81E3002D0A72 /* PNFetchChannelsMetadataResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DE22FD81E2002D0A72 /* PNFetchChannelsMetadataResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A872722FD81E3002D0A72 /* PNFetchChannelsMetadataResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DE22FD81E2002D0A72 /* PNFetchChannelsMetadataResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A872822FD81E3002D0A72 /* PNFetchChannelsMetadataResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DE22FD81E2002D0A72 /* PNFetchChannelsMetadataResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A872922FD81E3002D0A72 /* PNFetchChannelsMetadataResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DE22FD81E2002D0A72 /* PNFetchChannelsMetadataResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A872B22FD81E3002D0A72 /* PNFetchChannelsMetadataResult.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A86DE22FD81E2002D0A72 /* PNFetchChannelsMetadataResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A872D22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DF22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m */; }; + A55A872E22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DF22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m */; }; + A55A872F22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DF22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m */; }; + A55A873022FD81E3002D0A72 /* PNSetChannelMetadataStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DF22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m */; }; + A55A873222FD81E3002D0A72 /* PNSetChannelMetadataStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A86DF22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m */; }; + A55A873E22FD825A002D0A72 /* PNUUIDMetadataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A873622FD825A002D0A72 /* PNUUIDMetadataChangeParser.h */; }; + A55A873F22FD825A002D0A72 /* PNUUIDMetadataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A873622FD825A002D0A72 /* PNUUIDMetadataChangeParser.h */; }; + A55A874022FD825A002D0A72 /* PNUUIDMetadataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A873622FD825A002D0A72 /* PNUUIDMetadataChangeParser.h */; }; + A55A874122FD825A002D0A72 /* PNUUIDMetadataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A873622FD825A002D0A72 /* PNUUIDMetadataChangeParser.h */; }; + A55A874322FD825A002D0A72 /* PNUUIDMetadataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A873622FD825A002D0A72 /* PNUUIDMetadataChangeParser.h */; }; A55A877322FD8272002D0A72 /* PNRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874622FD8272002D0A72 /* PNRequest.m */; }; A55A877422FD8272002D0A72 /* PNRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874622FD8272002D0A72 /* PNRequest.m */; }; A55A877522FD8272002D0A72 /* PNRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874622FD8272002D0A72 /* PNRequest.m */; }; @@ -1443,156 +1603,56 @@ A55A877C22FD8272002D0A72 /* PNObjectsPaginatedRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874822FD8272002D0A72 /* PNObjectsPaginatedRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A877D22FD8272002D0A72 /* PNObjectsPaginatedRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874822FD8272002D0A72 /* PNObjectsPaginatedRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A877F22FD8272002D0A72 /* PNObjectsPaginatedRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874822FD8272002D0A72 /* PNObjectsPaginatedRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A878122FD8272002D0A72 /* PNFetchUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874A22FD8272002D0A72 /* PNFetchUserRequest.m */; }; - A55A878222FD8272002D0A72 /* PNFetchUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874A22FD8272002D0A72 /* PNFetchUserRequest.m */; }; - A55A878322FD8272002D0A72 /* PNFetchUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874A22FD8272002D0A72 /* PNFetchUserRequest.m */; }; - A55A878422FD8272002D0A72 /* PNFetchUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874A22FD8272002D0A72 /* PNFetchUserRequest.m */; }; - A55A878622FD8272002D0A72 /* PNFetchUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874A22FD8272002D0A72 /* PNFetchUserRequest.m */; }; - A55A878822FD8272002D0A72 /* PNUpdateUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874B22FD8272002D0A72 /* PNUpdateUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A878922FD8272002D0A72 /* PNUpdateUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874B22FD8272002D0A72 /* PNUpdateUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A878A22FD8272002D0A72 /* PNUpdateUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874B22FD8272002D0A72 /* PNUpdateUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A878B22FD8272002D0A72 /* PNUpdateUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874B22FD8272002D0A72 /* PNUpdateUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A878D22FD8272002D0A72 /* PNUpdateUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874B22FD8272002D0A72 /* PNUpdateUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A878F22FD8272002D0A72 /* PNManageUserDataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874C22FD8272002D0A72 /* PNManageUserDataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879022FD8272002D0A72 /* PNManageUserDataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874C22FD8272002D0A72 /* PNManageUserDataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879122FD8272002D0A72 /* PNManageUserDataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874C22FD8272002D0A72 /* PNManageUserDataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879222FD8272002D0A72 /* PNManageUserDataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874C22FD8272002D0A72 /* PNManageUserDataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879422FD8272002D0A72 /* PNManageUserDataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874C22FD8272002D0A72 /* PNManageUserDataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879622FD8272002D0A72 /* PNFetchUsersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874D22FD8272002D0A72 /* PNFetchUsersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879722FD8272002D0A72 /* PNFetchUsersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874D22FD8272002D0A72 /* PNFetchUsersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879822FD8272002D0A72 /* PNFetchUsersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874D22FD8272002D0A72 /* PNFetchUsersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879922FD8272002D0A72 /* PNFetchUsersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874D22FD8272002D0A72 /* PNFetchUsersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879B22FD8272002D0A72 /* PNFetchUsersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874D22FD8272002D0A72 /* PNFetchUsersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879D22FD8272002D0A72 /* PNCreateUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874E22FD8272002D0A72 /* PNCreateUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879E22FD8272002D0A72 /* PNCreateUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874E22FD8272002D0A72 /* PNCreateUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A879F22FD8272002D0A72 /* PNCreateUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874E22FD8272002D0A72 /* PNCreateUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87A022FD8272002D0A72 /* PNCreateUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874E22FD8272002D0A72 /* PNCreateUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87A222FD8272002D0A72 /* PNCreateUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874E22FD8272002D0A72 /* PNCreateUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87A422FD8272002D0A72 /* PNDeleteUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874F22FD8272002D0A72 /* PNDeleteUserRequest.m */; }; - A55A87A522FD8272002D0A72 /* PNDeleteUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874F22FD8272002D0A72 /* PNDeleteUserRequest.m */; }; - A55A87A622FD8272002D0A72 /* PNDeleteUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874F22FD8272002D0A72 /* PNDeleteUserRequest.m */; }; - A55A87A722FD8272002D0A72 /* PNDeleteUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874F22FD8272002D0A72 /* PNDeleteUserRequest.m */; }; - A55A87A922FD8272002D0A72 /* PNDeleteUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A874F22FD8272002D0A72 /* PNDeleteUserRequest.m */; }; - A55A87AB22FD8272002D0A72 /* PNFetchUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875022FD8272002D0A72 /* PNFetchUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87AC22FD8272002D0A72 /* PNFetchUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875022FD8272002D0A72 /* PNFetchUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87AD22FD8272002D0A72 /* PNFetchUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875022FD8272002D0A72 /* PNFetchUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87AE22FD8272002D0A72 /* PNFetchUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875022FD8272002D0A72 /* PNFetchUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87B022FD8272002D0A72 /* PNFetchUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875022FD8272002D0A72 /* PNFetchUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87B922FD8272002D0A72 /* PNManageUserDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875222FD8272002D0A72 /* PNManageUserDataRequest.m */; }; - A55A87BA22FD8272002D0A72 /* PNManageUserDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875222FD8272002D0A72 /* PNManageUserDataRequest.m */; }; - A55A87BB22FD8272002D0A72 /* PNManageUserDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875222FD8272002D0A72 /* PNManageUserDataRequest.m */; }; - A55A87BC22FD8272002D0A72 /* PNManageUserDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875222FD8272002D0A72 /* PNManageUserDataRequest.m */; }; - A55A87BE22FD8272002D0A72 /* PNManageUserDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875222FD8272002D0A72 /* PNManageUserDataRequest.m */; }; - A55A87C022FD8272002D0A72 /* PNUpdateUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875322FD8272002D0A72 /* PNUpdateUserRequest.m */; }; - A55A87C122FD8272002D0A72 /* PNUpdateUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875322FD8272002D0A72 /* PNUpdateUserRequest.m */; }; - A55A87C222FD8272002D0A72 /* PNUpdateUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875322FD8272002D0A72 /* PNUpdateUserRequest.m */; }; - A55A87C322FD8272002D0A72 /* PNUpdateUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875322FD8272002D0A72 /* PNUpdateUserRequest.m */; }; - A55A87C522FD8272002D0A72 /* PNUpdateUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875322FD8272002D0A72 /* PNUpdateUserRequest.m */; }; - A55A87C722FD8272002D0A72 /* PNDeleteUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875422FD8272002D0A72 /* PNDeleteUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87C822FD8272002D0A72 /* PNDeleteUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875422FD8272002D0A72 /* PNDeleteUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87C922FD8272002D0A72 /* PNDeleteUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875422FD8272002D0A72 /* PNDeleteUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87CA22FD8272002D0A72 /* PNDeleteUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875422FD8272002D0A72 /* PNDeleteUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87CC22FD8272002D0A72 /* PNDeleteUserRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875422FD8272002D0A72 /* PNDeleteUserRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87CE22FD8272002D0A72 /* PNCreateUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875522FD8272002D0A72 /* PNCreateUserRequest.m */; }; - A55A87CF22FD8272002D0A72 /* PNCreateUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875522FD8272002D0A72 /* PNCreateUserRequest.m */; }; - A55A87D022FD8272002D0A72 /* PNCreateUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875522FD8272002D0A72 /* PNCreateUserRequest.m */; }; - A55A87D122FD8272002D0A72 /* PNCreateUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875522FD8272002D0A72 /* PNCreateUserRequest.m */; }; - A55A87D322FD8272002D0A72 /* PNCreateUserRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875522FD8272002D0A72 /* PNCreateUserRequest.m */; }; - A55A87D522FD8272002D0A72 /* PNFetchUsersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875622FD8272002D0A72 /* PNFetchUsersRequest.m */; }; - A55A87D622FD8272002D0A72 /* PNFetchUsersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875622FD8272002D0A72 /* PNFetchUsersRequest.m */; }; - A55A87D722FD8272002D0A72 /* PNFetchUsersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875622FD8272002D0A72 /* PNFetchUsersRequest.m */; }; - A55A87D822FD8272002D0A72 /* PNFetchUsersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875622FD8272002D0A72 /* PNFetchUsersRequest.m */; }; - A55A87DA22FD8272002D0A72 /* PNFetchUsersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875622FD8272002D0A72 /* PNFetchUsersRequest.m */; }; + A55A878822FD8272002D0A72 /* PNSetUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874B22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A878922FD8272002D0A72 /* PNSetUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874B22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A878A22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874B22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A878B22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874B22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A878D22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874B22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A879622FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874D22FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A879722FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874D22FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A879822FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874D22FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A879922FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874D22FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A879B22FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A874D22FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A87AB22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875022FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A87AC22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875022FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A87AD22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875022FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A87AE22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875022FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A87B022FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875022FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A87C722FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875422FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A87C822FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875422FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A87C922FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875422FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A87CA22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875422FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A87CC22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875422FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A87DC22FD8272002D0A72 /* PNBaseObjectsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875722FD8272002D0A72 /* PNBaseObjectsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A87DD22FD8272002D0A72 /* PNBaseObjectsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875722FD8272002D0A72 /* PNBaseObjectsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A87DE22FD8272002D0A72 /* PNBaseObjectsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875722FD8272002D0A72 /* PNBaseObjectsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A87DF22FD8272002D0A72 /* PNBaseObjectsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875722FD8272002D0A72 /* PNBaseObjectsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A87E122FD8272002D0A72 /* PNBaseObjectsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875722FD8272002D0A72 /* PNBaseObjectsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87E322FD8272002D0A72 /* PNFetchSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875922FD8272002D0A72 /* PNFetchSpaceRequest.m */; }; - A55A87E422FD8272002D0A72 /* PNFetchSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875922FD8272002D0A72 /* PNFetchSpaceRequest.m */; }; - A55A87E522FD8272002D0A72 /* PNFetchSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875922FD8272002D0A72 /* PNFetchSpaceRequest.m */; }; - A55A87E622FD8272002D0A72 /* PNFetchSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875922FD8272002D0A72 /* PNFetchSpaceRequest.m */; }; - A55A87E822FD8272002D0A72 /* PNFetchSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875922FD8272002D0A72 /* PNFetchSpaceRequest.m */; }; - A55A87EA22FD8272002D0A72 /* PNFetchSpacesRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875A22FD8272002D0A72 /* PNFetchSpacesRequest.m */; }; - A55A87EB22FD8272002D0A72 /* PNFetchSpacesRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875A22FD8272002D0A72 /* PNFetchSpacesRequest.m */; }; - A55A87EC22FD8272002D0A72 /* PNFetchSpacesRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875A22FD8272002D0A72 /* PNFetchSpacesRequest.m */; }; - A55A87ED22FD8272002D0A72 /* PNFetchSpacesRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875A22FD8272002D0A72 /* PNFetchSpacesRequest.m */; }; - A55A87EF22FD8272002D0A72 /* PNFetchSpacesRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875A22FD8272002D0A72 /* PNFetchSpacesRequest.m */; }; - A55A87F122FD8272002D0A72 /* PNCreateSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875B22FD8272002D0A72 /* PNCreateSpaceRequest.m */; }; - A55A87F222FD8272002D0A72 /* PNCreateSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875B22FD8272002D0A72 /* PNCreateSpaceRequest.m */; }; - A55A87F322FD8272002D0A72 /* PNCreateSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875B22FD8272002D0A72 /* PNCreateSpaceRequest.m */; }; - A55A87F422FD8272002D0A72 /* PNCreateSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875B22FD8272002D0A72 /* PNCreateSpaceRequest.m */; }; - A55A87F622FD8272002D0A72 /* PNCreateSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875B22FD8272002D0A72 /* PNCreateSpaceRequest.m */; }; - A55A87F822FD8272002D0A72 /* PNManageSpaceDataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875C22FD8272002D0A72 /* PNManageSpaceDataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87F922FD8272002D0A72 /* PNManageSpaceDataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875C22FD8272002D0A72 /* PNManageSpaceDataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87FA22FD8272002D0A72 /* PNManageSpaceDataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875C22FD8272002D0A72 /* PNManageSpaceDataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87FB22FD8272002D0A72 /* PNManageSpaceDataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875C22FD8272002D0A72 /* PNManageSpaceDataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87FD22FD8272002D0A72 /* PNManageSpaceDataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875C22FD8272002D0A72 /* PNManageSpaceDataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A87FF22FD8272002D0A72 /* PNUpdateSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875D22FD8272002D0A72 /* PNUpdateSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A880022FD8272002D0A72 /* PNUpdateSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875D22FD8272002D0A72 /* PNUpdateSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A880122FD8272002D0A72 /* PNUpdateSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875D22FD8272002D0A72 /* PNUpdateSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A880222FD8272002D0A72 /* PNUpdateSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875D22FD8272002D0A72 /* PNUpdateSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A880422FD8272002D0A72 /* PNUpdateSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875D22FD8272002D0A72 /* PNUpdateSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A880622FD8272002D0A72 /* PNDeleteSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875E22FD8272002D0A72 /* PNDeleteSpaceRequest.m */; }; - A55A880722FD8272002D0A72 /* PNDeleteSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875E22FD8272002D0A72 /* PNDeleteSpaceRequest.m */; }; - A55A880822FD8272002D0A72 /* PNDeleteSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875E22FD8272002D0A72 /* PNDeleteSpaceRequest.m */; }; - A55A880922FD8272002D0A72 /* PNDeleteSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875E22FD8272002D0A72 /* PNDeleteSpaceRequest.m */; }; - A55A880B22FD8272002D0A72 /* PNDeleteSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A875E22FD8272002D0A72 /* PNDeleteSpaceRequest.m */; }; - A55A881422FD8272002D0A72 /* PNCreateSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876022FD8272002D0A72 /* PNCreateSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A881522FD8272002D0A72 /* PNCreateSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876022FD8272002D0A72 /* PNCreateSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A881622FD8272002D0A72 /* PNCreateSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876022FD8272002D0A72 /* PNCreateSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A881722FD8272002D0A72 /* PNCreateSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876022FD8272002D0A72 /* PNCreateSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A881922FD8272002D0A72 /* PNCreateSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876022FD8272002D0A72 /* PNCreateSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A881B22FD8272002D0A72 /* PNFetchSpacesRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876122FD8272002D0A72 /* PNFetchSpacesRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A881C22FD8272002D0A72 /* PNFetchSpacesRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876122FD8272002D0A72 /* PNFetchSpacesRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A881D22FD8272002D0A72 /* PNFetchSpacesRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876122FD8272002D0A72 /* PNFetchSpacesRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A881E22FD8272002D0A72 /* PNFetchSpacesRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876122FD8272002D0A72 /* PNFetchSpacesRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A882022FD8272002D0A72 /* PNFetchSpacesRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876122FD8272002D0A72 /* PNFetchSpacesRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A882222FD8272002D0A72 /* PNFetchSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876222FD8272002D0A72 /* PNFetchSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A882322FD8272002D0A72 /* PNFetchSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876222FD8272002D0A72 /* PNFetchSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A882422FD8272002D0A72 /* PNFetchSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876222FD8272002D0A72 /* PNFetchSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A882522FD8272002D0A72 /* PNFetchSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876222FD8272002D0A72 /* PNFetchSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A882722FD8272002D0A72 /* PNFetchSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876222FD8272002D0A72 /* PNFetchSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A882922FD8272002D0A72 /* PNManageSpaceDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876322FD8272002D0A72 /* PNManageSpaceDataRequest.m */; }; - A55A882A22FD8272002D0A72 /* PNManageSpaceDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876322FD8272002D0A72 /* PNManageSpaceDataRequest.m */; }; - A55A882B22FD8272002D0A72 /* PNManageSpaceDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876322FD8272002D0A72 /* PNManageSpaceDataRequest.m */; }; - A55A882C22FD8272002D0A72 /* PNManageSpaceDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876322FD8272002D0A72 /* PNManageSpaceDataRequest.m */; }; - A55A882E22FD8272002D0A72 /* PNManageSpaceDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876322FD8272002D0A72 /* PNManageSpaceDataRequest.m */; }; - A55A883022FD8272002D0A72 /* PNDeleteSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876422FD8272002D0A72 /* PNDeleteSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A883122FD8272002D0A72 /* PNDeleteSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876422FD8272002D0A72 /* PNDeleteSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A883222FD8272002D0A72 /* PNDeleteSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876422FD8272002D0A72 /* PNDeleteSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A883322FD8272002D0A72 /* PNDeleteSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876422FD8272002D0A72 /* PNDeleteSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A883522FD8272002D0A72 /* PNDeleteSpaceRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876422FD8272002D0A72 /* PNDeleteSpaceRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A883722FD8272002D0A72 /* PNUpdateSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876522FD8272002D0A72 /* PNUpdateSpaceRequest.m */; }; - A55A883822FD8272002D0A72 /* PNUpdateSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876522FD8272002D0A72 /* PNUpdateSpaceRequest.m */; }; - A55A883922FD8272002D0A72 /* PNUpdateSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876522FD8272002D0A72 /* PNUpdateSpaceRequest.m */; }; - A55A883A22FD8272002D0A72 /* PNUpdateSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876522FD8272002D0A72 /* PNUpdateSpaceRequest.m */; }; - A55A883C22FD8272002D0A72 /* PNUpdateSpaceRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876522FD8272002D0A72 /* PNUpdateSpaceRequest.m */; }; - A55A883E22FD8272002D0A72 /* PNBaseObjectsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */; }; - A55A883F22FD8272002D0A72 /* PNBaseObjectsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */; }; - A55A884022FD8272002D0A72 /* PNBaseObjectsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */; }; - A55A884122FD8272002D0A72 /* PNBaseObjectsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */; }; - A55A884322FD8272002D0A72 /* PNBaseObjectsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */; }; - A55A884522FD8272002D0A72 /* PNManageMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */; }; - A55A884622FD8272002D0A72 /* PNManageMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */; }; - A55A884722FD8272002D0A72 /* PNManageMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */; }; - A55A884822FD8272002D0A72 /* PNManageMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */; }; - A55A884A22FD8272002D0A72 /* PNManageMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */; }; - A55A884C22FD8272002D0A72 /* PNFetchMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */; }; - A55A884D22FD8272002D0A72 /* PNFetchMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */; }; - A55A884E22FD8272002D0A72 /* PNFetchMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */; }; - A55A884F22FD8272002D0A72 /* PNFetchMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */; }; - A55A885122FD8272002D0A72 /* PNFetchMembershipsRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */; }; + A55A87FF22FD8272002D0A72 /* PNSetChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875D22FD8272002D0A72 /* PNSetChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A880022FD8272002D0A72 /* PNSetChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875D22FD8272002D0A72 /* PNSetChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A880122FD8272002D0A72 /* PNSetChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875D22FD8272002D0A72 /* PNSetChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A880222FD8272002D0A72 /* PNSetChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875D22FD8272002D0A72 /* PNSetChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A880422FD8272002D0A72 /* PNSetChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A875D22FD8272002D0A72 /* PNSetChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A881B22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876122FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A881C22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876122FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A881D22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876122FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A881E22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876122FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A882022FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876122FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A882222FD8272002D0A72 /* PNFetchChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876222FD8272002D0A72 /* PNFetchChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A882322FD8272002D0A72 /* PNFetchChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876222FD8272002D0A72 /* PNFetchChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A882422FD8272002D0A72 /* PNFetchChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876222FD8272002D0A72 /* PNFetchChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A882522FD8272002D0A72 /* PNFetchChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876222FD8272002D0A72 /* PNFetchChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A882722FD8272002D0A72 /* PNFetchChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876222FD8272002D0A72 /* PNFetchChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A883022FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876422FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A883122FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876422FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A883222FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876422FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A883322FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876422FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A55A883522FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876422FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A885322FD8272002D0A72 /* PNFetchMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876A22FD8272002D0A72 /* PNFetchMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A885422FD8272002D0A72 /* PNFetchMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876A22FD8272002D0A72 /* PNFetchMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A885522FD8272002D0A72 /* PNFetchMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876A22FD8272002D0A72 /* PNFetchMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A885622FD8272002D0A72 /* PNFetchMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876A22FD8272002D0A72 /* PNFetchMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A885822FD8272002D0A72 /* PNFetchMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876A22FD8272002D0A72 /* PNFetchMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A885A22FD8272002D0A72 /* PNManageMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */; }; - A55A885B22FD8272002D0A72 /* PNManageMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */; }; - A55A885C22FD8272002D0A72 /* PNManageMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */; }; - A55A885D22FD8272002D0A72 /* PNManageMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */; }; - A55A885F22FD8272002D0A72 /* PNManageMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */; }; A55A886122FD8272002D0A72 /* PNFetchMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876C22FD8272002D0A72 /* PNFetchMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A886222FD8272002D0A72 /* PNFetchMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876C22FD8272002D0A72 /* PNFetchMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A886322FD8272002D0A72 /* PNFetchMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876C22FD8272002D0A72 /* PNFetchMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -1603,21 +1663,11 @@ A55A886A22FD8272002D0A72 /* PNManageMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876D22FD8272002D0A72 /* PNManageMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A886B22FD8272002D0A72 /* PNManageMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876D22FD8272002D0A72 /* PNManageMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A886D22FD8272002D0A72 /* PNManageMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876D22FD8272002D0A72 /* PNManageMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A886F22FD8272002D0A72 /* PNFetchMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */; }; - A55A887022FD8272002D0A72 /* PNFetchMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */; }; - A55A887122FD8272002D0A72 /* PNFetchMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */; }; - A55A887222FD8272002D0A72 /* PNFetchMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */; }; - A55A887422FD8272002D0A72 /* PNFetchMembersRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */; }; A55A887622FD8272002D0A72 /* PNManageMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876F22FD8272002D0A72 /* PNManageMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A887722FD8272002D0A72 /* PNManageMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876F22FD8272002D0A72 /* PNManageMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A887822FD8272002D0A72 /* PNManageMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876F22FD8272002D0A72 /* PNManageMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A887922FD8272002D0A72 /* PNManageMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876F22FD8272002D0A72 /* PNManageMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A55A887B22FD8272002D0A72 /* PNManageMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A876F22FD8272002D0A72 /* PNManageMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A55A887D22FD8272002D0A72 /* PNObjectsPaginatedRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */; }; - A55A887E22FD8272002D0A72 /* PNObjectsPaginatedRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */; }; - A55A887F22FD8272002D0A72 /* PNObjectsPaginatedRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */; }; - A55A888022FD8272002D0A72 /* PNObjectsPaginatedRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */; }; - A55A888222FD8272002D0A72 /* PNObjectsPaginatedRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */; }; A55A888422FD8272002D0A72 /* PNRequest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A877122FD8272002D0A72 /* PNRequest+Private.h */; }; A55A888522FD8272002D0A72 /* PNRequest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A877122FD8272002D0A72 /* PNRequest+Private.h */; }; A55A888622FD8272002D0A72 /* PNRequest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A55A877122FD8272002D0A72 /* PNRequest+Private.h */; }; @@ -1723,66 +1773,36 @@ A56865922300729E0014E17C /* PNFetchMembersResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865882300729E0014E17C /* PNFetchMembersResult.m */; }; A56865932300729E0014E17C /* PNFetchMembersResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865882300729E0014E17C /* PNFetchMembersResult.m */; }; A56865952300729E0014E17C /* PNFetchMembersResult.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865882300729E0014E17C /* PNFetchMembersResult.m */; }; - A5686599230170690014E17C /* PNFetchUsersParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A5686597230170690014E17C /* PNFetchUsersParser.h */; }; - A568659A230170690014E17C /* PNFetchUsersParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A5686597230170690014E17C /* PNFetchUsersParser.h */; }; - A568659B230170690014E17C /* PNFetchUsersParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A5686597230170690014E17C /* PNFetchUsersParser.h */; }; - A568659C230170690014E17C /* PNFetchUsersParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A5686597230170690014E17C /* PNFetchUsersParser.h */; }; - A568659E230170690014E17C /* PNFetchUsersParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A5686597230170690014E17C /* PNFetchUsersParser.h */; }; - A56865A0230170690014E17C /* PNFetchUsersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5686598230170690014E17C /* PNFetchUsersParser.m */; }; - A56865A1230170690014E17C /* PNFetchUsersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5686598230170690014E17C /* PNFetchUsersParser.m */; }; - A56865A2230170690014E17C /* PNFetchUsersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5686598230170690014E17C /* PNFetchUsersParser.m */; }; - A56865A3230170690014E17C /* PNFetchUsersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5686598230170690014E17C /* PNFetchUsersParser.m */; }; - A56865A5230170690014E17C /* PNFetchUsersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5686598230170690014E17C /* PNFetchUsersParser.m */; }; - A56865A9230172950014E17C /* PNFetchSpacesParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865A7230172950014E17C /* PNFetchSpacesParser.h */; }; - A56865AA230172950014E17C /* PNFetchSpacesParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865A7230172950014E17C /* PNFetchSpacesParser.h */; }; - A56865AB230172950014E17C /* PNFetchSpacesParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865A7230172950014E17C /* PNFetchSpacesParser.h */; }; - A56865AC230172950014E17C /* PNFetchSpacesParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865A7230172950014E17C /* PNFetchSpacesParser.h */; }; - A56865AE230172950014E17C /* PNFetchSpacesParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865A7230172950014E17C /* PNFetchSpacesParser.h */; }; - A56865B0230172950014E17C /* PNFetchSpacesParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865A8230172950014E17C /* PNFetchSpacesParser.m */; }; - A56865B1230172950014E17C /* PNFetchSpacesParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865A8230172950014E17C /* PNFetchSpacesParser.m */; }; - A56865B2230172950014E17C /* PNFetchSpacesParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865A8230172950014E17C /* PNFetchSpacesParser.m */; }; - A56865B3230172950014E17C /* PNFetchSpacesParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865A8230172950014E17C /* PNFetchSpacesParser.m */; }; - A56865B5230172950014E17C /* PNFetchSpacesParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865A8230172950014E17C /* PNFetchSpacesParser.m */; }; - A56865B9230173030014E17C /* PNSpaceDataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865B7230173030014E17C /* PNSpaceDataChangeParser.h */; }; - A56865BA230173030014E17C /* PNSpaceDataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865B7230173030014E17C /* PNSpaceDataChangeParser.h */; }; - A56865BB230173030014E17C /* PNSpaceDataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865B7230173030014E17C /* PNSpaceDataChangeParser.h */; }; - A56865BC230173030014E17C /* PNSpaceDataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865B7230173030014E17C /* PNSpaceDataChangeParser.h */; }; - A56865BE230173030014E17C /* PNSpaceDataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865B7230173030014E17C /* PNSpaceDataChangeParser.h */; }; - A56865C0230173030014E17C /* PNSpaceDataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865B8230173030014E17C /* PNSpaceDataChangeParser.m */; }; - A56865C1230173030014E17C /* PNSpaceDataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865B8230173030014E17C /* PNSpaceDataChangeParser.m */; }; - A56865C2230173030014E17C /* PNSpaceDataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865B8230173030014E17C /* PNSpaceDataChangeParser.m */; }; - A56865C3230173030014E17C /* PNSpaceDataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865B8230173030014E17C /* PNSpaceDataChangeParser.m */; }; - A56865C5230173030014E17C /* PNSpaceDataChangeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865B8230173030014E17C /* PNSpaceDataChangeParser.m */; }; - A56865C9230173AA0014E17C /* PNObjectsDeleteParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865C7230173AA0014E17C /* PNObjectsDeleteParser.h */; }; - A56865CA230173AA0014E17C /* PNObjectsDeleteParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865C7230173AA0014E17C /* PNObjectsDeleteParser.h */; }; - A56865CB230173AA0014E17C /* PNObjectsDeleteParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865C7230173AA0014E17C /* PNObjectsDeleteParser.h */; }; - A56865CC230173AA0014E17C /* PNObjectsDeleteParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865C7230173AA0014E17C /* PNObjectsDeleteParser.h */; }; - A56865CE230173AA0014E17C /* PNObjectsDeleteParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865C7230173AA0014E17C /* PNObjectsDeleteParser.h */; }; - A56865D0230173AA0014E17C /* PNObjectsDeleteParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865C8230173AA0014E17C /* PNObjectsDeleteParser.m */; }; - A56865D1230173AA0014E17C /* PNObjectsDeleteParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865C8230173AA0014E17C /* PNObjectsDeleteParser.m */; }; - A56865D2230173AA0014E17C /* PNObjectsDeleteParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865C8230173AA0014E17C /* PNObjectsDeleteParser.m */; }; - A56865D3230173AA0014E17C /* PNObjectsDeleteParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865C8230173AA0014E17C /* PNObjectsDeleteParser.m */; }; - A56865D5230173AA0014E17C /* PNObjectsDeleteParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865C8230173AA0014E17C /* PNObjectsDeleteParser.m */; }; + A5686599230170690014E17C /* PNFetchUUIDMetadataParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A5686597230170690014E17C /* PNFetchUUIDMetadataParser.h */; }; + A568659A230170690014E17C /* PNFetchUUIDMetadataParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A5686597230170690014E17C /* PNFetchUUIDMetadataParser.h */; }; + A568659B230170690014E17C /* PNFetchUUIDMetadataParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A5686597230170690014E17C /* PNFetchUUIDMetadataParser.h */; }; + A568659C230170690014E17C /* PNFetchUUIDMetadataParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A5686597230170690014E17C /* PNFetchUUIDMetadataParser.h */; }; + A568659E230170690014E17C /* PNFetchUUIDMetadataParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A5686597230170690014E17C /* PNFetchUUIDMetadataParser.h */; }; + A56865A9230172950014E17C /* PNFetchChannelsMetadataParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865A7230172950014E17C /* PNFetchChannelsMetadataParser.h */; }; + A56865AA230172950014E17C /* PNFetchChannelsMetadataParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865A7230172950014E17C /* PNFetchChannelsMetadataParser.h */; }; + A56865AB230172950014E17C /* PNFetchChannelsMetadataParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865A7230172950014E17C /* PNFetchChannelsMetadataParser.h */; }; + A56865AC230172950014E17C /* PNFetchChannelsMetadataParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865A7230172950014E17C /* PNFetchChannelsMetadataParser.h */; }; + A56865AE230172950014E17C /* PNFetchChannelsMetadataParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865A7230172950014E17C /* PNFetchChannelsMetadataParser.h */; }; + A56865B9230173030014E17C /* PNChannelMetadataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865B7230173030014E17C /* PNChannelMetadataChangeParser.h */; }; + A56865BA230173030014E17C /* PNChannelMetadataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865B7230173030014E17C /* PNChannelMetadataChangeParser.h */; }; + A56865BB230173030014E17C /* PNChannelMetadataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865B7230173030014E17C /* PNChannelMetadataChangeParser.h */; }; + A56865BC230173030014E17C /* PNChannelMetadataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865B7230173030014E17C /* PNChannelMetadataChangeParser.h */; }; + A56865BE230173030014E17C /* PNChannelMetadataChangeParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865B7230173030014E17C /* PNChannelMetadataChangeParser.h */; }; + A56865C9230173AA0014E17C /* PNObjectsRemoveParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865C7230173AA0014E17C /* PNObjectsRemoveParser.h */; }; + A56865CA230173AA0014E17C /* PNObjectsRemoveParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865C7230173AA0014E17C /* PNObjectsRemoveParser.h */; }; + A56865CB230173AA0014E17C /* PNObjectsRemoveParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865C7230173AA0014E17C /* PNObjectsRemoveParser.h */; }; + A56865CC230173AA0014E17C /* PNObjectsRemoveParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865C7230173AA0014E17C /* PNObjectsRemoveParser.h */; }; + A56865CE230173AA0014E17C /* PNObjectsRemoveParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865C7230173AA0014E17C /* PNObjectsRemoveParser.h */; }; A56865D9230175EC0014E17C /* PNMembershipsParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865D7230175EC0014E17C /* PNMembershipsParser.h */; }; A56865DA230175EC0014E17C /* PNMembershipsParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865D7230175EC0014E17C /* PNMembershipsParser.h */; }; A56865DB230175EC0014E17C /* PNMembershipsParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865D7230175EC0014E17C /* PNMembershipsParser.h */; }; A56865DC230175EC0014E17C /* PNMembershipsParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865D7230175EC0014E17C /* PNMembershipsParser.h */; }; A56865DE230175EC0014E17C /* PNMembershipsParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865D7230175EC0014E17C /* PNMembershipsParser.h */; }; - A56865E0230175EC0014E17C /* PNMembershipsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865D8230175EC0014E17C /* PNMembershipsParser.m */; }; - A56865E1230175EC0014E17C /* PNMembershipsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865D8230175EC0014E17C /* PNMembershipsParser.m */; }; - A56865E2230175EC0014E17C /* PNMembershipsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865D8230175EC0014E17C /* PNMembershipsParser.m */; }; - A56865E3230175EC0014E17C /* PNMembershipsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865D8230175EC0014E17C /* PNMembershipsParser.m */; }; - A56865E5230175EC0014E17C /* PNMembershipsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865D8230175EC0014E17C /* PNMembershipsParser.m */; }; A56865E9230176760014E17C /* PNMembersParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865E7230176760014E17C /* PNMembersParser.h */; }; A56865EA230176760014E17C /* PNMembersParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865E7230176760014E17C /* PNMembersParser.h */; }; A56865EB230176760014E17C /* PNMembersParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865E7230176760014E17C /* PNMembersParser.h */; }; A56865EC230176760014E17C /* PNMembersParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865E7230176760014E17C /* PNMembersParser.h */; }; A56865EE230176760014E17C /* PNMembersParser.h in Headers */ = {isa = PBXBuildFile; fileRef = A56865E7230176760014E17C /* PNMembersParser.h */; }; - A56865F0230176760014E17C /* PNMembersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865E8230176760014E17C /* PNMembersParser.m */; }; - A56865F1230176760014E17C /* PNMembersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865E8230176760014E17C /* PNMembersParser.m */; }; - A56865F2230176760014E17C /* PNMembersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865E8230176760014E17C /* PNMembersParser.m */; }; - A56865F3230176760014E17C /* PNMembersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865E8230176760014E17C /* PNMembersParser.m */; }; - A56865F5230176760014E17C /* PNMembersParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A56865E8230176760014E17C /* PNMembersParser.m */; }; A56FAEF2233161570072ADD6 /* PubNub+MessageActions.h in Headers */ = {isa = PBXBuildFile; fileRef = A56FAEF0233161560072ADD6 /* PubNub+MessageActions.h */; settings = {ATTRIBUTES = (Public, ); }; }; A56FAEF3233161570072ADD6 /* PubNub+MessageActions.h in Headers */ = {isa = PBXBuildFile; fileRef = A56FAEF0233161560072ADD6 /* PubNub+MessageActions.h */; settings = {ATTRIBUTES = (Public, ); }; }; A56FAEF4233161570072ADD6 /* PubNub+MessageActions.h in Headers */ = {isa = PBXBuildFile; fileRef = A56FAEF0233161560072ADD6 /* PubNub+MessageActions.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -1953,41 +1973,21 @@ A5897574230014090093BD9A /* PNManageMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897570230014080093BD9A /* PNManageMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5897575230014090093BD9A /* PNManageMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897570230014080093BD9A /* PNManageMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5897577230014090093BD9A /* PNManageMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897570230014080093BD9A /* PNManageMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A5897579230014090093BD9A /* PNManageMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */; }; - A589757A230014090093BD9A /* PNManageMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */; }; - A589757B230014090093BD9A /* PNManageMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */; }; - A589757C230014090093BD9A /* PNManageMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */; }; - A589757E230014090093BD9A /* PNManageMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */; }; A5897582230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897580230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5897583230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897580230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5897584230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897580230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5897585230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897580230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5897587230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897580230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A5897589230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */; }; - A589758A230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */; }; - A589758B230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */; }; - A589758C230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */; }; - A589758E230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */; }; A5897592230014220093BD9A /* PNManageMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897590230014220093BD9A /* PNManageMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5897593230014220093BD9A /* PNManageMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897590230014220093BD9A /* PNManageMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5897594230014220093BD9A /* PNManageMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897590230014220093BD9A /* PNManageMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5897595230014220093BD9A /* PNManageMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897590230014220093BD9A /* PNManageMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5897597230014220093BD9A /* PNManageMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5897590230014220093BD9A /* PNManageMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A5897599230014220093BD9A /* PNManageMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */; }; - A589759A230014220093BD9A /* PNManageMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */; }; - A589759B230014220093BD9A /* PNManageMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */; }; - A589759C230014220093BD9A /* PNManageMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */; }; - A589759E230014220093BD9A /* PNManageMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */; }; A58975A2230014300093BD9A /* PNFetchMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975A0230014300093BD9A /* PNFetchMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975A3230014300093BD9A /* PNFetchMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975A0230014300093BD9A /* PNFetchMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975A4230014300093BD9A /* PNFetchMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975A0230014300093BD9A /* PNFetchMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975A5230014300093BD9A /* PNFetchMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975A0230014300093BD9A /* PNFetchMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975A7230014300093BD9A /* PNFetchMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975A0230014300093BD9A /* PNFetchMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A58975A9230014300093BD9A /* PNFetchMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */; }; - A58975AA230014300093BD9A /* PNFetchMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */; }; - A58975AB230014300093BD9A /* PNFetchMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */; }; - A58975AC230014300093BD9A /* PNFetchMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */; }; - A58975AE230014300093BD9A /* PNFetchMembersAPICallBuilder.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */; }; A58975B223005AAC0093BD9A /* PNManageMembershipsStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975B023005AAC0093BD9A /* PNManageMembershipsStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975B323005AAC0093BD9A /* PNManageMembershipsStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975B023005AAC0093BD9A /* PNManageMembershipsStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975B423005AAC0093BD9A /* PNManageMembershipsStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975B023005AAC0093BD9A /* PNManageMembershipsStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -2003,26 +2003,46 @@ A58975C423005BD80093BD9A /* PNMembership.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975C023005BD80093BD9A /* PNMembership.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975C523005BD80093BD9A /* PNMembership.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975C023005BD80093BD9A /* PNMembership.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975C723005BD80093BD9A /* PNMembership.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975C023005BD80093BD9A /* PNMembership.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A58975C923005BD80093BD9A /* PNMembership.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975C123005BD80093BD9A /* PNMembership.m */; }; - A58975CA23005BD80093BD9A /* PNMembership.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975C123005BD80093BD9A /* PNMembership.m */; }; - A58975CB23005BD80093BD9A /* PNMembership.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975C123005BD80093BD9A /* PNMembership.m */; }; - A58975CC23005BD80093BD9A /* PNMembership.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975C123005BD80093BD9A /* PNMembership.m */; }; - A58975CE23005BD80093BD9A /* PNMembership.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975C123005BD80093BD9A /* PNMembership.m */; }; A58975D223005BE60093BD9A /* PNMember.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975D023005BE60093BD9A /* PNMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975D323005BE60093BD9A /* PNMember.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975D023005BE60093BD9A /* PNMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975D423005BE60093BD9A /* PNMember.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975D023005BE60093BD9A /* PNMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975D523005BE60093BD9A /* PNMember.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975D023005BE60093BD9A /* PNMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; A58975D723005BE60093BD9A /* PNMember.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975D023005BE60093BD9A /* PNMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A58975D923005BE60093BD9A /* PNMember.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975D123005BE60093BD9A /* PNMember.m */; }; - A58975DA23005BE60093BD9A /* PNMember.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975D123005BE60093BD9A /* PNMember.m */; }; - A58975DB23005BE60093BD9A /* PNMember.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975D123005BE60093BD9A /* PNMember.m */; }; - A58975DC23005BE60093BD9A /* PNMember.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975D123005BE60093BD9A /* PNMember.m */; }; - A58975DE23005BE60093BD9A /* PNMember.m in Sources */ = {isa = PBXBuildFile; fileRef = A58975D123005BE60093BD9A /* PNMember.m */; }; A58975E123005CFB0093BD9A /* PNMembership+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975E023005CFB0093BD9A /* PNMembership+Private.h */; }; A58975E223005CFB0093BD9A /* PNMembership+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975E023005CFB0093BD9A /* PNMembership+Private.h */; }; A58975E323005CFB0093BD9A /* PNMembership+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975E023005CFB0093BD9A /* PNMembership+Private.h */; }; A58975E423005CFB0093BD9A /* PNMembership+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975E023005CFB0093BD9A /* PNMembership+Private.h */; }; A58975E623005CFB0093BD9A /* PNMembership+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A58975E023005CFB0093BD9A /* PNMembership+Private.h */; }; + A5A4517A246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A45178246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A4517B246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A45178246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A4517C246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A45178246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A4517D246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A45178246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A4517E246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A45178246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A45186246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A45184246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h */; }; + A5A45187246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A45184246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h */; }; + A5A45188246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A45184246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h */; }; + A5A45189246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A45184246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h */; }; + A5A4518A246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A45184246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h */; }; + A5A4519E246DE792008ECC74 /* PNRemoveMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A4519C246DE792008ECC74 /* PNRemoveMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A4519F246DE792008ECC74 /* PNRemoveMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A4519C246DE792008ECC74 /* PNRemoveMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451A0246DE792008ECC74 /* PNRemoveMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A4519C246DE792008ECC74 /* PNRemoveMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451A1246DE792008ECC74 /* PNRemoveMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A4519C246DE792008ECC74 /* PNRemoveMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451A2246DE792008ECC74 /* PNRemoveMembershipsRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A4519C246DE792008ECC74 /* PNRemoveMembershipsRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451BD246DE8C3008ECC74 /* PNRemoveMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451AB246DE8C2008ECC74 /* PNRemoveMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451BE246DE8C3008ECC74 /* PNRemoveMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451AB246DE8C2008ECC74 /* PNRemoveMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451BF246DE8C3008ECC74 /* PNRemoveMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451AB246DE8C2008ECC74 /* PNRemoveMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451C0246DE8C3008ECC74 /* PNRemoveMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451AB246DE8C2008ECC74 /* PNRemoveMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451C1246DE8C3008ECC74 /* PNRemoveMembersRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451AB246DE8C2008ECC74 /* PNRemoveMembersRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451EB246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451D1246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451EC246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451D1246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451ED246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451D1246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451EE246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451D1246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A451EF246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451D1246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A45205246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451F3246F268B008ECC74 /* PNRemoveMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A45206246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451F3246F268B008ECC74 /* PNRemoveMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A45207246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451F3246F268B008ECC74 /* PNRemoveMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A45208246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451F3246F268B008ECC74 /* PNRemoveMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5A45209246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A451F3246F268B008ECC74 /* PNRemoveMembershipsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5A7AFC6234932F30060113B /* PNFetchMessagesActionsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A7AFC0234932F30060113B /* PNFetchMessagesActionsParser.m */; }; A5A7AFC7234932F30060113B /* PNFetchMessagesActionsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A7AFC0234932F30060113B /* PNFetchMessagesActionsParser.m */; }; A5A7AFC8234932F30060113B /* PNFetchMessagesActionsParser.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A7AFC0234932F30060113B /* PNFetchMessagesActionsParser.m */; }; @@ -2098,6 +2118,11 @@ A5A7B0332349330F0060113B /* PNBaseMessageActionRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A7AFF82349330F0060113B /* PNBaseMessageActionRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5A7B0342349330F0060113B /* PNBaseMessageActionRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A7AFF82349330F0060113B /* PNBaseMessageActionRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; A5A7B0362349330F0060113B /* PNBaseMessageActionRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = A5A7AFF82349330F0060113B /* PNBaseMessageActionRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CA01F1C4DDB41BF0E6E1DCB3 /* PNObjectsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = CA01FFAEEB8EDC097CF6C451 /* PNObjectsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CA01F83D2112B9CBF2A3BCCB /* PNObjectsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = CA01FFAEEB8EDC097CF6C451 /* PNObjectsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CA01FCC4C674165F0F483715 /* PNObjectsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = CA01FFAEEB8EDC097CF6C451 /* PNObjectsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CA01FE429AC108DE239E57B6 /* PNObjectsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = CA01FFAEEB8EDC097CF6C451 /* PNObjectsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CA01FEB0C051AAFDD41B5E93 /* PNObjectsAPICallBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = CA01FFAEEB8EDC097CF6C451 /* PNObjectsAPICallBuilder.h */; settings = {ATTRIBUTES = (Public, ); }; }; DD71B9872595DE1337983CE1 /* PNClientStateGetResult.h in Headers */ = {isa = PBXBuildFile; fileRef = DD71BDF55F5AC37C145971EC /* PNClientStateGetResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; DD71BCFC02D4AB87E006CBBB /* PNClientStateGetResult.m in Sources */ = {isa = PBXBuildFile; fileRef = DD71B20066E72A597492173C /* PNClientStateGetResult.m */; }; /* End PBXBuildFile section */ @@ -2116,8 +2141,6 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 791582AC1BD709C60084FC70 /* PubNub.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PubNub.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 791583551BD709D10084FC70 /* PubNub.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PubNub.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 7915839D1BD7119E0084FC70 /* PubNub-iOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PubNub-iOS-Info.plist"; sourceTree = ""; }; 7915839E1BD7119E0084FC70 /* PubNub-watchOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PubNub-watchOS-Info.plist"; sourceTree = ""; }; 7925DB821D3FFCAC00857C0D /* PNLLogger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNLLogger.h; sourceTree = ""; }; @@ -2143,7 +2166,6 @@ 797D606822D2E43F00E64C94 /* PNSignalStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSignalStatus.m; sourceTree = ""; }; 797D606922D2E44000E64C94 /* PNSignalStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSignalStatus.h; sourceTree = ""; }; 798842101C18AFE0003E8948 /* update_modulemap.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = update_modulemap.sh; sourceTree = ""; }; - 7988421B1C18EDA7003E8948 /* PubNub.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = PubNub.a; sourceTree = BUILT_PRODUCTS_DIR; }; 79A0D80C1DC22C950039A264 /* PNAPNSAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNAPNSAPICallBuilder.h; sourceTree = ""; }; 79A0D80D1DC22C950039A264 /* PNAPNSAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNAPNSAPICallBuilder.m; sourceTree = ""; }; 79A0D80E1DC22C950039A264 /* PNAPNSAuditAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNAPNSAuditAPICallBuilder.h; sourceTree = ""; }; @@ -2200,14 +2222,12 @@ 79A3E417221569BA00F2ADB9 /* PNMessageCountResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNMessageCountResult.m; sourceTree = ""; }; 79A3E426221569DA00F2ADB9 /* PNMessageCountParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNMessageCountParser.h; sourceTree = ""; }; 79A3E427221569DA00F2ADB9 /* PNMessageCountParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNMessageCountParser.m; sourceTree = ""; }; - 79A8BCC41C58F93900015BDE /* PubNub.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PubNub.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 79A8BCC61C58F97A00015BDE /* PubNub-tvOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PubNub-tvOS-Info.plist"; sourceTree = ""; }; 79ABD88F1F01636B007634E0 /* PNTelemetry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNTelemetry.h; sourceTree = ""; }; 79ABD8901F01636B007634E0 /* PNTelemetry.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNTelemetry.m; sourceTree = ""; }; 79ACC3D91C11BB420056523A /* PubNub+FAB.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PubNub+FAB.h"; sourceTree = ""; }; 79ACC3DA1C11BB420056523A /* PubNub+FAB.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "PubNub+FAB.m"; sourceTree = ""; }; 79ACC4961C11BD720056523A /* PubNub-Fabric-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PubNub-Fabric-Info.plist"; sourceTree = ""; }; - 79CBB03E1BD03D3F001FC34D /* PubNub.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PubNub.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 79CBB0411BD03D3F001FC34D /* PubNub.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PubNub.h; sourceTree = ""; }; 79CBB0431BD03D3F001FC34D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 79CBB0561BD03DE4001FC34D /* PubNub+APNS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PubNub+APNS.h"; sourceTree = ""; }; @@ -2311,7 +2331,7 @@ 79CBB0C81BD03DE4001FC34D /* PNErrorCodes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNErrorCodes.h; sourceTree = ""; }; 79CBB0C91BD03DE4001FC34D /* PNPrivateStructures.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNPrivateStructures.h; sourceTree = ""; }; 79CBB0CA1BD03DE4001FC34D /* PNStructures.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNStructures.h; sourceTree = ""; }; - 79CBB0CC1BD03DE4001FC34D /* PNObjectEventListener.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNObjectEventListener.h; sourceTree = ""; }; + 79CBB0CC1BD03DE4001FC34D /* PNEventsListener.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNEventsListener.h; sourceTree = ""; }; 79CBB0CD1BD03DE4001FC34D /* PNParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNParser.h; sourceTree = ""; }; 79CBB0D01BD03DE4001FC34D /* PNChannelGroupAuditionParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNChannelGroupAuditionParser.h; sourceTree = ""; }; 79CBB0D11BD03DE4001FC34D /* PNChannelGroupAuditionParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNChannelGroupAuditionParser.m; sourceTree = ""; }; @@ -2362,79 +2382,71 @@ 79E2D0ED1C56434700BAA244 /* PNKeychain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNKeychain.m; sourceTree = ""; }; 79F90F171FDEC1B9007132A3 /* PNPresenceHeartbeatAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNPresenceHeartbeatAPICallBuilder.m; sourceTree = ""; }; 79F90F181FDEC1B9007132A3 /* PNPresenceHeartbeatAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNPresenceHeartbeatAPICallBuilder.h; sourceTree = ""; }; + A5046E0E247844E70008C81E /* PNSetMembershipsAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSetMembershipsAPICallBuilder.m; sourceTree = ""; }; + A5046E0F247844E70008C81E /* PNSetMembersAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSetMembersAPICallBuilder.h; sourceTree = ""; }; + A5046E10247844E70008C81E /* PNSetMembersAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSetMembersAPICallBuilder.m; sourceTree = ""; }; + A5046E11247844E70008C81E /* PNSetMembershipsAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSetMembershipsAPICallBuilder.h; sourceTree = ""; }; + A5046E262478471C0008C81E /* PNSetMembershipsRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSetMembershipsRequest.m; sourceTree = ""; }; + A5046E272478471C0008C81E /* PNSetMembersRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSetMembersRequest.h; sourceTree = ""; }; + A5046E282478471C0008C81E /* PNSetMembersRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSetMembersRequest.m; sourceTree = ""; }; + A5046E292478471D0008C81E /* PNSetMembershipsRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSetMembershipsRequest.h; sourceTree = ""; }; A5105B4E238F027D00CB693D /* PNDate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNDate.h; sourceTree = ""; }; A5105B4F238F027D00CB693D /* PNDate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNDate.m; sourceTree = ""; }; A52DC1E42307E10B001F20B0 /* NSDateFormatter+PNCacheable.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSDateFormatter+PNCacheable.h"; sourceTree = ""; }; A52DC1E52307E10B001F20B0 /* NSDateFormatter+PNCacheable.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSDateFormatter+PNCacheable.m"; sourceTree = ""; }; A55A85CF22FD8077002D0A72 /* PubNub+Objects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PubNub+Objects.h"; sourceTree = ""; }; A55A85D022FD8077002D0A72 /* PubNub+Objects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "PubNub+Objects.m"; sourceTree = ""; }; - A55A85E122FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNCreateUserAPICallBuilder.h; sourceTree = ""; }; - A55A85E322FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchUserAPICallBuilder.m; sourceTree = ""; }; - A55A85E422FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNDeleteUserAPICallBuilder.h; sourceTree = ""; }; - A55A85E522FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNUpdateUserAPICallBuilder.h; sourceTree = ""; }; - A55A85E622FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchUsersAPICallBuilder.m; sourceTree = ""; }; - A55A85E822FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNCreateUserAPICallBuilder.m; sourceTree = ""; }; - A55A85E922FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNDeleteUserAPICallBuilder.m; sourceTree = ""; }; - A55A85EA22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchUserAPICallBuilder.h; sourceTree = ""; }; - A55A85EB22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchUsersAPICallBuilder.h; sourceTree = ""; }; - A55A85EC22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNUpdateUserAPICallBuilder.m; sourceTree = ""; }; - A55A85EE22FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNUpdateSpaceAPICallBuilder.m; sourceTree = ""; }; - A55A85EF22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNCreateSpaceAPICallBuilder.m; sourceTree = ""; }; - A55A85F022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchSpaceAPICallBuilder.h; sourceTree = ""; }; - A55A85F222FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchSpacesAPICallBuilder.h; sourceTree = ""; }; - A55A85F322FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNDeleteSpaceAPICallBuilder.m; sourceTree = ""; }; - A55A85F422FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNCreateSpaceAPICallBuilder.h; sourceTree = ""; }; - A55A85F522FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNUpdateSpaceAPICallBuilder.h; sourceTree = ""; }; - A55A85F722FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchSpaceAPICallBuilder.m; sourceTree = ""; }; - A55A85F822FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchSpacesAPICallBuilder.m; sourceTree = ""; }; - A55A85F922FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNDeleteSpaceAPICallBuilder.h; sourceTree = ""; }; - A55A86A422FD817E002D0A72 /* PNUser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNUser.m; sourceTree = ""; }; - A55A86A522FD817E002D0A72 /* PNSpace+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PNSpace+Private.h"; sourceTree = ""; }; - A55A86A622FD817E002D0A72 /* PNSpace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSpace.h; sourceTree = ""; }; - A55A86A722FD817E002D0A72 /* PNUser+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PNUser+Private.h"; sourceTree = ""; }; - A55A86A822FD817E002D0A72 /* PNUser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNUser.h; sourceTree = ""; }; - A55A86A922FD817E002D0A72 /* PNSpace.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSpace.m; sourceTree = ""; }; - A55A86D422FD81E1002D0A72 /* PNFetchUsersResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchUsersResult.h; sourceTree = ""; }; - A55A86D522FD81E2002D0A72 /* PNFetchUsersResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchUsersResult.m; sourceTree = ""; }; - A55A86D622FD81E2002D0A72 /* PNCreateUserStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNCreateUserStatus.h; sourceTree = ""; }; - A55A86D722FD81E2002D0A72 /* PNFetchSpacesResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchSpacesResult.m; sourceTree = ""; }; - A55A86D822FD81E2002D0A72 /* PNCreateSpaceStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNCreateSpaceStatus.m; sourceTree = ""; }; - A55A86D922FD81E2002D0A72 /* PNUpdateUserStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNUpdateUserStatus.h; sourceTree = ""; }; - A55A86DA22FD81E2002D0A72 /* PNUpdateUserStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNUpdateUserStatus.m; sourceTree = ""; }; - A55A86DB22FD81E2002D0A72 /* PNCreateUserStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNCreateUserStatus.m; sourceTree = ""; }; - A55A86DC22FD81E2002D0A72 /* PNCreateSpaceStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNCreateSpaceStatus.h; sourceTree = ""; }; - A55A86DD22FD81E2002D0A72 /* PNUpdateSpaceStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNUpdateSpaceStatus.h; sourceTree = ""; }; - A55A86DE22FD81E2002D0A72 /* PNFetchSpacesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchSpacesResult.h; sourceTree = ""; }; - A55A86DF22FD81E3002D0A72 /* PNUpdateSpaceStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNUpdateSpaceStatus.m; sourceTree = ""; }; - A55A873522FD825A002D0A72 /* PNUserDataChangeParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNUserDataChangeParser.m; sourceTree = ""; }; - A55A873622FD825A002D0A72 /* PNUserDataChangeParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNUserDataChangeParser.h; sourceTree = ""; }; + A55A85E322FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchUUIDMetadataAPICallBuilder.m; sourceTree = ""; }; + A55A85E422FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNRemoveUUIDMetadataAPICallBuilder.h; sourceTree = ""; }; + A55A85E522FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSetUUIDMetadataAPICallBuilder.h; sourceTree = ""; }; + A55A85E622FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchAllUUIDMetadataAPICallBuilder.m; sourceTree = ""; }; + A55A85E922FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNRemoveUUIDMetadataAPICallBuilder.m; sourceTree = ""; }; + A55A85EA22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchUUIDMetadataAPICallBuilder.h; sourceTree = ""; }; + A55A85EB22FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchAllUUIDMetadataAPICallBuilder.h; sourceTree = ""; }; + A55A85EC22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSetUUIDMetadataAPICallBuilder.m; sourceTree = ""; }; + A55A85EE22FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSetChannelMetadataAPICallBuilder.m; sourceTree = ""; }; + A55A85F022FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchChannelMetadataAPICallBuilder.h; sourceTree = ""; }; + A55A85F222FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchAllChannelsMetadataAPICallBuilder.h; sourceTree = ""; }; + A55A85F322FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNRemoveChannelMetadataAPICallBuilder.m; sourceTree = ""; }; + A55A85F522FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSetChannelMetadataAPICallBuilder.h; sourceTree = ""; }; + A55A85F722FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchChannelMetadataAPICallBuilder.m; sourceTree = ""; }; + A55A85F822FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchAllChannelsMetadataAPICallBuilder.m; sourceTree = ""; }; + A55A85F922FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNRemoveChannelMetadataAPICallBuilder.h; sourceTree = ""; }; + A55A86A422FD817E002D0A72 /* PNUUIDMetadata.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNUUIDMetadata.m; sourceTree = ""; }; + A55A86A522FD817E002D0A72 /* PNChannelMetadata+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PNChannelMetadata+Private.h"; sourceTree = ""; }; + A55A86A622FD817E002D0A72 /* PNChannelMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNChannelMetadata.h; sourceTree = ""; }; + A55A86A722FD817E002D0A72 /* PNUUIDMetadata+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PNUUIDMetadata+Private.h"; sourceTree = ""; }; + A55A86A822FD817E002D0A72 /* PNUUIDMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNUUIDMetadata.h; sourceTree = ""; }; + A55A86A922FD817E002D0A72 /* PNChannelMetadata.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNChannelMetadata.m; sourceTree = ""; }; + A55A86D422FD81E1002D0A72 /* PNFetchUUIDMetadataResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchUUIDMetadataResult.h; sourceTree = ""; }; + A55A86D522FD81E2002D0A72 /* PNFetchUUIDMetadataResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchUUIDMetadataResult.m; sourceTree = ""; }; + A55A86D722FD81E2002D0A72 /* PNFetchChannelsMetadataResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchChannelsMetadataResult.m; sourceTree = ""; }; + A55A86D922FD81E2002D0A72 /* PNSetUUIDMetadataStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSetUUIDMetadataStatus.h; sourceTree = ""; }; + A55A86DA22FD81E2002D0A72 /* PNSetUUIDMetadataStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSetUUIDMetadataStatus.m; sourceTree = ""; }; + A55A86DD22FD81E2002D0A72 /* PNSetChannelMetadataStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSetChannelMetadataStatus.h; sourceTree = ""; }; + A55A86DE22FD81E2002D0A72 /* PNFetchChannelsMetadataResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchChannelsMetadataResult.h; sourceTree = ""; }; + A55A86DF22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSetChannelMetadataStatus.m; sourceTree = ""; }; + A55A873522FD825A002D0A72 /* PNUUIDMetadataChangeParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNUUIDMetadataChangeParser.m; sourceTree = ""; }; + A55A873622FD825A002D0A72 /* PNUUIDMetadataChangeParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNUUIDMetadataChangeParser.h; sourceTree = ""; }; A55A874622FD8272002D0A72 /* PNRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNRequest.m; sourceTree = ""; }; A55A874822FD8272002D0A72 /* PNObjectsPaginatedRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNObjectsPaginatedRequest.h; sourceTree = ""; }; - A55A874A22FD8272002D0A72 /* PNFetchUserRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchUserRequest.m; sourceTree = ""; }; - A55A874B22FD8272002D0A72 /* PNUpdateUserRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNUpdateUserRequest.h; sourceTree = ""; }; - A55A874C22FD8272002D0A72 /* PNManageUserDataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNManageUserDataRequest.h; sourceTree = ""; }; - A55A874D22FD8272002D0A72 /* PNFetchUsersRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchUsersRequest.h; sourceTree = ""; }; - A55A874E22FD8272002D0A72 /* PNCreateUserRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNCreateUserRequest.h; sourceTree = ""; }; - A55A874F22FD8272002D0A72 /* PNDeleteUserRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNDeleteUserRequest.m; sourceTree = ""; }; - A55A875022FD8272002D0A72 /* PNFetchUserRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchUserRequest.h; sourceTree = ""; }; - A55A875222FD8272002D0A72 /* PNManageUserDataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNManageUserDataRequest.m; sourceTree = ""; }; - A55A875322FD8272002D0A72 /* PNUpdateUserRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNUpdateUserRequest.m; sourceTree = ""; }; - A55A875422FD8272002D0A72 /* PNDeleteUserRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNDeleteUserRequest.h; sourceTree = ""; }; - A55A875522FD8272002D0A72 /* PNCreateUserRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNCreateUserRequest.m; sourceTree = ""; }; - A55A875622FD8272002D0A72 /* PNFetchUsersRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchUsersRequest.m; sourceTree = ""; }; + A55A874A22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchUUIDMetadataRequest.m; sourceTree = ""; }; + A55A874B22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSetUUIDMetadataRequest.h; sourceTree = ""; }; + A55A874D22FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchAllUUIDMetadataRequest.h; sourceTree = ""; }; + A55A874F22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNRemoveUUIDMetadataRequest.m; sourceTree = ""; }; + A55A875022FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchUUIDMetadataRequest.h; sourceTree = ""; }; + A55A875322FD8272002D0A72 /* PNSetUUIDMetadataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSetUUIDMetadataRequest.m; sourceTree = ""; }; + A55A875422FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNRemoveUUIDMetadataRequest.h; sourceTree = ""; }; + A55A875622FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchAllUUIDMetadataRequest.m; sourceTree = ""; }; A55A875722FD8272002D0A72 /* PNBaseObjectsRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNBaseObjectsRequest.h; sourceTree = ""; }; - A55A875922FD8272002D0A72 /* PNFetchSpaceRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchSpaceRequest.m; sourceTree = ""; }; - A55A875A22FD8272002D0A72 /* PNFetchSpacesRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchSpacesRequest.m; sourceTree = ""; }; - A55A875B22FD8272002D0A72 /* PNCreateSpaceRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNCreateSpaceRequest.m; sourceTree = ""; }; - A55A875C22FD8272002D0A72 /* PNManageSpaceDataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNManageSpaceDataRequest.h; sourceTree = ""; }; - A55A875D22FD8272002D0A72 /* PNUpdateSpaceRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNUpdateSpaceRequest.h; sourceTree = ""; }; - A55A875E22FD8272002D0A72 /* PNDeleteSpaceRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNDeleteSpaceRequest.m; sourceTree = ""; }; - A55A876022FD8272002D0A72 /* PNCreateSpaceRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNCreateSpaceRequest.h; sourceTree = ""; }; - A55A876122FD8272002D0A72 /* PNFetchSpacesRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchSpacesRequest.h; sourceTree = ""; }; - A55A876222FD8272002D0A72 /* PNFetchSpaceRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchSpaceRequest.h; sourceTree = ""; }; - A55A876322FD8272002D0A72 /* PNManageSpaceDataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNManageSpaceDataRequest.m; sourceTree = ""; }; - A55A876422FD8272002D0A72 /* PNDeleteSpaceRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNDeleteSpaceRequest.h; sourceTree = ""; }; - A55A876522FD8272002D0A72 /* PNUpdateSpaceRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNUpdateSpaceRequest.m; sourceTree = ""; }; + A55A875922FD8272002D0A72 /* PNFetchChannelMetadataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchChannelMetadataRequest.m; sourceTree = ""; }; + A55A875A22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchAllChannelsMetadataRequest.m; sourceTree = ""; }; + A55A875D22FD8272002D0A72 /* PNSetChannelMetadataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNSetChannelMetadataRequest.h; sourceTree = ""; }; + A55A875E22FD8272002D0A72 /* PNRemoveChannelMetadataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNRemoveChannelMetadataRequest.m; sourceTree = ""; }; + A55A876122FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchAllChannelsMetadataRequest.h; sourceTree = ""; }; + A55A876222FD8272002D0A72 /* PNFetchChannelMetadataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchChannelMetadataRequest.h; sourceTree = ""; }; + A55A876422FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNRemoveChannelMetadataRequest.h; sourceTree = ""; }; + A55A876522FD8272002D0A72 /* PNSetChannelMetadataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNSetChannelMetadataRequest.m; sourceTree = ""; }; A55A876622FD8272002D0A72 /* PNBaseObjectsRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNBaseObjectsRequest.m; sourceTree = ""; }; A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNManageMembershipsRequest.m; sourceTree = ""; }; A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchMembershipsRequest.m; sourceTree = ""; }; @@ -2466,14 +2478,14 @@ A5686578230072810014E17C /* PNManageMembersStatus.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNManageMembersStatus.m; sourceTree = ""; }; A56865872300729E0014E17C /* PNFetchMembersResult.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNFetchMembersResult.h; sourceTree = ""; }; A56865882300729E0014E17C /* PNFetchMembersResult.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNFetchMembersResult.m; sourceTree = ""; }; - A5686597230170690014E17C /* PNFetchUsersParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNFetchUsersParser.h; sourceTree = ""; }; - A5686598230170690014E17C /* PNFetchUsersParser.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNFetchUsersParser.m; sourceTree = ""; }; - A56865A7230172950014E17C /* PNFetchSpacesParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNFetchSpacesParser.h; sourceTree = ""; }; - A56865A8230172950014E17C /* PNFetchSpacesParser.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNFetchSpacesParser.m; sourceTree = ""; }; - A56865B7230173030014E17C /* PNSpaceDataChangeParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNSpaceDataChangeParser.h; sourceTree = ""; }; - A56865B8230173030014E17C /* PNSpaceDataChangeParser.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNSpaceDataChangeParser.m; sourceTree = ""; }; - A56865C7230173AA0014E17C /* PNObjectsDeleteParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNObjectsDeleteParser.h; sourceTree = ""; }; - A56865C8230173AA0014E17C /* PNObjectsDeleteParser.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNObjectsDeleteParser.m; sourceTree = ""; }; + A5686597230170690014E17C /* PNFetchUUIDMetadataParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNFetchUUIDMetadataParser.h; sourceTree = ""; }; + A5686598230170690014E17C /* PNFetchUUIDMetadataParser.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNFetchUUIDMetadataParser.m; sourceTree = ""; }; + A56865A7230172950014E17C /* PNFetchChannelsMetadataParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNFetchChannelsMetadataParser.h; sourceTree = ""; }; + A56865A8230172950014E17C /* PNFetchChannelsMetadataParser.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNFetchChannelsMetadataParser.m; sourceTree = ""; }; + A56865B7230173030014E17C /* PNChannelMetadataChangeParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNChannelMetadataChangeParser.h; sourceTree = ""; }; + A56865B8230173030014E17C /* PNChannelMetadataChangeParser.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNChannelMetadataChangeParser.m; sourceTree = ""; }; + A56865C7230173AA0014E17C /* PNObjectsRemoveParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNObjectsRemoveParser.h; sourceTree = ""; }; + A56865C8230173AA0014E17C /* PNObjectsRemoveParser.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNObjectsRemoveParser.m; sourceTree = ""; }; A56865D7230175EC0014E17C /* PNMembershipsParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNMembershipsParser.h; sourceTree = ""; }; A56865D8230175EC0014E17C /* PNMembershipsParser.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMembershipsParser.m; sourceTree = ""; }; A56865E7230176760014E17C /* PNMembersParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNMembersParser.h; sourceTree = ""; }; @@ -2527,6 +2539,17 @@ A58975D023005BE60093BD9A /* PNMember.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNMember.h; sourceTree = ""; }; A58975D123005BE60093BD9A /* PNMember.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMember.m; sourceTree = ""; }; A58975E023005CFB0093BD9A /* PNMembership+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PNMembership+Private.h"; sourceTree = ""; }; + A5A45178246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNBaseObjectsMembershipRequest.h; sourceTree = ""; }; + A5A45179246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNBaseObjectsMembershipRequest.m; sourceTree = ""; }; + A5A45184246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PNBaseObjectsMembershipRequest+Private.h"; sourceTree = ""; }; + A5A4519C246DE792008ECC74 /* PNRemoveMembershipsRequest.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PNRemoveMembershipsRequest.h; sourceTree = ""; }; + A5A4519D246DE792008ECC74 /* PNRemoveMembershipsRequest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNRemoveMembershipsRequest.m; sourceTree = ""; }; + A5A451A9246DE8C1008ECC74 /* PNRemoveMembersRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNRemoveMembersRequest.m; sourceTree = ""; }; + A5A451AB246DE8C2008ECC74 /* PNRemoveMembersRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNRemoveMembersRequest.h; sourceTree = ""; }; + A5A451CD246F2678008ECC74 /* PNRemoveMembersAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNRemoveMembersAPICallBuilder.m; sourceTree = ""; }; + A5A451D1246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNRemoveMembersAPICallBuilder.h; sourceTree = ""; }; + A5A451F3246F268B008ECC74 /* PNRemoveMembershipsAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNRemoveMembershipsAPICallBuilder.h; sourceTree = ""; }; + A5A451F5246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNRemoveMembershipsAPICallBuilder.m; sourceTree = ""; }; A5A7AFC0234932F30060113B /* PNFetchMessagesActionsParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNFetchMessagesActionsParser.m; sourceTree = ""; }; A5A7AFC1234932F30060113B /* PNFetchMessagesActionsParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNFetchMessagesActionsParser.h; sourceTree = ""; }; A5A7AFC2234932F30060113B /* PNAddMessageActionParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNAddMessageActionParser.h; sourceTree = ""; }; @@ -2542,6 +2565,8 @@ A5A7AFF62349330E0060113B /* PNRemoveMessageActionRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PNRemoveMessageActionRequest.m; path = Message/PNRemoveMessageActionRequest.m; sourceTree = ""; }; A5A7AFF72349330F0060113B /* PNRemoveMessageActionRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PNRemoveMessageActionRequest.h; path = Message/PNRemoveMessageActionRequest.h; sourceTree = ""; }; A5A7AFF82349330F0060113B /* PNBaseMessageActionRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PNBaseMessageActionRequest.h; path = Message/PNBaseMessageActionRequest.h; sourceTree = ""; }; + CA01FBE21124CDAEBD4948E6 /* PNObjectsAPICallBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNObjectsAPICallBuilder.m; sourceTree = ""; }; + CA01FFAEEB8EDC097CF6C451 /* PNObjectsAPICallBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNObjectsAPICallBuilder.h; sourceTree = ""; }; DD71B20066E72A597492173C /* PNClientStateGetResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNClientStateGetResult.m; sourceTree = ""; }; DD71BDF55F5AC37C145971EC /* PNClientStateGetResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNClientStateGetResult.h; sourceTree = ""; }; /* End PBXFileReference section */ @@ -2777,22 +2802,9 @@ 79CBB0401BD03D3F001FC34D /* PubNub */, 79CBB1DA1BD043A8001FC34D /* Support Files */, 79CBB1D91BD043A2001FC34D /* Frameworks */, - 79CBB03F1BD03D3F001FC34D /* Products */, ); sourceTree = ""; }; - 79CBB03F1BD03D3F001FC34D /* Products */ = { - isa = PBXGroup; - children = ( - 79CBB03E1BD03D3F001FC34D /* PubNub.framework */, - 791582AC1BD709C60084FC70 /* PubNub.framework */, - 791583551BD709D10084FC70 /* PubNub.framework */, - 7988421B1C18EDA7003E8948 /* PubNub.a */, - 79A8BCC41C58F93900015BDE /* PubNub.framework */, - ); - name = Products; - sourceTree = ""; - }; 79CBB0401BD03D3F001FC34D /* PubNub */ = { isa = PBXGroup; children = ( @@ -2907,6 +2919,8 @@ 79CBB0931BD03DE4001FC34D /* PNPresenceChannelHereNowResult.m */, 79CBB0941BD03DE4001FC34D /* PNPresenceGlobalHereNowResult.h */, 79CBB0951BD03DE4001FC34D /* PNPresenceGlobalHereNowResult.m */, + A55A86DE22FD81E2002D0A72 /* PNFetchChannelsMetadataResult.h */, + A55A86D722FD81E2002D0A72 /* PNFetchChannelsMetadataResult.m */, 79CBB0831BD03DE4001FC34D /* PNChannelGroupChannelsResult.h */, 79CBB0841BD03DE4001FC34D /* PNChannelGroupChannelsResult.m */, A586A9E42337E581008856D2 /* PNFetchMessageActionsResult.h */, @@ -2915,8 +2929,12 @@ 79CBB0801BD03DE4001FC34D /* PNAPNSEnabledChannelsResult.m */, A58975B023005AAC0093BD9A /* PNManageMembershipsStatus.h */, A58975B123005AAC0093BD9A /* PNManageMembershipsStatus.m */, + A55A86DD22FD81E2002D0A72 /* PNSetChannelMetadataStatus.h */, + A55A86DF22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m */, 79CBB0961BD03DE4001FC34D /* PNPresenceWhereNowResult.h */, 79CBB0971BD03DE4001FC34D /* PNPresenceWhereNowResult.m */, + A55A86D422FD81E1002D0A72 /* PNFetchUUIDMetadataResult.h */, + A55A86D522FD81E2002D0A72 /* PNFetchUUIDMetadataResult.m */, A56865672300709F0014E17C /* PNFetchMembershipsResult.h */, A56865682300709F0014E17C /* PNFetchMembershipsResult.m */, 79CBB0811BD03DE4001FC34D /* PNChannelClientStateResult.h */, @@ -2925,6 +2943,8 @@ A55BCCA12319243F0019DB68 /* PNAddMessageActionStatus.m */, 79CBB0891BD03DE4001FC34D /* PNClientStateUpdateStatus.h */, 79CBB08A1BD03DE4001FC34D /* PNClientStateUpdateStatus.m */, + A55A86D922FD81E2002D0A72 /* PNSetUUIDMetadataStatus.h */, + A55A86DA22FD81E2002D0A72 /* PNSetUUIDMetadataStatus.m */, 79CBB07D1BD03DE4001FC34D /* PNAcknowledgmentStatus.h */, 79CBB07E1BD03DE4001FC34D /* PNAcknowledgmentStatus.m */, A5686577230072810014E17C /* PNManageMembersStatus.h */, @@ -2935,20 +2955,10 @@ 79A3E417221569BA00F2ADB9 /* PNMessageCountResult.m */, A56865872300729E0014E17C /* PNFetchMembersResult.h */, A56865882300729E0014E17C /* PNFetchMembersResult.m */, - A55A86DD22FD81E2002D0A72 /* PNUpdateSpaceStatus.h */, - A55A86DF22FD81E3002D0A72 /* PNUpdateSpaceStatus.m */, - A55A86DC22FD81E2002D0A72 /* PNCreateSpaceStatus.h */, - A55A86D822FD81E2002D0A72 /* PNCreateSpaceStatus.m */, - A55A86DE22FD81E2002D0A72 /* PNFetchSpacesResult.h */, - A55A86D722FD81E2002D0A72 /* PNFetchSpacesResult.m */, - A55A86D922FD81E2002D0A72 /* PNUpdateUserStatus.h */, - A55A86DA22FD81E2002D0A72 /* PNUpdateUserStatus.m */, + DD71BDF55F5AC37C145971EC /* PNClientStateGetResult.h */, + DD71B20066E72A597492173C /* PNClientStateGetResult.m */, 79CBB0A31BD03DE4001FC34D /* PNSubscriberResults.h */, 79CBB0A41BD03DE4001FC34D /* PNSubscriberResults.m */, - A55A86D622FD81E2002D0A72 /* PNCreateUserStatus.h */, - A55A86DB22FD81E2002D0A72 /* PNCreateUserStatus.m */, - A55A86D422FD81E1002D0A72 /* PNFetchUsersResult.h */, - A55A86D522FD81E2002D0A72 /* PNFetchUsersResult.m */, 79E20D231C8AEC5B001BC9CC /* PNSubscribeStatus+Private.h */, 79CBB0A51BD03DE4001FC34D /* PNSubscribeStatus.h */, 79CBB0A61BD03DE4001FC34D /* PNSubscribeStatus.m */, @@ -2972,8 +2982,6 @@ 79CBB09A1BD03DE4001FC34D /* PNResult+Private.h */, 79CBB09B1BD03DE4001FC34D /* PNResult.h */, 79CBB09C1BD03DE4001FC34D /* PNResult.m */, - DD71BDF55F5AC37C145971EC /* PNClientStateGetResult.h */, - DD71B20066E72A597492173C /* PNClientStateGetResult.m */, ); path = "Service Objects"; sourceTree = ""; @@ -3039,7 +3047,7 @@ 79CBB0CB1BD03DE4001FC34D /* Protocols */ = { isa = PBXGroup; children = ( - 79CBB0CC1BD03DE4001FC34D /* PNObjectEventListener.h */, + 79CBB0CC1BD03DE4001FC34D /* PNEventsListener.h */, 79CBB0CD1BD03DE4001FC34D /* PNParser.h */, ); path = Protocols; @@ -3136,57 +3144,63 @@ isa = PBXGroup; children = ( A55A85FA22FD80B9002D0A72 /* Membership */, - A55A85ED22FD80B9002D0A72 /* Space */, - A55A85E022FD80B9002D0A72 /* User */, + A55A85ED22FD80B9002D0A72 /* Channel */, + A55A85E022FD80B9002D0A72 /* UUID */, + CA01FFAEEB8EDC097CF6C451 /* PNObjectsAPICallBuilder.h */, + CA01FBE21124CDAEBD4948E6 /* PNObjectsAPICallBuilder.m */, ); path = Objects; sourceTree = ""; }; - A55A85E022FD80B9002D0A72 /* User */ = { + A55A85E022FD80B9002D0A72 /* UUID */ = { isa = PBXGroup; children = ( - A55A85E522FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h */, - A55A85EC22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m */, - A55A85E122FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h */, - A55A85E822FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m */, - A55A85E422FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h */, - A55A85E922FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m */, - A55A85EA22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h */, - A55A85E322FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m */, - A55A85EB22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h */, - A55A85E622FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m */, - ); - path = User; + A55A85EB22FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h */, + A55A85E622FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.m */, + A55A85E422FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h */, + A55A85E922FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.m */, + A55A85EA22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h */, + A55A85E322FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.m */, + A55A85E522FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h */, + A55A85EC22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.m */, + ); + path = UUID; sourceTree = ""; }; - A55A85ED22FD80B9002D0A72 /* Space */ = { + A55A85ED22FD80B9002D0A72 /* Channel */ = { isa = PBXGroup; children = ( - A55A85F522FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h */, - A55A85EE22FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m */, - A55A85F422FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h */, - A55A85EF22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m */, - A55A85F922FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h */, - A55A85F322FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m */, - A55A85F022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h */, - A55A85F722FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m */, - A55A85F222FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h */, - A55A85F822FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m */, - ); - path = Space; + A55A85F222FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h */, + A55A85F822FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.m */, + A55A85F922FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h */, + A55A85F322FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.m */, + A55A85F022FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h */, + A55A85F722FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.m */, + A55A85F522FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h */, + A55A85EE22FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.m */, + ); + path = Channel; sourceTree = ""; }; A55A85FA22FD80B9002D0A72 /* Membership */ = { isa = PBXGroup; children = ( + A5A451F3246F268B008ECC74 /* PNRemoveMembershipsAPICallBuilder.h */, + A5A451F5246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.m */, A5897570230014080093BD9A /* PNManageMembershipsAPICallBuilder.h */, A5897571230014090093BD9A /* PNManageMembershipsAPICallBuilder.m */, A5897580230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h */, A5897581230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m */, + A5A451D1246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h */, + A5A451CD246F2678008ECC74 /* PNRemoveMembersAPICallBuilder.m */, A5897590230014220093BD9A /* PNManageMembersAPICallBuilder.h */, A5897591230014220093BD9A /* PNManageMembersAPICallBuilder.m */, + A5046E11247844E70008C81E /* PNSetMembershipsAPICallBuilder.h */, + A5046E0E247844E70008C81E /* PNSetMembershipsAPICallBuilder.m */, A58975A0230014300093BD9A /* PNFetchMembersAPICallBuilder.h */, A58975A1230014300093BD9A /* PNFetchMembersAPICallBuilder.m */, + A5046E0F247844E70008C81E /* PNSetMembersAPICallBuilder.h */, + A5046E10247844E70008C81E /* PNSetMembersAPICallBuilder.m */, ); path = Membership; sourceTree = ""; @@ -3203,12 +3217,12 @@ A568655F2300622C0014E17C /* PNMember+Private.h */, A58975D023005BE60093BD9A /* PNMember.h */, A58975D123005BE60093BD9A /* PNMember.m */, - A55A86A522FD817E002D0A72 /* PNSpace+Private.h */, - A55A86A622FD817E002D0A72 /* PNSpace.h */, - A55A86A922FD817E002D0A72 /* PNSpace.m */, - A55A86A722FD817E002D0A72 /* PNUser+Private.h */, - A55A86A822FD817E002D0A72 /* PNUser.h */, - A55A86A422FD817E002D0A72 /* PNUser.m */, + A55A86A522FD817E002D0A72 /* PNChannelMetadata+Private.h */, + A55A86A622FD817E002D0A72 /* PNChannelMetadata.h */, + A55A86A922FD817E002D0A72 /* PNChannelMetadata.m */, + A55A86A722FD817E002D0A72 /* PNUUIDMetadata+Private.h */, + A55A86A822FD817E002D0A72 /* PNUUIDMetadata.h */, + A55A86A422FD817E002D0A72 /* PNUUIDMetadata.m */, ); path = Models; sourceTree = ""; @@ -3216,18 +3230,18 @@ A55A873422FD825A002D0A72 /* Objects */ = { isa = PBXGroup; children = ( - A56865B7230173030014E17C /* PNSpaceDataChangeParser.h */, - A56865B8230173030014E17C /* PNSpaceDataChangeParser.m */, - A55A873622FD825A002D0A72 /* PNUserDataChangeParser.h */, - A55A873522FD825A002D0A72 /* PNUserDataChangeParser.m */, - A56865C7230173AA0014E17C /* PNObjectsDeleteParser.h */, - A56865C8230173AA0014E17C /* PNObjectsDeleteParser.m */, + A56865B7230173030014E17C /* PNChannelMetadataChangeParser.h */, + A56865B8230173030014E17C /* PNChannelMetadataChangeParser.m */, + A55A873622FD825A002D0A72 /* PNUUIDMetadataChangeParser.h */, + A55A873522FD825A002D0A72 /* PNUUIDMetadataChangeParser.m */, + A56865C7230173AA0014E17C /* PNObjectsRemoveParser.h */, + A56865C8230173AA0014E17C /* PNObjectsRemoveParser.m */, A56865D7230175EC0014E17C /* PNMembershipsParser.h */, A56865D8230175EC0014E17C /* PNMembershipsParser.m */, - A56865A7230172950014E17C /* PNFetchSpacesParser.h */, - A56865A8230172950014E17C /* PNFetchSpacesParser.m */, - A5686597230170690014E17C /* PNFetchUsersParser.h */, - A5686598230170690014E17C /* PNFetchUsersParser.m */, + A56865A7230172950014E17C /* PNFetchChannelsMetadataParser.h */, + A56865A8230172950014E17C /* PNFetchChannelsMetadataParser.m */, + A5686597230170690014E17C /* PNFetchUUIDMetadataParser.h */, + A5686598230170690014E17C /* PNFetchUUIDMetadataParser.m */, A56865E7230176760014E17C /* PNMembersParser.h */, A56865E8230176760014E17C /* PNMembersParser.m */, ); @@ -3251,8 +3265,8 @@ isa = PBXGroup; children = ( A55A876722FD8272002D0A72 /* Membership */, - A55A875822FD8272002D0A72 /* Space */, - A55A874922FD8272002D0A72 /* User */, + A55A875822FD8272002D0A72 /* Channel */, + A55A874922FD8272002D0A72 /* UUID */, A55A874822FD8272002D0A72 /* PNObjectsPaginatedRequest.h */, A55A877022FD8272002D0A72 /* PNObjectsPaginatedRequest.m */, A589756822FEF0F70093BD9A /* PNBaseObjectsRequest+Private.h */, @@ -3262,55 +3276,58 @@ path = Objects; sourceTree = ""; }; - A55A874922FD8272002D0A72 /* User */ = { + A55A874922FD8272002D0A72 /* UUID */ = { isa = PBXGroup; children = ( - A55A874E22FD8272002D0A72 /* PNCreateUserRequest.h */, - A55A875522FD8272002D0A72 /* PNCreateUserRequest.m */, - A55A874B22FD8272002D0A72 /* PNUpdateUserRequest.h */, - A55A875322FD8272002D0A72 /* PNUpdateUserRequest.m */, - A55A875422FD8272002D0A72 /* PNDeleteUserRequest.h */, - A55A874F22FD8272002D0A72 /* PNDeleteUserRequest.m */, - A55A875022FD8272002D0A72 /* PNFetchUserRequest.h */, - A55A874A22FD8272002D0A72 /* PNFetchUserRequest.m */, - A55A874D22FD8272002D0A72 /* PNFetchUsersRequest.h */, - A55A875622FD8272002D0A72 /* PNFetchUsersRequest.m */, - A55A874C22FD8272002D0A72 /* PNManageUserDataRequest.h */, - A55A875222FD8272002D0A72 /* PNManageUserDataRequest.m */, - ); - path = User; + A55A874B22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h */, + A55A875322FD8272002D0A72 /* PNSetUUIDMetadataRequest.m */, + A55A875422FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h */, + A55A874F22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.m */, + A55A875022FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h */, + A55A874A22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.m */, + A55A874D22FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h */, + A55A875622FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.m */, + ); + path = UUID; sourceTree = ""; }; - A55A875822FD8272002D0A72 /* Space */ = { + A55A875822FD8272002D0A72 /* Channel */ = { isa = PBXGroup; children = ( - A55A876022FD8272002D0A72 /* PNCreateSpaceRequest.h */, - A55A875B22FD8272002D0A72 /* PNCreateSpaceRequest.m */, - A55A875D22FD8272002D0A72 /* PNUpdateSpaceRequest.h */, - A55A876522FD8272002D0A72 /* PNUpdateSpaceRequest.m */, - A55A876422FD8272002D0A72 /* PNDeleteSpaceRequest.h */, - A55A875E22FD8272002D0A72 /* PNDeleteSpaceRequest.m */, - A55A876222FD8272002D0A72 /* PNFetchSpaceRequest.h */, - A55A875922FD8272002D0A72 /* PNFetchSpaceRequest.m */, - A55A876122FD8272002D0A72 /* PNFetchSpacesRequest.h */, - A55A875A22FD8272002D0A72 /* PNFetchSpacesRequest.m */, - A55A875C22FD8272002D0A72 /* PNManageSpaceDataRequest.h */, - A55A876322FD8272002D0A72 /* PNManageSpaceDataRequest.m */, - ); - path = Space; + A55A875D22FD8272002D0A72 /* PNSetChannelMetadataRequest.h */, + A55A876522FD8272002D0A72 /* PNSetChannelMetadataRequest.m */, + A55A876422FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h */, + A55A875E22FD8272002D0A72 /* PNRemoveChannelMetadataRequest.m */, + A55A876222FD8272002D0A72 /* PNFetchChannelMetadataRequest.h */, + A55A875922FD8272002D0A72 /* PNFetchChannelMetadataRequest.m */, + A55A876122FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h */, + A55A875A22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.m */, + ); + path = Channel; sourceTree = ""; }; A55A876722FD8272002D0A72 /* Membership */ = { isa = PBXGroup; children = ( + A5A45184246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h */, + A5A45178246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h */, + A5A45179246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.m */, A55A876D22FD8272002D0A72 /* PNManageMembershipsRequest.h */, A55A876822FD8272002D0A72 /* PNManageMembershipsRequest.m */, + A5A4519C246DE792008ECC74 /* PNRemoveMembershipsRequest.h */, + A5A4519D246DE792008ECC74 /* PNRemoveMembershipsRequest.m */, A55A876C22FD8272002D0A72 /* PNFetchMembershipsRequest.h */, A55A876922FD8272002D0A72 /* PNFetchMembershipsRequest.m */, A55A876F22FD8272002D0A72 /* PNManageMembersRequest.h */, A55A876B22FD8272002D0A72 /* PNManageMembersRequest.m */, + A5A451AB246DE8C2008ECC74 /* PNRemoveMembersRequest.h */, + A5A451A9246DE8C1008ECC74 /* PNRemoveMembersRequest.m */, + A5046E292478471D0008C81E /* PNSetMembershipsRequest.h */, + A5046E262478471C0008C81E /* PNSetMembershipsRequest.m */, A55A876A22FD8272002D0A72 /* PNFetchMembersRequest.h */, A55A876E22FD8272002D0A72 /* PNFetchMembersRequest.m */, + A5046E272478471C0008C81E /* PNSetMembersRequest.h */, + A5046E282478471C0008C81E /* PNSetMembersRequest.m */, ); path = Membership; sourceTree = ""; @@ -3441,17 +3458,14 @@ A55A886122FD8272002D0A72 /* PNFetchMembershipsRequest.h in Headers */, A56865602300622C0014E17C /* PNMember+Private.h in Headers */, 791582A21BD709C60084FC70 /* PNChannelGroupModificationParser.h in Headers */, - A55A85FB22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h in Headers */, A57A3037238D59B500DE8C68 /* PNRemoveAllPushNotificationsRequest.h in Headers */, 791582541BD709C60084FC70 /* PNChannelGroupClientStateResult.h in Headers */, - A55A86E022FD81E3002D0A72 /* PNFetchUsersResult.h in Headers */, + A55A86E022FD81E3002D0A72 /* PNFetchUUIDMetadataResult.h in Headers */, 791582611BD709C60084FC70 /* PNPushNotificationsAuditParser.h in Headers */, 791582531BD709C60084FC70 /* PNPresenceChannelHereNowResult.h in Headers */, - A55A878F22FD8272002D0A72 /* PNManageUserDataRequest.h in Headers */, 791582551BD709C60084FC70 /* PNPresenceGlobalHereNowResult.h in Headers */, 791582A01BD709C60084FC70 /* PNChannelGroupAuditionParser.h in Headers */, 791582561BD709C60084FC70 /* PNChannelGroupChannelsResult.h in Headers */, - A55A867922FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h in Headers */, 79F90F1A1FDEC1BA007132A3 /* PNPresenceHeartbeatAPICallBuilder.h in Headers */, A57A30F1238DDCA300DE8C68 /* PNAPNSNotificationPayload+Private.h in Headers */, 79A0D8501DC22C950039A264 /* PNPresenceHereNowAPICallBuilder.h in Headers */, @@ -3462,30 +3476,31 @@ 791582591BD709C60084FC70 /* PNChannelClientStateResult.h in Headers */, 79E20D241C8AEC5B001BC9CC /* PNSubscribeStatus+Private.h in Headers */, 7915825A1BD709C60084FC70 /* PNClientStateUpdateStatus.h in Headers */, - A55A86B122FD817E002D0A72 /* PNSpace+Private.h in Headers */, + A55A86B122FD817E002D0A72 /* PNChannelMetadata+Private.h in Headers */, 791582961BD709C60084FC70 /* PNPresenceWhereNowParser.h in Headers */, 791582581BD709C60084FC70 /* PNPresenceWhereNowResult.h in Headers */, 791582A41BD709C60084FC70 /* PNPresenceHereNowParser.h in Headers */, A52DC1E62307E10B001F20B0 /* NSDateFormatter+PNCacheable.h in Headers */, A55BCCA22319243F0019DB68 /* PNAddMessageActionStatus.h in Headers */, 791582A11BD709C60084FC70 /* PubNub+SubscribePrivate.h in Headers */, - A55A87AB22FD8272002D0A72 /* PNFetchUserRequest.h in Headers */, + A55A87AB22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h in Headers */, 791582951BD709C60084FC70 /* PubNub+PresencePrivate.h in Headers */, 791582921BD709C60084FC70 /* PNMessagePublishParser.h in Headers */, 7915825B1BD709C60084FC70 /* PNAcknowledgmentStatus.h in Headers */, 791582A61BD709C60084FC70 /* PNErrorStatus+Private.h in Headers */, A55BCD06231D22400019DB68 /* PNFetchMessagesActionsAPICallBuilder.h in Headers */, 791582871BD709C60084FC70 /* PNServiceData+Private.h in Headers */, - 7915825E1BD709C60084FC70 /* PNObjectEventListener.h in Headers */, + 7915825E1BD709C60084FC70 /* PNEventsListener.h in Headers */, 797D605A22D2E41100E64C94 /* PNSignalAPICallBuilder.h in Headers */, - A56865B9230173030014E17C /* PNSpaceDataChangeParser.h in Headers */, + A56865B9230173030014E17C /* PNChannelMetadataChangeParser.h in Headers */, A57A30DA238DC87400DE8C68 /* PNAPNSNotificationTarget.h in Headers */, 7915825C1BD709C60084FC70 /* PNChannelGroupsResult.h in Headers */, 79E20D151C8AEC3A001BC9CC /* PNEnvelopeInformation.h in Headers */, A55CA69D2397389100B24E02 /* PNKeychain+Private.h in Headers */, - A55A864122FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h in Headers */, + A55A864122FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h in Headers */, + A5046E17247844E70008C81E /* PNSetMembersAPICallBuilder.h in Headers */, 7925DB951D3FFCAC00857C0D /* PNLLogFileInformation.h in Headers */, - A55A87FF22FD8272002D0A72 /* PNUpdateSpaceRequest.h in Headers */, + A55A87FF22FD8272002D0A72 /* PNSetChannelMetadataRequest.h in Headers */, A5897592230014220093BD9A /* PNManageMembersAPICallBuilder.h in Headers */, A55A85D122FD8078002D0A72 /* PubNub+Objects.h in Headers */, 79A0D8521DC22C950039A264 /* PNPresenceWhereNowAPICallBuilder.h in Headers */, @@ -3495,28 +3510,28 @@ 79A0D85C1DC22C950039A264 /* PNStateModificationAPICallBuilder.h in Headers */, 79A3E418221569BA00F2ADB9 /* PNMessageCountResult.h in Headers */, 7915827A1BD709C60084FC70 /* PNPrivateStructures.h in Headers */, + A5A45186246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h in Headers */, 79A3E428221569DA00F2ADB9 /* PNMessageCountParser.h in Headers */, 79A0D86C1DC22C950039A264 /* PNTimeAPICallBuilder.h in Headers */, A57A300D238D59B500DE8C68 /* PNAddPushNotificationsRequest.h in Headers */, A57A30A8238D78C400DE8C68 /* PNBaseNotificationPayload+Private.h in Headers */, 791582601BD709C60084FC70 /* PNClientInformation.h in Headers */, - A55A87C722FD8272002D0A72 /* PNDeleteUserRequest.h in Headers */, - A55A866B22FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h in Headers */, + A55A87C722FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h in Headers */, + A55A866B22FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h in Headers */, 7915825F1BD709C60084FC70 /* PNSubscriberResults.h in Headers */, 79A0D84E1DC22C950039A264 /* PNPresenceChannelHereNowAPICallBuilder.h in Headers */, A56FAEF2233161570072ADD6 /* PubNub+MessageActions.h in Headers */, 7915825D1BD709C60084FC70 /* PubNub+ChannelGroup.h in Headers */, 79A0D8561DC22C950039A264 /* PNPublishSizeAPICallBuilder.h in Headers */, + A5046E21247844E70008C81E /* PNSetMembershipsAPICallBuilder.h in Headers */, A5A7B0002349330F0060113B /* PNBaseMessageActionRequest+Private.h in Headers */, A5A7AFF92349330F0060113B /* PNFetchMessageActionsRequest.h in Headers */, 7915829F1BD709C60084FC70 /* PubNub+CorePrivate.h in Headers */, A55A885322FD8272002D0A72 /* PNFetchMembersRequest.h in Headers */, A57A3022238D59B500DE8C68 /* PNRemovePushNotificationsRequest.h in Headers */, - A55A86EE22FD81E3002D0A72 /* PNCreateUserStatus.h in Headers */, A5A7B00E2349330F0060113B /* PNAddMessageActionRequest.h in Headers */, 79A0D8681DC22C950039A264 /* PNUnsubscribeAPICallBuilder.h in Headers */, A56865E9230176760014E17C /* PNMembersParser.h in Headers */, - A55A87F822FD8272002D0A72 /* PNManageSpaceDataRequest.h in Headers */, A55A877A22FD8272002D0A72 /* PNObjectsPaginatedRequest.h in Headers */, 791582861BD709C60084FC70 /* PNHeartbeatParser.h in Headers */, A58975C223005BD80093BD9A /* PNMembership.h in Headers */, @@ -3533,19 +3548,19 @@ A57A3089238D751400DE8C68 /* PNMPNSNotificationPayload.h in Headers */, 79A0D86E1DC22C950039A264 /* PNAPICallBuilder+Private.h in Headers */, A57A30E9238DCAAF00DE8C68 /* PNAPNSNotificationTarget+Private.h in Headers */, - A55A881B22FD8272002D0A72 /* PNFetchSpacesRequest.h in Headers */, - A56865C9230173AA0014E17C /* PNObjectsDeleteParser.h in Headers */, + A55A881B22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h in Headers */, + A56865C9230173AA0014E17C /* PNObjectsRemoveParser.h in Headers */, 7915829D1BD709C60084FC70 /* PNStateListener.h in Headers */, 791582911BD709C60084FC70 /* PNHistoryParser.h in Headers */, 791582681BD709C60084FC70 /* PNHistoryResult.h in Headers */, 791582671BD709C60084FC70 /* PNConfiguration.h in Headers */, 79A0D86F1DC22C950039A264 /* PNAPICallBuilder.h in Headers */, A55A886822FD8272002D0A72 /* PNManageMembershipsRequest.h in Headers */, - A55A883022FD8272002D0A72 /* PNDeleteSpaceRequest.h in Headers */, + A55A883022FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h in Headers */, 79A0D84C1DC22C950039A264 /* PNPresenceChannelGroupHereNowAPICallBuilder.h in Headers */, 79A0D8541DC22C950039A264 /* PNPublishAPICallBuilder.h in Headers */, 791582661BD709C60084FC70 /* PNPublishStatus.h in Headers */, - A55A861022FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h in Headers */, + A55A861022FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h in Headers */, 79A0D8661DC22C950039A264 /* PNSubscribeChannelsOrGroupsAPIBuilder.h in Headers */, A55BCD25231D27F00019DB68 /* PNMessageAction+Private.h in Headers */, 791582641BD709C60084FC70 /* PubNub+Presence.h in Headers */, @@ -3557,10 +3572,10 @@ 791582891BD709C60084FC70 /* PNClientState.h in Headers */, 791582791BD709C60084FC70 /* PNErrorParser.h in Headers */, A5897582230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h in Headers */, - A55A873E22FD825A002D0A72 /* PNUserDataChangeParser.h in Headers */, + A55A873E22FD825A002D0A72 /* PNUUIDMetadataChangeParser.h in Headers */, A5A7AFD4234932F30060113B /* PNAddMessageActionParser.h in Headers */, 791582711BD709C60084FC70 /* PNErrorStatus.h in Headers */, - A56865A9230172950014E17C /* PNFetchSpacesParser.h in Headers */, + A56865A9230172950014E17C /* PNFetchChannelsMetadataParser.h in Headers */, 79A0D8581DC22C950039A264 /* PNStateAPICallBuilder.h in Headers */, 79A0D8621DC22C950039A264 /* PNStreamModificationAPICallBuilder.h in Headers */, 7915826A1BD709C60084FC70 /* PNServiceData.h in Headers */, @@ -3570,21 +3585,20 @@ 79650C2D1E775E8300006F66 /* PNLockSupport.h in Headers */, 791582941BD709C60084FC70 /* PNSubscriber.h in Headers */, 791582831BD709C60084FC70 /* PNURLRequest.h in Headers */, - A55A879D22FD8272002D0A72 /* PNCreateUserRequest.h in Headers */, - A55A865D22FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h in Headers */, - A55A86B822FD817E002D0A72 /* PNSpace.h in Headers */, + A55A865D22FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h in Headers */, + A5A4519E246DE792008ECC74 /* PNRemoveMembershipsRequest.h in Headers */, + A55A86B822FD817E002D0A72 /* PNChannelMetadata.h in Headers */, 7915827E1BD709C60084FC70 /* PNURLBuilder.h in Headers */, - A55A86BF22FD817E002D0A72 /* PNUser+Private.h in Headers */, + A55A86BF22FD817E002D0A72 /* PNUUIDMetadata+Private.h in Headers */, 7915827C1BD709C60084FC70 /* PNTimeParser.h in Headers */, A57A30D1238DC7FF00DE8C68 /* PNAPNSNotificationConfiguration+Private.h in Headers */, 791582721BD709C60084FC70 /* PNStructures.h in Headers */, A57A304C238D59B500DE8C68 /* PNBasePushNotificationsRequest.h in Headers */, - A55A881422FD8272002D0A72 /* PNCreateSpaceRequest.h in Headers */, 791582701BD709C60084FC70 /* PNTimeResult.h in Headers */, 7915826D1BD709C60084FC70 /* PNErrorCodes.h in Headers */, - A55A869C22FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h in Headers */, + A55A869C22FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h in Headers */, 79A0D85A1DC22C950039A264 /* PNStateAuditAPICallBuilder.h in Headers */, - A55A879622FD8272002D0A72 /* PNFetchUsersRequest.h in Headers */, + A55A879622FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h in Headers */, A5897572230014090093BD9A /* PNManageMembershipsAPICallBuilder.h in Headers */, 7915826C1BD709C60084FC70 /* PubNub+State.h in Headers */, 79A3E40F2215699900F2ADB9 /* PNMessageCountAPICallBuilder.h in Headers */, @@ -3596,9 +3610,10 @@ A586A9EC2337E581008856D2 /* PNFetchMessageActionsResult.h in Headers */, A57A3099238D784A00DE8C68 /* PNBaseNotificationPayload.h in Headers */, 7915826F1BD709C60084FC70 /* PubNub+Core.h in Headers */, - A55A878822FD8272002D0A72 /* PNUpdateUserRequest.h in Headers */, - A55A863A22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h in Headers */, + A55A878822FD8272002D0A72 /* PNSetUUIDMetadataRequest.h in Headers */, + A55A863A22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h in Headers */, 7915826E1BD709C60084FC70 /* PubNub+Time.h in Headers */, + A5A45205246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.h in Headers */, A589756922FEF0F70093BD9A /* PNBaseObjectsRequest+Private.h in Headers */, 7915826B1BD709C60084FC70 /* PubNub+APNS.h in Headers */, 791582851BD709C60084FC70 /* PNLogMacro.h in Headers */, @@ -3608,19 +3623,19 @@ A55BCCF6231D222B0019DB68 /* PNRemoveMessageActionAPICallBuilder.h in Headers */, 791582991BD709C60084FC70 /* PNNetwork.h in Headers */, A55BCCE6231D21840019DB68 /* PNAddMessageActionAPICallBuilder.h in Headers */, - A55A871F22FD81E3002D0A72 /* PNUpdateSpaceStatus.h in Headers */, + A55A871F22FD81E3002D0A72 /* PNSetChannelMetadataStatus.h in Headers */, 791582931BD709C60084FC70 /* PNChannel.h in Headers */, 7915827F1BD709C60084FC70 /* PNHelpers.h in Headers */, A5105B50238F027D00CB693D /* PNDate.h in Headers */, - A5686599230170690014E17C /* PNFetchUsersParser.h in Headers */, - A55A861722FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h in Headers */, + A5686599230170690014E17C /* PNFetchUUIDMetadataParser.h in Headers */, + A55A861722FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h in Headers */, 79A0D86A1DC22C950039A264 /* PNUnsubscribeChannelsOrGroupsAPICallBuilder.h in Headers */, - A55A871822FD81E3002D0A72 /* PNCreateSpaceStatus.h in Headers */, 79ABD8911F01636B007634E0 /* PNTelemetry.h in Headers */, 7925DB871D3FFCAC00857C0D /* PNLLogger.h in Headers */, 793887041BEAD49100DCC662 /* PNNumber.h in Headers */, A57A30B2238DC6B600DE8C68 /* PNAPNSNotificationPayload.h in Headers */, 7915828C1BD709C60084FC70 /* PNParser.h in Headers */, + A5046E2F2478471D0008C81E /* PNSetMembersRequest.h in Headers */, 7915828B1BD709C60084FC70 /* PNString.h in Headers */, A57A3069238D6BCC00DE8C68 /* PNFCMNotificationPayload.h in Headers */, 791582741BD709C60084FC70 /* PNResult.h in Headers */, @@ -3629,14 +3644,14 @@ A58975E123005CFB0093BD9A /* PNMembership+Private.h in Headers */, A5A7AFE2234932F30060113B /* PNRemoveMessageActionParser.h in Headers */, 79A0D84A1DC22C950039A264 /* PNPresenceAPICallBuilder.h in Headers */, - A55A872622FD81E3002D0A72 /* PNFetchSpacesResult.h in Headers */, + A55A872622FD81E3002D0A72 /* PNFetchChannelsMetadataResult.h in Headers */, 7915828F1BD709C60084FC70 /* PNArray.h in Headers */, 7915828E1BD709C60084FC70 /* PNData.h in Headers */, 7915827D1BD709C60084FC70 /* PNGZIP.h in Headers */, - A55A882222FD8272002D0A72 /* PNFetchSpaceRequest.h in Headers */, + A55A882222FD8272002D0A72 /* PNFetchChannelMetadataRequest.h in Headers */, A56865892300729E0014E17C /* PNFetchMembersResult.h in Headers */, A56865692300709F0014E17C /* PNFetchMembershipsResult.h in Headers */, - A55A868022FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h in Headers */, + A55A868022FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h in Headers */, A57A3059238D65A200DE8C68 /* PNNotificationsPayload.h in Headers */, 7915827B1BD709C60084FC70 /* PNJSON.h in Headers */, 791582751BD709C60084FC70 /* PubNub.h in Headers */, @@ -3644,11 +3659,16 @@ 791582761BD709C60084FC70 /* PNAES.h in Headers */, A58975A2230014300093BD9A /* PNFetchMembersAPICallBuilder.h in Headers */, DD71B9872595DE1337983CE1 /* PNClientStateGetResult.h in Headers */, - A55A870322FD81E3002D0A72 /* PNUpdateUserStatus.h in Headers */, + A55A870322FD81E3002D0A72 /* PNSetUUIDMetadataStatus.h in Headers */, + A5A451EB246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h in Headers */, A5A7AFCD234932F30060113B /* PNFetchMessagesActionsParser.h in Headers */, A56865D9230175EC0014E17C /* PNMembershipsParser.h in Headers */, - A55A86C622FD817E002D0A72 /* PNUser.h in Headers */, + A5A4517A246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h in Headers */, + A5046E392478471D0008C81E /* PNSetMembershipsRequest.h in Headers */, + A55A86C622FD817E002D0A72 /* PNUUIDMetadata.h in Headers */, + A5A451BD246DE8C3008ECC74 /* PNRemoveMembersRequest.h in Headers */, A5686579230072810014E17C /* PNManageMembersStatus.h in Headers */, + CA01FCC4C674165F0F483715 /* PNObjectsAPICallBuilder.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -3667,17 +3687,14 @@ A55A886322FD8272002D0A72 /* PNFetchMembershipsRequest.h in Headers */, A56865622300622C0014E17C /* PNMember+Private.h in Headers */, 7915834B1BD709D10084FC70 /* PNChannelGroupModificationParser.h in Headers */, - A55A85FD22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h in Headers */, A57A3039238D59B500DE8C68 /* PNRemoveAllPushNotificationsRequest.h in Headers */, 791582FD1BD709D10084FC70 /* PNChannelGroupClientStateResult.h in Headers */, - A55A86E222FD81E3002D0A72 /* PNFetchUsersResult.h in Headers */, + A55A86E222FD81E3002D0A72 /* PNFetchUUIDMetadataResult.h in Headers */, 7915830A1BD709D10084FC70 /* PNPushNotificationsAuditParser.h in Headers */, 791582FC1BD709D10084FC70 /* PNPresenceChannelHereNowResult.h in Headers */, - A55A879122FD8272002D0A72 /* PNManageUserDataRequest.h in Headers */, 791582FE1BD709D10084FC70 /* PNPresenceGlobalHereNowResult.h in Headers */, 791583491BD709D10084FC70 /* PNChannelGroupAuditionParser.h in Headers */, 791582FF1BD709D10084FC70 /* PNChannelGroupChannelsResult.h in Headers */, - A55A867B22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h in Headers */, 79F90F1C1FDEC1C7007132A3 /* PNPresenceHeartbeatAPICallBuilder.h in Headers */, A57A30F3238DDCA300DE8C68 /* PNAPNSNotificationPayload+Private.h in Headers */, 791583311BD709D10084FC70 /* PNNetworkResponseSerializer.h in Headers */, @@ -3688,14 +3705,14 @@ 79E20D261C8AEFF2001BC9CC /* PNSubscribeStatus+Private.h in Headers */, 791583031BD709D10084FC70 /* PNClientStateUpdateStatus.h in Headers */, 7915833F1BD709D10084FC70 /* PNPresenceWhereNowParser.h in Headers */, - A55A86B322FD817E002D0A72 /* PNSpace+Private.h in Headers */, + A55A86B322FD817E002D0A72 /* PNChannelMetadata+Private.h in Headers */, 79A0D8B41DC22FBB0039A264 /* PNPresenceAPICallBuilder.h in Headers */, 791583011BD709D10084FC70 /* PNPresenceWhereNowResult.h in Headers */, 7915834D1BD709D10084FC70 /* PNPresenceHereNowParser.h in Headers */, A52DC1E82307E10B001F20B0 /* NSDateFormatter+PNCacheable.h in Headers */, A55BCCA42319243F0019DB68 /* PNAddMessageActionStatus.h in Headers */, 7915834A1BD709D10084FC70 /* PubNub+SubscribePrivate.h in Headers */, - A55A87AD22FD8272002D0A72 /* PNFetchUserRequest.h in Headers */, + A55A87AD22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h in Headers */, 7915833E1BD709D10084FC70 /* PubNub+PresencePrivate.h in Headers */, 7915833B1BD709D10084FC70 /* PNMessagePublishParser.h in Headers */, 791583041BD709D10084FC70 /* PNAcknowledgmentStatus.h in Headers */, @@ -3704,14 +3721,15 @@ 79A0D90E1DC230760039A264 /* PNStateAuditAPICallBuilder.h in Headers */, 791583301BD709D10084FC70 /* PNServiceData+Private.h in Headers */, 797D605C22D2E41100E64C94 /* PNSignalAPICallBuilder.h in Headers */, - A56865BB230173030014E17C /* PNSpaceDataChangeParser.h in Headers */, + A56865BB230173030014E17C /* PNChannelMetadataChangeParser.h in Headers */, A57A30DC238DC87400DE8C68 /* PNAPNSNotificationTarget.h in Headers */, - 791583071BD709D10084FC70 /* PNObjectEventListener.h in Headers */, + 791583071BD709D10084FC70 /* PNEventsListener.h in Headers */, 791583051BD709D10084FC70 /* PNChannelGroupsResult.h in Headers */, A55CA69F2397389100B24E02 /* PNKeychain+Private.h in Headers */, - A55A864322FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h in Headers */, + A55A864322FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h in Headers */, + A5046E19247844E70008C81E /* PNSetMembersAPICallBuilder.h in Headers */, 79E20D181C8AEC43001BC9CC /* PNEnvelopeInformation.h in Headers */, - A55A880122FD8272002D0A72 /* PNUpdateSpaceRequest.h in Headers */, + A55A880122FD8272002D0A72 /* PNSetChannelMetadataRequest.h in Headers */, A5897594230014220093BD9A /* PNManageMembersAPICallBuilder.h in Headers */, A55A85D322FD8078002D0A72 /* PubNub+Objects.h in Headers */, 7925DB971D3FFCAC00857C0D /* PNLLogFileInformation.h in Headers */, @@ -3721,28 +3739,28 @@ 791583391BD709D10084FC70 /* PNRequestParameters.h in Headers */, 79A3E41A221569BA00F2ADB9 /* PNMessageCountResult.h in Headers */, 79A0D9081DC230670039A264 /* PNStateAPICallBuilder.h in Headers */, + A5A45188246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h in Headers */, 79A3E42A221569DA00F2ADB9 /* PNMessageCountParser.h in Headers */, 791583231BD709D10084FC70 /* PNPrivateStructures.h in Headers */, A57A300F238D59B500DE8C68 /* PNAddPushNotificationsRequest.h in Headers */, A57A30AA238D78C400DE8C68 /* PNBaseNotificationPayload+Private.h in Headers */, 791583091BD709D10084FC70 /* PNClientInformation.h in Headers */, - A55A87C922FD8272002D0A72 /* PNDeleteUserRequest.h in Headers */, - A55A866D22FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h in Headers */, + A55A87C922FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h in Headers */, + A55A866D22FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h in Headers */, 79A0D9381DC230CC0039A264 /* PNStreamModificationAPICallBuilder.h in Headers */, 791583081BD709D10084FC70 /* PNSubscriberResults.h in Headers */, A56FAEF4233161570072ADD6 /* PubNub+MessageActions.h in Headers */, 791583061BD709D10084FC70 /* PubNub+ChannelGroup.h in Headers */, 791583481BD709D10084FC70 /* PubNub+CorePrivate.h in Headers */, + A5046E23247844E70008C81E /* PNSetMembershipsAPICallBuilder.h in Headers */, A5A7B0022349330F0060113B /* PNBaseMessageActionRequest+Private.h in Headers */, A5A7AFFB2349330F0060113B /* PNFetchMessageActionsRequest.h in Headers */, 7915832F1BD709D10084FC70 /* PNHeartbeatParser.h in Headers */, A55A885522FD8272002D0A72 /* PNFetchMembersRequest.h in Headers */, A57A3024238D59B500DE8C68 /* PNRemovePushNotificationsRequest.h in Headers */, - A55A86F022FD81E3002D0A72 /* PNCreateUserStatus.h in Headers */, A5A7B0102349330F0060113B /* PNAddMessageActionRequest.h in Headers */, 79A0D8901DC22F690039A264 /* PNAPNSAuditAPICallBuilder.h in Headers */, A56865EB230176760014E17C /* PNMembersParser.h in Headers */, - A55A87FA22FD8272002D0A72 /* PNManageSpaceDataRequest.h in Headers */, A55A877C22FD8272002D0A72 /* PNObjectsPaginatedRequest.h in Headers */, 7915832B1BD709D10084FC70 /* PNSubscribeParser.h in Headers */, A58975C423005BD80093BD9A /* PNMembership.h in Headers */, @@ -3759,19 +3777,19 @@ A57A308B238D751400DE8C68 /* PNMPNSNotificationPayload.h in Headers */, 791583111BD709D10084FC70 /* PNHistoryResult.h in Headers */, A57A30EB238DCAAF00DE8C68 /* PNAPNSNotificationTarget+Private.h in Headers */, - A55A881D22FD8272002D0A72 /* PNFetchSpacesRequest.h in Headers */, - A56865CB230173AA0014E17C /* PNObjectsDeleteParser.h in Headers */, + A55A881D22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h in Headers */, + A56865CB230173AA0014E17C /* PNObjectsRemoveParser.h in Headers */, 79A0D9621DC231040039A264 /* PNUnsubscribeChannelsOrGroupsAPICallBuilder.h in Headers */, 79A0D8781DC22F220039A264 /* PNAPICallBuilder.h in Headers */, 791583101BD709D10084FC70 /* PNConfiguration.h in Headers */, 7915830F1BD709D10084FC70 /* PNPublishStatus.h in Headers */, 79A0D8721DC22F080039A264 /* PNAPICallBuilder+Private.h in Headers */, A55A886A22FD8272002D0A72 /* PNManageMembershipsRequest.h in Headers */, - A55A883222FD8272002D0A72 /* PNDeleteSpaceRequest.h in Headers */, + A55A883222FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h in Headers */, 7915830D1BD709D10084FC70 /* PubNub+Presence.h in Headers */, 7915832A1BD709D10084FC70 /* PNReachability.h in Headers */, 791583121BD709D10084FC70 /* PubNub+History.h in Headers */, - A55A861222FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h in Headers */, + A55A861222FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h in Headers */, 7915830E1BD709D10084FC70 /* PubNub+Publish.h in Headers */, A55BCD27231D27F00019DB68 /* PNMessageAction+Private.h in Headers */, 791583361BD709D10084FC70 /* PNLeaveParser.h in Headers */, @@ -3783,10 +3801,10 @@ 791583131BD709D10084FC70 /* PNServiceData.h in Headers */, 791583401BD709D10084FC70 /* PNDictionary.h in Headers */, A5897584230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h in Headers */, - A55A874022FD825A002D0A72 /* PNUserDataChangeParser.h in Headers */, + A55A874022FD825A002D0A72 /* PNUUIDMetadataChangeParser.h in Headers */, A5A7AFD6234932F30060113B /* PNAddMessageActionParser.h in Headers */, 7915833D1BD709D10084FC70 /* PNSubscriber.h in Headers */, - A56865AB230172950014E17C /* PNFetchSpacesParser.h in Headers */, + A56865AB230172950014E17C /* PNFetchChannelsMetadataParser.h in Headers */, 7915832C1BD709D10084FC70 /* PNURLRequest.h in Headers */, 791583271BD709D10084FC70 /* PNURLBuilder.h in Headers */, 79A0D8CC1DC22FFA0039A264 /* PNPresenceWhereNowAPICallBuilder.h in Headers */, @@ -3796,21 +3814,20 @@ 7915831B1BD709D10084FC70 /* PNStructures.h in Headers */, 79650C361E775E9700006F66 /* PNLockSupport.h in Headers */, 79A0D9141DC230880039A264 /* PNStateModificationAPICallBuilder.h in Headers */, - A55A879F22FD8272002D0A72 /* PNCreateUserRequest.h in Headers */, - A55A865F22FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h in Headers */, - A55A86BA22FD817E002D0A72 /* PNSpace.h in Headers */, + A55A865F22FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h in Headers */, + A5A451A0246DE792008ECC74 /* PNRemoveMembershipsRequest.h in Headers */, + A55A86BA22FD817E002D0A72 /* PNChannelMetadata.h in Headers */, 791583191BD709D10084FC70 /* PNTimeResult.h in Headers */, - A55A86C122FD817E002D0A72 /* PNUser+Private.h in Headers */, + A55A86C122FD817E002D0A72 /* PNUUIDMetadata+Private.h in Headers */, 79A0D8C01DC22FD60039A264 /* PNPresenceChannelHereNowAPICallBuilder.h in Headers */, A57A30D3238DC7FF00DE8C68 /* PNAPNSNotificationConfiguration+Private.h in Headers */, 791583161BD709D10084FC70 /* PNErrorCodes.h in Headers */, A57A304E238D59B500DE8C68 /* PNBasePushNotificationsRequest.h in Headers */, - A55A881622FD8272002D0A72 /* PNCreateSpaceRequest.h in Headers */, 791583151BD709D10084FC70 /* PubNub+State.h in Headers */, 791583451BD709D10084FC70 /* PNConstants.h in Headers */, - A55A869E22FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h in Headers */, + A55A869E22FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h in Headers */, 79A0D9561DC230F90039A264 /* PNSubscribeChannelsOrGroupsAPIBuilder.h in Headers */, - A55A879822FD8272002D0A72 /* PNFetchUsersRequest.h in Headers */, + A55A879822FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h in Headers */, A5897574230014090093BD9A /* PNManageMembershipsAPICallBuilder.h in Headers */, 791583211BD709D10084FC70 /* PNHeartbeat.h in Headers */, 79A3E4112215699900F2ADB9 /* PNMessageCountAPICallBuilder.h in Headers */, @@ -3822,9 +3839,10 @@ A586A9EE2337E581008856D2 /* PNFetchMessageActionsResult.h in Headers */, A57A309B238D784A00DE8C68 /* PNBaseNotificationPayload.h in Headers */, 791583141BD709D10084FC70 /* PubNub+APNS.h in Headers */, - A55A878A22FD8272002D0A72 /* PNUpdateUserRequest.h in Headers */, - A55A863C22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h in Headers */, + A55A878A22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h in Headers */, + A55A863C22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h in Headers */, 7915832E1BD709D10084FC70 /* PNLogMacro.h in Headers */, + A5A45207246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.h in Headers */, A589756B22FEF0F70093BD9A /* PNBaseObjectsRequest+Private.h in Headers */, 79E2D0EF1C56434700BAA244 /* PNKeychain.h in Headers */, 79A0D8BA1DC22FC90039A264 /* PNPresenceChannelGroupHereNowAPICallBuilder.h in Headers */, @@ -3834,19 +3852,19 @@ A55BCCF8231D222B0019DB68 /* PNRemoveMessageActionAPICallBuilder.h in Headers */, 7915833C1BD709D10084FC70 /* PNChannel.h in Headers */, A55BCCE8231D21840019DB68 /* PNAddMessageActionAPICallBuilder.h in Headers */, - A55A872122FD81E3002D0A72 /* PNUpdateSpaceStatus.h in Headers */, + A55A872122FD81E3002D0A72 /* PNSetChannelMetadataStatus.h in Headers */, 791583281BD709D10084FC70 /* PNHelpers.h in Headers */, 7925DB891D3FFCAC00857C0D /* PNLLogger.h in Headers */, A5105B52238F027D00CB693D /* PNDate.h in Headers */, - A568659B230170690014E17C /* PNFetchUsersParser.h in Headers */, - A55A861922FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h in Headers */, + A568659B230170690014E17C /* PNFetchUUIDMetadataParser.h in Headers */, + A55A861922FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h in Headers */, 793887061BEAD4A700DCC662 /* PNNumber.h in Headers */, - A55A871A22FD81E3002D0A72 /* PNCreateSpaceStatus.h in Headers */, 791583351BD709D10084FC70 /* PNParser.h in Headers */, 79ABD8931F01636B007634E0 /* PNTelemetry.h in Headers */, 791583341BD709D10084FC70 /* PNString.h in Headers */, A57A30B4238DC6B600DE8C68 /* PNAPNSNotificationPayload.h in Headers */, 79A0D95C1DC230FE0039A264 /* PNUnsubscribeAPICallBuilder.h in Headers */, + A5046E312478471D0008C81E /* PNSetMembersRequest.h in Headers */, 7915831D1BD709D10084FC70 /* PNResult.h in Headers */, A57A306B238D6BCC00DE8C68 /* PNFCMNotificationPayload.h in Headers */, 7915831C1BD709D10084FC70 /* PNStatus.h in Headers */, @@ -3855,14 +3873,14 @@ A58975E323005CFB0093BD9A /* PNMembership+Private.h in Headers */, A5A7AFE4234932F30060113B /* PNRemoveMessageActionParser.h in Headers */, 79A0D89C1DC22F830039A264 /* PNAPNSModificationAPICallBuilder.h in Headers */, - A55A872822FD81E3002D0A72 /* PNFetchSpacesResult.h in Headers */, + A55A872822FD81E3002D0A72 /* PNFetchChannelsMetadataResult.h in Headers */, 791583371BD709D10084FC70 /* PNData.h in Headers */, 791583261BD709D10084FC70 /* PNGZIP.h in Headers */, 791583241BD709D10084FC70 /* PNJSON.h in Headers */, - A55A882422FD8272002D0A72 /* PNFetchSpaceRequest.h in Headers */, + A55A882422FD8272002D0A72 /* PNFetchChannelMetadataRequest.h in Headers */, A568658B2300729E0014E17C /* PNFetchMembersResult.h in Headers */, A568656B2300709F0014E17C /* PNFetchMembershipsResult.h in Headers */, - A55A868222FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h in Headers */, + A55A868222FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h in Headers */, A57A305B238D65A200DE8C68 /* PNNotificationsPayload.h in Headers */, 7915831E1BD709D10084FC70 /* PubNub.h in Headers */, 7915831F1BD709D10084FC70 /* PNAES.h in Headers */, @@ -3870,11 +3888,16 @@ 79A0D8841DC22F510039A264 /* PNAPNSAPICallBuilder.h in Headers */, A58975A4230014300093BD9A /* PNFetchMembersAPICallBuilder.h in Headers */, 79A0D8F61DC230460039A264 /* PNPublishSizeAPICallBuilder.h in Headers */, - A55A870522FD81E3002D0A72 /* PNUpdateUserStatus.h in Headers */, + A55A870522FD81E3002D0A72 /* PNSetUUIDMetadataStatus.h in Headers */, + A5A451ED246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h in Headers */, A5A7AFCF234932F30060113B /* PNFetchMessagesActionsParser.h in Headers */, A56865DB230175EC0014E17C /* PNMembershipsParser.h in Headers */, - A55A86C822FD817E002D0A72 /* PNUser.h in Headers */, + A5A4517C246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h in Headers */, + A5046E3B2478471D0008C81E /* PNSetMembershipsRequest.h in Headers */, + A55A86C822FD817E002D0A72 /* PNUUIDMetadata.h in Headers */, + A5A451BF246DE8C3008ECC74 /* PNRemoveMembersRequest.h in Headers */, A568657B230072810014E17C /* PNManageMembersStatus.h in Headers */, + CA01FE429AC108DE239E57B6 /* PNObjectsAPICallBuilder.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -3887,36 +3910,33 @@ 79A238D51D2E70BD00D080CD /* NSURLSessionConfiguration+PNConfiguration.h in Headers */, 798842461C18F15C003E8948 /* PNPresenceChannelGroupHereNowResult.h in Headers */, A57A30D6238DC7FF00DE8C68 /* PNAPNSNotificationConfiguration+Private.h in Headers */, - A55A860022FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h in Headers */, 798842A61C18F2D3003E8948 /* PNChannelGroupModificationParser.h in Headers */, A57A30C7238DC71800DE8C68 /* PNAPNSNotificationConfiguration.h in Headers */, A57A306E238D6BCC00DE8C68 /* PNFCMNotificationPayload.h in Headers */, 798842401C18F13C003E8948 /* PNChannelGroupClientStateResult.h in Headers */, 79A0D8C31DC22FD70039A264 /* PNPresenceChannelHereNowAPICallBuilder.h in Headers */, - A55A879B22FD8272002D0A72 /* PNFetchUsersRequest.h in Headers */, - A55A879422FD8272002D0A72 /* PNManageUserDataRequest.h in Headers */, + A55A879B22FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h in Headers */, A55BCCEB231D21840019DB68 /* PNAddMessageActionAPICallBuilder.h in Headers */, 798842AF1C18F2D5003E8948 /* PNPushNotificationsAuditParser.h in Headers */, 79A3E41D221569BA00F2ADB9 /* PNMessageCountResult.h in Headers */, - A55A881922FD8272002D0A72 /* PNCreateSpaceRequest.h in Headers */, 798842471C18F160003E8948 /* PNPresenceChannelHereNowResult.h in Headers */, 79A0D8931DC22F6A0039A264 /* PNAPNSAuditAPICallBuilder.h in Headers */, - A55A880422FD8272002D0A72 /* PNUpdateSpaceRequest.h in Headers */, + A55A880422FD8272002D0A72 /* PNSetChannelMetadataRequest.h in Headers */, A568656E2300709F0014E17C /* PNFetchMembershipsResult.h in Headers */, - A55A872422FD81E3002D0A72 /* PNUpdateSpaceStatus.h in Headers */, + A55A872422FD81E3002D0A72 /* PNSetChannelMetadataStatus.h in Headers */, A58975E623005CFB0093BD9A /* PNMembership+Private.h in Headers */, 798842481C18F166003E8948 /* PNPresenceGlobalHereNowResult.h in Headers */, - A55A86C422FD817E002D0A72 /* PNUser+Private.h in Headers */, - A55A870822FD81E3002D0A72 /* PNUpdateUserStatus.h in Headers */, + A55A86C422FD817E002D0A72 /* PNUUIDMetadata+Private.h in Headers */, + A55A870822FD81E3002D0A72 /* PNSetUUIDMetadataStatus.h in Headers */, 7988423F1C18F132003E8948 /* PNChannelGroupChannelsResult.h in Headers */, 798842A51C18F2D3003E8948 /* PNChannelGroupAuditionParser.h in Headers */, 79650C331E775E9300006F66 /* PNDefines.h in Headers */, - A55A867E22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h in Headers */, 7988423D1C18F128003E8948 /* PNAPNSEnabledChannelsResult.h in Headers */, A57A3027238D59B500DE8C68 /* PNRemovePushNotificationsRequest.h in Headers */, A5A7AFD2234932F30060113B /* PNFetchMessagesActionsParser.h in Headers */, - A55A861522FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h in Headers */, + A55A861522FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h in Headers */, 79A0D8871DC22F520039A264 /* PNAPNSAPICallBuilder.h in Headers */, + A5A451C1246DE8C3008ECC74 /* PNRemoveMembersRequest.h in Headers */, 7988429C1C18F2BC003E8948 /* PNNetworkResponseSerializer.h in Headers */, 7988423E1C18F12E003E8948 /* PNChannelClientStateResult.h in Headers */, 79E20D291C8AEFF4001BC9CC /* PNSubscribeStatus+Private.h in Headers */, @@ -3929,12 +3949,11 @@ 798842AE1C18F2D5003E8948 /* PNPresenceWhereNowParser.h in Headers */, A5A7B0132349330F0060113B /* PNAddMessageActionRequest.h in Headers */, A55BCCFB231D222B0019DB68 /* PNRemoveMessageActionAPICallBuilder.h in Headers */, - A55A86F322FD81E3002D0A72 /* PNCreateUserStatus.h in Headers */, 7960B6691F68122200FFAEBB /* PNDeleteMessageAPICallBuilder.h in Headers */, A57A308E238D751400DE8C68 /* PNMPNSNotificationPayload.h in Headers */, A5A7AFFE2349330F0060113B /* PNFetchMessageActionsRequest.h in Headers */, 798842491C18F16A003E8948 /* PNPresenceWhereNowResult.h in Headers */, - A55A864622FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h in Headers */, + A55A864622FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h in Headers */, 798842AD1C18F2D5003E8948 /* PNPresenceHereNowParser.h in Headers */, 79A0D9591DC230FA0039A264 /* PNSubscribeChannelsOrGroupsAPIBuilder.h in Headers */, 7988422A1C18F07B003E8948 /* PubNub+SubscribePrivate.h in Headers */, @@ -3943,20 +3962,21 @@ A56FAEF7233161570072ADD6 /* PubNub+MessageActions.h in Headers */, 7988423C1C18F124003E8948 /* PNAcknowledgmentStatus.h in Headers */, 79A0D8C91DC22FEB0039A264 /* PNPresenceHereNowAPICallBuilder.h in Headers */, - A55A861C22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h in Headers */, - A55A86E522FD81E3002D0A72 /* PNFetchUsersResult.h in Headers */, + A55A861C22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h in Headers */, + A55A86E522FD81E3002D0A72 /* PNFetchUUIDMetadataResult.h in Headers */, 798842291C18F071003E8948 /* PubNub+PresencePrivate.h in Headers */, - A55A86BD22FD817E002D0A72 /* PNSpace.h in Headers */, + A55A86BD22FD817E002D0A72 /* PNChannelMetadata.h in Headers */, 798842AC1C18F2D4003E8948 /* PNMessagePublishParser.h in Headers */, 798842411C18F140003E8948 /* PNChannelGroupsResult.h in Headers */, 79A0D9841DC2314D0039A264 /* PNTimeAPICallBuilder.h in Headers */, + A5046E3D2478471D0008C81E /* PNSetMembershipsRequest.h in Headers */, 79A0D9531DC230F60039A264 /* PNSubscribeAPIBuilder.h in Headers */, 7988424D1C18F17F003E8948 /* PNServiceData+Private.h in Headers */, - A56865BE230173030014E17C /* PNSpaceDataChangeParser.h in Headers */, - 7988427D1C18F26E003E8948 /* PNObjectEventListener.h in Headers */, + A56865BE230173030014E17C /* PNChannelMetadataChangeParser.h in Headers */, + 7988427D1C18F26E003E8948 /* PNEventsListener.h in Headers */, 798842431C18F14E003E8948 /* PNErrorStatus+Private.h in Headers */, A57A30AD238D78C400DE8C68 /* PNBaseNotificationPayload+Private.h in Headers */, - A55A874322FD825A002D0A72 /* PNUserDataChangeParser.h in Headers */, + A55A874322FD825A002D0A72 /* PNUUIDMetadataChangeParser.h in Headers */, A55BCD1B231D26110019DB68 /* PNMessageAction.h in Headers */, 7925DB9A1D3FFCAC00857C0D /* PNLLogFileInformation.h in Headers */, A52DC1EB2307E10B001F20B0 /* NSDateFormatter+PNCacheable.h in Headers */, @@ -3964,35 +3984,38 @@ 79650C391E775E9800006F66 /* PNLockSupport.h in Headers */, 79E20D1B1C8AEC4C001BC9CC /* PNEnvelopeInformation.h in Headers */, A568658E2300729E0014E17C /* PNFetchMembersResult.h in Headers */, - A55A882022FD8272002D0A72 /* PNFetchSpacesRequest.h in Headers */, + A55A882022FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h in Headers */, 798842A71C18F2D3003E8948 /* PNClientStateParser.h in Headers */, - A56865CE230173AA0014E17C /* PNObjectsDeleteParser.h in Headers */, + A56865CE230173AA0014E17C /* PNObjectsRemoveParser.h in Headers */, 79A0D8F91DC230470039A264 /* PNPublishSizeAPICallBuilder.h in Headers */, 79A3E42D221569DA00F2ADB9 /* PNMessageCountParser.h in Headers */, + A5046E1B247844E70008C81E /* PNSetMembersAPICallBuilder.h in Headers */, + A5A45209246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.h in Headers */, 7988429E1C18F2BD003E8948 /* PNRequestParameters.h in Headers */, 793248631D874D9F00FBDF36 /* PNPublishSequence.h in Headers */, - A55A882722FD8272002D0A72 /* PNFetchSpaceRequest.h in Headers */, + A55A882722FD8272002D0A72 /* PNFetchChannelMetadataRequest.h in Headers */, 7988427B1C18F263003E8948 /* PNPrivateStructures.h in Headers */, 7988422F1C18F098003E8948 /* PubNub+ChannelGroup.h in Headers */, 79A0D9391DC230CC0039A264 /* PNStreamModificationAPICallBuilder.h in Headers */, A56865652300622C0014E17C /* PNMember+Private.h in Headers */, A55BCD2A231D27F00019DB68 /* PNMessageAction+Private.h in Headers */, - A55A872B22FD81E3002D0A72 /* PNFetchSpacesResult.h in Headers */, + A55A872B22FD81E3002D0A72 /* PNFetchChannelsMetadataResult.h in Headers */, 798842761C18F205003E8948 /* PNSubscriberResults.h in Headers */, - A55A86A122FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h in Headers */, + A55A86A122FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h in Headers */, A5A7B02F2349330F0060113B /* PNRemoveMessageActionRequest.h in Headers */, 798842351C18F0FB003E8948 /* PNClientInformation.h in Headers */, 79A0D9111DC230770039A264 /* PNStateAuditAPICallBuilder.h in Headers */, 798842301C18F0A2003E8948 /* PubNub+CorePrivate.h in Headers */, - A55A86CB22FD817E002D0A72 /* PNUser.h in Headers */, + A55A86CB22FD817E002D0A72 /* PNUUIDMetadata.h in Headers */, A56865EE230176760014E17C /* PNMembersParser.h in Headers */, A55CA6A22397389100B24E02 /* PNKeychain+Private.h in Headers */, 798842B21C18F2D6003E8948 /* PNSubscribeParser.h in Headers */, 798842A91C18F2D4003E8948 /* PNHeartbeatParser.h in Headers */, 798842771C18F208003E8948 /* PNSubscribeStatus.h in Headers */, - A55A867022FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h in Headers */, + A55A867022FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h in Headers */, 79A0D87B1DC22F230039A264 /* PNAPICallBuilder.h in Headers */, 79F85804219640CA00BFD0B1 /* PNClientStateGetResult.h in Headers */, + A5046E332478471D0008C81E /* PNSetMembersRequest.h in Headers */, 7988424B1C18F173003E8948 /* PNResult+Private.h in Headers */, 79A0D89F1DC22F850039A264 /* PNAPNSModificationAPICallBuilder.h in Headers */, A57A30F6238DDCA300DE8C68 /* PNAPNSNotificationPayload+Private.h in Headers */, @@ -4005,37 +4028,37 @@ A55A885822FD8272002D0A72 /* PNFetchMembersRequest.h in Headers */, A57A30B7238DC6B600DE8C68 /* PNAPNSNotificationPayload.h in Headers */, 7988423A1C18F116003E8948 /* PNStateListener.h in Headers */, - A55A868522FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h in Headers */, + A55A868522FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h in Headers */, A5897577230014090093BD9A /* PNManageMembershipsAPICallBuilder.h in Headers */, 798842AA1C18F2D4003E8948 /* PNHistoryParser.h in Headers */, 798842451C18F157003E8948 /* PNHistoryResult.h in Headers */, - A55A87FD22FD8272002D0A72 /* PNManageSpaceDataRequest.h in Headers */, A57A3051238D59B500DE8C68 /* PNBasePushNotificationsRequest.h in Headers */, + A5A451A2246DE792008ECC74 /* PNRemoveMembershipsRequest.h in Headers */, A58975B723005AAC0093BD9A /* PNManageMembershipsStatus.h in Headers */, 7988424A1C18F16E003E8948 /* PNPublishStatus.h in Headers */, 7988422D1C18F08D003E8948 /* PubNub+Publish.h in Headers */, 7988429D1C18F2BD003E8948 /* PNReachability.h in Headers */, 7988422B1C18F081003E8948 /* PubNub+History.h in Headers */, + A5A451EF246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h in Headers */, 798842381C18F10D003E8948 /* PNClientState.h in Headers */, 798842A81C18F2D3003E8948 /* PNErrorParser.h in Headers */, - A568659E230170690014E17C /* PNFetchUsersParser.h in Headers */, + A568659E230170690014E17C /* PNFetchUUIDMetadataParser.h in Headers */, 798842441C18F151003E8948 /* PNErrorStatus.h in Headers */, - A55A883522FD8272002D0A72 /* PNDeleteSpaceRequest.h in Headers */, + A55A883522FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h in Headers */, 798842AB1C18F2D4003E8948 /* PNLeaveParser.h in Headers */, A57A305E238D65A200DE8C68 /* PNNotificationsPayload.h in Headers */, A5A7B0362349330F0060113B /* PNBaseMessageActionRequest.h in Headers */, 7988424E1C18F182003E8948 /* PNServiceData.h in Headers */, A55A886622FD8272002D0A72 /* PNFetchMembershipsRequest.h in Headers */, 79A0D9351DC230BD0039A264 /* PNStreamAuditAPICallBuilder.h in Headers */, - A55A87A222FD8272002D0A72 /* PNCreateUserRequest.h in Headers */, - A55A87CC22FD8272002D0A72 /* PNDeleteUserRequest.h in Headers */, + A55A87CC22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h in Headers */, 798842891C18F287003E8948 /* PNURLRequest.h in Headers */, 79A0D8B71DC22FBC0039A264 /* PNPresenceAPICallBuilder.h in Headers */, A5105B55238F027D00CB693D /* PNDate.h in Headers */, 7988422E1C18F092003E8948 /* PubNub+State.h in Headers */, 798842781C18F20C003E8948 /* PNTimeResult.h in Headers */, A5A7AFE7234932F30060113B /* PNRemoveMessageActionParser.h in Headers */, - A55A87B022FD8272002D0A72 /* PNFetchUserRequest.h in Headers */, + A55A87B022FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h in Headers */, A57A3012238D59B500DE8C68 /* PNAddPushNotificationsRequest.h in Headers */, 798842841C18F286003E8948 /* PNDictionary.h in Headers */, A5A7AFD9234932F30060113B /* PNAddMessageActionParser.h in Headers */, @@ -4051,12 +4074,13 @@ A589756E22FEF0F70093BD9A /* PNBaseObjectsRequest+Private.h in Headers */, 7988429F1C18F2BD003E8948 /* PNURLBuilder.h in Headers */, 79A0D9181DC2308A0039A264 /* PNStateModificationAPICallBuilder.h in Headers */, - A55A86B622FD817E002D0A72 /* PNSpace+Private.h in Headers */, + A55A86B622FD817E002D0A72 /* PNChannelMetadata+Private.h in Headers */, 798842391C18F111003E8948 /* PNHeartbeat.h in Headers */, 798842331C18F0B3003E8948 /* PubNub+Time.h in Headers */, 798842791C18F255003E8948 /* PNConstants.h in Headers */, A55A888922FD8272002D0A72 /* PNRequest+Private.h in Headers */, 798842281C18F02F003E8948 /* PubNub+APNS.h in Headers */, + A5A4517E246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h in Headers */, 79A0D8751DC22F0A0039A264 /* PNAPICallBuilder+Private.h in Headers */, 798842311C18F0A6003E8948 /* PubNub+Core.h in Headers */, 7988429A1C18F2AD003E8948 /* PNLogMacro.h in Headers */, @@ -4066,27 +4090,28 @@ A55A87E122FD8272002D0A72 /* PNBaseObjectsRequest.h in Headers */, 798842861C18F286003E8948 /* PNHelpers.h in Headers */, A57A30EE238DCAAF00DE8C68 /* PNAPNSNotificationTarget+Private.h in Headers */, + A5046E25247844E70008C81E /* PNSetMembershipsAPICallBuilder.h in Headers */, 798842811C18F286003E8948 /* PNChannel.h in Headers */, A5897587230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h in Headers */, A55A877F22FD8272002D0A72 /* PNObjectsPaginatedRequest.h in Headers */, 79A0D8BD1DC22FCA0039A264 /* PNPresenceChannelGroupHereNowAPICallBuilder.h in Headers */, 79A0D9651DC231050039A264 /* PNUnsubscribeChannelsOrGroupsAPICallBuilder.h in Headers */, - A56865AE230172950014E17C /* PNFetchSpacesParser.h in Headers */, + A56865AE230172950014E17C /* PNFetchChannelsMetadataParser.h in Headers */, 7925DB8C1D3FFCAC00857C0D /* PNLLogger.h in Headers */, 79A3E4142215699900F2ADB9 /* PNMessageCountAPICallBuilder.h in Headers */, - A55A866222FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h in Headers */, + A55A866222FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h in Headers */, 79ABD8961F01636B007634E0 /* PNTelemetry.h in Headers */, 7988427F1C18F286003E8948 /* PNNumber.h in Headers */, - A55A878D22FD8272002D0A72 /* PNUpdateUserRequest.h in Headers */, + A55A878D22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h in Headers */, 7988427E1C18F272003E8948 /* PNParser.h in Headers */, 797D607622D2E44000E64C94 /* PNSignalStatus.h in Headers */, A5897597230014220093BD9A /* PNManageMembersAPICallBuilder.h in Headers */, - A55A871D22FD81E3002D0A72 /* PNCreateSpaceStatus.h in Headers */, 798842751C18F1FE003E8948 /* PNStatus.h in Headers */, A55A886D22FD8272002D0A72 /* PNManageMembershipsRequest.h in Headers */, - A55A863F22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h in Headers */, + A55A863F22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h in Headers */, 798842881C18F287003E8948 /* PNString.h in Headers */, 7988424C1C18F179003E8948 /* PNResult.h in Headers */, + A5A4518A246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h in Headers */, A55BCD0B231D22400019DB68 /* PNFetchMessagesActionsAPICallBuilder.h in Headers */, 79A0D95F1DC230FF0039A264 /* PNUnsubscribeAPICallBuilder.h in Headers */, 79A0D90B1DC230680039A264 /* PNStateAPICallBuilder.h in Headers */, @@ -4100,6 +4125,7 @@ 798842341C18F0F6003E8948 /* PNAES.h in Headers */, A55A887B22FD8272002D0A72 /* PNManageMembersRequest.h in Headers */, A57A3020238D59B500DE8C68 /* PNAuditPushNotificationsRequest.h in Headers */, + CA01F1C4DDB41BF0E6E1DCB3 /* PNObjectsAPICallBuilder.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -4118,17 +4144,14 @@ A55A886222FD8272002D0A72 /* PNFetchMembershipsRequest.h in Headers */, A56865612300622C0014E17C /* PNMember+Private.h in Headers */, 79A8BCBA1C58F93900015BDE /* PNChannelGroupModificationParser.h in Headers */, - A55A85FC22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h in Headers */, A57A3038238D59B500DE8C68 /* PNRemoveAllPushNotificationsRequest.h in Headers */, 79A8BC6A1C58F93900015BDE /* PNChannelGroupClientStateResult.h in Headers */, - A55A86E122FD81E3002D0A72 /* PNFetchUsersResult.h in Headers */, + A55A86E122FD81E3002D0A72 /* PNFetchUUIDMetadataResult.h in Headers */, 79A8BC771C58F93900015BDE /* PNPushNotificationsAuditParser.h in Headers */, 79A8BC691C58F93900015BDE /* PNPresenceChannelHereNowResult.h in Headers */, - A55A879022FD8272002D0A72 /* PNManageUserDataRequest.h in Headers */, 79A8BC6B1C58F93900015BDE /* PNPresenceGlobalHereNowResult.h in Headers */, 79A8BCB81C58F93900015BDE /* PNChannelGroupAuditionParser.h in Headers */, 79A8BC6C1C58F93900015BDE /* PNChannelGroupChannelsResult.h in Headers */, - A55A867A22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h in Headers */, 79F90F1B1FDEC1C6007132A3 /* PNPresenceHeartbeatAPICallBuilder.h in Headers */, A57A30F2238DDCA300DE8C68 /* PNAPNSNotificationPayload+Private.h in Headers */, 79A8BC9F1C58F93900015BDE /* PNNetworkResponseSerializer.h in Headers */, @@ -4139,14 +4162,14 @@ 79E20D251C8AEFF1001BC9CC /* PNSubscribeStatus+Private.h in Headers */, 79A8BC701C58F93900015BDE /* PNClientStateUpdateStatus.h in Headers */, 79A8BCAD1C58F93900015BDE /* PNPresenceWhereNowParser.h in Headers */, - A55A86B222FD817E002D0A72 /* PNSpace+Private.h in Headers */, + A55A86B222FD817E002D0A72 /* PNChannelMetadata+Private.h in Headers */, 79A0D8B31DC22FBB0039A264 /* PNPresenceAPICallBuilder.h in Headers */, 79A8BC6E1C58F93900015BDE /* PNPresenceWhereNowResult.h in Headers */, 79A8BCBB1C58F93900015BDE /* PNPresenceHereNowParser.h in Headers */, A52DC1E72307E10B001F20B0 /* NSDateFormatter+PNCacheable.h in Headers */, A55BCCA32319243F0019DB68 /* PNAddMessageActionStatus.h in Headers */, 79A8BCB91C58F93900015BDE /* PubNub+SubscribePrivate.h in Headers */, - A55A87AC22FD8272002D0A72 /* PNFetchUserRequest.h in Headers */, + A55A87AC22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h in Headers */, 79A8BCAC1C58F93900015BDE /* PubNub+PresencePrivate.h in Headers */, 79A8BCA91C58F93900015BDE /* PNMessagePublishParser.h in Headers */, 79A8BC711C58F93900015BDE /* PNAcknowledgmentStatus.h in Headers */, @@ -4155,14 +4178,15 @@ 79A0D90D1DC230760039A264 /* PNStateAuditAPICallBuilder.h in Headers */, 79A8BC9E1C58F93900015BDE /* PNServiceData+Private.h in Headers */, 797D605B22D2E41100E64C94 /* PNSignalAPICallBuilder.h in Headers */, - A56865BA230173030014E17C /* PNSpaceDataChangeParser.h in Headers */, + A56865BA230173030014E17C /* PNChannelMetadataChangeParser.h in Headers */, A57A30DB238DC87400DE8C68 /* PNAPNSNotificationTarget.h in Headers */, - 79A8BC741C58F93900015BDE /* PNObjectEventListener.h in Headers */, + 79A8BC741C58F93900015BDE /* PNEventsListener.h in Headers */, 79A8BC721C58F93900015BDE /* PNChannelGroupsResult.h in Headers */, A55CA69E2397389100B24E02 /* PNKeychain+Private.h in Headers */, - A55A864222FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h in Headers */, + A55A864222FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h in Headers */, + A5046E18247844E70008C81E /* PNSetMembersAPICallBuilder.h in Headers */, 79E20D171C8AEC43001BC9CC /* PNEnvelopeInformation.h in Headers */, - A55A880022FD8272002D0A72 /* PNUpdateSpaceRequest.h in Headers */, + A55A880022FD8272002D0A72 /* PNSetChannelMetadataRequest.h in Headers */, A5897593230014220093BD9A /* PNManageMembersAPICallBuilder.h in Headers */, A55A85D222FD8078002D0A72 /* PubNub+Objects.h in Headers */, 7925DB961D3FFCAC00857C0D /* PNLLogFileInformation.h in Headers */, @@ -4172,28 +4196,28 @@ 79A8BCA71C58F93900015BDE /* PNRequestParameters.h in Headers */, 79A3E419221569BA00F2ADB9 /* PNMessageCountResult.h in Headers */, 79A0D9071DC230670039A264 /* PNStateAPICallBuilder.h in Headers */, + A5A45187246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h in Headers */, 79A3E429221569DA00F2ADB9 /* PNMessageCountParser.h in Headers */, 79A8BC901C58F93900015BDE /* PNPrivateStructures.h in Headers */, A57A300E238D59B500DE8C68 /* PNAddPushNotificationsRequest.h in Headers */, A57A30A9238D78C400DE8C68 /* PNBaseNotificationPayload+Private.h in Headers */, 79A8BC761C58F93900015BDE /* PNClientInformation.h in Headers */, - A55A87C822FD8272002D0A72 /* PNDeleteUserRequest.h in Headers */, - A55A866C22FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h in Headers */, + A55A87C822FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h in Headers */, + A55A866C22FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h in Headers */, 79A0D9371DC230CB0039A264 /* PNStreamModificationAPICallBuilder.h in Headers */, 79A8BC751C58F93900015BDE /* PNSubscriberResults.h in Headers */, A56FAEF3233161570072ADD6 /* PubNub+MessageActions.h in Headers */, 79A8BC731C58F93900015BDE /* PubNub+ChannelGroup.h in Headers */, 79A8BCB71C58F93900015BDE /* PubNub+CorePrivate.h in Headers */, + A5046E22247844E70008C81E /* PNSetMembershipsAPICallBuilder.h in Headers */, A5A7B0012349330F0060113B /* PNBaseMessageActionRequest+Private.h in Headers */, A5A7AFFA2349330F0060113B /* PNFetchMessageActionsRequest.h in Headers */, 79A8BC9D1C58F93900015BDE /* PNHeartbeatParser.h in Headers */, A55A885422FD8272002D0A72 /* PNFetchMembersRequest.h in Headers */, A57A3023238D59B500DE8C68 /* PNRemovePushNotificationsRequest.h in Headers */, - A55A86EF22FD81E3002D0A72 /* PNCreateUserStatus.h in Headers */, A5A7B00F2349330F0060113B /* PNAddMessageActionRequest.h in Headers */, 79A0D88F1DC22F690039A264 /* PNAPNSAuditAPICallBuilder.h in Headers */, A56865EA230176760014E17C /* PNMembersParser.h in Headers */, - A55A87F922FD8272002D0A72 /* PNManageSpaceDataRequest.h in Headers */, A55A877B22FD8272002D0A72 /* PNObjectsPaginatedRequest.h in Headers */, 79A8BC991C58F93900015BDE /* PNSubscribeParser.h in Headers */, A58975C323005BD80093BD9A /* PNMembership.h in Headers */, @@ -4210,19 +4234,19 @@ A57A308A238D751400DE8C68 /* PNMPNSNotificationPayload.h in Headers */, 79A8BC7E1C58F93900015BDE /* PNHistoryResult.h in Headers */, A57A30EA238DCAAF00DE8C68 /* PNAPNSNotificationTarget+Private.h in Headers */, - A55A881C22FD8272002D0A72 /* PNFetchSpacesRequest.h in Headers */, - A56865CA230173AA0014E17C /* PNObjectsDeleteParser.h in Headers */, + A55A881C22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h in Headers */, + A56865CA230173AA0014E17C /* PNObjectsRemoveParser.h in Headers */, 79A0D9611DC231030039A264 /* PNUnsubscribeChannelsOrGroupsAPICallBuilder.h in Headers */, 79A0D8771DC22F220039A264 /* PNAPICallBuilder.h in Headers */, 79A8BC7D1C58F93900015BDE /* PNConfiguration.h in Headers */, 79A8BC7C1C58F93900015BDE /* PNPublishStatus.h in Headers */, 79A0D8711DC22F070039A264 /* PNAPICallBuilder+Private.h in Headers */, A55A886922FD8272002D0A72 /* PNManageMembershipsRequest.h in Headers */, - A55A883122FD8272002D0A72 /* PNDeleteSpaceRequest.h in Headers */, + A55A883122FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h in Headers */, 79A8BC7A1C58F93900015BDE /* PubNub+Presence.h in Headers */, 79A8BC981C58F93900015BDE /* PNReachability.h in Headers */, 79A8BC7F1C58F93900015BDE /* PubNub+History.h in Headers */, - A55A861122FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h in Headers */, + A55A861122FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h in Headers */, 79A8BC7B1C58F93900015BDE /* PubNub+Publish.h in Headers */, A55BCD26231D27F00019DB68 /* PNMessageAction+Private.h in Headers */, 79A8BCA41C58F93900015BDE /* PNLeaveParser.h in Headers */, @@ -4234,10 +4258,10 @@ 79A8BC801C58F93900015BDE /* PNServiceData.h in Headers */, 79A8BCAF1C58F93900015BDE /* PNDictionary.h in Headers */, A5897583230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h in Headers */, - A55A873F22FD825A002D0A72 /* PNUserDataChangeParser.h in Headers */, + A55A873F22FD825A002D0A72 /* PNUUIDMetadataChangeParser.h in Headers */, A5A7AFD5234932F30060113B /* PNAddMessageActionParser.h in Headers */, 79A8BCAB1C58F93900015BDE /* PNSubscriber.h in Headers */, - A56865AA230172950014E17C /* PNFetchSpacesParser.h in Headers */, + A56865AA230172950014E17C /* PNFetchChannelsMetadataParser.h in Headers */, 79A8BC9A1C58F93900015BDE /* PNURLRequest.h in Headers */, 79A8BC951C58F93900015BDE /* PNURLBuilder.h in Headers */, 79A0D8CB1DC22FF90039A264 /* PNPresenceWhereNowAPICallBuilder.h in Headers */, @@ -4247,21 +4271,20 @@ 79A8BC881C58F93900015BDE /* PNStructures.h in Headers */, 79650C351E775E9700006F66 /* PNLockSupport.h in Headers */, 79A0D9131DC230880039A264 /* PNStateModificationAPICallBuilder.h in Headers */, - A55A879E22FD8272002D0A72 /* PNCreateUserRequest.h in Headers */, - A55A865E22FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h in Headers */, - A55A86B922FD817E002D0A72 /* PNSpace.h in Headers */, + A55A865E22FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h in Headers */, + A5A4519F246DE792008ECC74 /* PNRemoveMembershipsRequest.h in Headers */, + A55A86B922FD817E002D0A72 /* PNChannelMetadata.h in Headers */, 79A8BC861C58F93900015BDE /* PNTimeResult.h in Headers */, - A55A86C022FD817E002D0A72 /* PNUser+Private.h in Headers */, + A55A86C022FD817E002D0A72 /* PNUUIDMetadata+Private.h in Headers */, 79A0D8BF1DC22FD60039A264 /* PNPresenceChannelHereNowAPICallBuilder.h in Headers */, A57A30D2238DC7FF00DE8C68 /* PNAPNSNotificationConfiguration+Private.h in Headers */, 79A8BC831C58F93900015BDE /* PNErrorCodes.h in Headers */, A57A304D238D59B500DE8C68 /* PNBasePushNotificationsRequest.h in Headers */, - A55A881522FD8272002D0A72 /* PNCreateSpaceRequest.h in Headers */, 79A8BC821C58F93900015BDE /* PubNub+State.h in Headers */, 79A8BCB41C58F93900015BDE /* PNConstants.h in Headers */, - A55A869D22FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h in Headers */, + A55A869D22FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h in Headers */, 79A0D9551DC230F90039A264 /* PNSubscribeChannelsOrGroupsAPIBuilder.h in Headers */, - A55A879722FD8272002D0A72 /* PNFetchUsersRequest.h in Headers */, + A55A879722FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h in Headers */, A5897573230014090093BD9A /* PNManageMembershipsAPICallBuilder.h in Headers */, 79A8BC8E1C58F93900015BDE /* PNHeartbeat.h in Headers */, 79A3E4102215699900F2ADB9 /* PNMessageCountAPICallBuilder.h in Headers */, @@ -4273,9 +4296,10 @@ A586A9ED2337E581008856D2 /* PNFetchMessageActionsResult.h in Headers */, A57A309A238D784A00DE8C68 /* PNBaseNotificationPayload.h in Headers */, 79A8BC811C58F93900015BDE /* PubNub+APNS.h in Headers */, - A55A878922FD8272002D0A72 /* PNUpdateUserRequest.h in Headers */, - A55A863B22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h in Headers */, + A55A878922FD8272002D0A72 /* PNSetUUIDMetadataRequest.h in Headers */, + A55A863B22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h in Headers */, 79A8BC9C1C58F93900015BDE /* PNLogMacro.h in Headers */, + A5A45206246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.h in Headers */, A589756A22FEF0F70093BD9A /* PNBaseObjectsRequest+Private.h in Headers */, 79A8BC941C58F93900015BDE /* PNKeychain.h in Headers */, 79A0D8B91DC22FC80039A264 /* PNPresenceChannelGroupHereNowAPICallBuilder.h in Headers */, @@ -4285,19 +4309,19 @@ A55BCCF7231D222B0019DB68 /* PNRemoveMessageActionAPICallBuilder.h in Headers */, 79A8BCAA1C58F93900015BDE /* PNChannel.h in Headers */, A55BCCE7231D21840019DB68 /* PNAddMessageActionAPICallBuilder.h in Headers */, - A55A872022FD81E3002D0A72 /* PNUpdateSpaceStatus.h in Headers */, + A55A872022FD81E3002D0A72 /* PNSetChannelMetadataStatus.h in Headers */, 79A8BC961C58F93900015BDE /* PNHelpers.h in Headers */, 7925DB881D3FFCAC00857C0D /* PNLLogger.h in Headers */, A5105B51238F027D00CB693D /* PNDate.h in Headers */, - A568659A230170690014E17C /* PNFetchUsersParser.h in Headers */, - A55A861822FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h in Headers */, + A568659A230170690014E17C /* PNFetchUUIDMetadataParser.h in Headers */, + A55A861822FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h in Headers */, 79A8BCAE1C58F93900015BDE /* PNNumber.h in Headers */, - A55A871922FD81E3002D0A72 /* PNCreateSpaceStatus.h in Headers */, 79A8BCA31C58F93900015BDE /* PNParser.h in Headers */, 79ABD8921F01636B007634E0 /* PNTelemetry.h in Headers */, 79A8BCA21C58F93900015BDE /* PNString.h in Headers */, A57A30B3238DC6B600DE8C68 /* PNAPNSNotificationPayload.h in Headers */, 79A0D95B1DC230FE0039A264 /* PNUnsubscribeAPICallBuilder.h in Headers */, + A5046E302478471D0008C81E /* PNSetMembersRequest.h in Headers */, 79A8BC8A1C58F93900015BDE /* PNResult.h in Headers */, A57A306A238D6BCC00DE8C68 /* PNFCMNotificationPayload.h in Headers */, 79A8BC891C58F93900015BDE /* PNStatus.h in Headers */, @@ -4306,14 +4330,14 @@ A58975E223005CFB0093BD9A /* PNMembership+Private.h in Headers */, A5A7AFE3234932F30060113B /* PNRemoveMessageActionParser.h in Headers */, 79A0D89B1DC22F830039A264 /* PNAPNSModificationAPICallBuilder.h in Headers */, - A55A872722FD81E3002D0A72 /* PNFetchSpacesResult.h in Headers */, + A55A872722FD81E3002D0A72 /* PNFetchChannelsMetadataResult.h in Headers */, 79A8BCA51C58F93900015BDE /* PNData.h in Headers */, 79A8BC931C58F93900015BDE /* PNGZIP.h in Headers */, 79A8BC911C58F93900015BDE /* PNJSON.h in Headers */, - A55A882322FD8272002D0A72 /* PNFetchSpaceRequest.h in Headers */, + A55A882322FD8272002D0A72 /* PNFetchChannelMetadataRequest.h in Headers */, A568658A2300729E0014E17C /* PNFetchMembersResult.h in Headers */, A568656A2300709F0014E17C /* PNFetchMembershipsResult.h in Headers */, - A55A868122FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h in Headers */, + A55A868122FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h in Headers */, A57A305A238D65A200DE8C68 /* PNNotificationsPayload.h in Headers */, 79A8BC8B1C58F93900015BDE /* PubNub.h in Headers */, 79A8BC8C1C58F93900015BDE /* PNAES.h in Headers */, @@ -4321,11 +4345,16 @@ 79A0D8831DC22F500039A264 /* PNAPNSAPICallBuilder.h in Headers */, A58975A3230014300093BD9A /* PNFetchMembersAPICallBuilder.h in Headers */, 79A0D8F51DC230450039A264 /* PNPublishSizeAPICallBuilder.h in Headers */, - A55A870422FD81E3002D0A72 /* PNUpdateUserStatus.h in Headers */, + A55A870422FD81E3002D0A72 /* PNSetUUIDMetadataStatus.h in Headers */, + A5A451EC246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h in Headers */, A5A7AFCE234932F30060113B /* PNFetchMessagesActionsParser.h in Headers */, A56865DA230175EC0014E17C /* PNMembershipsParser.h in Headers */, - A55A86C722FD817E002D0A72 /* PNUser.h in Headers */, + A5A4517B246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h in Headers */, + A5046E3A2478471D0008C81E /* PNSetMembershipsRequest.h in Headers */, + A55A86C722FD817E002D0A72 /* PNUUIDMetadata.h in Headers */, + A5A451BE246DE8C3008ECC74 /* PNRemoveMembersRequest.h in Headers */, A568657A230072810014E17C /* PNManageMembersStatus.h in Headers */, + CA01FEB0C051AAFDD41B5E93 /* PNObjectsAPICallBuilder.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -4344,17 +4373,14 @@ A55A886422FD8272002D0A72 /* PNFetchMembershipsRequest.h in Headers */, A56865632300622C0014E17C /* PNMember+Private.h in Headers */, 79CBB16A1BD03DE4001FC34D /* PNChannelGroupModificationParser.h in Headers */, - A55A85FE22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.h in Headers */, A57A303A238D59B500DE8C68 /* PNRemoveAllPushNotificationsRequest.h in Headers */, 79CBB1241BD03DE4001FC34D /* PNChannelGroupClientStateResult.h in Headers */, - A55A86E322FD81E3002D0A72 /* PNFetchUsersResult.h in Headers */, + A55A86E322FD81E3002D0A72 /* PNFetchUUIDMetadataResult.h in Headers */, 79CBB17C1BD03DE4001FC34D /* PNPushNotificationsAuditParser.h in Headers */, 79CBB1311BD03DE4001FC34D /* PNPresenceChannelHereNowResult.h in Headers */, - A55A879222FD8272002D0A72 /* PNManageUserDataRequest.h in Headers */, 79CBB1331BD03DE4001FC34D /* PNPresenceGlobalHereNowResult.h in Headers */, 79CBB1681BD03DE4001FC34D /* PNChannelGroupAuditionParser.h in Headers */, 79CBB1221BD03DE4001FC34D /* PNChannelGroupChannelsResult.h in Headers */, - A55A867C22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.h in Headers */, 79F90F1D1FDEC1C7007132A3 /* PNPresenceHeartbeatAPICallBuilder.h in Headers */, A57A30F4238DDCA300DE8C68 /* PNAPNSNotificationPayload+Private.h in Headers */, 79CBB1881BD03DE4001FC34D /* PNNetworkResponseSerializer.h in Headers */, @@ -4365,14 +4391,14 @@ 79E20D271C8AEFF2001BC9CC /* PNSubscribeStatus+Private.h in Headers */, 79CBB1281BD03DE4001FC34D /* PNClientStateUpdateStatus.h in Headers */, 79CBB17A1BD03DE4001FC34D /* PNPresenceWhereNowParser.h in Headers */, - A55A86B422FD817E002D0A72 /* PNSpace+Private.h in Headers */, + A55A86B422FD817E002D0A72 /* PNChannelMetadata+Private.h in Headers */, 79A0D8B51DC22FBB0039A264 /* PNPresenceAPICallBuilder.h in Headers */, 79CBB1351BD03DE4001FC34D /* PNPresenceWhereNowResult.h in Headers */, 79CBB1781BD03DE4001FC34D /* PNPresenceHereNowParser.h in Headers */, A52DC1E92307E10B001F20B0 /* NSDateFormatter+PNCacheable.h in Headers */, A55BCCA52319243F0019DB68 /* PNAddMessageActionStatus.h in Headers */, 79CBB10A1BD03DE4001FC34D /* PubNub+SubscribePrivate.h in Headers */, - A55A87AE22FD8272002D0A72 /* PNFetchUserRequest.h in Headers */, + A55A87AE22FD8272002D0A72 /* PNFetchUUIDMetadataRequest.h in Headers */, 79CBB1031BD03DE4001FC34D /* PubNub+PresencePrivate.h in Headers */, 79CBB1761BD03DE4001FC34D /* PNMessagePublishParser.h in Headers */, 79CBB11C1BD03DE4001FC34D /* PNAcknowledgmentStatus.h in Headers */, @@ -4381,14 +4407,15 @@ 79A0D90F1DC230760039A264 /* PNStateAuditAPICallBuilder.h in Headers */, 79CBB13C1BD03DE4001FC34D /* PNServiceData+Private.h in Headers */, 797D605D22D2E41100E64C94 /* PNSignalAPICallBuilder.h in Headers */, - A56865BC230173030014E17C /* PNSpaceDataChangeParser.h in Headers */, + A56865BC230173030014E17C /* PNChannelMetadataChangeParser.h in Headers */, A57A30DD238DC87400DE8C68 /* PNAPNSNotificationTarget.h in Headers */, - 79CBB1661BD03DE4001FC34D /* PNObjectEventListener.h in Headers */, + 79CBB1661BD03DE4001FC34D /* PNEventsListener.h in Headers */, 79CBB1261BD03DE4001FC34D /* PNChannelGroupsResult.h in Headers */, A55CA6A02397389100B24E02 /* PNKeychain+Private.h in Headers */, - A55A864422FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.h in Headers */, + A55A864422FD80B9002D0A72 /* PNFetchAllUUIDMetadataAPICallBuilder.h in Headers */, + A5046E1A247844E70008C81E /* PNSetMembersAPICallBuilder.h in Headers */, 79E20D191C8AEC44001BC9CC /* PNEnvelopeInformation.h in Headers */, - A55A880222FD8272002D0A72 /* PNUpdateSpaceRequest.h in Headers */, + A55A880222FD8272002D0A72 /* PNSetChannelMetadataRequest.h in Headers */, A5897595230014220093BD9A /* PNManageMembersAPICallBuilder.h in Headers */, A55A85D422FD8078002D0A72 /* PubNub+Objects.h in Headers */, 79CBB16C1BD03DE4001FC34D /* PNClientStateParser.h in Headers */, @@ -4398,28 +4425,28 @@ 79CBB1641BD03DE4001FC34D /* PNPrivateStructures.h in Headers */, 79A3E41B221569BA00F2ADB9 /* PNMessageCountResult.h in Headers */, 79A0D9091DC230670039A264 /* PNStateAPICallBuilder.h in Headers */, + A5A45189246D8CD5008ECC74 /* PNBaseObjectsMembershipRequest+Private.h in Headers */, 79A3E42B221569DA00F2ADB9 /* PNMessageCountParser.h in Headers */, 79CBB1171BD03DE4001FC34D /* PNClientInformation.h in Headers */, A57A3010238D59B500DE8C68 /* PNAddPushNotificationsRequest.h in Headers */, A57A30AB238D78C400DE8C68 /* PNBaseNotificationPayload+Private.h in Headers */, 79CBB1421BD03DE4001FC34D /* PNSubscriberResults.h in Headers */, - A55A87CA22FD8272002D0A72 /* PNDeleteUserRequest.h in Headers */, - A55A866E22FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.h in Headers */, + A55A87CA22FD8272002D0A72 /* PNRemoveUUIDMetadataRequest.h in Headers */, + A55A866E22FD80B9002D0A72 /* PNFetchAllChannelsMetadataAPICallBuilder.h in Headers */, 79A0D93A1DC230CD0039A264 /* PNStreamModificationAPICallBuilder.h in Headers */, 79CBB0FA1BD03DE4001FC34D /* PubNub+ChannelGroup.h in Headers */, A56FAEF5233161570072ADD6 /* PubNub+MessageActions.h in Headers */, 79CBB0FE1BD03DE4001FC34D /* PubNub+CorePrivate.h in Headers */, 79CBB1701BD03DE4001FC34D /* PNHeartbeatParser.h in Headers */, + A5046E24247844E70008C81E /* PNSetMembershipsAPICallBuilder.h in Headers */, A5A7B0032349330F0060113B /* PNBaseMessageActionRequest+Private.h in Headers */, A5A7AFFC2349330F0060113B /* PNFetchMessageActionsRequest.h in Headers */, 79CBB1821BD03DE4001FC34D /* PNSubscribeParser.h in Headers */, A55A885622FD8272002D0A72 /* PNFetchMembersRequest.h in Headers */, A57A3025238D59B500DE8C68 /* PNRemovePushNotificationsRequest.h in Headers */, - A55A86F122FD81E3002D0A72 /* PNCreateUserStatus.h in Headers */, A5A7B0112349330F0060113B /* PNAddMessageActionRequest.h in Headers */, 79A0D8911DC22F690039A264 /* PNAPNSAuditAPICallBuilder.h in Headers */, A56865EC230176760014E17C /* PNMembersParser.h in Headers */, - A55A87FB22FD8272002D0A72 /* PNManageSpaceDataRequest.h in Headers */, A55A877D22FD8272002D0A72 /* PNObjectsPaginatedRequest.h in Headers */, 79CBB1441BD03DE4001FC34D /* PNSubscribeStatus.h in Headers */, A58975C523005BD80093BD9A /* PNMembership.h in Headers */, @@ -4436,19 +4463,19 @@ A57A308C238D751400DE8C68 /* PNMPNSNotificationPayload.h in Headers */, 79CBB11A1BD03DE4001FC34D /* PNConfiguration.h in Headers */, A57A30EC238DCAAF00DE8C68 /* PNAPNSNotificationTarget+Private.h in Headers */, - A55A881E22FD8272002D0A72 /* PNFetchSpacesRequest.h in Headers */, - A56865CC230173AA0014E17C /* PNObjectsDeleteParser.h in Headers */, + A55A881E22FD8272002D0A72 /* PNFetchAllChannelsMetadataRequest.h in Headers */, + A56865CC230173AA0014E17C /* PNObjectsRemoveParser.h in Headers */, 79A0D9631DC231040039A264 /* PNUnsubscribeChannelsOrGroupsAPICallBuilder.h in Headers */, 79A0D8791DC22F220039A264 /* PNAPICallBuilder.h in Headers */, 79CBB1371BD03DE4001FC34D /* PNPublishStatus.h in Headers */, 79CBB1011BD03DE4001FC34D /* PubNub+Presence.h in Headers */, 79A0D8731DC22F090039A264 /* PNAPICallBuilder+Private.h in Headers */, A55A886B22FD8272002D0A72 /* PNManageMembershipsRequest.h in Headers */, - A55A883322FD8272002D0A72 /* PNDeleteSpaceRequest.h in Headers */, + A55A883322FD8272002D0A72 /* PNRemoveChannelMetadataRequest.h in Headers */, 79CBB18A1BD03DE4001FC34D /* PNReachability.h in Headers */, 79CBB0FF1BD03DE4001FC34D /* PubNub+History.h in Headers */, 79CBB1041BD03DE4001FC34D /* PubNub+Publish.h in Headers */, - A55A861322FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.h in Headers */, + A55A861322FD80B9002D0A72 /* PNRemoveUUIDMetadataAPICallBuilder.h in Headers */, 79CBB1741BD03DE4001FC34D /* PNLeaveParser.h in Headers */, A55BCD28231D27F00019DB68 /* PNMessageAction+Private.h in Headers */, 79CBB10D1BD03DE4001FC34D /* PNClientState.h in Headers */, @@ -4460,10 +4487,10 @@ 79CBB1501BD03DE4001FC34D /* PNDictionary.h in Headers */, 79CBB1131BD03DE4001FC34D /* PNSubscriber.h in Headers */, A5897585230014160093BD9A /* PNFetchMembershipsAPICallBuilder.h in Headers */, - A55A874122FD825A002D0A72 /* PNUserDataChangeParser.h in Headers */, + A55A874122FD825A002D0A72 /* PNUUIDMetadataChangeParser.h in Headers */, A5A7AFD7234932F30060113B /* PNAddMessageActionParser.h in Headers */, 79CBB1591BD03DE4001FC34D /* PNURLRequest.h in Headers */, - A56865AC230172950014E17C /* PNFetchSpacesParser.h in Headers */, + A56865AC230172950014E17C /* PNFetchChannelsMetadataParser.h in Headers */, 79CBB18E1BD03DE4001FC34D /* PNURLBuilder.h in Headers */, 79CBB1841BD03DE4001FC34D /* PNTimeParser.h in Headers */, 79A0D8CD1DC22FFA0039A264 /* PNPresenceWhereNowAPICallBuilder.h in Headers */, @@ -4473,21 +4500,20 @@ 79CBB1461BD03DE4001FC34D /* PNTimeResult.h in Headers */, 79650C371E775E9700006F66 /* PNLockSupport.h in Headers */, 79A0D9151DC230890039A264 /* PNStateModificationAPICallBuilder.h in Headers */, - A55A87A022FD8272002D0A72 /* PNCreateUserRequest.h in Headers */, - A55A866022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.h in Headers */, - A55A86BB22FD817E002D0A72 /* PNSpace.h in Headers */, + A55A866022FD80B9002D0A72 /* PNFetchChannelMetadataAPICallBuilder.h in Headers */, + A5A451A1246DE792008ECC74 /* PNRemoveMembershipsRequest.h in Headers */, + A55A86BB22FD817E002D0A72 /* PNChannelMetadata.h in Headers */, 79CBB1631BD03DE4001FC34D /* PNErrorCodes.h in Headers */, - A55A86C222FD817E002D0A72 /* PNUser+Private.h in Headers */, + A55A86C222FD817E002D0A72 /* PNUUIDMetadata+Private.h in Headers */, 79A0D8C11DC22FD60039A264 /* PNPresenceChannelHereNowAPICallBuilder.h in Headers */, A57A30D4238DC7FF00DE8C68 /* PNAPNSNotificationConfiguration+Private.h in Headers */, 79CBB1061BD03DE4001FC34D /* PubNub+State.h in Headers */, A57A304F238D59B500DE8C68 /* PNBasePushNotificationsRequest.h in Headers */, - A55A881722FD8272002D0A72 /* PNCreateSpaceRequest.h in Headers */, 79CBB1621BD03DE4001FC34D /* PNConstants.h in Headers */, 79CBB10F1BD03DE4001FC34D /* PNHeartbeat.h in Headers */, - A55A869F22FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.h in Headers */, + A55A869F22FD80B9002D0A72 /* PNRemoveChannelMetadataAPICallBuilder.h in Headers */, 79A0D9571DC230FA0039A264 /* PNSubscribeChannelsOrGroupsAPIBuilder.h in Headers */, - A55A879922FD8272002D0A72 /* PNFetchUsersRequest.h in Headers */, + A55A879922FD8272002D0A72 /* PNFetchAllUUIDMetadataRequest.h in Headers */, A5897575230014090093BD9A /* PNManageMembershipsAPICallBuilder.h in Headers */, 79CBB0FC1BD03DE4001FC34D /* PubNub+Core.h in Headers */, 79A3E4122215699900F2ADB9 /* PNMessageCountAPICallBuilder.h in Headers */, @@ -4499,9 +4525,10 @@ A586A9EF2337E581008856D2 /* PNFetchMessageActionsResult.h in Headers */, A57A309C238D784A00DE8C68 /* PNBaseNotificationPayload.h in Headers */, 79CBB1611BD03DE4001FC34D /* PNLogMacro.h in Headers */, - A55A878B22FD8272002D0A72 /* PNUpdateUserRequest.h in Headers */, - A55A863D22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.h in Headers */, + A55A878B22FD8272002D0A72 /* PNSetUUIDMetadataRequest.h in Headers */, + A55A863D22FD80B9002D0A72 /* PNFetchUUIDMetadataAPICallBuilder.h in Headers */, 79E2D0F01C56434700BAA244 /* PNKeychain.h in Headers */, + A5A45208246F268C008ECC74 /* PNRemoveMembershipsAPICallBuilder.h in Headers */, A589756C22FEF0F70093BD9A /* PNBaseObjectsRequest+Private.h in Headers */, 79CBB1861BD03DE4001FC34D /* PNNetwork.h in Headers */, 79A0D8BB1DC22FC90039A264 /* PNPresenceChannelGroupHereNowAPICallBuilder.h in Headers */, @@ -4511,19 +4538,19 @@ A55BCCF9231D222B0019DB68 /* PNRemoveMessageActionAPICallBuilder.h in Headers */, 79CBB1541BD03DE4001FC34D /* PNHelpers.h in Headers */, A55BCCE9231D21840019DB68 /* PNAddMessageActionAPICallBuilder.h in Headers */, - A55A872222FD81E3002D0A72 /* PNUpdateSpaceStatus.h in Headers */, + A55A872222FD81E3002D0A72 /* PNSetChannelMetadataStatus.h in Headers */, 7925DB8A1D3FFCAC00857C0D /* PNLLogger.h in Headers */, 793887071BEAD4A800DCC662 /* PNNumber.h in Headers */, A5105B53238F027D00CB693D /* PNDate.h in Headers */, - A568659C230170690014E17C /* PNFetchUsersParser.h in Headers */, - A55A861A22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.h in Headers */, + A568659C230170690014E17C /* PNFetchUUIDMetadataParser.h in Headers */, + A55A861A22FD80B9002D0A72 /* PNSetUUIDMetadataAPICallBuilder.h in Headers */, 79CBB1671BD03DE4001FC34D /* PNParser.h in Headers */, - A55A871B22FD81E3002D0A72 /* PNCreateSpaceStatus.h in Headers */, 79CBB1571BD03DE4001FC34D /* PNString.h in Headers */, 79ABD8941F01636B007634E0 /* PNTelemetry.h in Headers */, 79CBB13A1BD03DE4001FC34D /* PNResult.h in Headers */, A57A30B5238DC6B600DE8C68 /* PNAPNSNotificationPayload.h in Headers */, 79A0D95D1DC230FF0039A264 /* PNUnsubscribeAPICallBuilder.h in Headers */, + A5046E322478471D0008C81E /* PNSetMembersRequest.h in Headers */, 79CBB1401BD03DE4001FC34D /* PNStatus.h in Headers */, A57A306C238D6BCC00DE8C68 /* PNFCMNotificationPayload.h in Headers */, 7925DB981D3FFCAC00857C0D /* PNLLogFileInformation.h in Headers */, @@ -4532,14 +4559,14 @@ A58975E423005CFB0093BD9A /* PNMembership+Private.h in Headers */, A5A7AFE5234932F30060113B /* PNRemoveMessageActionParser.h in Headers */, 79A0D89D1DC22F840039A264 /* PNAPNSModificationAPICallBuilder.h in Headers */, - A55A872922FD81E3002D0A72 /* PNFetchSpacesResult.h in Headers */, + A55A872922FD81E3002D0A72 /* PNFetchChannelsMetadataResult.h in Headers */, 79CBB14E1BD03DE4001FC34D /* PNData.h in Headers */, 79CBB1521BD03DE4001FC34D /* PNGZIP.h in Headers */, 79CBB1551BD03DE4001FC34D /* PNJSON.h in Headers */, - A55A882522FD8272002D0A72 /* PNFetchSpaceRequest.h in Headers */, + A55A882522FD8272002D0A72 /* PNFetchChannelMetadataRequest.h in Headers */, A568658C2300729E0014E17C /* PNFetchMembersResult.h in Headers */, A568656C2300709F0014E17C /* PNFetchMembershipsResult.h in Headers */, - A55A868322FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.h in Headers */, + A55A868322FD80B9002D0A72 /* PNSetChannelMetadataAPICallBuilder.h in Headers */, A57A305C238D65A200DE8C68 /* PNNotificationsPayload.h in Headers */, 79CBB0421BD03D3F001FC34D /* PubNub.h in Headers */, 79CBB1151BD03DE4001FC34D /* PNAES.h in Headers */, @@ -4547,11 +4574,16 @@ 79A0D8851DC22F510039A264 /* PNAPNSAPICallBuilder.h in Headers */, A58975A5230014300093BD9A /* PNFetchMembersAPICallBuilder.h in Headers */, 79A0D8F71DC230460039A264 /* PNPublishSizeAPICallBuilder.h in Headers */, - A55A870622FD81E3002D0A72 /* PNUpdateUserStatus.h in Headers */, + A55A870622FD81E3002D0A72 /* PNSetUUIDMetadataStatus.h in Headers */, + A5A451EE246F2679008ECC74 /* PNRemoveMembersAPICallBuilder.h in Headers */, A5A7AFD0234932F30060113B /* PNFetchMessagesActionsParser.h in Headers */, A56865DC230175EC0014E17C /* PNMembershipsParser.h in Headers */, - A55A86C922FD817E002D0A72 /* PNUser.h in Headers */, + A5A4517D246D8CBE008ECC74 /* PNBaseObjectsMembershipRequest.h in Headers */, + A5046E3C2478471D0008C81E /* PNSetMembershipsRequest.h in Headers */, + A55A86C922FD817E002D0A72 /* PNUUIDMetadata.h in Headers */, + A5A451C0246DE8C3008ECC74 /* PNRemoveMembersRequest.h in Headers */, A568657C230072810014E17C /* PNManageMembersStatus.h in Headers */, + CA01F83D2112B9CBF2A3BCCB /* PNObjectsAPICallBuilder.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -4575,7 +4607,6 @@ ); name = "PubNub (iOS)"; productName = PubNub; - productReference = 791582AC1BD709C60084FC70 /* PubNub.framework */; productType = "com.apple.product-type.framework"; }; 791582AE1BD709D10084FC70 /* PubNub (watchOS) */ = { @@ -4595,7 +4626,6 @@ ); name = "PubNub (watchOS)"; productName = PubNub; - productReference = 791583551BD709D10084FC70 /* PubNub.framework */; productType = "com.apple.product-type.framework"; }; 7988421A1C18EDA7003E8948 /* Static PubNub (iOS) */ = { @@ -4615,7 +4645,6 @@ ); name = "Static PubNub (iOS)"; productName = "pubnub-objc"; - productReference = 7988421B1C18EDA7003E8948 /* PubNub.a */; productType = "com.apple.product-type.library.static"; }; 79A8BC1A1C58F93900015BDE /* PubNub (tvOS) */ = { @@ -4635,7 +4664,6 @@ ); name = "PubNub (tvOS)"; productName = PubNub; - productReference = 79A8BCC41C58F93900015BDE /* PubNub.framework */; productType = "com.apple.product-type.framework"; }; 79CBB03D1BD03D3F001FC34D /* PubNub (OSX) */ = { @@ -4655,7 +4683,6 @@ ); name = "PubNub (OSX)"; productName = PubNub; - productReference = 79CBB03E1BD03D3F001FC34D /* PubNub.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ @@ -4690,7 +4717,6 @@ Base, ); mainGroup = 79CBB0341BD03D3F001FC34D; - productRefGroup = 79CBB03F1BD03D3F001FC34D /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( @@ -4999,13 +5025,13 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + A5046F0424784CAB0008C81E /* PNFetchChannelMetadataAPICallBuilder.m in Sources */, 791582151BD709C60084FC70 /* PNPushNotificationsStateModificationParser.m in Sources */, - A55A87EA22FD8272002D0A72 /* PNFetchSpacesRequest.m in Sources */, A57A30B9238DC6B600DE8C68 /* PNAPNSNotificationPayload.m in Sources */, 79A238D71D2E70BD00D080CD /* NSURLSessionConfiguration+PNConfiguration.m in Sources */, - A55A884522FD8272002D0A72 /* PNManageMembershipsRequest.m in Sources */, + A5046EFB24784CAB0008C81E /* PNManageMembershipsAPICallBuilder.m in Sources */, A5A7AFDB234932F30060113B /* PNAddMessageActionParser.m in Sources */, - A55A86FC22FD81E3002D0A72 /* PNCreateSpaceStatus.m in Sources */, + A5046F1624784CAB0008C81E /* PNFetchMembersRequest.m in Sources */, 791582411BD709C60084FC70 /* PNPresenceChannelGroupHereNowResult.m in Sources */, 7915822A1BD709C60084FC70 /* PNChannelGroupModificationParser.m in Sources */, A57A30C9238DC71800DE8C68 /* PNAPNSNotificationConfiguration.m in Sources */, @@ -5016,107 +5042,104 @@ 79A0D8451DC22C950039A264 /* PNAPNSAuditAPICallBuilder.m in Sources */, A5A7B0232349330F0060113B /* PNRemoveMessageActionRequest.m in Sources */, 79A0D8591DC22C950039A264 /* PNStateAPICallBuilder.m in Sources */, + A5046F0324784CAB0008C81E /* PNRemoveChannelMetadataAPICallBuilder.m in Sources */, + A5046F0724784CAB0008C81E /* PNRemoveUUIDMetadataAPICallBuilder.m in Sources */, 79A0D8431DC22C950039A264 /* PNAPNSAPICallBuilder.m in Sources */, 7915821E1BD709C60084FC70 /* PNPushNotificationsAuditParser.m in Sources */, A55BCCFD231D222B0019DB68 /* PNRemoveMessageActionAPICallBuilder.m in Sources */, - A55A864F22FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m in Sources */, - A55A882922FD8272002D0A72 /* PNManageSpaceDataRequest.m in Sources */, - A55A87B922FD8272002D0A72 /* PNManageUserDataRequest.m in Sources */, 7915820A1BD709C60084FC70 /* PNPresenceGlobalHereNowResult.m in Sources */, 7915822D1BD709C60084FC70 /* PNChannelGroupChannelsResult.m in Sources */, 791582191BD709C60084FC70 /* PNChannelGroupAuditionParser.m in Sources */, + A5046F0924784CAB0008C81E /* PNSetUUIDMetadataAPICallBuilder.m in Sources */, + A5046EFC24784CAB0008C81E /* PNFetchMembershipsAPICallBuilder.m in Sources */, + A5046F1B24784CAB0008C81E /* PNFetchAllChannelsMetadataRequest.m in Sources */, + A5046F1224784CAB0008C81E /* PNFetchMembershipsRequest.m in Sources */, + A5046F1524784CAB0008C81E /* PNSetMembershipsRequest.m in Sources */, + A5046F1824784CAB0008C81E /* PNSetChannelMetadataRequest.m in Sources */, 791582471BD709C60084FC70 /* PNAPNSEnabledChannelsResult.m in Sources */, + A5046F0C24784CAB0008C81E /* PNMember.m in Sources */, A57A303E238D59B500DE8C68 /* PNRemovePushNotificationsRequest.m in Sources */, 791582451BD709C60084FC70 /* PNNetworkResponseSerializer.m in Sources */, - A58975C923005BD80093BD9A /* PNMembership.m in Sources */, + A5046EFE24784CAB0008C81E /* PNManageMembersAPICallBuilder.m in Sources */, 791582261BD709C60084FC70 /* PNChannelClientStateResult.m in Sources */, - A55A872D22FD81E3002D0A72 /* PNUpdateSpaceStatus.m in Sources */, - A55A869522FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m in Sources */, - A55A863322FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m in Sources */, + A55A872D22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m in Sources */, 791582371BD709C60084FC70 /* PNClientStateUpdateStatus.m in Sources */, 791582171BD709C60084FC70 /* PNPresenceWhereNowResult.m in Sources */, - A55A862C22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m in Sources */, - A55A86AA22FD817E002D0A72 /* PNUser.m in Sources */, 791582271BD709C60084FC70 /* PNPresenceWhereNowParser.m in Sources */, + A5046F2524784CAB0008C81E /* PNMembershipsParser.m in Sources */, A57A3030238D59B500DE8C68 /* PNAddPushNotificationsRequest.m in Sources */, 7915824C1BD709C60084FC70 /* PNPresenceHereNowParser.m in Sources */, - A56865D0230173AA0014E17C /* PNObjectsDeleteParser.m in Sources */, - A55A86CD22FD817E002D0A72 /* PNSpace.m in Sources */, 791582211BD709C60084FC70 /* PNAcknowledgmentStatus.m in Sources */, 791582311BD709C60084FC70 /* PNMessagePublishParser.m in Sources */, 7915821A1BD709C60084FC70 /* PNChannelGroupsResult.m in Sources */, 79E20D161C8AEC3A001BC9CC /* PNEnvelopeInformation.m in Sources */, 7925DB9C1D3FFCAC00857C0D /* PNLLogFileInformation.m in Sources */, 7915822C1BD709C60084FC70 /* PNClientInformation.m in Sources */, - A55A871122FD81E3002D0A72 /* PNCreateUserStatus.m in Sources */, 793248651D874D9F00FBDF36 /* PNPublishSequence.m in Sources */, - A55A868E22FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m in Sources */, 791582231BD709C60084FC70 /* PNRequestParameters.m in Sources */, - A55A87A422FD8272002D0A72 /* PNDeleteUserRequest.m in Sources */, 791582291BD709C60084FC70 /* PNSubscriberResults.m in Sources */, + A5046F2024784CAB0008C81E /* PNObjectsPaginatedRequest.m in Sources */, 791582221BD709C60084FC70 /* PubNub+ChannelGroup.m in Sources */, - A56865B0230172950014E17C /* PNFetchSpacesParser.m in Sources */, + A5046F0524784CAB0008C81E /* PNSetChannelMetadataAPICallBuilder.m in Sources */, 7915824A1BD709C60084FC70 /* PNClientStateParser.m in Sources */, A57A3090238D751400DE8C68 /* PNMPNSNotificationPayload.m in Sources */, 791582301BD709C60084FC70 /* PNSubscribeParser.m in Sources */, - A55A87D522FD8272002D0A72 /* PNFetchUsersRequest.m in Sources */, - A55A883E22FD8272002D0A72 /* PNBaseObjectsRequest.m in Sources */, - A55A887D22FD8272002D0A72 /* PNObjectsPaginatedRequest.m in Sources */, - A55A884C22FD8272002D0A72 /* PNFetchMembershipsRequest.m in Sources */, 791582421BD709C60084FC70 /* PNHeartbeatParser.m in Sources */, + A5046EFA24784CAB0008C81E /* PNRemoveMembershipsAPICallBuilder.m in Sources */, 791582111BD709C60084FC70 /* PNSubscribeStatus.m in Sources */, - A55A873722FD825A002D0A72 /* PNUserDataChangeParser.m in Sources */, 791582461BD709C60084FC70 /* PubNub+Subscribe.m in Sources */, - A55A860922FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m in Sources */, - A55A880622FD8272002D0A72 /* PNDeleteSpaceRequest.m in Sources */, 79A0D8631DC22C950039A264 /* PNStreamModificationAPICallBuilder.m in Sources */, - A55A867222FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m in Sources */, - A55A878122FD8272002D0A72 /* PNFetchUserRequest.m in Sources */, A57A30A0238D784A00DE8C68 /* PNBaseNotificationPayload.m in Sources */, 79A0D8471DC22C950039A264 /* PNAPNSModificationAPICallBuilder.m in Sources */, - A58975A9230014300093BD9A /* PNFetchMembersAPICallBuilder.m in Sources */, - A55A86E722FD81E3002D0A72 /* PNFetchUsersResult.m in Sources */, + A5046F0E24784CAB0008C81E /* PNUUIDMetadata.m in Sources */, + A5046F1724784CAB0008C81E /* PNSetMembersRequest.m in Sources */, + A55A86E722FD81E3002D0A72 /* PNFetchUUIDMetadataResult.m in Sources */, 7915823C1BD709C60084FC70 /* PubNub+Presence.m in Sources */, + A5046F0824784CAB0008C81E /* PNFetchUUIDMetadataAPICallBuilder.m in Sources */, 791582131BD709C60084FC70 /* PNHistoryParser.m in Sources */, + A5046F1A24784CAB0008C81E /* PNFetchChannelMetadataRequest.m in Sources */, 79A0D8691DC22C950039A264 /* PNUnsubscribeAPICallBuilder.m in Sources */, 79A0D86D1DC22C950039A264 /* PNTimeAPICallBuilder.m in Sources */, A55BCCA92319243F0019DB68 /* PNAddMessageActionStatus.m in Sources */, + A5046F1324784CAB0008C81E /* PNManageMembersRequest.m in Sources */, 79A0D8701DC22C950039A264 /* PNAPICallBuilder.m in Sources */, 79A0D86B1DC22C950039A264 /* PNUnsubscribeChannelsOrGroupsAPICallBuilder.m in Sources */, 7960B6641F6811D700FFAEBB /* PNDeleteMessageAPICallBuilder.m in Sources */, 791582241BD709C60084FC70 /* PNHistoryResult.m in Sources */, 7915821F1BD709C60084FC70 /* PNStateListener.m in Sources */, 79A0D8491DC22C950039A264 /* PNHistoryAPICallBuilder.m in Sources */, + A5046F0024784CAB0008C81E /* PNFetchMembersAPICallBuilder.m in Sources */, 79A0D8511DC22C950039A264 /* PNPresenceHereNowAPICallBuilder.m in Sources */, - A56865C0230173030014E17C /* PNSpaceDataChangeParser.m in Sources */, - A58975D923005BE60093BD9A /* PNMember.m in Sources */, 791582121BD709C60084FC70 /* PNConfiguration.m in Sources */, - A56865A0230170690014E17C /* PNFetchUsersParser.m in Sources */, 79F90F191FDEC1BA007132A3 /* PNPresenceHeartbeatAPICallBuilder.m in Sources */, + A5046F2724784CAB0008C81E /* PNFetchUUIDMetadataParser.m in Sources */, 7915823B1BD709C60084FC70 /* PNPublishStatus.m in Sources */, + A5046F0624784CAB0008C81E /* PNFetchAllUUIDMetadataAPICallBuilder.m in Sources */, 791582091BD709C60084FC70 /* PubNub+History.m in Sources */, A52DC1ED2307E10B001F20B0 /* NSDateFormatter+PNCacheable.m in Sources */, - A56865E0230175EC0014E17C /* PNMembershipsParser.m in Sources */, + A5046F1424784CAB0008C81E /* PNRemoveMembersRequest.m in Sources */, A5A7AFC6234932F30060113B /* PNFetchMessagesActionsParser.m in Sources */, A57A3029238D59B500DE8C68 /* PNBasePushNotificationsRequest.m in Sources */, A58975B923005AAC0093BD9A /* PNManageMembershipsStatus.m in Sources */, A56865902300729E0014E17C /* PNFetchMembersResult.m in Sources */, + A5046F0124784CAB0008C81E /* PNSetMembersAPICallBuilder.m in Sources */, A55BCCED231D21840019DB68 /* PNAddMessageActionAPICallBuilder.m in Sources */, - A55A864822FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m in Sources */, A55A877322FD8272002D0A72 /* PNRequest.m in Sources */, + A5046F2324784CAB0008C81E /* PNUUIDMetadataChangeParser.m in Sources */, + A5046F2624784CAB0008C81E /* PNFetchChannelsMetadataParser.m in Sources */, A57A3060238D65A200DE8C68 /* PNNotificationsPayload.m in Sources */, 79A0D8531DC22C950039A264 /* PNPresenceWhereNowAPICallBuilder.m in Sources */, - A55A870A22FD81E3002D0A72 /* PNUpdateUserStatus.m in Sources */, + A55A870A22FD81E3002D0A72 /* PNSetUUIDMetadataStatus.m in Sources */, + A5046EFF24784CAB0008C81E /* PNSetMembershipsAPICallBuilder.m in Sources */, 7915824B1BD709C60084FC70 /* PubNub+Publish.m in Sources */, 79A0D85F1DC22C950039A264 /* PNStreamAPICallBuilder.m in Sources */, 7915820D1BD709C60084FC70 /* PNReachability.m in Sources */, A57A3045238D59B500DE8C68 /* PNAuditPushNotificationsRequest.m in Sources */, A5A7B0072349330F0060113B /* PNBaseMessageActionRequest.m in Sources */, 79A0D8611DC22C950039A264 /* PNStreamAuditAPICallBuilder.m in Sources */, - A55A87C022FD8272002D0A72 /* PNUpdateUserRequest.m in Sources */, 7915822F1BD709C60084FC70 /* PNClientState.m in Sources */, 7915821C1BD709C60084FC70 /* PNErrorStatus.m in Sources */, - A5897599230014220093BD9A /* PNManageMembersAPICallBuilder.m in Sources */, + A5046F1924784CAB0008C81E /* PNRemoveChannelMetadataRequest.m in Sources */, A57A30E1238DC87400DE8C68 /* PNAPNSNotificationTarget.m in Sources */, 7915822E1BD709C60084FC70 /* PNLeaveParser.m in Sources */, 791582361BD709C60084FC70 /* PNServiceData.m in Sources */, @@ -5125,25 +5148,25 @@ 791582251BD709C60084FC70 /* PNErrorParser.m in Sources */, 7915823D1BD709C60084FC70 /* PNSubscriber.m in Sources */, 7915821D1BD709C60084FC70 /* PubNub+State.m in Sources */, - A5897589230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m in Sources */, 79A0D84D1DC22C950039A264 /* PNPresenceChannelGroupHereNowAPICallBuilder.m in Sources */, 791582331BD709C60084FC70 /* PNTimeParser.m in Sources */, - A55A885A22FD8272002D0A72 /* PNManageMembersRequest.m in Sources */, 7915823E1BD709C60084FC70 /* PNURLBuilder.m in Sources */, + A5046F0D24784CAB0008C81E /* PNChannelMetadata.m in Sources */, A5105B57238F027D00CB693D /* PNDate.m in Sources */, 791582101BD709C60084FC70 /* PNDictionary.m in Sources */, 791582321BD709C60084FC70 /* PNURLRequest.m in Sources */, A55BCD0D231D22400019DB68 /* PNFetchMessagesActionsAPICallBuilder.m in Sources */, - A5897579230014090093BD9A /* PNManageMembershipsAPICallBuilder.m in Sources */, + A5046EFD24784CAB0008C81E /* PNRemoveMembersAPICallBuilder.m in Sources */, A57A3070238D6BCC00DE8C68 /* PNFCMNotificationPayload.m in Sources */, + A5046F1C24784CAB0008C81E /* PNSetUUIDMetadataRequest.m in Sources */, 791582341BD709C60084FC70 /* PNTimeResult.m in Sources */, + A5046F1E24784CAB0008C81E /* PNFetchUUIDMetadataRequest.m in Sources */, 791582201BD709C60084FC70 /* PNHeartbeat.m in Sources */, - A55A87F122FD8272002D0A72 /* PNCreateSpaceRequest.m in Sources */, + A5046F0F24784CAB0008C81E /* PNBaseObjectsMembershipRequest.m in Sources */, 7915820C1BD709C60084FC70 /* PubNub+Core.m in Sources */, A55A85D822FD8078002D0A72 /* PubNub+Objects.m in Sources */, - A55A865622FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m in Sources */, - A55A87CE22FD8272002D0A72 /* PNCreateUserRequest.m in Sources */, A5686580230072810014E17C /* PNManageMembersStatus.m in Sources */, + A5046F2224784CAB0008C81E /* PNChannelMetadataChangeParser.m in Sources */, 791582181BD709C60084FC70 /* PubNub+APNS.m in Sources */, A586A9E52337E581008856D2 /* PNFetchMessageActionsResult.m in Sources */, 7915821B1BD709C60084FC70 /* PubNub+Time.m in Sources */, @@ -5151,11 +5174,11 @@ 79A0D84F1DC22C950039A264 /* PNPresenceChannelHereNowAPICallBuilder.m in Sources */, 79A0D84B1DC22C950039A264 /* PNPresenceAPICallBuilder.m in Sources */, 797D606A22D2E44000E64C94 /* PNSignalStatus.m in Sources */, + A5046F2124784CAB0008C81E /* PNBaseObjectsRequest.m in Sources */, 79E2D0F41C56434700BAA244 /* PNKeychain.m in Sources */, - A55A886F22FD8272002D0A72 /* PNFetchMembersRequest.m in Sources */, 791582281BD709C60084FC70 /* PNChannel.m in Sources */, - A55A883722FD8272002D0A72 /* PNUpdateSpaceRequest.m in Sources */, 791582391BD709C60084FC70 /* PNNetwork.m in Sources */, + A5046F1024784CAB0008C81E /* PNManageMembershipsRequest.m in Sources */, 79A3E41F221569BA00F2ADB9 /* PNMessageCountResult.m in Sources */, 7925DB8E1D3FFCAC00857C0D /* PNLLogger.m in Sources */, 797D606122D2E41100E64C94 /* PNSignalAPICallBuilder.m in Sources */, @@ -5163,7 +5186,6 @@ 7915820B1BD709C60084FC70 /* PNString.m in Sources */, A55BCD1D231D26110019DB68 /* PNMessageAction.m in Sources */, 79A3E42F221569DA00F2ADB9 /* PNMessageCountParser.m in Sources */, - A55A87E322FD8272002D0A72 /* PNFetchSpaceRequest.m in Sources */, A5A7B01C2349330F0060113B /* PNFetchMessageActionsRequest.m in Sources */, 791582431BD709C60084FC70 /* PNStatus.m in Sources */, 79A0D8671DC22C950039A264 /* PNSubscribeChannelsOrGroupsAPIBuilder.m in Sources */, @@ -5172,17 +5194,23 @@ 79650C2E1E775E8300006F66 /* PNLockSupport.m in Sources */, 791582481BD709C60084FC70 /* PNResult.m in Sources */, 791582441BD709C60084FC70 /* PNArray.m in Sources */, + A5046F0A24784CAB0008C81E /* PNObjectsAPICallBuilder.m in Sources */, A56865702300709F0014E17C /* PNFetchMembershipsResult.m in Sources */, A56FAEF9233161570072ADD6 /* PubNub+MessageActions.m in Sources */, 79A0D8651DC22C950039A264 /* PNSubscribeAPIBuilder.m in Sources */, - A55A861E22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m in Sources */, + A5046F2424784CAB0008C81E /* PNObjectsRemoveParser.m in Sources */, + A5046F1D24784CAB0008C81E /* PNRemoveUUIDMetadataRequest.m in Sources */, + A5046F0B24784CAB0008C81E /* PNMembership.m in Sources */, 791582161BD709C60084FC70 /* PNJSON.m in Sources */, 7915820E1BD709C60084FC70 /* PNData.m in Sources */, 791582141BD709C60084FC70 /* PNGZIP.m in Sources */, + A5046F0224784CAB0008C81E /* PNFetchAllChannelsMetadataAPICallBuilder.m in Sources */, 791582381BD709C60084FC70 /* PNAES.m in Sources */, A5A7B0152349330F0060113B /* PNAddMessageActionRequest.m in Sources */, - A55A86F522FD81E3002D0A72 /* PNFetchSpacesResult.m in Sources */, - A56865F0230176760014E17C /* PNMembersParser.m in Sources */, + A5046F2824784CAB0008C81E /* PNMembersParser.m in Sources */, + A55A86F522FD81E3002D0A72 /* PNFetchChannelsMetadataResult.m in Sources */, + A5046F1F24784CAB0008C81E /* PNFetchAllUUIDMetadataRequest.m in Sources */, + A5046F1124784CAB0008C81E /* PNRemoveMembershipsRequest.m in Sources */, DD71BCFC02D4AB87E006CBBB /* PNClientStateGetResult.m in Sources */, A5A7AFE9234932F30060113B /* PNRemoveMessageActionParser.m in Sources */, ); @@ -5192,13 +5220,13 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + A5046EA624784CAA0008C81E /* PNFetchChannelMetadataAPICallBuilder.m in Sources */, 79A0D87E1DC22F460039A264 /* PNAPICallBuilder.m in Sources */, - A55A87EC22FD8272002D0A72 /* PNFetchSpacesRequest.m in Sources */, A57A30BB238DC6B600DE8C68 /* PNAPNSNotificationPayload.m in Sources */, 791582BE1BD709D10084FC70 /* PNPushNotificationsStateModificationParser.m in Sources */, - A55A884722FD8272002D0A72 /* PNManageMembershipsRequest.m in Sources */, + A5046E9D24784CAA0008C81E /* PNManageMembershipsAPICallBuilder.m in Sources */, A5A7AFDD234932F30060113B /* PNAddMessageActionParser.m in Sources */, - A55A86FE22FD81E3002D0A72 /* PNCreateSpaceStatus.m in Sources */, + A5046EB824784CAA0008C81E /* PNFetchMembersRequest.m in Sources */, 79A238D91D2E70BD00D080CD /* NSURLSessionConfiguration+PNConfiguration.m in Sources */, 791582EA1BD709D10084FC70 /* PNPresenceChannelGroupHereNowResult.m in Sources */, A57A30CB238DC71800DE8C68 /* PNAPNSNotificationConfiguration.m in Sources */, @@ -5209,107 +5237,104 @@ 79A0D8FC1DC230540039A264 /* PNPublishAPICallBuilder.m in Sources */, A5A7B0252349330F0060113B /* PNRemoveMessageActionRequest.m in Sources */, 791582F21BD709D10084FC70 /* PNPresenceChannelHereNowResult.m in Sources */, + A5046EA524784CAA0008C81E /* PNRemoveChannelMetadataAPICallBuilder.m in Sources */, + A5046EA924784CAA0008C81E /* PNRemoveUUIDMetadataAPICallBuilder.m in Sources */, 791582C71BD709D10084FC70 /* PNPushNotificationsAuditParser.m in Sources */, 79A0D88A1DC22F620039A264 /* PNAPNSAPICallBuilder.m in Sources */, A55BCCFF231D222B0019DB68 /* PNRemoveMessageActionAPICallBuilder.m in Sources */, - A55A865122FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m in Sources */, - A55A882B22FD8272002D0A72 /* PNManageSpaceDataRequest.m in Sources */, - A55A87BB22FD8272002D0A72 /* PNManageUserDataRequest.m in Sources */, 791582B31BD709D10084FC70 /* PNPresenceGlobalHereNowResult.m in Sources */, 791582D61BD709D10084FC70 /* PNChannelGroupChannelsResult.m in Sources */, 79A0D8DE1DC230180039A264 /* PNPresenceChannelHereNowAPICallBuilder.m in Sources */, + A5046EAB24784CAA0008C81E /* PNSetUUIDMetadataAPICallBuilder.m in Sources */, + A5046E9E24784CAA0008C81E /* PNFetchMembershipsAPICallBuilder.m in Sources */, + A5046EBD24784CAA0008C81E /* PNFetchAllChannelsMetadataRequest.m in Sources */, + A5046EB424784CAA0008C81E /* PNFetchMembershipsRequest.m in Sources */, + A5046EB724784CAA0008C81E /* PNSetMembershipsRequest.m in Sources */, + A5046EBA24784CAA0008C81E /* PNSetChannelMetadataRequest.m in Sources */, 79A0D8E41DC2301D0039A264 /* PNPresenceHereNowAPICallBuilder.m in Sources */, + A5046EAE24784CAA0008C81E /* PNMember.m in Sources */, A57A3040238D59B500DE8C68 /* PNRemovePushNotificationsRequest.m in Sources */, 79A0D91A1DC2309B0039A264 /* PNStateAPICallBuilder.m in Sources */, - A58975CB23005BD80093BD9A /* PNMembership.m in Sources */, + A5046EA024784CAA0008C81E /* PNManageMembersAPICallBuilder.m in Sources */, 79A0D93E1DC230DE0039A264 /* PNStreamAPICallBuilder.m in Sources */, - A55A872F22FD81E3002D0A72 /* PNUpdateSpaceStatus.m in Sources */, - A55A869722FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m in Sources */, - A55A863522FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m in Sources */, + A55A872F22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m in Sources */, 791582C21BD709D10084FC70 /* PNChannelGroupAuditionParser.m in Sources */, 791582F01BD709D10084FC70 /* PNAPNSEnabledChannelsResult.m in Sources */, - A55A862E22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m in Sources */, - A55A86AC22FD817E002D0A72 /* PNUser.m in Sources */, 791582EE1BD709D10084FC70 /* PNNetworkResponseSerializer.m in Sources */, + A5046EC724784CAA0008C81E /* PNMembershipsParser.m in Sources */, A57A3032238D59B500DE8C68 /* PNAddPushNotificationsRequest.m in Sources */, 79A0D9021DC230590039A264 /* PNPublishSizeAPICallBuilder.m in Sources */, - A56865D2230173AA0014E17C /* PNObjectsDeleteParser.m in Sources */, - A55A86CF22FD817E002D0A72 /* PNSpace.m in Sources */, 79A0D9741DC2313F0039A264 /* PNUnsubscribeAPICallBuilder.m in Sources */, 791582CF1BD709D10084FC70 /* PNChannelClientStateResult.m in Sources */, 791582E01BD709D10084FC70 /* PNClientStateUpdateStatus.m in Sources */, 791582D01BD709D10084FC70 /* PNPresenceWhereNowParser.m in Sources */, 791582C01BD709D10084FC70 /* PNPresenceWhereNowResult.m in Sources */, 791582F51BD709D10084FC70 /* PNPresenceHereNowParser.m in Sources */, - A55A871322FD81E3002D0A72 /* PNCreateUserStatus.m in Sources */, 791582DA1BD709D10084FC70 /* PNMessagePublishParser.m in Sources */, - A55A869022FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m in Sources */, 791582CA1BD709D10084FC70 /* PNAcknowledgmentStatus.m in Sources */, - A55A87A622FD8272002D0A72 /* PNDeleteUserRequest.m in Sources */, 79A0D9871DC2315D0039A264 /* PNTimeAPICallBuilder.m in Sources */, + A5046EC224784CAA0008C81E /* PNObjectsPaginatedRequest.m in Sources */, 791582C31BD709D10084FC70 /* PNChannelGroupsResult.m in Sources */, - A56865B2230172950014E17C /* PNFetchSpacesParser.m in Sources */, + A5046EA724784CAA0008C81E /* PNSetChannelMetadataAPICallBuilder.m in Sources */, 79E20D1E1C8AEC51001BC9CC /* PNEnvelopeInformation.m in Sources */, A57A3092238D751400DE8C68 /* PNMPNSNotificationPayload.m in Sources */, 7925DB9E1D3FFCAC00857C0D /* PNLLogFileInformation.m in Sources */, - A55A87D722FD8272002D0A72 /* PNFetchUsersRequest.m in Sources */, - A55A884022FD8272002D0A72 /* PNBaseObjectsRequest.m in Sources */, - A55A887F22FD8272002D0A72 /* PNObjectsPaginatedRequest.m in Sources */, - A55A884E22FD8272002D0A72 /* PNFetchMembershipsRequest.m in Sources */, 79A0D8961DC22F7E0039A264 /* PNAPNSAuditAPICallBuilder.m in Sources */, + A5046E9C24784CAA0008C81E /* PNRemoveMembershipsAPICallBuilder.m in Sources */, 791582F31BD709D10084FC70 /* PNClientStateParser.m in Sources */, - A55A873922FD825A002D0A72 /* PNUserDataChangeParser.m in Sources */, 793248671D874D9F00FBDF36 /* PNPublishSequence.m in Sources */, - A55A860B22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m in Sources */, - A55A880822FD8272002D0A72 /* PNDeleteSpaceRequest.m in Sources */, 791582D51BD709D10084FC70 /* PNClientInformation.m in Sources */, - A55A867422FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m in Sources */, - A55A878322FD8272002D0A72 /* PNFetchUserRequest.m in Sources */, A57A30A2238D784A00DE8C68 /* PNBaseNotificationPayload.m in Sources */, 791582D21BD709D10084FC70 /* PNSubscriberResults.m in Sources */, - A58975AB230014300093BD9A /* PNFetchMembersAPICallBuilder.m in Sources */, - A55A86E922FD81E3002D0A72 /* PNFetchUsersResult.m in Sources */, + A5046EB024784CAA0008C81E /* PNUUIDMetadata.m in Sources */, + A5046EB924784CAA0008C81E /* PNSetMembersRequest.m in Sources */, + A55A86E922FD81E3002D0A72 /* PNFetchUUIDMetadataResult.m in Sources */, 791582CC1BD709D10084FC70 /* PNRequestParameters.m in Sources */, + A5046EAA24784CAA0008C81E /* PNFetchUUIDMetadataAPICallBuilder.m in Sources */, 791582CB1BD709D10084FC70 /* PubNub+ChannelGroup.m in Sources */, + A5046EBC24784CAA0008C81E /* PNFetchChannelMetadataRequest.m in Sources */, 791582EB1BD709D10084FC70 /* PNHeartbeatParser.m in Sources */, 791582D91BD709D10084FC70 /* PNSubscribeParser.m in Sources */, A55BCCAB2319243F0019DB68 /* PNAddMessageActionStatus.m in Sources */, + A5046EB524784CAA0008C81E /* PNManageMembersRequest.m in Sources */, 791582BA1BD709D10084FC70 /* PNSubscribeStatus.m in Sources */, 791582EF1BD709D10084FC70 /* PubNub+Subscribe.m in Sources */, 7960B66C1F68123300FFAEBB /* PNDeleteMessageAPICallBuilder.m in Sources */, 791582E51BD709D10084FC70 /* PubNub+Presence.m in Sources */, 791582E41BD709D10084FC70 /* PNPublishStatus.m in Sources */, 79A0D8D21DC2300F0039A264 /* PNPresenceAPICallBuilder.m in Sources */, + A5046EA224784CAA0008C81E /* PNFetchMembersAPICallBuilder.m in Sources */, 79A0D8AE1DC22FB40039A264 /* PNHistoryAPICallBuilder.m in Sources */, - A56865C2230173030014E17C /* PNSpaceDataChangeParser.m in Sources */, - A58975DB23005BE60093BD9A /* PNMember.m in Sources */, 791582CD1BD709D10084FC70 /* PNHistoryResult.m in Sources */, - A56865A2230170690014E17C /* PNFetchUsersParser.m in Sources */, 79F90F251FDEC1DE007132A3 /* PNPresenceHeartbeatAPICallBuilder.m in Sources */, + A5046EC924784CAA0008C81E /* PNFetchUUIDMetadataParser.m in Sources */, 791582C81BD709D10084FC70 /* PNStateListener.m in Sources */, + A5046EA824784CAA0008C81E /* PNFetchAllUUIDMetadataAPICallBuilder.m in Sources */, 791582BC1BD709D10084FC70 /* PNHistoryParser.m in Sources */, A52DC1EF2307E10B001F20B0 /* NSDateFormatter+PNCacheable.m in Sources */, - A56865E2230175EC0014E17C /* PNMembershipsParser.m in Sources */, + A5046EB624784CAA0008C81E /* PNRemoveMembersRequest.m in Sources */, A5A7AFC8234932F30060113B /* PNFetchMessagesActionsParser.m in Sources */, A57A302B238D59B500DE8C68 /* PNBasePushNotificationsRequest.m in Sources */, A58975BB23005AAC0093BD9A /* PNManageMembershipsStatus.m in Sources */, A56865922300729E0014E17C /* PNFetchMembersResult.m in Sources */, + A5046EA324784CAA0008C81E /* PNSetMembersAPICallBuilder.m in Sources */, A55BCCEF231D21840019DB68 /* PNAddMessageActionAPICallBuilder.m in Sources */, - A55A864A22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m in Sources */, A55A877522FD8272002D0A72 /* PNRequest.m in Sources */, + A5046EC524784CAA0008C81E /* PNUUIDMetadataChangeParser.m in Sources */, + A5046EC824784CAA0008C81E /* PNFetchChannelsMetadataParser.m in Sources */, A57A3062238D65A200DE8C68 /* PNNotificationsPayload.m in Sources */, 791582BB1BD709D10084FC70 /* PNConfiguration.m in Sources */, - A55A870C22FD81E3002D0A72 /* PNUpdateUserStatus.m in Sources */, + A55A870C22FD81E3002D0A72 /* PNSetUUIDMetadataStatus.m in Sources */, + A5046EA124784CAA0008C81E /* PNSetMembershipsAPICallBuilder.m in Sources */, 79A0D9681DC231350039A264 /* PNSubscribeAPIBuilder.m in Sources */, 791582F41BD709D10084FC70 /* PubNub+Publish.m in Sources */, 79A0D94A1DC230E80039A264 /* PNStreamModificationAPICallBuilder.m in Sources */, A57A3047238D59B500DE8C68 /* PNAuditPushNotificationsRequest.m in Sources */, A5A7B0092349330F0060113B /* PNBaseMessageActionRequest.m in Sources */, 791582B61BD709D10084FC70 /* PNReachability.m in Sources */, - A55A87C222FD8272002D0A72 /* PNUpdateUserRequest.m in Sources */, 791582B21BD709D10084FC70 /* PubNub+History.m in Sources */, 791582DF1BD709D10084FC70 /* PNServiceData.m in Sources */, - A589759B230014220093BD9A /* PNManageMembersAPICallBuilder.m in Sources */, + A5046EBB24784CAA0008C81E /* PNRemoveChannelMetadataRequest.m in Sources */, A57A30E3238DC87400DE8C68 /* PNAPNSNotificationTarget.m in Sources */, 79A0D9261DC230A30039A264 /* PNStateModificationAPICallBuilder.m in Sources */, 791582D81BD709D10084FC70 /* PNClientState.m in Sources */, @@ -5318,25 +5343,25 @@ 791582C51BD709D10084FC70 /* PNErrorStatus.m in Sources */, 791582E71BD709D10084FC70 /* PNURLBuilder.m in Sources */, 79A0D8D81DC230130039A264 /* PNPresenceChannelGroupHereNowAPICallBuilder.m in Sources */, - A589758B230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m in Sources */, 791582E61BD709D10084FC70 /* PNSubscriber.m in Sources */, 791582DD1BD709D10084FC70 /* PNTimeResult.m in Sources */, - A55A885C22FD8272002D0A72 /* PNManageMembersRequest.m in Sources */, 79A0D8EA1DC230230039A264 /* PNPresenceWhereNowAPICallBuilder.m in Sources */, + A5046EAF24784CAA0008C81E /* PNChannelMetadata.m in Sources */, A5105B59238F027D00CB693D /* PNDate.m in Sources */, 791582DC1BD709D10084FC70 /* PNTimeParser.m in Sources */, 791582DB1BD709D10084FC70 /* PNURLRequest.m in Sources */, A55BCD0F231D22400019DB68 /* PNFetchMessagesActionsAPICallBuilder.m in Sources */, - A589757B230014090093BD9A /* PNManageMembershipsAPICallBuilder.m in Sources */, + A5046E9F24784CAA0008C81E /* PNRemoveMembersAPICallBuilder.m in Sources */, A57A3072238D6BCC00DE8C68 /* PNFCMNotificationPayload.m in Sources */, + A5046EBE24784CAA0008C81E /* PNSetUUIDMetadataRequest.m in Sources */, 791582C61BD709D10084FC70 /* PubNub+State.m in Sources */, + A5046EC024784CAA0008C81E /* PNFetchUUIDMetadataRequest.m in Sources */, 791582B91BD709D10084FC70 /* PNDictionary.m in Sources */, - A55A87F322FD8272002D0A72 /* PNCreateSpaceRequest.m in Sources */, + A5046EB124784CAA0008C81E /* PNBaseObjectsMembershipRequest.m in Sources */, 791582C91BD709D10084FC70 /* PNHeartbeat.m in Sources */, A55A85DA22FD8078002D0A72 /* PubNub+Objects.m in Sources */, - A55A865822FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m in Sources */, - A55A87D022FD8272002D0A72 /* PNCreateUserRequest.m in Sources */, A5686582230072810014E17C /* PNManageMembersStatus.m in Sources */, + A5046EC424784CAA0008C81E /* PNChannelMetadataChangeParser.m in Sources */, 79A0D8A21DC22F930039A264 /* PNAPNSModificationAPICallBuilder.m in Sources */, A586A9E72337E581008856D2 /* PNFetchMessageActionsResult.m in Sources */, 791582C41BD709D10084FC70 /* PubNub+Time.m in Sources */, @@ -5344,11 +5369,11 @@ 79A0D9441DC230E30039A264 /* PNStreamAuditAPICallBuilder.m in Sources */, 791582C11BD709D10084FC70 /* PubNub+APNS.m in Sources */, 797D606C22D2E44000E64C94 /* PNSignalStatus.m in Sources */, + A5046EC324784CAA0008C81E /* PNBaseObjectsRequest.m in Sources */, 791582B51BD709D10084FC70 /* PubNub+Core.m in Sources */, - A55A887122FD8272002D0A72 /* PNFetchMembersRequest.m in Sources */, 79E2D0F51C56434700BAA244 /* PNKeychain.m in Sources */, - A55A883922FD8272002D0A72 /* PNUpdateSpaceRequest.m in Sources */, 791582E21BD709D10084FC70 /* PNNetwork.m in Sources */, + A5046EB224784CAA0008C81E /* PNManageMembershipsRequest.m in Sources */, 79A3E421221569BA00F2ADB9 /* PNMessageCountResult.m in Sources */, 791582D11BD709D10084FC70 /* PNChannel.m in Sources */, 797D606322D2E41100E64C94 /* PNSignalAPICallBuilder.m in Sources */, @@ -5356,7 +5381,6 @@ 791582F11BD709D10084FC70 /* PNResult.m in Sources */, A55BCD1F231D26110019DB68 /* PNMessageAction.m in Sources */, 79A3E431221569DA00F2ADB9 /* PNMessageCountParser.m in Sources */, - A55A87E522FD8272002D0A72 /* PNFetchSpaceRequest.m in Sources */, A5A7B01E2349330F0060113B /* PNFetchMessageActionsRequest.m in Sources */, 79F857FB219640A200BFD0B1 /* PNClientStateGetResult.m in Sources */, 791582EC1BD709D10084FC70 /* PNStatus.m in Sources */, @@ -5365,17 +5389,23 @@ 793887081BEAD4DE00DCC662 /* PNNumber.m in Sources */, 79650C3C1E775EA000006F66 /* PNLockSupport.m in Sources */, 791582B41BD709D10084FC70 /* PNString.m in Sources */, + A5046EAC24784CAA0008C81E /* PNObjectsAPICallBuilder.m in Sources */, A56865722300709F0014E17C /* PNFetchMembershipsResult.m in Sources */, A56FAEFB233161570072ADD6 /* PubNub+MessageActions.m in Sources */, 79A0D96D1DC2313A0039A264 /* PNSubscribeChannelsOrGroupsAPIBuilder.m in Sources */, - A55A862022FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m in Sources */, + A5046EC624784CAA0008C81E /* PNObjectsRemoveParser.m in Sources */, + A5046EBF24784CAA0008C81E /* PNRemoveUUIDMetadataRequest.m in Sources */, + A5046EAD24784CAA0008C81E /* PNMembership.m in Sources */, 791582ED1BD709D10084FC70 /* PNArray.m in Sources */, 791582BF1BD709D10084FC70 /* PNJSON.m in Sources */, 791582BD1BD709D10084FC70 /* PNGZIP.m in Sources */, + A5046EA424784CAA0008C81E /* PNFetchAllChannelsMetadataAPICallBuilder.m in Sources */, 791582B71BD709D10084FC70 /* PNData.m in Sources */, A5A7B0172349330F0060113B /* PNAddMessageActionRequest.m in Sources */, - A55A86F722FD81E3002D0A72 /* PNFetchSpacesResult.m in Sources */, - A56865F2230176760014E17C /* PNMembersParser.m in Sources */, + A5046ECA24784CAA0008C81E /* PNMembersParser.m in Sources */, + A55A86F722FD81E3002D0A72 /* PNFetchChannelsMetadataResult.m in Sources */, + A5046EC124784CAA0008C81E /* PNFetchAllUUIDMetadataRequest.m in Sources */, + A5046EB324784CAA0008C81E /* PNRemoveMembershipsRequest.m in Sources */, 791582E11BD709D10084FC70 /* PNAES.m in Sources */, A5A7AFEB234932F30060113B /* PNRemoveMessageActionParser.m in Sources */, ); @@ -5385,13 +5415,13 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + A5046E4824784CA90008C81E /* PNFetchChannelMetadataAPICallBuilder.m in Sources */, 79A0D8811DC22F480039A264 /* PNAPICallBuilder.m in Sources */, - A55A87EF22FD8272002D0A72 /* PNFetchSpacesRequest.m in Sources */, A57A30BE238DC6B600DE8C68 /* PNAPNSNotificationPayload.m in Sources */, 798842BF1C18F2EB003E8948 /* PNPushNotificationsStateModificationParser.m in Sources */, - A55A884A22FD8272002D0A72 /* PNManageMembershipsRequest.m in Sources */, + A5046E3F24784CA90008C81E /* PNManageMembershipsAPICallBuilder.m in Sources */, A5A7AFE0234932F30060113B /* PNAddMessageActionParser.m in Sources */, - A55A870122FD81E3002D0A72 /* PNCreateSpaceStatus.m in Sources */, + A5046E5A24784CA90008C81E /* PNFetchMembersRequest.m in Sources */, 79A238DC1D2E70BD00D080CD /* NSURLSessionConfiguration+PNConfiguration.m in Sources */, 798842691C18F1E3003E8948 /* PNPresenceChannelGroupHereNowResult.m in Sources */, A57A30CE238DC71800DE8C68 /* PNAPNSNotificationConfiguration.m in Sources */, @@ -5402,107 +5432,104 @@ 79A0D8FE1DC230550039A264 /* PNPublishAPICallBuilder.m in Sources */, A5A7B0282349330F0060113B /* PNRemoveMessageActionRequest.m in Sources */, 7988426A1C18F1E3003E8948 /* PNPresenceChannelHereNowResult.m in Sources */, + A5046E4724784CA90008C81E /* PNRemoveChannelMetadataAPICallBuilder.m in Sources */, + A5046E4B24784CA90008C81E /* PNRemoveUUIDMetadataAPICallBuilder.m in Sources */, 798842BE1C18F2EB003E8948 /* PNPushNotificationsAuditParser.m in Sources */, 79A0D88D1DC22F630039A264 /* PNAPNSAPICallBuilder.m in Sources */, A55BCD02231D222B0019DB68 /* PNRemoveMessageActionAPICallBuilder.m in Sources */, - A55A865422FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m in Sources */, - A55A882E22FD8272002D0A72 /* PNManageSpaceDataRequest.m in Sources */, - A55A87BE22FD8272002D0A72 /* PNManageUserDataRequest.m in Sources */, 7988426B1C18F1E3003E8948 /* PNPresenceGlobalHereNowResult.m in Sources */, 798842B41C18F2EA003E8948 /* PNChannelGroupAuditionParser.m in Sources */, 79A0D8E11DC230190039A264 /* PNPresenceChannelHereNowAPICallBuilder.m in Sources */, + A5046E4D24784CA90008C81E /* PNSetUUIDMetadataAPICallBuilder.m in Sources */, + A5046E4024784CA90008C81E /* PNFetchMembershipsAPICallBuilder.m in Sources */, + A5046E5F24784CA90008C81E /* PNFetchAllChannelsMetadataRequest.m in Sources */, + A5046E5624784CA90008C81E /* PNFetchMembershipsRequest.m in Sources */, + A5046E5924784CA90008C81E /* PNSetMembershipsRequest.m in Sources */, + A5046E5C24784CA90008C81E /* PNSetChannelMetadataRequest.m in Sources */, 79A0D8E71DC2301F0039A264 /* PNPresenceHereNowAPICallBuilder.m in Sources */, + A5046E5024784CA90008C81E /* PNMember.m in Sources */, A57A3043238D59B500DE8C68 /* PNRemovePushNotificationsRequest.m in Sources */, 79A0D91D1DC2309C0039A264 /* PNStateAPICallBuilder.m in Sources */, - A58975CE23005BD80093BD9A /* PNMembership.m in Sources */, + A5046E4224784CA90008C81E /* PNManageMembersAPICallBuilder.m in Sources */, 79A0D9411DC230DF0039A264 /* PNStreamAPICallBuilder.m in Sources */, - A55A873222FD81E3002D0A72 /* PNUpdateSpaceStatus.m in Sources */, - A55A869A22FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m in Sources */, - A55A863822FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m in Sources */, + A55A873222FD81E3002D0A72 /* PNSetChannelMetadataStatus.m in Sources */, 798842631C18F1E3003E8948 /* PNChannelGroupChannelsResult.m in Sources */, 798842611C18F1E3003E8948 /* PNAPNSEnabledChannelsResult.m in Sources */, - A55A863122FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m in Sources */, - A55A86AF22FD817E002D0A72 /* PNUser.m in Sources */, 798842A11C18F2C2003E8948 /* PNNetworkResponseSerializer.m in Sources */, + A5046E6924784CA90008C81E /* PNMembershipsParser.m in Sources */, A57A3035238D59B500DE8C68 /* PNAddPushNotificationsRequest.m in Sources */, 79A0D9051DC2305B0039A264 /* PNPublishSizeAPICallBuilder.m in Sources */, - A56865D5230173AA0014E17C /* PNObjectsDeleteParser.m in Sources */, - A55A86D222FD817E002D0A72 /* PNSpace.m in Sources */, 79A0D9771DC231410039A264 /* PNUnsubscribeAPICallBuilder.m in Sources */, 798842621C18F1E3003E8948 /* PNChannelClientStateResult.m in Sources */, 798842661C18F1E3003E8948 /* PNClientStateUpdateStatus.m in Sources */, 798842BD1C18F2EB003E8948 /* PNPresenceWhereNowParser.m in Sources */, 7988426C1C18F1E3003E8948 /* PNPresenceWhereNowResult.m in Sources */, 798842BC1C18F2EA003E8948 /* PNPresenceHereNowParser.m in Sources */, - A55A871622FD81E3002D0A72 /* PNCreateUserStatus.m in Sources */, 798842BB1C18F2EA003E8948 /* PNMessagePublishParser.m in Sources */, - A55A869322FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m in Sources */, 798842601C18F1E3003E8948 /* PNAcknowledgmentStatus.m in Sources */, - A55A87A922FD8272002D0A72 /* PNDeleteUserRequest.m in Sources */, 79A0D98B1DC2315F0039A264 /* PNTimeAPICallBuilder.m in Sources */, + A5046E6424784CA90008C81E /* PNObjectsPaginatedRequest.m in Sources */, 798842651C18F1E3003E8948 /* PNChannelGroupsResult.m in Sources */, - A56865B5230172950014E17C /* PNFetchSpacesParser.m in Sources */, + A5046E4924784CA90008C81E /* PNSetChannelMetadataAPICallBuilder.m in Sources */, 79E20D211C8AEC53001BC9CC /* PNEnvelopeInformation.m in Sources */, A57A3095238D751400DE8C68 /* PNMPNSNotificationPayload.m in Sources */, 7925DBA11D3FFCAC00857C0D /* PNLLogFileInformation.m in Sources */, - A55A87DA22FD8272002D0A72 /* PNFetchUsersRequest.m in Sources */, - A55A884322FD8272002D0A72 /* PNBaseObjectsRequest.m in Sources */, - A55A888222FD8272002D0A72 /* PNObjectsPaginatedRequest.m in Sources */, - A55A885122FD8272002D0A72 /* PNFetchMembershipsRequest.m in Sources */, 79A0D8991DC22F7F0039A264 /* PNAPNSAuditAPICallBuilder.m in Sources */, + A5046E3E24784CA90008C81E /* PNRemoveMembershipsAPICallBuilder.m in Sources */, 798842A31C18F2C2003E8948 /* PNRequestParameters.m in Sources */, - A55A873C22FD825A002D0A72 /* PNUserDataChangeParser.m in Sources */, 7932486A1D874D9F00FBDF36 /* PNPublishSequence.m in Sources */, - A55A860E22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m in Sources */, - A55A880B22FD8272002D0A72 /* PNDeleteSpaceRequest.m in Sources */, 798842551C18F1C0003E8948 /* PubNub+ChannelGroup.m in Sources */, - A55A867722FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m in Sources */, - A55A878622FD8272002D0A72 /* PNFetchUserRequest.m in Sources */, A57A30A5238D784A00DE8C68 /* PNBaseNotificationPayload.m in Sources */, 798842B61C18F2EA003E8948 /* PNClientStateParser.m in Sources */, - A58975AE230014300093BD9A /* PNFetchMembersAPICallBuilder.m in Sources */, - A55A86EC22FD81E3002D0A72 /* PNFetchUsersResult.m in Sources */, + A5046E5224784CA90008C81E /* PNUUIDMetadata.m in Sources */, + A5046E5B24784CA90008C81E /* PNSetMembersRequest.m in Sources */, + A55A86EC22FD81E3002D0A72 /* PNFetchUUIDMetadataResult.m in Sources */, 7988425E1C18F1CE003E8948 /* PNClientInformation.m in Sources */, + A5046E4C24784CA90008C81E /* PNFetchUUIDMetadataAPICallBuilder.m in Sources */, 798842711C18F1E3003E8948 /* PNSubscriberResults.m in Sources */, + A5046E5E24784CA90008C81E /* PNFetchChannelMetadataRequest.m in Sources */, 798842C11C18F2EB003E8948 /* PNSubscribeParser.m in Sources */, 798842B81C18F2EA003E8948 /* PNHeartbeatParser.m in Sources */, A55BCCAE2319243F0019DB68 /* PNAddMessageActionStatus.m in Sources */, + A5046E5724784CA90008C81E /* PNManageMembersRequest.m in Sources */, 798842721C18F1E3003E8948 /* PNSubscribeStatus.m in Sources */, 798842571C18F1C0003E8948 /* PubNub+Subscribe.m in Sources */, 7960B66F1F68123400FFAEBB /* PNDeleteMessageAPICallBuilder.m in Sources */, 798842B91C18F2EA003E8948 /* PNHistoryParser.m in Sources */, 7988426D1C18F1E3003E8948 /* PNPublishStatus.m in Sources */, 79A0D8D51DC230100039A264 /* PNPresenceAPICallBuilder.m in Sources */, + A5046E4424784CA90008C81E /* PNFetchMembersAPICallBuilder.m in Sources */, 79A0D8B11DC22FB60039A264 /* PNHistoryAPICallBuilder.m in Sources */, - A56865C5230173030014E17C /* PNSpaceDataChangeParser.m in Sources */, - A58975DE23005BE60093BD9A /* PNMember.m in Sources */, 798842681C18F1E3003E8948 /* PNHistoryResult.m in Sources */, - A56865A5230170690014E17C /* PNFetchUsersParser.m in Sources */, 79F90F221FDEC1DD007132A3 /* PNPresenceHeartbeatAPICallBuilder.m in Sources */, + A5046E6B24784CA90008C81E /* PNFetchUUIDMetadataParser.m in Sources */, 7988425B1C18F1C8003E8948 /* PNStateListener.m in Sources */, + A5046E4A24784CA90008C81E /* PNFetchAllUUIDMetadataAPICallBuilder.m in Sources */, 7988425F1C18F1CE003E8948 /* PNConfiguration.m in Sources */, A52DC1F22307E10B001F20B0 /* NSDateFormatter+PNCacheable.m in Sources */, - A56865E5230175EC0014E17C /* PNMembershipsParser.m in Sources */, + A5046E5824784CA90008C81E /* PNRemoveMembersRequest.m in Sources */, A5A7AFCB234932F30060113B /* PNFetchMessagesActionsParser.m in Sources */, A57A302E238D59B500DE8C68 /* PNBasePushNotificationsRequest.m in Sources */, A58975BE23005AAC0093BD9A /* PNManageMembershipsStatus.m in Sources */, A56865952300729E0014E17C /* PNFetchMembersResult.m in Sources */, + A5046E4524784CA90008C81E /* PNSetMembersAPICallBuilder.m in Sources */, A55BCCF2231D21840019DB68 /* PNAddMessageActionAPICallBuilder.m in Sources */, - A55A864D22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m in Sources */, A55A877822FD8272002D0A72 /* PNRequest.m in Sources */, + A5046E6724784CA90008C81E /* PNUUIDMetadataChangeParser.m in Sources */, + A5046E6A24784CA90008C81E /* PNFetchChannelsMetadataParser.m in Sources */, A57A3065238D65A200DE8C68 /* PNNotificationsPayload.m in Sources */, 798842521C18F1B6003E8948 /* PubNub+Presence.m in Sources */, - A55A870F22FD81E3002D0A72 /* PNUpdateUserStatus.m in Sources */, + A55A870F22FD81E3002D0A72 /* PNSetUUIDMetadataStatus.m in Sources */, + A5046E4324784CA90008C81E /* PNSetMembershipsAPICallBuilder.m in Sources */, 79A0D96B1DC231370039A264 /* PNSubscribeAPIBuilder.m in Sources */, 798842A21C18F2C2003E8948 /* PNReachability.m in Sources */, 79A0D94D1DC230EA0039A264 /* PNStreamModificationAPICallBuilder.m in Sources */, A57A304A238D59B500DE8C68 /* PNAuditPushNotificationsRequest.m in Sources */, A5A7B00C2349330F0060113B /* PNBaseMessageActionRequest.m in Sources */, 798842511C18F1AE003E8948 /* PubNub+History.m in Sources */, - A55A87C522FD8272002D0A72 /* PNUpdateUserRequest.m in Sources */, 798842531C18F1C0003E8948 /* PubNub+Publish.m in Sources */, 798842B71C18F2EA003E8948 /* PNErrorParser.m in Sources */, - A589759E230014220093BD9A /* PNManageMembersAPICallBuilder.m in Sources */, + A5046E5D24784CA90008C81E /* PNRemoveChannelMetadataRequest.m in Sources */, A57A30E6238DC87400DE8C68 /* PNAPNSNotificationTarget.m in Sources */, 79A0D9281DC230A40039A264 /* PNStateModificationAPICallBuilder.m in Sources */, 798842BA1C18F2EA003E8948 /* PNLeaveParser.m in Sources */, @@ -5511,25 +5538,25 @@ 798842671C18F1E3003E8948 /* PNErrorStatus.m in Sources */, 798842A41C18F2C2003E8948 /* PNURLBuilder.m in Sources */, 79A0D8DB1DC230150039A264 /* PNPresenceChannelGroupHereNowAPICallBuilder.m in Sources */, - A589758E230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m in Sources */, 798842931C18F292003E8948 /* PNURLRequest.m in Sources */, 7988425C1C18F1C8003E8948 /* PNSubscriber.m in Sources */, - A55A885F22FD8272002D0A72 /* PNManageMembersRequest.m in Sources */, 79A0D8ED1DC230240039A264 /* PNPresenceWhereNowAPICallBuilder.m in Sources */, + A5046E5124784CA90008C81E /* PNChannelMetadata.m in Sources */, A5105B5C238F027D00CB693D /* PNDate.m in Sources */, 798842C21C18F2EB003E8948 /* PNTimeParser.m in Sources */, 798842731C18F1E3003E8948 /* PNTimeResult.m in Sources */, A55BCD12231D22400019DB68 /* PNFetchMessagesActionsAPICallBuilder.m in Sources */, - A589757E230014090093BD9A /* PNManageMembershipsAPICallBuilder.m in Sources */, + A5046E4124784CA90008C81E /* PNRemoveMembersAPICallBuilder.m in Sources */, A57A3075238D6BCC00DE8C68 /* PNFCMNotificationPayload.m in Sources */, + A5046E6024784CA90008C81E /* PNSetUUIDMetadataRequest.m in Sources */, 798842541C18F1C0003E8948 /* PubNub+State.m in Sources */, + A5046E6224784CA90008C81E /* PNFetchUUIDMetadataRequest.m in Sources */, 7988428F1C18F292003E8948 /* PNDictionary.m in Sources */, - A55A87F622FD8272002D0A72 /* PNCreateSpaceRequest.m in Sources */, + A5046E5324784CA90008C81E /* PNBaseObjectsMembershipRequest.m in Sources */, 798842561C18F1C0003E8948 /* PubNub+Core.m in Sources */, A55A85DD22FD8078002D0A72 /* PubNub+Objects.m in Sources */, - A55A865B22FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m in Sources */, - A55A87D322FD8272002D0A72 /* PNCreateUserRequest.m in Sources */, A5686585230072810014E17C /* PNManageMembersStatus.m in Sources */, + A5046E6624784CA90008C81E /* PNChannelMetadataChangeParser.m in Sources */, 79A0D8A51DC22F940039A264 /* PNAPNSModificationAPICallBuilder.m in Sources */, A586A9EA2337E581008856D2 /* PNFetchMessageActionsResult.m in Sources */, 798842501C18F199003E8948 /* PubNub+APNS.m in Sources */, @@ -5537,11 +5564,11 @@ 79A0D9471DC230E50039A264 /* PNStreamAuditAPICallBuilder.m in Sources */, 7988425A1C18F1C8003E8948 /* PNHeartbeat.m in Sources */, 797D606F22D2E44000E64C94 /* PNSignalStatus.m in Sources */, + A5046E6524784CA90008C81E /* PNBaseObjectsRequest.m in Sources */, 798842581C18F1C0003E8948 /* PubNub+Time.m in Sources */, - A55A887422FD8272002D0A72 /* PNFetchMembersRequest.m in Sources */, 79E2D0F81C56434700BAA244 /* PNKeychain.m in Sources */, - A55A883C22FD8272002D0A72 /* PNUpdateSpaceRequest.m in Sources */, 7988428C1C18F291003E8948 /* PNChannel.m in Sources */, + A5046E5424784CA90008C81E /* PNManageMembershipsRequest.m in Sources */, 79A3E424221569BA00F2ADB9 /* PNMessageCountResult.m in Sources */, 798842A01C18F2C2003E8948 /* PNNetwork.m in Sources */, 797D606622D2E41100E64C94 /* PNSignalAPICallBuilder.m in Sources */, @@ -5549,7 +5576,6 @@ 7988426E1C18F1E3003E8948 /* PNResult.m in Sources */, A55BCD22231D26110019DB68 /* PNMessageAction.m in Sources */, 79A3E434221569DA00F2ADB9 /* PNMessageCountParser.m in Sources */, - A55A87E822FD8272002D0A72 /* PNFetchSpaceRequest.m in Sources */, A5A7B0212349330F0060113B /* PNFetchMessageActionsRequest.m in Sources */, 79F857FE219640AB00BFD0B1 /* PNClientStateGetResult.m in Sources */, 798842701C18F1E3003E8948 /* PNStatus.m in Sources */, @@ -5558,17 +5584,23 @@ 798842921C18F292003E8948 /* PNString.m in Sources */, 79650C3F1E775EA100006F66 /* PNLockSupport.m in Sources */, 7988428A1C18F291003E8948 /* PNNumber.m in Sources */, + A5046E4E24784CA90008C81E /* PNObjectsAPICallBuilder.m in Sources */, A56865752300709F0014E17C /* PNFetchMembershipsResult.m in Sources */, A56FAEFE233161570072ADD6 /* PubNub+MessageActions.m in Sources */, 79A0D96F1DC2313B0039A264 /* PNSubscribeChannelsOrGroupsAPIBuilder.m in Sources */, - A55A862322FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m in Sources */, + A5046E6824784CA90008C81E /* PNObjectsRemoveParser.m in Sources */, + A5046E6124784CA90008C81E /* PNRemoveUUIDMetadataRequest.m in Sources */, + A5046E4F24784CA90008C81E /* PNMembership.m in Sources */, 7988428B1C18F291003E8948 /* PNArray.m in Sources */, 798842911C18F292003E8948 /* PNJSON.m in Sources */, 7988428E1C18F292003E8948 /* PNData.m in Sources */, + A5046E4624784CA90008C81E /* PNFetchAllChannelsMetadataAPICallBuilder.m in Sources */, 798842901C18F292003E8948 /* PNGZIP.m in Sources */, A5A7B01A2349330F0060113B /* PNAddMessageActionRequest.m in Sources */, - A55A86FA22FD81E3002D0A72 /* PNFetchSpacesResult.m in Sources */, - A56865F5230176760014E17C /* PNMembersParser.m in Sources */, + A5046E6C24784CA90008C81E /* PNMembersParser.m in Sources */, + A55A86FA22FD81E3002D0A72 /* PNFetchChannelsMetadataResult.m in Sources */, + A5046E6324784CA90008C81E /* PNFetchAllUUIDMetadataRequest.m in Sources */, + A5046E5524784CA90008C81E /* PNRemoveMembershipsRequest.m in Sources */, 7988425D1C18F1CE003E8948 /* PNAES.m in Sources */, A5A7AFEE234932F30060113B /* PNRemoveMessageActionParser.m in Sources */, ); @@ -5578,13 +5610,13 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + A5046ED524784CAB0008C81E /* PNFetchChannelMetadataAPICallBuilder.m in Sources */, 79A0D87D1DC22F460039A264 /* PNAPICallBuilder.m in Sources */, - A55A87EB22FD8272002D0A72 /* PNFetchSpacesRequest.m in Sources */, A57A30BA238DC6B600DE8C68 /* PNAPNSNotificationPayload.m in Sources */, 79A8BC2A1C58F93900015BDE /* PNPushNotificationsStateModificationParser.m in Sources */, - A55A884622FD8272002D0A72 /* PNManageMembershipsRequest.m in Sources */, + A5046ECC24784CAB0008C81E /* PNManageMembershipsAPICallBuilder.m in Sources */, A5A7AFDC234932F30060113B /* PNAddMessageActionParser.m in Sources */, - A55A86FD22FD81E3002D0A72 /* PNCreateSpaceStatus.m in Sources */, + A5046EE724784CAB0008C81E /* PNFetchMembersRequest.m in Sources */, 79A238D81D2E70BD00D080CD /* NSURLSessionConfiguration+PNConfiguration.m in Sources */, 79A8BC571C58F93900015BDE /* PNPresenceChannelGroupHereNowResult.m in Sources */, A57A30CA238DC71800DE8C68 /* PNAPNSNotificationConfiguration.m in Sources */, @@ -5595,107 +5627,104 @@ 79A0D8FB1DC230540039A264 /* PNPublishAPICallBuilder.m in Sources */, A5A7B0242349330F0060113B /* PNRemoveMessageActionRequest.m in Sources */, 79A8BC5F1C58F93900015BDE /* PNPresenceChannelHereNowResult.m in Sources */, + A5046ED424784CAB0008C81E /* PNRemoveChannelMetadataAPICallBuilder.m in Sources */, + A5046ED824784CAB0008C81E /* PNRemoveUUIDMetadataAPICallBuilder.m in Sources */, 79A8BC331C58F93900015BDE /* PNPushNotificationsAuditParser.m in Sources */, 79A0D8891DC22F610039A264 /* PNAPNSAPICallBuilder.m in Sources */, A55BCCFE231D222B0019DB68 /* PNRemoveMessageActionAPICallBuilder.m in Sources */, - A55A865022FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m in Sources */, - A55A882A22FD8272002D0A72 /* PNManageSpaceDataRequest.m in Sources */, - A55A87BA22FD8272002D0A72 /* PNManageUserDataRequest.m in Sources */, 79A8BC1F1C58F93900015BDE /* PNPresenceGlobalHereNowResult.m in Sources */, 79A8BC421C58F93900015BDE /* PNChannelGroupChannelsResult.m in Sources */, 79A0D8DD1DC230180039A264 /* PNPresenceChannelHereNowAPICallBuilder.m in Sources */, + A5046EDA24784CAB0008C81E /* PNSetUUIDMetadataAPICallBuilder.m in Sources */, + A5046ECD24784CAB0008C81E /* PNFetchMembershipsAPICallBuilder.m in Sources */, + A5046EEC24784CAB0008C81E /* PNFetchAllChannelsMetadataRequest.m in Sources */, + A5046EE324784CAB0008C81E /* PNFetchMembershipsRequest.m in Sources */, + A5046EE624784CAB0008C81E /* PNSetMembershipsRequest.m in Sources */, + A5046EE924784CAB0008C81E /* PNSetChannelMetadataRequest.m in Sources */, 79A0D8E31DC2301D0039A264 /* PNPresenceHereNowAPICallBuilder.m in Sources */, + A5046EDD24784CAB0008C81E /* PNMember.m in Sources */, A57A303F238D59B500DE8C68 /* PNRemovePushNotificationsRequest.m in Sources */, 79A0D9191DC2309A0039A264 /* PNStateAPICallBuilder.m in Sources */, - A58975CA23005BD80093BD9A /* PNMembership.m in Sources */, + A5046ECF24784CAB0008C81E /* PNManageMembersAPICallBuilder.m in Sources */, 79A0D93D1DC230DD0039A264 /* PNStreamAPICallBuilder.m in Sources */, - A55A872E22FD81E3002D0A72 /* PNUpdateSpaceStatus.m in Sources */, - A55A869622FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m in Sources */, - A55A863422FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m in Sources */, + A55A872E22FD81E3002D0A72 /* PNSetChannelMetadataStatus.m in Sources */, 79A8BC2E1C58F93900015BDE /* PNChannelGroupAuditionParser.m in Sources */, 79A8BC5D1C58F93900015BDE /* PNAPNSEnabledChannelsResult.m in Sources */, - A55A862D22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m in Sources */, - A55A86AB22FD817E002D0A72 /* PNUser.m in Sources */, 79A8BC5B1C58F93900015BDE /* PNNetworkResponseSerializer.m in Sources */, + A5046EF624784CAB0008C81E /* PNMembershipsParser.m in Sources */, A57A3031238D59B500DE8C68 /* PNAddPushNotificationsRequest.m in Sources */, 79A0D9011DC230590039A264 /* PNPublishSizeAPICallBuilder.m in Sources */, - A56865D1230173AA0014E17C /* PNObjectsDeleteParser.m in Sources */, - A55A86CE22FD817E002D0A72 /* PNSpace.m in Sources */, 79A0D9731DC2313F0039A264 /* PNUnsubscribeAPICallBuilder.m in Sources */, 79A8BC3B1C58F93900015BDE /* PNChannelClientStateResult.m in Sources */, 79A8BC4D1C58F93900015BDE /* PNClientStateUpdateStatus.m in Sources */, 79A8BC3C1C58F93900015BDE /* PNPresenceWhereNowParser.m in Sources */, 79A8BC2C1C58F93900015BDE /* PNPresenceWhereNowResult.m in Sources */, 79A8BC621C58F93900015BDE /* PNPresenceHereNowParser.m in Sources */, - A55A871222FD81E3002D0A72 /* PNCreateUserStatus.m in Sources */, 79A8BC461C58F93900015BDE /* PNMessagePublishParser.m in Sources */, - A55A868F22FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m in Sources */, 79A8BC361C58F93900015BDE /* PNAcknowledgmentStatus.m in Sources */, - A55A87A522FD8272002D0A72 /* PNDeleteUserRequest.m in Sources */, 79A0D9861DC2315D0039A264 /* PNTimeAPICallBuilder.m in Sources */, + A5046EF124784CAB0008C81E /* PNObjectsPaginatedRequest.m in Sources */, 79A8BC2F1C58F93900015BDE /* PNChannelGroupsResult.m in Sources */, - A56865B1230172950014E17C /* PNFetchSpacesParser.m in Sources */, + A5046ED624784CAB0008C81E /* PNSetChannelMetadataAPICallBuilder.m in Sources */, 79E20D1D1C8AEC51001BC9CC /* PNEnvelopeInformation.m in Sources */, A57A3091238D751400DE8C68 /* PNMPNSNotificationPayload.m in Sources */, 7925DB9D1D3FFCAC00857C0D /* PNLLogFileInformation.m in Sources */, - A55A87D622FD8272002D0A72 /* PNFetchUsersRequest.m in Sources */, - A55A883F22FD8272002D0A72 /* PNBaseObjectsRequest.m in Sources */, - A55A887E22FD8272002D0A72 /* PNObjectsPaginatedRequest.m in Sources */, - A55A884D22FD8272002D0A72 /* PNFetchMembershipsRequest.m in Sources */, 79A0D8951DC22F7E0039A264 /* PNAPNSAuditAPICallBuilder.m in Sources */, + A5046ECB24784CAB0008C81E /* PNRemoveMembershipsAPICallBuilder.m in Sources */, 79A8BC601C58F93900015BDE /* PNClientStateParser.m in Sources */, - A55A873822FD825A002D0A72 /* PNUserDataChangeParser.m in Sources */, 793248661D874D9F00FBDF36 /* PNPublishSequence.m in Sources */, - A55A860A22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m in Sources */, - A55A880722FD8272002D0A72 /* PNDeleteSpaceRequest.m in Sources */, 79A8BC411C58F93900015BDE /* PNClientInformation.m in Sources */, - A55A867322FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m in Sources */, - A55A878222FD8272002D0A72 /* PNFetchUserRequest.m in Sources */, A57A30A1238D784A00DE8C68 /* PNBaseNotificationPayload.m in Sources */, 79A8BC3E1C58F93900015BDE /* PNSubscriberResults.m in Sources */, - A58975AA230014300093BD9A /* PNFetchMembersAPICallBuilder.m in Sources */, - A55A86E822FD81E3002D0A72 /* PNFetchUsersResult.m in Sources */, + A5046EDF24784CAB0008C81E /* PNUUIDMetadata.m in Sources */, + A5046EE824784CAB0008C81E /* PNSetMembersRequest.m in Sources */, + A55A86E822FD81E3002D0A72 /* PNFetchUUIDMetadataResult.m in Sources */, 79A8BC381C58F93900015BDE /* PNRequestParameters.m in Sources */, + A5046ED924784CAB0008C81E /* PNFetchUUIDMetadataAPICallBuilder.m in Sources */, 79A8BC371C58F93900015BDE /* PubNub+ChannelGroup.m in Sources */, + A5046EEB24784CAB0008C81E /* PNFetchChannelMetadataRequest.m in Sources */, 79A8BC581C58F93900015BDE /* PNHeartbeatParser.m in Sources */, 79A8BC451C58F93900015BDE /* PNSubscribeParser.m in Sources */, A55BCCAA2319243F0019DB68 /* PNAddMessageActionStatus.m in Sources */, + A5046EE424784CAB0008C81E /* PNManageMembersRequest.m in Sources */, 79A8BC261C58F93900015BDE /* PNSubscribeStatus.m in Sources */, 79A8BC5C1C58F93900015BDE /* PubNub+Subscribe.m in Sources */, 7960B66B1F68123300FFAEBB /* PNDeleteMessageAPICallBuilder.m in Sources */, 79A8BC531C58F93900015BDE /* PubNub+Presence.m in Sources */, 79A8BC511C58F93900015BDE /* PNPublishStatus.m in Sources */, 79A0D8D11DC2300F0039A264 /* PNPresenceAPICallBuilder.m in Sources */, + A5046ED124784CAB0008C81E /* PNFetchMembersAPICallBuilder.m in Sources */, 79A0D8AD1DC22FB40039A264 /* PNHistoryAPICallBuilder.m in Sources */, - A56865C1230173030014E17C /* PNSpaceDataChangeParser.m in Sources */, - A58975DA23005BE60093BD9A /* PNMember.m in Sources */, 79A8BC391C58F93900015BDE /* PNHistoryResult.m in Sources */, - A56865A1230170690014E17C /* PNFetchUsersParser.m in Sources */, 79F90F261FDEC1DE007132A3 /* PNPresenceHeartbeatAPICallBuilder.m in Sources */, + A5046EF824784CAB0008C81E /* PNFetchUUIDMetadataParser.m in Sources */, 79A8BC341C58F93900015BDE /* PNStateListener.m in Sources */, + A5046ED724784CAB0008C81E /* PNFetchAllUUIDMetadataAPICallBuilder.m in Sources */, 79A8BC281C58F93900015BDE /* PNHistoryParser.m in Sources */, A52DC1EE2307E10B001F20B0 /* NSDateFormatter+PNCacheable.m in Sources */, - A56865E1230175EC0014E17C /* PNMembershipsParser.m in Sources */, + A5046EE524784CAB0008C81E /* PNRemoveMembersRequest.m in Sources */, A5A7AFC7234932F30060113B /* PNFetchMessagesActionsParser.m in Sources */, A57A302A238D59B500DE8C68 /* PNBasePushNotificationsRequest.m in Sources */, A58975BA23005AAC0093BD9A /* PNManageMembershipsStatus.m in Sources */, A56865912300729E0014E17C /* PNFetchMembersResult.m in Sources */, + A5046ED224784CAB0008C81E /* PNSetMembersAPICallBuilder.m in Sources */, A55BCCEE231D21840019DB68 /* PNAddMessageActionAPICallBuilder.m in Sources */, - A55A864922FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m in Sources */, A55A877422FD8272002D0A72 /* PNRequest.m in Sources */, + A5046EF424784CAB0008C81E /* PNUUIDMetadataChangeParser.m in Sources */, + A5046EF724784CAB0008C81E /* PNFetchChannelsMetadataParser.m in Sources */, A57A3061238D65A200DE8C68 /* PNNotificationsPayload.m in Sources */, 79A8BC271C58F93900015BDE /* PNConfiguration.m in Sources */, - A55A870B22FD81E3002D0A72 /* PNUpdateUserStatus.m in Sources */, + A55A870B22FD81E3002D0A72 /* PNSetUUIDMetadataStatus.m in Sources */, + A5046ED024784CAB0008C81E /* PNSetMembershipsAPICallBuilder.m in Sources */, 79A0D9671DC231350039A264 /* PNSubscribeAPIBuilder.m in Sources */, 79A8BC611C58F93900015BDE /* PubNub+Publish.m in Sources */, 79A0D9491DC230E80039A264 /* PNStreamModificationAPICallBuilder.m in Sources */, A57A3046238D59B500DE8C68 /* PNAuditPushNotificationsRequest.m in Sources */, A5A7B0082349330F0060113B /* PNBaseMessageActionRequest.m in Sources */, 79A8BC221C58F93900015BDE /* PNReachability.m in Sources */, - A55A87C122FD8272002D0A72 /* PNUpdateUserRequest.m in Sources */, 79A8BC1E1C58F93900015BDE /* PubNub+History.m in Sources */, 79A8BC4C1C58F93900015BDE /* PNServiceData.m in Sources */, - A589759A230014220093BD9A /* PNManageMembersAPICallBuilder.m in Sources */, + A5046EEA24784CAB0008C81E /* PNRemoveChannelMetadataRequest.m in Sources */, A57A30E2238DC87400DE8C68 /* PNAPNSNotificationTarget.m in Sources */, 79A0D9251DC230A30039A264 /* PNStateModificationAPICallBuilder.m in Sources */, 79A8BC441C58F93900015BDE /* PNClientState.m in Sources */, @@ -5704,25 +5733,25 @@ 79A8BC311C58F93900015BDE /* PNErrorStatus.m in Sources */, 79A8BC551C58F93900015BDE /* PNURLBuilder.m in Sources */, 79A0D8D71DC230130039A264 /* PNPresenceChannelGroupHereNowAPICallBuilder.m in Sources */, - A589758A230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m in Sources */, 79A8BC541C58F93900015BDE /* PNSubscriber.m in Sources */, 79A8BC4A1C58F93900015BDE /* PNTimeResult.m in Sources */, - A55A885B22FD8272002D0A72 /* PNManageMembersRequest.m in Sources */, 79A0D8E91DC230220039A264 /* PNPresenceWhereNowAPICallBuilder.m in Sources */, + A5046EDE24784CAB0008C81E /* PNChannelMetadata.m in Sources */, A5105B58238F027D00CB693D /* PNDate.m in Sources */, 79A8BC481C58F93900015BDE /* PNTimeParser.m in Sources */, 79A8BC471C58F93900015BDE /* PNURLRequest.m in Sources */, A55BCD0E231D22400019DB68 /* PNFetchMessagesActionsAPICallBuilder.m in Sources */, - A589757A230014090093BD9A /* PNManageMembershipsAPICallBuilder.m in Sources */, + A5046ECE24784CAB0008C81E /* PNRemoveMembersAPICallBuilder.m in Sources */, A57A3071238D6BCC00DE8C68 /* PNFCMNotificationPayload.m in Sources */, + A5046EED24784CAB0008C81E /* PNSetUUIDMetadataRequest.m in Sources */, 79A8BC321C58F93900015BDE /* PubNub+State.m in Sources */, + A5046EEF24784CAB0008C81E /* PNFetchUUIDMetadataRequest.m in Sources */, 79A8BC251C58F93900015BDE /* PNDictionary.m in Sources */, - A55A87F222FD8272002D0A72 /* PNCreateSpaceRequest.m in Sources */, + A5046EE024784CAB0008C81E /* PNBaseObjectsMembershipRequest.m in Sources */, 79A8BC351C58F93900015BDE /* PNHeartbeat.m in Sources */, A55A85D922FD8078002D0A72 /* PubNub+Objects.m in Sources */, - A55A865722FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m in Sources */, - A55A87CF22FD8272002D0A72 /* PNCreateUserRequest.m in Sources */, A5686581230072810014E17C /* PNManageMembersStatus.m in Sources */, + A5046EF324784CAB0008C81E /* PNChannelMetadataChangeParser.m in Sources */, 79A0D8A11DC22F920039A264 /* PNAPNSModificationAPICallBuilder.m in Sources */, A586A9E62337E581008856D2 /* PNFetchMessageActionsResult.m in Sources */, 79A8BC301C58F93900015BDE /* PubNub+Time.m in Sources */, @@ -5730,11 +5759,11 @@ 79A0D9431DC230E20039A264 /* PNStreamAuditAPICallBuilder.m in Sources */, 79A8BC2D1C58F93900015BDE /* PubNub+APNS.m in Sources */, 797D606B22D2E44000E64C94 /* PNSignalStatus.m in Sources */, + A5046EF224784CAB0008C81E /* PNBaseObjectsRequest.m in Sources */, 79A8BC211C58F93900015BDE /* PubNub+Core.m in Sources */, - A55A887022FD8272002D0A72 /* PNFetchMembersRequest.m in Sources */, 79A8BC491C58F93900015BDE /* PNKeychain.m in Sources */, - A55A883822FD8272002D0A72 /* PNUpdateSpaceRequest.m in Sources */, 79A8BC4F1C58F93900015BDE /* PNNetwork.m in Sources */, + A5046EE124784CAB0008C81E /* PNManageMembershipsRequest.m in Sources */, 79A3E420221569BA00F2ADB9 /* PNMessageCountResult.m in Sources */, 79A8BC3D1C58F93900015BDE /* PNChannel.m in Sources */, 797D606222D2E41100E64C94 /* PNSignalAPICallBuilder.m in Sources */, @@ -5742,7 +5771,6 @@ 79A8BC5E1C58F93900015BDE /* PNResult.m in Sources */, A55BCD1E231D26110019DB68 /* PNMessageAction.m in Sources */, 79A3E430221569DA00F2ADB9 /* PNMessageCountParser.m in Sources */, - A55A87E422FD8272002D0A72 /* PNFetchSpaceRequest.m in Sources */, A5A7B01D2349330F0060113B /* PNFetchMessageActionsRequest.m in Sources */, 79F857FA219640A200BFD0B1 /* PNClientStateGetResult.m in Sources */, 79A8BC591C58F93900015BDE /* PNStatus.m in Sources */, @@ -5751,17 +5779,23 @@ 79A8BC521C58F93900015BDE /* PNNumber.m in Sources */, 79650C3B1E775EA000006F66 /* PNLockSupport.m in Sources */, 79A8BC201C58F93900015BDE /* PNString.m in Sources */, + A5046EDB24784CAB0008C81E /* PNObjectsAPICallBuilder.m in Sources */, A56865712300709F0014E17C /* PNFetchMembershipsResult.m in Sources */, A56FAEFA233161570072ADD6 /* PubNub+MessageActions.m in Sources */, 79A0D96E1DC2313A0039A264 /* PNSubscribeChannelsOrGroupsAPIBuilder.m in Sources */, - A55A861F22FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m in Sources */, + A5046EF524784CAB0008C81E /* PNObjectsRemoveParser.m in Sources */, + A5046EEE24784CAB0008C81E /* PNRemoveUUIDMetadataRequest.m in Sources */, + A5046EDC24784CAB0008C81E /* PNMembership.m in Sources */, 79A8BC5A1C58F93900015BDE /* PNArray.m in Sources */, 79A8BC2B1C58F93900015BDE /* PNJSON.m in Sources */, 79A8BC291C58F93900015BDE /* PNGZIP.m in Sources */, + A5046ED324784CAB0008C81E /* PNFetchAllChannelsMetadataAPICallBuilder.m in Sources */, 79A8BC231C58F93900015BDE /* PNData.m in Sources */, A5A7B0162349330F0060113B /* PNAddMessageActionRequest.m in Sources */, - A55A86F622FD81E3002D0A72 /* PNFetchSpacesResult.m in Sources */, - A56865F1230176760014E17C /* PNMembersParser.m in Sources */, + A5046EF924784CAB0008C81E /* PNMembersParser.m in Sources */, + A55A86F622FD81E3002D0A72 /* PNFetchChannelsMetadataResult.m in Sources */, + A5046EF024784CAB0008C81E /* PNFetchAllUUIDMetadataRequest.m in Sources */, + A5046EE224784CAB0008C81E /* PNRemoveMembershipsRequest.m in Sources */, 79A8BC4E1C58F93900015BDE /* PNAES.m in Sources */, A5A7AFEA234932F30060113B /* PNRemoveMessageActionParser.m in Sources */, ); @@ -5771,13 +5805,13 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + A5046E7724784CAA0008C81E /* PNFetchChannelMetadataAPICallBuilder.m in Sources */, 79A0D87F1DC22F470039A264 /* PNAPICallBuilder.m in Sources */, - A55A87ED22FD8272002D0A72 /* PNFetchSpacesRequest.m in Sources */, A57A30BC238DC6B600DE8C68 /* PNAPNSNotificationPayload.m in Sources */, 79CBB17F1BD03DE4001FC34D /* PNPushNotificationsStateModificationParser.m in Sources */, - A55A884822FD8272002D0A72 /* PNManageMembershipsRequest.m in Sources */, + A5046E6E24784CAA0008C81E /* PNManageMembershipsAPICallBuilder.m in Sources */, A5A7AFDE234932F30060113B /* PNAddMessageActionParser.m in Sources */, - A55A86FF22FD81E3002D0A72 /* PNCreateSpaceStatus.m in Sources */, + A5046E8924784CAA0008C81E /* PNFetchMembersRequest.m in Sources */, 79A238DA1D2E70BD00D080CD /* NSURLSessionConfiguration+PNConfiguration.m in Sources */, 79CBB1301BD03DE4001FC34D /* PNPresenceChannelGroupHereNowResult.m in Sources */, A57A30CC238DC71800DE8C68 /* PNAPNSNotificationConfiguration.m in Sources */, @@ -5788,107 +5822,104 @@ 79A0D8FD1DC230550039A264 /* PNPublishAPICallBuilder.m in Sources */, A5A7B0262349330F0060113B /* PNRemoveMessageActionRequest.m in Sources */, 79CBB1321BD03DE4001FC34D /* PNPresenceChannelHereNowResult.m in Sources */, + A5046E7624784CAA0008C81E /* PNRemoveChannelMetadataAPICallBuilder.m in Sources */, + A5046E7A24784CAA0008C81E /* PNRemoveUUIDMetadataAPICallBuilder.m in Sources */, 79CBB17D1BD03DE4001FC34D /* PNPushNotificationsAuditParser.m in Sources */, 79A0D88B1DC22F620039A264 /* PNAPNSAPICallBuilder.m in Sources */, A55BCD00231D222B0019DB68 /* PNRemoveMessageActionAPICallBuilder.m in Sources */, - A55A865222FD80B9002D0A72 /* PNUpdateSpaceAPICallBuilder.m in Sources */, - A55A882C22FD8272002D0A72 /* PNManageSpaceDataRequest.m in Sources */, - A55A87BC22FD8272002D0A72 /* PNManageUserDataRequest.m in Sources */, 79CBB1341BD03DE4001FC34D /* PNPresenceGlobalHereNowResult.m in Sources */, 79CBB1691BD03DE4001FC34D /* PNChannelGroupAuditionParser.m in Sources */, 79A0D8DF1DC230180039A264 /* PNPresenceChannelHereNowAPICallBuilder.m in Sources */, + A5046E7C24784CAA0008C81E /* PNSetUUIDMetadataAPICallBuilder.m in Sources */, + A5046E6F24784CAA0008C81E /* PNFetchMembershipsAPICallBuilder.m in Sources */, + A5046E8E24784CAA0008C81E /* PNFetchAllChannelsMetadataRequest.m in Sources */, + A5046E8524784CAA0008C81E /* PNFetchMembershipsRequest.m in Sources */, + A5046E8824784CAA0008C81E /* PNSetMembershipsRequest.m in Sources */, + A5046E8B24784CAA0008C81E /* PNSetChannelMetadataRequest.m in Sources */, 79A0D8E51DC2301E0039A264 /* PNPresenceHereNowAPICallBuilder.m in Sources */, + A5046E7F24784CAA0008C81E /* PNMember.m in Sources */, A57A3041238D59B500DE8C68 /* PNRemovePushNotificationsRequest.m in Sources */, 79A0D91B1DC2309B0039A264 /* PNStateAPICallBuilder.m in Sources */, - A58975CC23005BD80093BD9A /* PNMembership.m in Sources */, + A5046E7124784CAA0008C81E /* PNManageMembersAPICallBuilder.m in Sources */, 79A0D93F1DC230DE0039A264 /* PNStreamAPICallBuilder.m in Sources */, - A55A873022FD81E3002D0A72 /* PNUpdateSpaceStatus.m in Sources */, - A55A869822FD80B9002D0A72 /* PNFetchSpacesAPICallBuilder.m in Sources */, - A55A863622FD80B9002D0A72 /* PNDeleteUserAPICallBuilder.m in Sources */, + A55A873022FD81E3002D0A72 /* PNSetChannelMetadataStatus.m in Sources */, 79CBB1231BD03DE4001FC34D /* PNChannelGroupChannelsResult.m in Sources */, 79CBB1891BD03DE4001FC34D /* PNNetworkResponseSerializer.m in Sources */, - A55A862F22FD80B9002D0A72 /* PNCreateUserAPICallBuilder.m in Sources */, - A55A86AD22FD817E002D0A72 /* PNUser.m in Sources */, 79CBB11F1BD03DE4001FC34D /* PNAPNSEnabledChannelsResult.m in Sources */, + A5046E9824784CAA0008C81E /* PNMembershipsParser.m in Sources */, A57A3033238D59B500DE8C68 /* PNAddPushNotificationsRequest.m in Sources */, 79A0D9031DC2305A0039A264 /* PNPublishSizeAPICallBuilder.m in Sources */, - A56865D3230173AA0014E17C /* PNObjectsDeleteParser.m in Sources */, - A55A86D022FD817E002D0A72 /* PNSpace.m in Sources */, 79A0D9751DC231400039A264 /* PNUnsubscribeAPICallBuilder.m in Sources */, 79CBB1211BD03DE4001FC34D /* PNChannelClientStateResult.m in Sources */, 79CBB1291BD03DE4001FC34D /* PNClientStateUpdateStatus.m in Sources */, 79CBB1361BD03DE4001FC34D /* PNPresenceWhereNowResult.m in Sources */, 79CBB17B1BD03DE4001FC34D /* PNPresenceWhereNowParser.m in Sources */, 79CBB1791BD03DE4001FC34D /* PNPresenceHereNowParser.m in Sources */, - A55A871422FD81E3002D0A72 /* PNCreateUserStatus.m in Sources */, 79CBB1771BD03DE4001FC34D /* PNMessagePublishParser.m in Sources */, - A55A869122FD80B9002D0A72 /* PNFetchSpaceAPICallBuilder.m in Sources */, 79CBB11D1BD03DE4001FC34D /* PNAcknowledgmentStatus.m in Sources */, - A55A87A722FD8272002D0A72 /* PNDeleteUserRequest.m in Sources */, 79A0D9881DC2315E0039A264 /* PNTimeAPICallBuilder.m in Sources */, + A5046E9324784CAA0008C81E /* PNObjectsPaginatedRequest.m in Sources */, 79CBB1271BD03DE4001FC34D /* PNChannelGroupsResult.m in Sources */, - A56865B3230172950014E17C /* PNFetchSpacesParser.m in Sources */, + A5046E7824784CAA0008C81E /* PNSetChannelMetadataAPICallBuilder.m in Sources */, 79E20D1F1C8AEC52001BC9CC /* PNEnvelopeInformation.m in Sources */, A57A3093238D751400DE8C68 /* PNMPNSNotificationPayload.m in Sources */, 7925DB9F1D3FFCAC00857C0D /* PNLLogFileInformation.m in Sources */, - A55A87D822FD8272002D0A72 /* PNFetchUsersRequest.m in Sources */, - A55A884122FD8272002D0A72 /* PNBaseObjectsRequest.m in Sources */, - A55A888022FD8272002D0A72 /* PNObjectsPaginatedRequest.m in Sources */, - A55A884F22FD8272002D0A72 /* PNFetchMembershipsRequest.m in Sources */, 79A0D8971DC22F7E0039A264 /* PNAPNSAuditAPICallBuilder.m in Sources */, + A5046E6D24784CAA0008C81E /* PNRemoveMembershipsAPICallBuilder.m in Sources */, 79CBB1431BD03DE4001FC34D /* PNSubscriberResults.m in Sources */, - A55A873A22FD825A002D0A72 /* PNUserDataChangeParser.m in Sources */, 793248681D874D9F00FBDF36 /* PNPublishSequence.m in Sources */, - A55A860C22FD80B9002D0A72 /* PNFetchUserAPICallBuilder.m in Sources */, - A55A880922FD8272002D0A72 /* PNDeleteSpaceRequest.m in Sources */, 79CBB1181BD03DE4001FC34D /* PNClientInformation.m in Sources */, - A55A867522FD80B9002D0A72 /* PNDeleteSpaceAPICallBuilder.m in Sources */, - A55A878422FD8272002D0A72 /* PNFetchUserRequest.m in Sources */, A57A30A3238D784A00DE8C68 /* PNBaseNotificationPayload.m in Sources */, 79CBB18D1BD03DE4001FC34D /* PNRequestParameters.m in Sources */, - A58975AC230014300093BD9A /* PNFetchMembersAPICallBuilder.m in Sources */, - A55A86EA22FD81E3002D0A72 /* PNFetchUsersResult.m in Sources */, + A5046E8124784CAA0008C81E /* PNUUIDMetadata.m in Sources */, + A5046E8A24784CAA0008C81E /* PNSetMembersRequest.m in Sources */, + A55A86EA22FD81E3002D0A72 /* PNFetchUUIDMetadataResult.m in Sources */, 79CBB16D1BD03DE4001FC34D /* PNClientStateParser.m in Sources */, + A5046E7B24784CAA0008C81E /* PNFetchUUIDMetadataAPICallBuilder.m in Sources */, 79CBB0FB1BD03DE4001FC34D /* PubNub+ChannelGroup.m in Sources */, + A5046E8D24784CAA0008C81E /* PNFetchChannelMetadataRequest.m in Sources */, 79CBB1831BD03DE4001FC34D /* PNSubscribeParser.m in Sources */, 79CBB1711BD03DE4001FC34D /* PNHeartbeatParser.m in Sources */, A55BCCAC2319243F0019DB68 /* PNAddMessageActionStatus.m in Sources */, + A5046E8624784CAA0008C81E /* PNManageMembersRequest.m in Sources */, 79CBB1451BD03DE4001FC34D /* PNSubscribeStatus.m in Sources */, 79CBB1091BD03DE4001FC34D /* PubNub+Subscribe.m in Sources */, 7960B66D1F68123300FFAEBB /* PNDeleteMessageAPICallBuilder.m in Sources */, 79CBB1731BD03DE4001FC34D /* PNHistoryParser.m in Sources */, 79CBB1381BD03DE4001FC34D /* PNPublishStatus.m in Sources */, 79A0D8D31DC2300F0039A264 /* PNPresenceAPICallBuilder.m in Sources */, + A5046E7324784CAA0008C81E /* PNFetchMembersAPICallBuilder.m in Sources */, 79A0D8AF1DC22FB50039A264 /* PNHistoryAPICallBuilder.m in Sources */, - A56865C3230173030014E17C /* PNSpaceDataChangeParser.m in Sources */, - A58975DC23005BE60093BD9A /* PNMember.m in Sources */, 79CBB1121BD03DE4001FC34D /* PNStateListener.m in Sources */, - A56865A3230170690014E17C /* PNFetchUsersParser.m in Sources */, 79F90F241FDEC1DE007132A3 /* PNPresenceHeartbeatAPICallBuilder.m in Sources */, + A5046E9A24784CAA0008C81E /* PNFetchUUIDMetadataParser.m in Sources */, 79CBB1021BD03DE4001FC34D /* PubNub+Presence.m in Sources */, + A5046E7924784CAA0008C81E /* PNFetchAllUUIDMetadataAPICallBuilder.m in Sources */, 79CBB12E1BD03DE4001FC34D /* PNHistoryResult.m in Sources */, A52DC1F02307E10B001F20B0 /* NSDateFormatter+PNCacheable.m in Sources */, - A56865E3230175EC0014E17C /* PNMembershipsParser.m in Sources */, + A5046E8724784CAA0008C81E /* PNRemoveMembersRequest.m in Sources */, A5A7AFC9234932F30060113B /* PNFetchMessagesActionsParser.m in Sources */, A57A302C238D59B500DE8C68 /* PNBasePushNotificationsRequest.m in Sources */, A58975BC23005AAC0093BD9A /* PNManageMembershipsStatus.m in Sources */, A56865932300729E0014E17C /* PNFetchMembersResult.m in Sources */, + A5046E7424784CAA0008C81E /* PNSetMembersAPICallBuilder.m in Sources */, A55BCCF0231D21840019DB68 /* PNAddMessageActionAPICallBuilder.m in Sources */, - A55A864B22FD80B9002D0A72 /* PNUpdateUserAPICallBuilder.m in Sources */, A55A877622FD8272002D0A72 /* PNRequest.m in Sources */, + A5046E9624784CAA0008C81E /* PNUUIDMetadataChangeParser.m in Sources */, + A5046E9924784CAA0008C81E /* PNFetchChannelsMetadataParser.m in Sources */, A57A3063238D65A200DE8C68 /* PNNotificationsPayload.m in Sources */, 79CBB11B1BD03DE4001FC34D /* PNConfiguration.m in Sources */, - A55A870D22FD81E3002D0A72 /* PNUpdateUserStatus.m in Sources */, + A55A870D22FD81E3002D0A72 /* PNSetUUIDMetadataStatus.m in Sources */, + A5046E7224784CAA0008C81E /* PNSetMembershipsAPICallBuilder.m in Sources */, 79A0D9691DC231360039A264 /* PNSubscribeAPIBuilder.m in Sources */, 79CBB1051BD03DE4001FC34D /* PubNub+Publish.m in Sources */, 79A0D94B1DC230E90039A264 /* PNStreamModificationAPICallBuilder.m in Sources */, A57A3048238D59B500DE8C68 /* PNAuditPushNotificationsRequest.m in Sources */, A5A7B00A2349330F0060113B /* PNBaseMessageActionRequest.m in Sources */, 79CBB1001BD03DE4001FC34D /* PubNub+History.m in Sources */, - A55A87C322FD8272002D0A72 /* PNUpdateUserRequest.m in Sources */, 79CBB18B1BD03DE4001FC34D /* PNReachability.m in Sources */, 79CBB1751BD03DE4001FC34D /* PNLeaveParser.m in Sources */, - A589759C230014220093BD9A /* PNManageMembersAPICallBuilder.m in Sources */, + A5046E8C24784CAA0008C81E /* PNRemoveChannelMetadataRequest.m in Sources */, A57A30E4238DC87400DE8C68 /* PNAPNSNotificationTarget.m in Sources */, 79A0D9271DC230A30039A264 /* PNStateModificationAPICallBuilder.m in Sources */, 79CBB16F1BD03DE4001FC34D /* PNErrorParser.m in Sources */, @@ -5897,25 +5928,25 @@ 79CBB10E1BD03DE4001FC34D /* PNClientState.m in Sources */, 79CBB1851BD03DE4001FC34D /* PNTimeParser.m in Sources */, 79A0D8D91DC230140039A264 /* PNPresenceChannelGroupHereNowAPICallBuilder.m in Sources */, - A589758C230014160093BD9A /* PNFetchMembershipsAPICallBuilder.m in Sources */, 79CBB1511BD03DE4001FC34D /* PNDictionary.m in Sources */, 79CBB1471BD03DE4001FC34D /* PNTimeResult.m in Sources */, - A55A885D22FD8272002D0A72 /* PNManageMembersRequest.m in Sources */, 79A0D8EB1DC230230039A264 /* PNPresenceWhereNowAPICallBuilder.m in Sources */, + A5046E8024784CAA0008C81E /* PNChannelMetadata.m in Sources */, A5105B5A238F027D00CB693D /* PNDate.m in Sources */, 79CBB1141BD03DE4001FC34D /* PNSubscriber.m in Sources */, 79CBB1071BD03DE4001FC34D /* PubNub+State.m in Sources */, A55BCD10231D22400019DB68 /* PNFetchMessagesActionsAPICallBuilder.m in Sources */, - A589757C230014090093BD9A /* PNManageMembershipsAPICallBuilder.m in Sources */, + A5046E7024784CAA0008C81E /* PNRemoveMembersAPICallBuilder.m in Sources */, A57A3073238D6BCC00DE8C68 /* PNFCMNotificationPayload.m in Sources */, + A5046E8F24784CAA0008C81E /* PNSetUUIDMetadataRequest.m in Sources */, 79CBB18F1BD03DE4001FC34D /* PNURLBuilder.m in Sources */, + A5046E9124784CAA0008C81E /* PNFetchUUIDMetadataRequest.m in Sources */, 79CBB15A1BD03DE4001FC34D /* PNURLRequest.m in Sources */, - A55A87F422FD8272002D0A72 /* PNCreateSpaceRequest.m in Sources */, + A5046E8224784CAA0008C81E /* PNBaseObjectsMembershipRequest.m in Sources */, 79CBB1101BD03DE4001FC34D /* PNHeartbeat.m in Sources */, A55A85DB22FD8078002D0A72 /* PubNub+Objects.m in Sources */, - A55A865922FD80B9002D0A72 /* PNCreateSpaceAPICallBuilder.m in Sources */, - A55A87D122FD8272002D0A72 /* PNCreateUserRequest.m in Sources */, A5686583230072810014E17C /* PNManageMembersStatus.m in Sources */, + A5046E9524784CAA0008C81E /* PNChannelMetadataChangeParser.m in Sources */, 79A0D8A31DC22F930039A264 /* PNAPNSModificationAPICallBuilder.m in Sources */, A586A9E82337E581008856D2 /* PNFetchMessageActionsResult.m in Sources */, 79CBB10C1BD03DE4001FC34D /* PubNub+Time.m in Sources */, @@ -5923,11 +5954,11 @@ 79A0D9451DC230E30039A264 /* PNStreamAuditAPICallBuilder.m in Sources */, 79CBB0FD1BD03DE4001FC34D /* PubNub+Core.m in Sources */, 797D606D22D2E44000E64C94 /* PNSignalStatus.m in Sources */, + A5046E9424784CAA0008C81E /* PNBaseObjectsRequest.m in Sources */, 79CBB0F91BD03DE4001FC34D /* PubNub+APNS.m in Sources */, - A55A887222FD8272002D0A72 /* PNFetchMembersRequest.m in Sources */, 79E2D0F61C56434700BAA244 /* PNKeychain.m in Sources */, - A55A883A22FD8272002D0A72 /* PNUpdateSpaceRequest.m in Sources */, 79CBB1871BD03DE4001FC34D /* PNNetwork.m in Sources */, + A5046E8324784CAA0008C81E /* PNManageMembershipsRequest.m in Sources */, 79A3E422221569BA00F2ADB9 /* PNMessageCountResult.m in Sources */, 79CBB14B1BD03DE4001FC34D /* PNChannel.m in Sources */, 797D606422D2E41100E64C94 /* PNSignalAPICallBuilder.m in Sources */, @@ -5935,7 +5966,6 @@ 793887091BEAD4E100DCC662 /* PNNumber.m in Sources */, A55BCD20231D26110019DB68 /* PNMessageAction.m in Sources */, 79A3E432221569DA00F2ADB9 /* PNMessageCountParser.m in Sources */, - A55A87E622FD8272002D0A72 /* PNFetchSpaceRequest.m in Sources */, A5A7B01F2349330F0060113B /* PNFetchMessageActionsRequest.m in Sources */, 79F857FC219640A300BFD0B1 /* PNClientStateGetResult.m in Sources */, 79CBB1581BD03DE4001FC34D /* PNString.m in Sources */, @@ -5944,17 +5974,23 @@ 79CBB1411BD03DE4001FC34D /* PNStatus.m in Sources */, 79650C3D1E775EA100006F66 /* PNLockSupport.m in Sources */, 79CBB13B1BD03DE4001FC34D /* PNResult.m in Sources */, + A5046E7D24784CAA0008C81E /* PNObjectsAPICallBuilder.m in Sources */, A56865732300709F0014E17C /* PNFetchMembershipsResult.m in Sources */, A56FAEFC233161570072ADD6 /* PubNub+MessageActions.m in Sources */, 79A0D9711DC2313C0039A264 /* PNSubscribeChannelsOrGroupsAPIBuilder.m in Sources */, - A55A862122FD80B9002D0A72 /* PNFetchUsersAPICallBuilder.m in Sources */, + A5046E9724784CAA0008C81E /* PNObjectsRemoveParser.m in Sources */, + A5046E9024784CAA0008C81E /* PNRemoveUUIDMetadataRequest.m in Sources */, + A5046E7E24784CAA0008C81E /* PNMembership.m in Sources */, 79CBB1491BD03DE4001FC34D /* PNArray.m in Sources */, 79CBB1561BD03DE4001FC34D /* PNJSON.m in Sources */, 79CBB1531BD03DE4001FC34D /* PNGZIP.m in Sources */, + A5046E7524784CAA0008C81E /* PNFetchAllChannelsMetadataAPICallBuilder.m in Sources */, 79CBB14F1BD03DE4001FC34D /* PNData.m in Sources */, A5A7B0182349330F0060113B /* PNAddMessageActionRequest.m in Sources */, - A55A86F822FD81E3002D0A72 /* PNFetchSpacesResult.m in Sources */, - A56865F3230176760014E17C /* PNMembersParser.m in Sources */, + A5046E9B24784CAA0008C81E /* PNMembersParser.m in Sources */, + A55A86F822FD81E3002D0A72 /* PNFetchChannelsMetadataResult.m in Sources */, + A5046E9224784CAA0008C81E /* PNFetchAllUUIDMetadataRequest.m in Sources */, + A5046E8424784CAA0008C81E /* PNRemoveMembershipsRequest.m in Sources */, 79CBB1161BD03DE4001FC34D /* PNAES.m in Sources */, A5A7AFEC234932F30060113B /* PNRemoveMessageActionParser.m in Sources */, ); diff --git a/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (OSX).xcscheme b/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (OSX).xcscheme index 3dcac4fd0..ea1be44ae 100644 --- a/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (OSX).xcscheme +++ b/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (OSX).xcscheme @@ -15,7 +15,7 @@ @@ -44,7 +44,7 @@ @@ -60,7 +60,7 @@ diff --git a/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (iOS).xcscheme b/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (iOS).xcscheme index f928e093f..09578c32e 100644 --- a/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (iOS).xcscheme +++ b/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (iOS).xcscheme @@ -15,7 +15,7 @@ @@ -44,7 +44,7 @@ @@ -60,7 +60,7 @@ diff --git a/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (tvOS).xcscheme b/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (tvOS).xcscheme index fa297c063..470040609 100644 --- a/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (tvOS).xcscheme +++ b/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (tvOS).xcscheme @@ -15,7 +15,7 @@ @@ -44,7 +44,7 @@ @@ -60,7 +60,7 @@ diff --git a/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (watchOS).xcscheme b/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (watchOS).xcscheme index 4dc7bcb75..2e7e25c02 100644 --- a/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (watchOS).xcscheme +++ b/Framework/PubNub Framework.xcodeproj/xcshareddata/xcschemes/Framework (watchOS).xcscheme @@ -15,7 +15,7 @@ @@ -44,7 +44,7 @@ @@ -60,7 +60,7 @@ diff --git a/Framework/PubNub/Info.plist b/Framework/PubNub/Info.plist index ce7d5a145..e60de89a6 100644 --- a/Framework/PubNub/Info.plist +++ b/Framework/PubNub/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable PubNub CFBundleGetInfoString - 4.13.2 + 4.14.0 CFBundleIdentifier com.pubnub.pubnub-objc CFBundleInfoDictionaryVersion @@ -17,11 +17,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.13.2 + 4.14.0 CFBundleSignature ???? CFBundleVersion - 4.13.2 + 4.14.0 NSHumanReadableCopyright © 2010 - 2020 PubNub, Inc. NSPrincipalClass diff --git a/Framework/PubNub/PubNub-iOS-Info.plist b/Framework/PubNub/PubNub-iOS-Info.plist index ce7d5a145..e60de89a6 100644 --- a/Framework/PubNub/PubNub-iOS-Info.plist +++ b/Framework/PubNub/PubNub-iOS-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable PubNub CFBundleGetInfoString - 4.13.2 + 4.14.0 CFBundleIdentifier com.pubnub.pubnub-objc CFBundleInfoDictionaryVersion @@ -17,11 +17,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.13.2 + 4.14.0 CFBundleSignature ???? CFBundleVersion - 4.13.2 + 4.14.0 NSHumanReadableCopyright © 2010 - 2020 PubNub, Inc. NSPrincipalClass diff --git a/Framework/PubNub/PubNub-tvOS-Info.plist b/Framework/PubNub/PubNub-tvOS-Info.plist index ce7d5a145..e60de89a6 100644 --- a/Framework/PubNub/PubNub-tvOS-Info.plist +++ b/Framework/PubNub/PubNub-tvOS-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable PubNub CFBundleGetInfoString - 4.13.2 + 4.14.0 CFBundleIdentifier com.pubnub.pubnub-objc CFBundleInfoDictionaryVersion @@ -17,11 +17,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.13.2 + 4.14.0 CFBundleSignature ???? CFBundleVersion - 4.13.2 + 4.14.0 NSHumanReadableCopyright © 2010 - 2020 PubNub, Inc. NSPrincipalClass diff --git a/Framework/PubNub/PubNub-watchOS-Info.plist b/Framework/PubNub/PubNub-watchOS-Info.plist index ce7d5a145..e60de89a6 100644 --- a/Framework/PubNub/PubNub-watchOS-Info.plist +++ b/Framework/PubNub/PubNub-watchOS-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable PubNub CFBundleGetInfoString - 4.13.2 + 4.14.0 CFBundleIdentifier com.pubnub.pubnub-objc CFBundleInfoDictionaryVersion @@ -17,11 +17,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.13.2 + 4.14.0 CFBundleSignature ???? CFBundleVersion - 4.13.2 + 4.14.0 NSHumanReadableCopyright © 2010 - 2020 PubNub, Inc. NSPrincipalClass diff --git a/Framework/PubNub/PubNub.h b/Framework/PubNub/PubNub.h index c695ff8a0..0cf8ebc70 100644 --- a/Framework/PubNub/PubNub.h +++ b/Framework/PubNub/PubNub.h @@ -15,7 +15,7 @@ FOUNDATION_EXPORT const unsigned char PubNubVersionString[]; // Protocols -#import "PNObjectEventListener.h" +#import "PNEventsListener.h" // Categories #import "NSURLSessionConfiguration+PNConfiguration.h" @@ -25,11 +25,17 @@ FOUNDATION_EXPORT const unsigned char PubNubVersionString[]; #import "PNChannelGroupClientStateResult.h" #import "PNPresenceChannelHereNowResult.h" #import "PNPresenceGlobalHereNowResult.h" +#import "PNFetchChannelsMetadataResult.h" #import "PNChannelGroupChannelsResult.h" +#import "PNFetchMessageActionsResult.h" #import "PNAPNSEnabledChannelsResult.h" +#import "PNSetChannelMetadataStatus.h" #import "PNChannelClientStateResult.h" +#import "PNManageMembershipsStatus.h" #import "PNClientStateUpdateStatus.h" +#import "PNFetchUUIDMetadataResult.h" #import "PNPresenceWhereNowResult.h" +#import "PNAddMessageActionStatus.h" #import "PNAcknowledgmentStatus.h" #import "PNClientStateGetResult.h" #import "PNChannelGroupsResult.h" diff --git a/PubNub.podspec b/PubNub.podspec index 704804055..92bca9e08 100644 --- a/PubNub.podspec +++ b/PubNub.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |spec| spec.name = 'PubNub' - spec.version = '4.13.2' + spec.version = '4.14.0' spec.summary = 'The PubNub Real-Time Network. Build real-time apps quickly and scale them globally.' spec.homepage = 'https://github.com/pubnub/objective-c' diff --git a/PubNub/Core/PubNub+Core.m b/PubNub/Core/PubNub+Core.m index 224ced7ca..1c4017670 100644 --- a/PubNub/Core/PubNub+Core.m +++ b/PubNub/Core/PubNub+Core.m @@ -5,7 +5,7 @@ * @copyright © 2010-2019 PubNub, Inc. */ #import "PubNub+CorePrivate.h" -#define PN_CORE_PROTOCOLS PNObjectEventListener +#define PN_CORE_PROTOCOLS PNEventsListener #if TARGET_OS_IOS #import @@ -13,11 +13,11 @@ #import #endif // TARGET_OS_OSX #import "PubNub+SubscribePrivate.h" -#import "PNObjectEventListener.h" #import "PNPrivateStructures.h" #import "PNClientInformation.h" #import "PNRequestParameters.h" #import "PNSubscribeStatus.h" +#import "PNEventsListener.h" #import "PNResult+Private.h" #import "PNStatus+Private.h" #import "PNConfiguration.h" diff --git a/PubNub/Core/PubNub+Objects.h b/PubNub/Core/PubNub+Objects.h index cea2f3aaf..4e4e3c988 100644 --- a/PubNub/Core/PubNub+Objects.h +++ b/PubNub/Core/PubNub+Objects.h @@ -1,44 +1,49 @@ #import "PubNub+Core.h" -#import "PNCreateUserRequest.h" -#import "PNUpdateUserRequest.h" -#import "PNDeleteUserRequest.h" -#import "PNFetchUserRequest.h" -#import "PNFetchUsersRequest.h" -#import "PNCreateSpaceRequest.h" -#import "PNUpdateSpaceRequest.h" -#import "PNDeleteSpaceRequest.h" -#import "PNFetchSpaceRequest.h" -#import "PNFetchSpacesRequest.h" +#import "PNSetUUIDMetadataRequest.h" +#import "PNRemoveUUIDMetadataRequest.h" +#import "PNFetchUUIDMetadataRequest.h" +#import "PNFetchAllUUIDMetadataRequest.h" +#import "PNSetChannelMetadataRequest.h" +#import "PNRemoveChannelMetadataRequest.h" +#import "PNFetchChannelMetadataRequest.h" +#import "PNFetchAllChannelsMetadataRequest.h" +#import "PNSetMembershipsRequest.h" +#import "PNRemoveMembershipsRequest.h" #import "PNManageMembershipsRequest.h" #import "PNFetchMembershipsRequest.h" +#import "PNSetMembersRequest.h" +#import "PNRemoveMembersRequest.h" #import "PNManageMembersRequest.h" #import "PNFetchMembersRequest.h" -#import "PNUpdateUserStatus.h" -#import "PNCreateUserStatus.h" -#import "PNFetchUsersResult.h" -#import "PNUpdateSpaceStatus.h" -#import "PNCreateSpaceStatus.h" -#import "PNFetchSpacesResult.h" +#import "PNSetUUIDMetadataStatus.h" +#import "PNFetchUUIDMetadataResult.h" +#import "PNSetChannelMetadataStatus.h" +#import "PNFetchChannelsMetadataResult.h" #import "PNManageMembershipsStatus.h" #import "PNFetchMembershipsResult.h" #import "PNManageMembersStatus.h" #import "PNFetchMembersResult.h" -#import "PNCreateUserAPICallBuilder.h" -#import "PNUpdateUserAPICallBuilder.h" -#import "PNDeleteUserAPICallBuilder.h" -#import "PNFetchUserAPICallBuilder.h" -#import "PNFetchUsersAPICallBuilder.h" -#import "PNCreateSpaceAPICallBuilder.h" -#import "PNUpdateSpaceAPICallBuilder.h" -#import "PNDeleteSpaceAPICallBuilder.h" -#import "PNFetchSpaceAPICallBuilder.h" -#import "PNFetchSpacesAPICallBuilder.h" +#import "PNObjectsAPICallBuilder.h" +#import "PNSetUUIDMetadataAPICallBuilder.h" +#import "PNRemoveUUIDMetadataAPICallBuilder.h" +#import "PNFetchUUIDMetadataAPICallBuilder.h" +#import "PNFetchAllUUIDMetadataAPICallBuilder.h" + +#import "PNSetChannelMetadataAPICallBuilder.h" +#import "PNRemoveChannelMetadataAPICallBuilder.h" +#import "PNFetchChannelMetadataAPICallBuilder.h" +#import "PNFetchAllChannelsMetadataAPICallBuilder.h" + +#import "PNSetMembershipsAPICallBuilder.h" +#import "PNRemoveMembershipsAPICallBuilder.h" #import "PNManageMembershipsAPICallBuilder.h" #import "PNFetchMembershipsAPICallBuilder.h" +#import "PNSetMembersAPICallBuilder.h" +#import "PNRemoveMembersAPICallBuilder.h" #import "PNManageMembersAPICallBuilder.h" #import "PNFetchMembersAPICallBuilder.h" @@ -52,142 +57,101 @@ NS_ASSUME_NONNULL_BEGIN /** * @brief \b PubNub client core class extension to provide access to 'Objects' API group. * - * @discussion Set of API which allow to manage space / user objects and their relationships. + * @discussion Set of API which allow to manage UUID / channels metadata and their relationships. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PubNub (Objects) -#pragma mark - User Objects API builder support - -/** - * @brief \c Create \c user API access builder block. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateUserAPICallBuilder * (^createUser)(void); +#pragma mark - API builder support /** - * @brief \c Update \c user API access builder block. + * @brief Objects API access builder. * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNUpdateUserAPICallBuilder * (^updateUser)(void); +@property (nonatomic, readonly, strong) PNObjectsAPICallBuilder * (^objects)(void); -/** - * @brief \c Delete \c user API access builder block. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNDeleteUserAPICallBuilder * (^deleteUser)(void); -/** - * @brief \c Fetch \c user API access builder block. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchUserAPICallBuilder * (^fetchUser)(void); +#pragma mark - UUID metadata object /** - * @brief \c Fetch \c all \c users API access builder block. + * @brief \c Set \c metadata for \c UUID. * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchUsersAPICallBuilder * (^fetchUsers)(void); - - -#pragma mark - Space Objects API builder support - -/** - * @brief \c Create \c space API access builder block. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateSpaceAPICallBuilder * (^createSpace)(void); - -/** - * @brief \c Update \c space API access builder block. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateSpaceAPICallBuilder * (^updateSpace)(void); - -/** - * @brief \c Delete \c space API access builder block. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNDeleteSpaceAPICallBuilder * (^deleteSpace)(void); - -/** - * @brief \c Fetch \c space API access builder block. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchSpaceAPICallBuilder * (^fetchSpace)(void); - -/** - * @brief \c Fetch \c all \c spaces API access builder block. + * @code + * PNSetUUIDMetadataRequest *request = [PNSetUUIDMetadataRequest requestWithUUID:@"uuid"]; + * // With this option on, returned metadata model will have value which has been set to 'custom' + * // property. + * request.includeFields = PNUUIDCustomField; + * request.custom = @{ @"age": @(39), @"status": @"Checking some stuff..." }; + * request.email = @"support@pubnub.com"; + * request.name = @"David"; * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchSpacesAPICallBuilder * (^fetchSpaces)(void); - - -#pragma mark - Memberships / Members Objects API builder support - -/** - * @brief \c Manage \c memberships API access builder block. + * [self.client setUUIDMetadataWithRequest:request completion:^(PNSetUUIDMetadataData *status) { + * if (!status.isError) { + * // UUID metadata successfully has been set. + * // UUID metadata information available here: status.data.metadata + * } else { + * // Handle UUID metadata set error. Check 'category' property to find out possible issue + * // because of which request did fail. + * // + * // Request can be resent using: [status retry] + * } + * }]; + * @endcode * - * @return API call configuration builder. + * @param request \c Set \c UUID \c metadata request with all information which should be associated + * with \c UUID. + * @param block \c Set \c UUID \c metadata request completion block. */ -@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^manageMemberships)(void); +- (void)setUUIDMetadataWithRequest:(PNSetUUIDMetadataRequest *)request + completion:(nullable PNSetUUIDMetadataCompletionBlock)block; /** - * @brief \c Fetch \c memberships API access builder block. + * @brief \c Remove \c UUID \c metadata. * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchMembershipsAPICallBuilder * (^fetchMemberships)(void); - -/** - * @brief \c Manage \c members API access builder block. + * @code + * PNRemoveUUIDMetadataRequest *request = [PNRemoveUUIDMetadataRequest requestWithUUID:@"uuid"]; * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^manageMembers)(void); - -/** - * @brief \c Fetch \c members API access builder block. + * [self.client removeUUIDMetadataWithRequest:request completion:^(PNAcknowledgmentStatus *status) { + * if (!status.isError) { + * // UUID metadata successfully removed. + * } else { + * // Handle UUID metadata remove error. Check 'category' property to find out possible + * // issue because of which request did fail. + * // + * // Request can be resent using: [status retry] + * } + * }]; + * @endcode * - * @return API call configuration builder. + * @param request \c Remove \c UUID \c metadata request with information about existing \c metadata. + * @param block \c Remove \c UUID \c metadata request completion block. */ -@property (nonatomic, readonly, strong) PNFetchMembersAPICallBuilder * (^fetchMembers)(void); - - -#pragma mark - User object +- (void)removeUUIDMetadataWithRequest:(PNRemoveUUIDMetadataRequest *)request + completion:(nullable PNRemoveUUIDMetadataCompletionBlock)block; /** - * @brief \c Create new \c user with user-defined data. + * @brief \c Fetch specific \c UUID \c metadata. * * @code - * PNCreateUserRequest *request = [PNCreateUserRequest requestWithUserID:@"user-uuid" - * name:@"Serhii"]; - * request.externalId = @"93FVfHUAf4RLu79J7Q3ejLVu"; - * request.profileUrl = @"https://pubnub.com"; - * request.custom = @{ @"age": @(36) }; - * request.email = @"support@pubnub.com"; + * PNFetchUUIDMetadataRequest *request = [PNFetchUUIDMetadataRequest requestWithUUID:@"uuid"]; + * // Add this request option, if returned metadata model should have value which has been set to + * // 'custom' property. + * request.includeFields = PNUUIDCustomField; + * + * [self.client uuidMetadataWithRequest:request + * completion:^(PNFetchUUIDMetadataData *result, PNErrorStatus *status) { * - * [self.client createUserWithRequest:request completion:^(PNCreateUserStatus *status) { * if (!status.isError) { - * // User successfully created. - * // Created user information available here: status.data.user + * // UUID metadata successfully fetched. + * // Fetched UUID metadata information available here: result.data.metadata * } else { - * // Handle user create error. Check 'category' property to find out possible issue + * // Handle UUID metadata fetch error. Check 'category' property to find out possible issue * // because of which request did fail. * // * // Request can be resent using: [status retry] @@ -195,321 +159,359 @@ NS_ASSUME_NONNULL_BEGIN * }]; * @endcode * - * @param request \c Create \c user request with all information about new \c user which will be - * passed to \b PubNub service. - * @param block \c Create \c user request completion block. + * @param request \c Fetch \c UUID \c metadata request with all information which should be used to + * fetch existing \c UUID \c metadata. + * @param block \c Fetch \c UUID \c metadata request completion block. */ -- (void)createUserWithRequest:(PNCreateUserRequest *)request - completion:(nullable PNCreateUserCompletionBlock)block; +- (void)uuidMetadataWithRequest:(PNFetchUUIDMetadataRequest *)request + completion:(PNFetchUUIDMetadataCompletionBlock)block; /** - * @brief \c Update existing \c user with user-defined data. + * @brief \c Fetch \c all \c UUID \c metadata. * * @code - * PNUpdateUserRequest *request = [PNUpdateUserRequest requestWithUserID:@"user-uuid"]; - * // With this option on, returned user model will have value set to 'custom' property. - * request.includeFields = PNUserCustomField; - * request.custom = @{ @"age": @(39), @"status": @"Checking some stuff..." }; - * request.email = @"support@pubnub.com"; - * request.name = @"David"; + * PNFetchAllUUIDMetadataRequest *request = [PNFetchAllUUIDMetadataRequest new]; + * request.start = @""; + * // Add this request option, if returned metadata models should have value which has been set to + * // 'custom' property. + * request.includeFields = PNUUIDCustomField | PNUUIDTotalCountField; + * request.limit = 40; + * + * [self.client allUUIDMetadataWithRequest:request + * completion:^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) { * - * [self.client updateUserWithRequest:request completion:^(PNUpdateUserStatus *status) { * if (!status.isError) { - * // User successfully updated. - * // Updated user information available here: status.data.user + * // UUID metadata successfully fetched. + * // Result object has following information: + * // result.data.metadata - list of fetched UUID metadata, + * // result.data.next - cursor bookmark for fetching the next page, + * // result.data.prev - cursor bookmark for fetching the previous page, + * // result.data.totalCount - total number of created UUID metadata. * } else { - * // Handle user update error. Check 'category' property to find out possible issue - * // because of which request did fail. + * // Handle UUID metadata fetch error. Check 'category' property to find out possible + * // issue because of which request did fail. * // * // Request can be resent using: [status retry] * } * }]; * @endcode * - * @param request \c Update \c user request with all information which should be updated for - * existing \c user. - * @param block \c Update \c user request completion block. + * @param request \c Fetch \c all \c UUID \c metadata request object with all information which + * should be used to fetch existing \c UUID \c metadata. + * @param block \c Fetch \c all \c UUID \c metadata request completion block. */ -- (void)updateUserWithRequest:(PNUpdateUserRequest *)request - completion:(nullable PNUpdateUserCompletionBlock)block; +- (void)allUUIDMetadataWithRequest:(PNFetchAllUUIDMetadataRequest *)request + completion:(PNFetchAllUUIDMetadataCompletionBlock)block; + + +#pragma mark - Channel metadata object /** - * @brief \c Delete existing \c user. + * @brief \c Set \c metadata for \c channel. * * @code - * PNDeleteUserRequest *request = [PNDeleteUserRequest requestWithUserID:@"user-uuid"]; + * PNSetChannelMetadataRequest *request = [PNSetChannelMetadataRequest requestWithChannel:@"channel"]; + * // Add this request option, if returned metadata model should have value which has been set to + * // 'custom' property. + * request.includeFields = PNChannelCustomField; + * request.custom = @{ @"responsibilities": @"Manage tests", @"status": @"offline" }; + * request.name = @"Updated channel name"; * - * [self.client deleteUserWithRequest:request completion:^(PNAcknowledgmentStatus *status) { + * [self.client setChannelMetadataWithRequest:request completion:^(PNSetChannelMetadataStatus *status) { * if (!status.isError) { - * // User successfully deleted. + * // Channel metadata successfully has been set. + * // Channel metadata information available here: status.data.metadata * } else { - * // Handle user delete error. Check 'category' property to find out possible issue - * // because of which request did fail. + * // Handle channel metadata update error. Check 'category' property to find out possible + * // issue because of which request did fail. * // * // Request can be resent using: [status retry] * } * }]; * @endcode * - * @param request \c Delete \c user request with information about existing \c user. - * @param block \c Delete \c user request completion block. + * @param request \c Set \c channel \c metadata request with all information which should be + * associated with \c channel. + * @param block \c Set \c channel \c metadata request completion block. */ -- (void)deleteUserWithRequest:(PNDeleteUserRequest *)request - completion:(nullable PNDeleteUserCompletionBlock)block; +- (void)setChannelMetadataWithRequest:(PNSetChannelMetadataRequest *)request + completion:(nullable PNSetChannelMetadataCompletionBlock)block; /** - * @brief \c Fetch specific \c user. + * @brief \c Remove \c channel \c metadata. * * @code - * PNFetchUserRequest *request = [PNFetchUserRequest requestWithUserID:@"space-uuid"]; - * // Add this request option, if returned user model should have value set to 'custom' property. - * request.includeFields = PNUserCustomField; - * - * [self.client fetchUserWithRequest:request - * completion:^(PNFetchUserResult *result, PNErrorStatus *status) { + * PNRemoveChannelMetadataRequest *request = [PNRemoveChannelMetadataRequest requestWithChannel:@"channel"]; * + * [self.client removeChannelMetadataWithRequest:request completion:^(PNAcknowledgmentStatus *status) { * if (!status.isError) { - * // User successfully fetched. - * // Fetched user information available here: result.data.user + * // Channel metadata successfully removed. * } else { - * // Handle user fetch error. Check 'category' property to find out possible issue - * // because of which request did fail. + * // Handle channel metadata remove error. Check 'category' property to find out possible + * // issue because of which request did fail. * // * // Request can be resent using: [status retry] * } * }]; * @endcode * - * @param request \c Fetch \c user request with all information which should be used to fetch - * existing \c user. - * @param block \c Fetch \c user request completion block. + * @param request \c Remove \c channel \c metadata request with information about existing + * \c metadata. + * @param block \c Remove \c channel \c metadata request completion block. */ -- (void)fetchUserWithRequest:(PNFetchUserRequest *)request - completion:(PNFetchUserCompletionBlock)block; +- (void)removeChannelMetadataWithRequest:(PNRemoveChannelMetadataRequest *)request + completion:(nullable PNRemoveChannelMetadataCompletionBlock)block; /** - * @brief \c Fetch \c all \c users. + * @brief \c Fetch specific \c channel \c metadata. * * @code - * PNFetchUsersRequest *request = [PNFetchUsersRequest new]; - * request.start = @""; - * // Add this request option, if returned user models should have value set to 'custom' property. - * request.includeFields = PNUserCustomField; - * request.includeCount = YES; - * request.limit = 40; + * PNFetchChannelMetadataRequest *request = [PNFetchChannelMetadataRequest requestWithChannel:@"channel"]; + * // Add this request option, if returned metadata model should have value which has been set to + * // 'custom' property. + * request.includeFields = PNChannelCustomField; * - * [self.client fetchUsersWithRequest:request - * completion:^(PNFetchUsersResult *result, PNErrorStatus *status) { + * [self.client channelMetadataWithRequest:request + * completion:^(PNFetchChannelsMetadataResult *result, PNErrorStatus *status) { * * if (!status.isError) { - * // Users successfully fetched. - * // Result object has following information: - * // result.data.users - list of fetched users - * // result.data.next - cursor bookmark for fetching the next page. - * // result.data.prev - cursor bookmark for fetching the previous page - * // result.data.totalCount - total number of created users + * // Channel metadata successfully fetched. + * // Channel metadata information available here: result.data.metadata * } else { - * // Handle users fetch error. Check 'category' property to find out possible issue - * // because of which request did fail. + * // Handle channel metadata fetch error. Check 'category' property to find out possible + * // issue because of which request did fail. * // * // Request can be resent using: [status retry] * } * }]; * @endcode * - * @param request \c Fetch \c all \c users request object with all information which should be used - * to fetch existing \c users. - * @param block \c Fetch \c all \c users request completion block. + * @param request \c Fetch \c channel \c metadata request with all information which should be used + * to fetch existing \c channel \c metadata. + * @param block \c Fetch \c channel \c metadata request completion block. */ -- (void)fetchUsersWithRequest:(PNFetchUsersRequest *)request - completion:(PNFetchUsersCompletionBlock)block; - - -#pragma mark - Space object +- (void)channelMetadataWithRequest:(PNFetchChannelMetadataRequest *)request + completion:(PNFetchChannelMetadataCompletionBlock)block; /** - * @brief \c Create new \c space with user-defined data. + * @brief \c Fetch \c all \c channels metadata. * * @code - * PNCreateSpaceRequest *request = [PNCreateSpaceRequest requestWithSpaceID:@"space-uuid" - * name:@"Admin"]; - * request.information = @"Administrative space"; - * request.custom = @{ @"responsibilities": @"Manage access to protected resources" }; + * PNFetchAllChannelsMetadataRequest *request = [PNFetchAllChannelsMetadataRequest new]; + * request.start = @""; + * // Add this request option, if returned metadata models should have value which has been set to + * // 'custom' property. + * request.includeFields = PNChannelCustomField | PNChannelTotalCountField; + * request.limit = 40; + * + * [self.client allChannelsMetadataWithRequest:request + * completion:^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { * - * [self.client createSpaceWithRequest:request completion:^(PNCreateSpaceStatus *status) { * if (!status.isError) { - * // Space successfully created. - * // Created space information available here: status.data.space + * // Channels metadata successfully fetched. + * // Result object has following information: + * // result.data.metadata - list of fetched channels metadata, + * // result.data.next - cursor bookmark for fetching the next page, + * // result.data.prev - cursor bookmark for fetching the previous page, + * // result.data.totalCount - total number of associated channel metadata. * } else { - * // Handle space create error. Check 'category' property to find out possible issue - * // because of which request did fail. + * // Handle channels metadata fetch error. Check 'category' property to find out possible + * // issue because of which request did fail. * // * // Request can be resent using: [status retry] * } * }]; * @endcode * - * @param request \c Create \c space request with all information about new \c space which will be - * passed to \b PubNub service. - * @param block \c Create \c space request completion block. + * @param request \c Fetch \c all \c channels \c metadata request with all information which should + * be used to fetch existing \c channels \c metadata. + * @param block \c Fetch \c all \c channels \c metadata request completion block. */ -- (void)createSpaceWithRequest:(PNCreateSpaceRequest *)request - completion:(nullable PNCreateSpaceCompletionBlock)block; +- (void)allChannelsMetadataWithRequest:(PNFetchAllChannelsMetadataRequest *)request + completion:(PNFetchAllChannelsMetadataCompletionBlock)block; + + +#pragma mark - Membership objects /** - * @brief \c Update existing \c space with user-defined data. + * @brief \c Set \c UUID's \c membership in target \c channels. * * @code - * PNUpdateSpaceRequest *request = [PNUpdateSpaceRequest requestWithSpaceID:@"space-uuid"]; - * // Add this request option, if returned space model should have value set to 'custom' property. - * request.includeFields = PNSpaceCustomField; - * request.custom = @{ @"responsibilities": @"Manage tests", @"status": @"offline" }; - * request.name = @"Updated space name"; + * NSArray *channels = @[ + * @{ @"channel": @"channel1", @"custom": @{ @"role": @"moderator" } } + * ]; * - * [self.client updateSpaceWithRequest:request completion:^(PNUpdateSpaceStatus *status) { + * PNSetMembershipsRequest *request = [PNSetMembershipsRequest requestWithUUID:@"uuid" + * channels:channels]; + * // Add this request option, if returned membership models should have value which has been set to + * // 'custom' and 'channel' properties. + * request.includeFields = PNMembershipCustomField | PNMembershipChannelField | PNMembershipTotalCountField; + * request.limit = 40; + * + * [self.client setMembershipsWithRequest:request completion:^(PNManageMembershipsStatus *status) { * if (!status.isError) { - * // Space successfully updated. - * // Updated space information available here: status.data.space + * // UUID's memberships successfully set. + * // Result object has following information: + * // status.data.memberships - list of UUID's existing memberships, + * // status.data.next - cursor bookmark for fetching the next page, + * // status.data.prev - cursor bookmark for fetching the previous page, + * // status.data.totalCount - total number of UUID's memberships. * } else { - * // Handle space update error. Check 'category' property to find out possible issue - * // because of which request did fail. + * // Handle UUID's memberships set error. Check 'category' property to find out possible + * // issue because of which request did fail. * // * // Request can be resent using: [status retry] * } * }]; * @endcode * - * @param request \c Update \c space request with all information which should be updated for - * existing \c space. - * @param block \c Update \c space request completion block. + * @param request \c Set \c UUID's \c memberships request with information which should be used + * to set \c channels membership. + * @param block \c Set \c UUID's \c memberships request completion block. */ -- (void)updateSpaceWithRequest:(PNUpdateSpaceRequest *)request - completion:(nullable PNUpdateSpaceCompletionBlock)block; +- (void)setMembershipsWithRequest:(PNSetMembershipsRequest *)request + completion:(nullable PNManageMembershipsCompletionBlock)block; /** - * @brief \c Delete existing \c space. + * @brief \c Remove \c UUID's \c membership in target \c channels. * * @code - * PNDeleteSpaceRequest *request = [PNDeleteSpaceRequest requestWithSpaceID:@"space-uuid"]; + * NSArray *channels = @[@"channel1", @"channel2"]; + * + * PNRemoveMembershipsRequest *request = [PNRemoveMembershipsRequest requestWithUUID:@"uuid" + * channels:channels]; + * // Add this request option, if returned membership models should have value which has been set to + * // 'custom' and 'channel' properties. + * request.includeFields = PNMembershipCustomField | PNMembershipChannelField | PNMembershipTotalCountField; + * request.limit = 40; + * + * [self.client removeMembershipsWithRequest:request + * completion:^(PNManageMembershipsStatus *status) { * - * [self.client deleteSpaceWithRequest:request completion:^(PNAcknowledgmentStatus *status) { * if (!status.isError) { - * // Space successfully deleted. + * // UUID's memberships successfully removed. + * // Result object has following information: + * // status.data.memberships - list of UUID's existing memberships, + * // status.data.next - cursor bookmark for fetching the next page, + * // status.data.prev - cursor bookmark for fetching the previous page, + * // status.data.totalCount - total number of UUID's memberships. * } else { - * // Handle space delete error. Check 'category' property to find out possible issue - * // because of which request did fail. + * // Handle UUID's memberships remove error. Check 'category' property to find out possible + * // issue because of which request did fail. * // * // Request can be resent using: [status retry] * } * }]; * @endcode * - * @param request \c Delete \c space request with information about existing \c space. - * @param block \c Delete \c space request completion block. + * @param request \c Remove \c UUID's \c memberships request with information which should be used + * to remove \c channels membership. + * @param block \c Remove \c UUID's \c memberships request completion block. */ -- (void)deleteSpaceWithRequest:(PNDeleteSpaceRequest *)request - completion:(nullable PNDeleteSpaceCompletionBlock)block; +- (void)removeMembershipsWithRequest:(PNRemoveMembershipsRequest *)request + completion:(nullable PNManageMembershipsCompletionBlock)block; /** - * @brief \c Fetch specific \c space. + * @brief \c Manage \c UUID's \c membership in target \c channels. * * @code - * PNFetchSpaceRequest *request = [PNFetchSpaceRequest requestWithSpaceID:@"space-uuid"]; - * // Add this request option, if returned space model should have value set to 'custom' property. - * request.includeFields = PNSpaceCustomField; + * PNManageMembershipsRequest *request = [PNManageMembershipsRequest requestWithUUID:@"uuid"]; + * request.setChannels = @[ + * @{ @"channel": @"channel1", @"custom": @{ @"role": @"moderator" } } + * ]; + * request.removeChannels = @[@"channel3", @"channel4"]; + * // Add this request option, if returned membership models should have value which has been set to + * // 'custom' and 'channel' properties. + * request.includeFields = PNMembershipCustomField | PNMembershipChannelField | PNMembershipTotalCountField; + * request.limit = 40; * - * [self.client fetchSpaceWithRequest:request - * completion:^(PNFetchSpaceResult *result, PNErrorStatus *status) { + * [self.client manageMembershipsWithRequest:request + * completion:^(PNManageMembershipsStatus *status) { * * if (!status.isError) { - * // Space successfully fetched. - * // Fetched space information available here: result.data.space + * // UUID's memberships successfully set. + * // Result object has following information: + * // status.data.memberships - list of UUID's existing memberships, + * // status.data.next - cursor bookmark for fetching the next page, + * // status.data.prev - cursor bookmark for fetching the previous page, + * // status.data.totalCount - total number of UUID's memberships. * } else { - * // Handle user fetch error. Check 'category' property to find out possible issue - * // because of which request did fail. + * // Handle UUID's memberships set error. Check 'category' property to find out possible + * // issue because of which request did fail. * // * // Request can be resent using: [status retry] * } * }]; * @endcode * - * @param request \c Fetch \c space request with all information which should be used to fetch - * existing \c space. - * @param block \c Fetch \c space request completion block. + * @param request \c Manage \c UUID's \c memberships request with information what modifications to + * \c UUID's \c memberships should be done (\c set / \c remove \c channels). + * @param block \c Manage \c UUID's \c memberships request completion block. */ -- (void)fetchSpaceWithRequest:(PNFetchSpaceRequest *)request - completion:(PNFetchSpaceCompletionBlock)block; +- (void)manageMembershipsWithRequest:(PNManageMembershipsRequest *)request + completion:(nullable PNManageMembershipsCompletionBlock)block; /** - * @brief \c Fetch \c all \c spaces. + * @brief \c Fetch \c UUID's \c memberships. * * @code - * PNFetchSpacesRequest *request = [PNFetchSpacesRequest new]; + * PNFetchMembershipsRequest *request = [PNFetchMembershipsRequest requestWithUUID:@"uuid"]; * request.start = @""; - * // Add this request option, if returned space models should have value set to 'custom' property. - * request.includeFields = PNUserCustomField; - * request.includeCount = YES; + * // Add this request option, if returned membership models should have value which has been set to + * // 'custom' and 'channel' properties. + * request.includeFields = PNMembershipCustomField | PNMembershipChannelField | PNMembershipTotalCountField; * request.limit = 40; * - * [self.client fetchSpacesWithRequest:request - * completion:^(PNFetchSpacesResult *result, PNErrorStatus *status) { + * [self.client membershipsWithRequest:request + * completion:^(PNFetchMembershipsResult *result, PNErrorStatus *status) { * * if (!status.isError) { - * // Spaces successfully fetched. + * // UUID's memberships successfully fetched. * // Result object has following information: - * // result.data.spaces - list of fetched spaces - * // result.data.next - cursor bookmark for fetching the next page. - * // result.data.prev - cursor bookmark for fetching the previous page - * // result.data.totalCount - total number of created spaces + * // result.data.memberships - list of UUID's memberships, + * // result.data.next - cursor bookmark for fetching the next page, + * // result.data.prev - cursor bookmark for fetching the previous page, + * // result.data.totalCount - total number of UUID's memberships * } else { - * // Handle spaces fetch error. Check 'category' property to find out possible issue - * // because of which request did fail. + * // Handle UUID's memberships fetch error. Check 'category' property to find out possible + * // issue because of which request did fail. * // * // Request can be resent using: [status retry] * } * }]; * @endcode * - * @param request \c Fetch \c all \c spaces request with all information which should be used to - * fetch existing \c spaces. - * @param block \c Fetch \c all \c spaces request completion block. + * @param request \c Fetch \c UUID's \c memberships request with all information which should be + * used to fetch existing \c UUID's \c memberships. + * @param block \c Fetch \c UUID's \c memberships request completion block. */ -- (void)fetchSpacesWithRequest:(PNFetchSpacesRequest *)request - completion:(PNFetchSpacesCompletionBlock)block; - - -#pragma mark - Membership objects +- (void)membershipsWithRequest:(PNFetchMembershipsRequest *)request + completion:(PNFetchMembershipsCompletionBlock)block; /** - * @brief \c Manage \c user's membership in target \c spaces. + * @brief \c Set \c channel's \c members list. * * @code - * PNManageMembershipsRequest *request = [PNManageMembershipsRequest requestWithUserID:@"used-uuid"]; - * request.updateSpaces = @[ - * @{ @"spaceId": @"space2-uuid", @"custom": @{ @"role": @"moderator" } } - * ]; - * request.leaveSpaces = @[@"space3-uuid", @"space4-uuid"]; - * request.joinSpaces = @[ - * @{ @"spaceId": @"space1-uuid", @"custom": @{ @"role": @"owner" } } + * NSArray *uuids = @[ + * @{ @"uuid": @"uuid2", @"custom": @{ @"role": @"moderator" } } * ]; - * // Add this request option, if returned membership models should have value set to 'custom' - * // and 'space' properties. - * request.includeFields = PNMembershipCustomField|PNMembershipSpaceField; - * request.includeCount = YES; - * request.limit = 40; * - * [self.client manageMembershipsWithRequest:request - * completion:^(PNManageMembershipsStatus *status) { + * PNSetMembersRequest *request = [PNSetMembersRequest requestWithChannel:@"channel" uuids:uuids]; + * // Add this request option, if returned member models should have value which has been set to + * // 'custom' and 'uuid' properties. + * request.includeFields = PNMemberCustomField | PNMemberUUIDField | PNMemberTotalCountField; + * request.limit = 40; * + * [self.client setMembersWithRequest:request completion:^(PNManageMembersStatus *status) { * if (!status.isError) { - * // User's memberships successfully updated. + * // Channel's members successfully set. * // Result object has following information: - * // status.data.memberships - list of user's created / updated memberships - * // status.data.next - cursor bookmark for fetching the next page - * // status.data.prev - cursor bookmark for fetching the previous page - * // status.data.totalCount - total number of user's memberships + * // result.data.members - list of existing channel's members, + * // result.data.next - cursor bookmark for fetching the next page, + * // result.data.prev - cursor bookmark for fetching the previous page, + * // result.data.totalCount - total number of channel's members. * } else { - * // Handle user's memberships update error. Check 'category' property to find out possible + * // Handle channel's members set error. Check 'category' property to find out possible * // issue because of which request did fail. * // * // Request can be resent using: [status retry] @@ -517,37 +519,35 @@ NS_ASSUME_NONNULL_BEGIN * }]; * @endcode * - * @param request \c Manage \c user's \c memberships request with information what modifications to - * \c user's \c memberships should be done (\c join / \c update / \c leave \c spaces). - * @param block \c Manage \c user's \c memberships request completion block. + * @param request \c Set \c channel's \c members list request with information which should be + * used to set \c UUID member. + * @param block \c Set \c channel's \c members list request completion block. */ -- (void)manageMembershipsWithRequest:(PNManageMembershipsRequest *)request - completion:(nullable PNManageMembershipsCompletionBlock)block; +- (void)setMembersWithRequest:(PNSetMembersRequest *)request + completion:(nullable PNManageMembersCompletionBlock)block; /** - * @brief \c Fetch \c user's memberships. + * @brief \c Remove \c channel's \c members. * * @code - * PNFetchMembershipsRequest *request = [PNFetchMembershipsRequest requestWithUserID:@"used-uuid"]; - * request.start = @""; - * // Add this request option, if returned membership models should have value set to 'custom' - * // and 'space' properties. - * request.includeFields = PNMembershipCustomField|PNMembershipSpaceField; - * request.includeCount = YES; + * NSArray *uuids = @[@"uuid3", @"uuid4"]; + * PNRemoveMembersRequest *request = [PNRemoveMembersRequest requestWithChannel:@"channel" + * uuids:uuids]; + * // Add this request option, if returned member models should have value which has been set to + * // 'custom' and 'uuid' properties. + * request.includeFields = PNMemberCustomField | PNMemberUUIDField | PNMemberTotalCountField; * request.limit = 40; * - * [self.client fetchMembershipsWithRequest:request - * completion:^(PNFetchMembershipsResult *result, PNErrorStatus *status) { - * + * [self.client manageMembersWithRequest:request completion:^(PNManageMembersStatus *status) { * if (!status.isError) { - * // User's memberships successfully fetched. + * // Channel's members successfully removed. * // Result object has following information: - * // result.data.memberships - list of user's memberships - * // result.data.next - cursor bookmark for fetching the next page - * // result.data.prev - cursor bookmark for fetching the previous page - * // result.data.totalCount - total number of user's memberships + * // result.data.members - list of channel's existing members, + * // result.data.next - cursor bookmark for fetching the next page, + * // result.data.prev - cursor bookmark for fetching the previous page, + * // result.data.totalCount - total number of channel's members. * } else { - * // Handle user's memberships fetch error. Check 'category' property to find out possible + * // Handle channel's members remove error. Check 'category' property to find out possible * // issue because of which request did fail. * // * // Request can be resent using: [status retry] @@ -555,41 +555,37 @@ NS_ASSUME_NONNULL_BEGIN * }]; * @endcode * - * @param request \c Fetch \c user's memberships request with all information which should be used - * to fetch existing \c user's memberships. - * @param block \c Fetch \c user's memberships request completion block. + * @param request \c Remove \c channel's \c members request with information which should be used + * to remove \c UUID members. + * @param block \c Remove \c channel's \c members request completion block. */ -- (void)fetchMembershipsWithRequest:(PNFetchMembershipsRequest *)request - completion:(PNFetchMembershipsCompletionBlock)block; +- (void)removeMembersWithRequest:(PNRemoveMembersRequest *)request + completion:(nullable PNManageMembersCompletionBlock)block; /** - * @brief \c Manage \c space's members list. + * @brief \c Manage \c channel's members list. * * @code - * PNManageMembersRequest *request = [PNManageMembersRequest requestWithSpaceID:@"space-uuid"]; - * request.updateMembers = @[ - * @{ @"userId": @"user2-uuid", @"custom": @{ @"role": @"moderator" } } - * ]; - * request.removeMembers = @[@"user3-uuid", @"user4-uuid"]; - * request.addMembers = @[ - * @{ @"userId": @"user1-uuid", @"custom": @{ @"role": @"owner" } } + * PNManageMembersRequest *request = [PNManageMembersRequest requestWithChannel:@"channel"]; + * request.setMembers = @[ + * @{ @"uuid": @"uuid2", @"custom": @{ @"role": @"moderator" } } * ]; - * // Add this request option, if returned member models should have value set to 'custom' and - * // 'user' properties. - * request.includeFields = PNMemberCustomField|PNMemberUserField; - * request.includeCount = YES; + * request.removeMembers = @[@"uuid3", @"uuid4"]; + * // Add this request option, if returned member models should have value which has been set to + * // 'custom' and 'uuid' properties. + * request.includeFields = PNMemberCustomField | PNMemberUUIDField | PNMemberTotalCountField; * request.limit = 40; * * [self.client manageMembersWithRequest:request completion:^(PNManageMembersStatus *status) { * if (!status.isError) { - * // Space's members successfully updated. + * // Channel's members successfully changed. * // Result object has following information: - * // result.data.members - list of added / updated space's members - * // result.data.next - cursor bookmark for fetching the next page - * // result.data.prev - cursor bookmark for fetching the previous page - * // result.data.totalCount - total number of space's memebers + * // result.data.members - list of existing channel's members, + * // result.data.next - cursor bookmark for fetching the next page, + * // result.data.prev - cursor bookmark for fetching the previous page, + * // result.data.totalCount - total number of channel's members. * } else { - * // Handle space's members update error. Check 'category' property to find out possible + * // Handle channel's members manage error. Check 'category' property to find out possible * // issue because of which request did fail. * // * // Request can be resent using: [status retry] @@ -597,37 +593,36 @@ NS_ASSUME_NONNULL_BEGIN * }]; * @endcode * - * @param request \c Manage \c space's members list request with information what modifications to - * \c space's members list should be done (\c add / \c update / \c remove \c users). - * @param block \c Manage \c space's members list request completion block. + * @param request \c Manage \c channel's \c members list request with information what modifications + * to \c channel's members list should be done (\c set / \c remove \c UUID). + * @param block \c Manage \c channel's \c members list request completion block. */ - (void)manageMembersWithRequest:(PNManageMembersRequest *)request completion:(nullable PNManageMembersCompletionBlock)block; /** - * @brief \c Fetch \c space's members. + * @brief \c Fetch \c channel's \c members. * * @code - * PNFetchMembersRequest *request = [PNFetchMembersRequest requestWithSpaceID:@"space-uuid"]; + * PNFetchMembersRequest *request = [PNFetchMembersRequest requestWithChannel:@"channel"]; * request.start = @""; - * // Add this request option, if returned member models should have value set to 'custom' and - * // 'user' properties. - * request.includeFields = PNMemberCustomField|PNMemberUserField; - * request.includeCount = YES; + * // Add this request option, if returned member models should have value which has been set to + * // 'custom' and 'uuid' properties. + * request.includeFields = PNMemberCustomField | PNMemberUUIDField | PNMemberTotalCountField; * request.limit = 40; * - * [self.client fetchMembersWithRequest:request - * completion:^(PNFetchMembersResult *result, PNErrorStatus *status) { + * [self.client membersWithRequest:request + * completion:^(PNFetchMembersResult *result, PNErrorStatus *status) { * * if (!status.isError) { - * // Space's members successfully fetched. + * // Channel's members successfully fetched. * // Result object has following information: - * // result.data.members - list of space's members - * // result.data.next - cursor bookmark for fetching the next page - * // result.data.prev - cursor bookmark for fetching the previous page - * // result.data.totalCount - total number of space's members + * // result.data.members - list of channel's members, + * // result.data.next - cursor bookmark for fetching the next page, + * // result.data.prev - cursor bookmark for fetching the previous page, + * // result.data.totalCount - total number of channel's members. * } else { - * // Handle space's members fetch error. Check 'category' property to find out possible + * // Handle channel's members fetch error. Check 'category' property to find out possible * // issue because of which request did fail. * // * // Request can be resent using: [status retry] @@ -635,12 +630,12 @@ NS_ASSUME_NONNULL_BEGIN * }]; * @endcode * - * @param request \c Fetch \c space's members request with all information which should be used - * to fetch existing \c space's members. - * @param block \c Fetch \c space's members request completion block. + * @param request \c Fetch \c channel's \c members request with all information which should be used + * to fetch existing \c channel's \c members. + * @param block \c Fetch \c channel's \c members request completion block. */ -- (void)fetchMembersWithRequest:(PNFetchMembersRequest *)request - completion:(PNFetchMembersCompletionBlock)block; +- (void)membersWithRequest:(PNFetchMembersRequest *)request + completion:(PNFetchMembersCompletionBlock)block; #pragma mark - diff --git a/PubNub/Core/PubNub+Objects.m b/PubNub/Core/PubNub+Objects.m index 217c729c7..6a43278ac 100644 --- a/PubNub/Core/PubNub+Objects.m +++ b/PubNub/Core/PubNub+Objects.m @@ -4,412 +4,487 @@ * @since 4.10.0 * @copyright © 2010-2019 PubNub, Inc. */ +#import "PNBaseObjectsRequest+Private.h" #import "PNAPICallBuilder+Private.h" #import "PubNub+CorePrivate.h" #import "PNResult+Private.h" #import "PNStatus+Private.h" +#import "PNConfiguration.h" #import "PubNub+Objects.h" -#pragma mark Interface implementation +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interface declaration + +@interface PubNub (ObjectsProtected) + + +#pragma mark - API Builder support + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will set UUID's metadata. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendSetUUIDMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will remove UUID's metadata. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendRemoveUUIDMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will fetch specific UUID's metadata. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendFetchUUIDMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will fetch all UUIDs metadata. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendFetchAllUUIDsMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will set channel's metadata. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendSetChannelMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will remove channel's metadata. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendRemoveChannelMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will fetch specific channel's metadata. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendFetchChannelMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will fetch all channels metadata. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendFetchAllChannelsMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will set UUID's memberships. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendSetMembershipsRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will remove UUID's memberships. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendRemoveMembershipsRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will manage UUID's memberships. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendManageMembershipsRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will fetch UUID's memberships. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendFetchMembershipsRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will set channel's members. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendSetMembersRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will remove channel's members. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendRemoveMembersRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will manage channel's members. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendManageMembersRequestUsingBuilderParameters:(NSDictionary *)parameters; + +/** + * @brief Process information provider by user with builder API call and use it to send request + * which will fetch channel's members. + * + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)sendFetchMembersRequestUsingBuilderParameters:(NSDictionary *)parameters; + + +#pragma mark - Misc + +/** + * @brief Add common parameters for multi-paged request suing information passed to + * builder-based API. + * + * @param request Request for which properties should be set. + * @param parameters Dictionary with information passed to builder-based API. + */ +- (void)addObjectsPaginationOptionsToRequest:(PNObjectsPaginatedRequest *)request + usingBuilderParameters:(NSDictionary *)parameters; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interface implementation @implementation PubNub (Objects) -#pragma mark - User Objects API builder support +#pragma mark - API Builder support -- (PNCreateUserAPICallBuilder * (^)(void))createUser { - PNCreateUserAPICallBuilder *builder = nil; +- (PNObjectsAPICallBuilder *(^)(void))objects { + PNObjectsAPICallBuilder *builder = nil; __weak __typeof(self) weakSelf = self; - - builder = [PNCreateUserAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSString *identifier = parameters[NSStringFromSelector(@selector(userId))]; - NSString *name = parameters[NSStringFromSelector(@selector(name))]; - - PNCreateUserRequest *request = [PNCreateUserRequest requestWithUserID:identifier - name:name]; - request.externalId = parameters[NSStringFromSelector(@selector(externalId))]; - request.profileUrl = parameters[NSStringFromSelector(@selector(profileUrl))]; - request.custom = parameters[NSStringFromSelector(@selector(custom))]; - request.email = parameters[NSStringFromSelector(@selector(email))]; - request.includeFields = includeFields.unsignedIntegerValue; - - [weakSelf createUserWithRequest:request completion:parameters[@"block"]]; + + builder = [PNObjectsAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *parameters) { + + if ([flags containsObject:NSStringFromSelector(@selector(setUUIDMetadata))]) { + [weakSelf sendSetUUIDMetadataRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(removeUUIDMetadata))]) { + [weakSelf sendRemoveUUIDMetadataRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(uuidMetadata))]) { + [weakSelf sendFetchUUIDMetadataRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(allUUIDMetadata))]) { + [weakSelf sendFetchAllUUIDsMetadataRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(setChannelMetadata))]) { + [weakSelf sendSetChannelMetadataRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(removeChannelMetadata))]) { + [weakSelf sendRemoveChannelMetadataRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(channelMetadata))]) { + [weakSelf sendFetchChannelMetadataRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(allChannelsMetadata))]) { + [weakSelf sendFetchAllChannelsMetadataRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(setMemberships))]) { + [weakSelf sendSetMembershipsRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(removeMemberships))]) { + [weakSelf sendRemoveMembershipsRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(manageMemberships))]) { + [weakSelf sendManageMembershipsRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(memberships))]) { + [weakSelf sendFetchMembershipsRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(setMembers))]) { + [weakSelf sendSetMembersRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(removeMembers))]) { + [weakSelf sendRemoveMembersRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(manageMembers))]) { + [weakSelf sendManageMembersRequestUsingBuilderParameters:parameters]; + } else if ([flags containsObject:NSStringFromSelector(@selector(members))]) { + [weakSelf sendFetchMembersRequestUsingBuilderParameters:parameters]; + } }]; - - return ^PNCreateUserAPICallBuilder * { + + return ^PNObjectsAPICallBuilder * { return builder; }; } -- (PNUpdateUserAPICallBuilder * (^)(void))updateUser { - PNUpdateUserAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; - - builder = [PNUpdateUserAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { +- (void)sendSetUUIDMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; + NSString *uuid = parameters[NSStringFromSelector(@selector(uuid))]; - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSString *identifier = parameters[NSStringFromSelector(@selector(userId))]; - - PNUpdateUserRequest *request = [PNUpdateUserRequest requestWithUserID:identifier]; - request.externalId = parameters[NSStringFromSelector(@selector(externalId))]; - request.profileUrl = parameters[NSStringFromSelector(@selector(profileUrl))]; - request.custom = parameters[NSStringFromSelector(@selector(custom))]; - request.email = parameters[NSStringFromSelector(@selector(email))]; - request.name = parameters[NSStringFromSelector(@selector(name))]; - request.includeFields = includeFields.unsignedIntegerValue; - - [weakSelf updateUserWithRequest:request completion:parameters[@"block"]]; - }]; + PNSetUUIDMetadataRequest *request = [PNSetUUIDMetadataRequest requestWithUUID:uuid]; + request.externalId = parameters[NSStringFromSelector(@selector(externalId))]; + request.profileUrl = parameters[NSStringFromSelector(@selector(profileUrl))]; + request.custom = parameters[NSStringFromSelector(@selector(custom))]; + request.email = parameters[NSStringFromSelector(@selector(email))]; + request.name = parameters[NSStringFromSelector(@selector(name))]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; - return ^PNUpdateUserAPICallBuilder * { - return builder; - }; + if (includeFields) { + request.includeFields = (PNUUIDFields)includeFields.unsignedIntegerValue; + } + + [self setUUIDMetadataWithRequest:request completion:parameters[@"block"]]; } -- (PNDeleteUserAPICallBuilder * (^)(void))deleteUser { - PNDeleteUserAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; - - builder = [PNDeleteUserAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSString *identifier = parameters[NSStringFromSelector(@selector(userId))]; - PNDeleteUserRequest *request = [PNDeleteUserRequest requestWithUserID:identifier]; - - [weakSelf deleteUserWithRequest:request completion:parameters[@"block"]]; - }]; +- (void)sendRemoveUUIDMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSString *uuid = parameters[NSStringFromSelector(@selector(uuid))]; + PNRemoveUUIDMetadataRequest *request = [PNRemoveUUIDMetadataRequest requestWithUUID:uuid]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; + + [self removeUUIDMetadataWithRequest:request completion:parameters[@"block"]]; +} + +- (void)sendFetchUUIDMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; + NSString *uuid = parameters[NSStringFromSelector(@selector(uuid))]; + + PNFetchUUIDMetadataRequest *request = [PNFetchUUIDMetadataRequest requestWithUUID:uuid]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; - return ^PNDeleteUserAPICallBuilder * { - return builder; - }; + if (includeFields) { + request.includeFields = (PNUUIDFields)includeFields.unsignedIntegerValue; + } + + [self uuidMetadataWithRequest:request completion:parameters[@"block"]]; } -- (PNFetchUserAPICallBuilder * (^)(void))fetchUser { - PNFetchUserAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; +- (void)sendFetchAllUUIDsMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; + PNFetchAllUUIDMetadataRequest *request = [PNFetchAllUUIDMetadataRequest new]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; - builder = [PNFetchUserAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSString *identifier = parameters[NSStringFromSelector(@selector(userId))]; - - PNFetchUserRequest *request = [PNFetchUserRequest requestWithUserID:identifier]; - request.includeFields = includeFields.unsignedIntegerValue; - - [weakSelf fetchUserWithRequest:request completion:parameters[@"block"]]; - }]; + [self addObjectsPaginationOptionsToRequest:request usingBuilderParameters:parameters]; - return ^PNFetchUserAPICallBuilder * { - return builder; - }; + if (includeCount && includeCount.boolValue) { + request.includeFields |= PNUUIDTotalCountField; + } + + [self allUUIDMetadataWithRequest:request completion:parameters[@"block"]]; } -- (PNFetchUsersAPICallBuilder * (^)(void))fetchUsers { - PNFetchUsersAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; - - builder = [PNFetchUsersAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; - NSNumber *limit = parameters[NSStringFromSelector(@selector(limit))] ?: @(100); - - PNFetchUsersRequest *request = [PNFetchUsersRequest new]; - request.filter = parameters[NSStringFromSelector(@selector(filter))]; - request.start = parameters[NSStringFromSelector(@selector(start))]; - request.sort = parameters[NSStringFromSelector(@selector(sort))]; - request.end = parameters[NSStringFromSelector(@selector(end))]; - request.includeFields = includeFields.unsignedIntegerValue; - request.includeCount = includeCount.boolValue; - request.limit = limit.unsignedIntegerValue; - - [weakSelf fetchUsersWithRequest:request completion:parameters[@"block"]]; - }]; +- (void)sendSetChannelMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; + NSString *channel = parameters[NSStringFromSelector(@selector(channel))]; + + PNSetChannelMetadataRequest *request = [PNSetChannelMetadataRequest requestWithChannel:channel]; + request.information = parameters[NSStringFromSelector(@selector(information))]; + request.custom = parameters[NSStringFromSelector(@selector(custom))]; + request.name = parameters[NSStringFromSelector(@selector(name))]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; - return ^PNFetchUsersAPICallBuilder * { - return builder; - }; + if (includeFields) { + request.includeFields = (PNChannelFields)includeFields.unsignedIntegerValue; + } + + [self setChannelMetadataWithRequest:request completion:parameters[@"block"]]; } +- (void)sendRemoveChannelMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSString *channel = parameters[NSStringFromSelector(@selector(channel))]; + PNRemoveChannelMetadataRequest *request = [PNRemoveChannelMetadataRequest requestWithChannel:channel]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; -#pragma mark - Space Objects API builder support + [self removeChannelMetadataWithRequest:request completion:parameters[@"block"]]; +} -- (PNCreateSpaceAPICallBuilder * (^)(void))createSpace { - PNCreateSpaceAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; - - builder = [PNCreateSpaceAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSString *identifier =parameters[NSStringFromSelector(@selector(spaceId))]; - NSString *name = parameters[NSStringFromSelector(@selector(name))]; - - PNCreateSpaceRequest *request = [PNCreateSpaceRequest requestWithSpaceID:identifier - name:name]; - request.information = parameters[NSStringFromSelector(@selector(information))]; - request.custom = parameters[NSStringFromSelector(@selector(custom))]; - request.includeFields = includeFields.unsignedIntegerValue; - - [weakSelf createSpaceWithRequest:request completion:parameters[@"block"]]; - }]; +- (void)sendFetchChannelMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; + NSString *channel = parameters[NSStringFromSelector(@selector(channel))]; + + PNFetchChannelMetadataRequest *request = [PNFetchChannelMetadataRequest requestWithChannel:channel]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; - return ^PNCreateSpaceAPICallBuilder * { - return builder; - }; + if (includeFields) { + request.includeFields = (PNChannelFields)includeFields.unsignedIntegerValue; + } + + [self channelMetadataWithRequest:request completion:parameters[@"block"]]; } -- (PNUpdateSpaceAPICallBuilder * (^)(void))updateSpace { - PNUpdateSpaceAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; +- (void)sendFetchAllChannelsMetadataRequestUsingBuilderParameters:(NSDictionary *)parameters { + PNFetchAllChannelsMetadataRequest *request = [PNFetchAllChannelsMetadataRequest new]; + NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; + + [self addObjectsPaginationOptionsToRequest:request usingBuilderParameters:parameters]; - builder = [PNUpdateSpaceAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSString *identifier = parameters[NSStringFromSelector(@selector(spaceId))]; - - PNUpdateSpaceRequest *request = [PNUpdateSpaceRequest requestWithSpaceID:identifier]; - request.information = parameters[NSStringFromSelector(@selector(information))]; - request.custom = parameters[NSStringFromSelector(@selector(custom))]; - request.name = parameters[NSStringFromSelector(@selector(name))]; - request.includeFields = includeFields.unsignedIntegerValue; - - [weakSelf updateSpaceWithRequest:request completion:parameters[@"block"]]; - }]; + if (includeCount && includeCount.boolValue) { + request.includeFields |= PNChannelTotalCountField; + } - return ^PNUpdateSpaceAPICallBuilder * { - return builder; - }; + [self allChannelsMetadataWithRequest:request completion:parameters[@"block"]]; } -- (PNDeleteSpaceAPICallBuilder * (^)(void))deleteSpace { - PNDeleteSpaceAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; + +#pragma mark - Membership objects + +- (void)sendSetMembershipsRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; + NSArray *channels = parameters[NSStringFromSelector(@selector(channels))]; + NSString *uuid = parameters[NSStringFromSelector(@selector(uuid))]; + + PNSetMembershipsRequest *request = [PNSetMembershipsRequest requestWithUUID:uuid channels:channels]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; + + [self addObjectsPaginationOptionsToRequest:request usingBuilderParameters:parameters]; - builder = [PNDeleteSpaceAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSString *identifier = parameters[NSStringFromSelector(@selector(spaceId))]; - PNDeleteSpaceRequest *request = [PNDeleteSpaceRequest requestWithSpaceID:identifier]; - - [weakSelf deleteSpaceWithRequest:request completion:parameters[@"block"]]; - }]; + if (includeCount && includeCount.boolValue) { + request.includeFields |= PNMembershipTotalCountField; + } - return ^PNDeleteSpaceAPICallBuilder * { - return builder; - }; + [self setMembershipsWithRequest:request completion:parameters[@"block"]]; } -- (PNFetchSpaceAPICallBuilder * (^)(void))fetchSpace { - PNFetchSpaceAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; +- (void)sendRemoveMembershipsRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; + NSArray *channels = parameters[NSStringFromSelector(@selector(channels))]; + NSString *uuid = parameters[NSStringFromSelector(@selector(uuid))]; + + PNRemoveMembershipsRequest *request = [PNRemoveMembershipsRequest requestWithUUID:uuid channels:channels]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; + + [self addObjectsPaginationOptionsToRequest:request usingBuilderParameters:parameters]; - builder = [PNFetchSpaceAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSString *identifier = parameters[NSStringFromSelector(@selector(spaceId))]; - - PNFetchSpaceRequest *request = [PNFetchSpaceRequest requestWithSpaceID:identifier]; - request.includeFields = includeFields.unsignedIntegerValue; - - [weakSelf fetchSpaceWithRequest:request completion:parameters[@"block"]]; - }]; + if (includeCount && includeCount.boolValue) { + request.includeFields |= PNMembershipTotalCountField; + } - return ^PNFetchSpaceAPICallBuilder * { - return builder; - }; + [self removeMembershipsWithRequest:request completion:parameters[@"block"]]; } -- (PNFetchSpacesAPICallBuilder * (^)(void))fetchSpaces { - PNFetchSpacesAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; +- (void)sendManageMembershipsRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; + NSString *uuid = parameters[NSStringFromSelector(@selector(uuid))]; + + PNManageMembershipsRequest *request = [PNManageMembershipsRequest requestWithUUID:uuid]; + request.removeChannels = parameters[NSStringFromSelector(@selector(remove))]; + request.setChannels = parameters[NSStringFromSelector(@selector(set))]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; + + [self addObjectsPaginationOptionsToRequest:request usingBuilderParameters:parameters]; - builder = [PNFetchSpacesAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; - NSNumber *limit = parameters[NSStringFromSelector(@selector(limit))] ?: @(100); - - PNFetchSpacesRequest *request = [PNFetchSpacesRequest new]; - request.filter = parameters[NSStringFromSelector(@selector(filter))]; - request.start = parameters[NSStringFromSelector(@selector(start))]; - request.sort = parameters[NSStringFromSelector(@selector(sort))]; - request.end = parameters[NSStringFromSelector(@selector(end))]; - request.includeFields = includeFields.unsignedIntegerValue; - request.includeCount = includeCount.boolValue; - request.limit = limit.unsignedIntegerValue; - - [weakSelf fetchSpacesWithRequest:request completion:parameters[@"block"]]; - }]; + if (includeCount && includeCount.boolValue) { + request.includeFields |= PNMembershipTotalCountField; + } - return ^PNFetchSpacesAPICallBuilder * { - return builder; - }; + [self manageMembershipsWithRequest:request completion:parameters[@"block"]]; } +- (void)sendFetchMembershipsRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; + NSString *uuid = parameters[NSStringFromSelector(@selector(uuid))]; -#pragma mark - Membership objects + PNFetchMembershipsRequest *request = [PNFetchMembershipsRequest requestWithUUID:uuid]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; -- (PNManageMembershipsAPICallBuilder * (^)(void))manageMemberships { - PNManageMembershipsAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; + [self addObjectsPaginationOptionsToRequest:request usingBuilderParameters:parameters]; - builder = [PNManageMembershipsAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; - NSNumber *limit = parameters[NSStringFromSelector(@selector(limit))] ?: @(100); - NSString *userId = parameters[NSStringFromSelector(@selector(userId))]; - - PNManageMembershipsRequest *request = [PNManageMembershipsRequest requestWithUserID:userId]; - request.updateSpaces = parameters[NSStringFromSelector(@selector(update))]; - request.leaveSpaces = parameters[NSStringFromSelector(@selector(remove))]; - request.joinSpaces = parameters[NSStringFromSelector(@selector(add))]; - request.filter = parameters[NSStringFromSelector(@selector(filter))]; - request.start = parameters[NSStringFromSelector(@selector(start))]; - request.sort = parameters[NSStringFromSelector(@selector(sort))]; - request.end = parameters[NSStringFromSelector(@selector(end))]; - request.includeFields = includeFields.unsignedIntegerValue; - request.includeCount = includeCount.boolValue; - request.limit = limit.unsignedIntegerValue; - - [weakSelf manageMembershipsWithRequest:request completion:parameters[@"block"]]; - }]; + if (includeCount && includeCount.boolValue) { + request.includeFields |= PNMembershipTotalCountField; + } - return ^PNManageMembershipsAPICallBuilder * { - return builder; - }; + [self membershipsWithRequest:request completion:parameters[@"block"]]; } -- (PNFetchMembershipsAPICallBuilder * (^)(void))fetchMemberships { - PNFetchMembershipsAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; +- (void)sendSetMembersRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; + NSString *channel = parameters[NSStringFromSelector(@selector(channel))]; + NSArray *uuids = parameters[NSStringFromSelector(@selector(uuids))]; + + PNSetMembersRequest *request = [PNSetMembersRequest requestWithChannel:channel uuids:uuids]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; + + [self addObjectsPaginationOptionsToRequest:request usingBuilderParameters:parameters]; - builder = [PNFetchMembershipsAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; - NSNumber *limit = parameters[NSStringFromSelector(@selector(limit))] ?: @(100); - NSString *userId = parameters[NSStringFromSelector(@selector(userId))]; - - PNFetchMembershipsRequest *request = [PNFetchMembershipsRequest requestWithUserID:userId]; - request.filter = parameters[NSStringFromSelector(@selector(filter))]; - request.start = parameters[NSStringFromSelector(@selector(start))]; - request.sort = parameters[NSStringFromSelector(@selector(sort))]; - request.end = parameters[NSStringFromSelector(@selector(end))]; - request.includeFields = includeFields.unsignedIntegerValue; - request.includeCount = includeCount.boolValue; - request.limit = limit.unsignedIntegerValue; - - [weakSelf fetchMembershipsWithRequest:request completion:parameters[@"block"]]; - }]; + if (includeCount && includeCount.boolValue) { + request.includeFields |= PNMemberTotalCountField; + } - return ^PNFetchMembershipsAPICallBuilder * { - return builder; - }; + [self setMembersWithRequest:request completion:parameters[@"block"]]; } -- (PNManageMembersAPICallBuilder * (^)(void))manageMembers { - PNManageMembersAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; - - builder = [PNManageMembersAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { +- (void)sendRemoveMembersRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; + NSString *channel = parameters[NSStringFromSelector(@selector(channel))]; + NSArray *uuids = parameters[NSStringFromSelector(@selector(uuids))]; - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; - NSNumber *limit = parameters[NSStringFromSelector(@selector(limit))] ?: @(100); - NSString *spaceId = parameters[NSStringFromSelector(@selector(spaceId))]; - - PNManageMembersRequest *request = [PNManageMembersRequest requestWithSpaceID:spaceId]; - request.updateMembers = parameters[NSStringFromSelector(@selector(update))]; - request.removeMembers = parameters[NSStringFromSelector(@selector(remove))]; - request.addMembers = parameters[NSStringFromSelector(@selector(add))]; - request.filter = parameters[NSStringFromSelector(@selector(filter))]; - request.start = parameters[NSStringFromSelector(@selector(start))]; - request.sort = parameters[NSStringFromSelector(@selector(sort))]; - request.end = parameters[NSStringFromSelector(@selector(end))]; - request.includeFields = includeFields.unsignedIntegerValue; - request.includeCount = includeCount.boolValue; - request.limit = limit.unsignedIntegerValue; - - [weakSelf manageMembersWithRequest:request completion:parameters[@"block"]]; - }]; + PNRemoveMembersRequest *request = [PNRemoveMembersRequest requestWithChannel:channel uuids:uuids]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; + + [self addObjectsPaginationOptionsToRequest:request usingBuilderParameters:parameters]; - return ^PNManageMembersAPICallBuilder * { - return builder; - }; + if (includeCount && includeCount.boolValue) { + request.includeFields |= PNMemberTotalCountField; + } + + [self removeMembersWithRequest:request completion:parameters[@"block"]]; } -- (PNFetchMembersAPICallBuilder * (^)(void))fetchMembers { - PNFetchMembersAPICallBuilder *builder = nil; - __weak __typeof(self) weakSelf = self; +- (void)sendManageMembersRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; + NSString *channel = parameters[NSStringFromSelector(@selector(channel))]; + + PNManageMembersRequest *request = [PNManageMembersRequest requestWithChannel:channel]; + request.removeMembers = parameters[NSStringFromSelector(@selector(remove))]; + request.setMembers = parameters[NSStringFromSelector(@selector(set))]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; + + [self addObjectsPaginationOptionsToRequest:request usingBuilderParameters:parameters]; - builder = [PNFetchMembersAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *parameters) { - - NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; - NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; - NSNumber *limit = parameters[NSStringFromSelector(@selector(limit))] ?: @(100); - NSString *spaceId = parameters[NSStringFromSelector(@selector(spaceId))]; - - PNFetchMembersRequest *request = [PNFetchMembersRequest requestWithSpaceID:spaceId]; - request.filter = parameters[NSStringFromSelector(@selector(filter))]; - request.start = parameters[NSStringFromSelector(@selector(start))]; - request.sort = parameters[NSStringFromSelector(@selector(sort))]; - request.end = parameters[NSStringFromSelector(@selector(end))]; - request.includeFields = includeFields.unsignedIntegerValue; - request.includeCount = includeCount.boolValue; - request.limit = limit.unsignedIntegerValue; - - [weakSelf fetchMembersWithRequest:request completion:parameters[@"block"]]; - }]; + if (includeCount && includeCount.boolValue) { + request.includeFields |= PNMemberTotalCountField; + } - return ^PNFetchMembersAPICallBuilder * { - return builder; - }; + [self manageMembersWithRequest:request completion:parameters[@"block"]]; } +- (void)sendFetchMembersRequestUsingBuilderParameters:(NSDictionary *)parameters { + NSNumber *includeCount = parameters[NSStringFromSelector(@selector(includeCount))]; + NSString *channel = parameters[NSStringFromSelector(@selector(channel))]; -#pragma mark - User object + PNFetchMembersRequest *request = [PNFetchMembersRequest requestWithChannel:channel]; + request.arbitraryQueryParameters = parameters[@"queryParam"]; -- (void)createUserWithRequest:(PNCreateUserRequest *)request - completion:(PNCreateUserCompletionBlock)block { + [self addObjectsPaginationOptionsToRequest:request usingBuilderParameters:parameters]; - __weak __typeof(self) weakSelf = self; + if (includeCount && includeCount.boolValue) { + request.includeFields |= PNMemberTotalCountField; + } - [self performRequest:request withCompletion:^(PNCreateUserStatus *status) { - if (status.isError) { - status.retryBlock = ^{ - [weakSelf createUserWithRequest:request completion:block]; - }; - } - - block(status); - }]; + [self membersWithRequest:request completion:parameters[@"block"]]; } -- (void)updateUserWithRequest:(PNUpdateUserRequest *)request - completion:(PNUpdateUserCompletionBlock)block { - + +#pragma mark - UUID metadata object + +- (void)setUUIDMetadataWithRequest:(PNSetUUIDMetadataRequest *)request + completion:(nullable PNSetUUIDMetadataCompletionBlock)block { + + request.identifier = request.identifier ?: self.configuration.uuid; __weak __typeof(self) weakSelf = self; - [self performRequest:request withCompletion:^(PNUpdateUserStatus *status) { + [self performRequest:request withCompletion:^(PNSetUUIDMetadataStatus *status) { if (block && status.isError) { status.retryBlock = ^{ - [weakSelf updateUserWithRequest:request completion:block]; + [weakSelf setUUIDMetadataWithRequest:request completion:block]; }; } @@ -419,15 +494,16 @@ - (void)updateUserWithRequest:(PNUpdateUserRequest *)request }]; } -- (void)deleteUserWithRequest:(PNDeleteUserRequest *)request - completion:(PNDeleteUserCompletionBlock)block { - +- (void)removeUUIDMetadataWithRequest:(PNRemoveUUIDMetadataRequest *)request + completion:(nullable PNRemoveUUIDMetadataCompletionBlock)block { + + request.identifier = request.identifier ?: self.configuration.uuid; __weak __typeof(self) weakSelf = self; [self performRequest:request withCompletion:^(PNAcknowledgmentStatus *status) { if (block && status.isError) { status.retryBlock = ^{ - [weakSelf deleteUserWithRequest:request completion:block]; + [weakSelf removeUUIDMetadataWithRequest:request completion:block]; }; } @@ -437,17 +513,18 @@ - (void)deleteUserWithRequest:(PNDeleteUserRequest *)request }]; } -- (void)fetchUserWithRequest:(PNFetchUserRequest *)request - completion:(PNFetchUserCompletionBlock)block { - +- (void)uuidMetadataWithRequest:(PNFetchUUIDMetadataRequest *)request + completion:(PNFetchUUIDMetadataCompletionBlock)block { + + request.identifier = request.identifier ?: self.configuration.uuid; __weak __typeof(self) weakSelf = self; [self performRequest:request - withCompletion:^(PNFetchUserResult *result, PNErrorStatus *status) { + withCompletion:^(PNFetchUUIDMetadataResult *result, PNErrorStatus *status) { if (status.isError) { status.retryBlock = ^{ - [weakSelf fetchUserWithRequest:request completion:block]; + [weakSelf uuidMetadataWithRequest:request completion:block]; }; } @@ -455,17 +532,17 @@ - (void)fetchUserWithRequest:(PNFetchUserRequest *)request }]; } -- (void)fetchUsersWithRequest:(PNFetchUsersRequest *)request - completion:(PNFetchUsersCompletionBlock)block { +- (void)allUUIDMetadataWithRequest:(PNFetchAllUUIDMetadataRequest *)request + completion:(PNFetchAllUUIDMetadataCompletionBlock)block { __weak __typeof(self) weakSelf = self; [self performRequest:request - withCompletion:^(PNFetchUsersResult *result, PNErrorStatus *status) { + withCompletion:^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) { if (status.isError) { status.retryBlock = ^{ - [weakSelf fetchUsersWithRequest:request completion:block]; + [weakSelf allUUIDMetadataWithRequest:request completion:block]; }; } @@ -473,17 +550,17 @@ - (void)fetchUsersWithRequest:(PNFetchUsersRequest *)request }]; } -#pragma mark - Space object +#pragma mark - Channel metadata object -- (void)createSpaceWithRequest:(PNCreateSpaceRequest *)request - completion:(PNCreateSpaceCompletionBlock)block { +- (void)setChannelMetadataWithRequest:(PNSetChannelMetadataRequest *)request + completion:(nullable PNSetChannelMetadataCompletionBlock)block { __weak __typeof(self) weakSelf = self; - [self performRequest:request withCompletion:^(PNCreateSpaceStatus *status) { + [self performRequest:request withCompletion:^(PNSetChannelMetadataStatus *status) { if (block && status.isError) { status.retryBlock = ^{ - [weakSelf createSpaceWithRequest:request completion:block]; + [weakSelf setChannelMetadataWithRequest:request completion:block]; }; } @@ -493,15 +570,15 @@ - (void)createSpaceWithRequest:(PNCreateSpaceRequest *)request }]; } -- (void)updateSpaceWithRequest:(PNUpdateSpaceRequest *)request - completion:(PNUpdateSpaceCompletionBlock)block { +- (void)removeChannelMetadataWithRequest:(PNRemoveChannelMetadataRequest *)request + completion:(nullable PNRemoveChannelMetadataCompletionBlock)block { __weak __typeof(self) weakSelf = self; - [self performRequest:request withCompletion:^(PNUpdateSpaceStatus *status) { + [self performRequest:request withCompletion:^(PNAcknowledgmentStatus *status) { if (block && status.isError) { status.retryBlock = ^{ - [weakSelf updateSpaceWithRequest:request completion:block]; + [weakSelf removeChannelMetadataWithRequest:request completion:block]; }; } @@ -511,35 +588,35 @@ - (void)updateSpaceWithRequest:(PNUpdateSpaceRequest *)request }]; } -- (void)deleteSpaceWithRequest:(PNDeleteSpaceRequest *)request - completion:(PNDeleteSpaceCompletionBlock)block { +- (void)channelMetadataWithRequest:(PNFetchChannelMetadataRequest *)request + completion:(PNFetchChannelMetadataCompletionBlock)block { __weak __typeof(self) weakSelf = self; - [self performRequest:request withCompletion:^(PNAcknowledgmentStatus *status) { - if (block && status.isError) { + [self performRequest:request + withCompletion:^(PNFetchChannelMetadataResult *result, PNErrorStatus *status) { + + if (status.isError) { status.retryBlock = ^{ - [weakSelf deleteSpaceWithRequest:request completion:block]; + [weakSelf channelMetadataWithRequest:request completion:block]; }; } - if (block) { - block(status); - } + block(result, status); }]; } -- (void)fetchSpaceWithRequest:(PNFetchSpaceRequest *)request - completion:(PNFetchSpaceCompletionBlock)block { +- (void)allChannelsMetadataWithRequest:(PNFetchAllChannelsMetadataRequest *)request + completion:(PNFetchAllChannelsMetadataCompletionBlock)block { __weak __typeof(self) weakSelf = self; [self performRequest:request - withCompletion:^(PNFetchSpaceResult *result, PNErrorStatus *status) { + withCompletion:^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { if (status.isError) { status.retryBlock = ^{ - [weakSelf fetchSpaceWithRequest:request completion:block]; + [weakSelf allChannelsMetadataWithRequest:request completion:block]; }; } @@ -547,30 +624,51 @@ - (void)fetchSpaceWithRequest:(PNFetchSpaceRequest *)request }]; } -- (void)fetchSpacesWithRequest:(PNFetchSpacesRequest *)request - completion:(PNFetchSpacesCompletionBlock)block { + +#pragma mark - Membership objects + +- (void)setMembershipsWithRequest:(PNSetMembershipsRequest *)request + completion:(nullable PNManageMembershipsCompletionBlock)block { + request.identifier = request.identifier ?: self.configuration.uuid; __weak __typeof(self) weakSelf = self; - - [self performRequest:request - withCompletion:^(PNFetchSpacesResult *result, PNErrorStatus *status) { - - if (status.isError) { + + [self performRequest:request withCompletion:^(PNManageMembershipsStatus *status) { + if (block && status.isError) { status.retryBlock = ^{ - [weakSelf fetchSpacesWithRequest:request completion:block]; + [weakSelf setMembershipsWithRequest:request completion:block]; }; } - - block(result, status); + + if (block) { + block(status); + } }]; } +- (void)removeMembershipsWithRequest:(PNRemoveMembershipsRequest *)request + completion:(PNManageMembershipsCompletionBlock)block { + + request.identifier = request.identifier ?: self.configuration.uuid; + __weak __typeof(self) weakSelf = self; -#pragma mark - Membership objects + [self performRequest:request withCompletion:^(PNManageMembershipsStatus *status) { + if (block && status.isError) { + status.retryBlock = ^{ + [weakSelf removeMembershipsWithRequest:request completion:block]; + }; + } + + if (block) { + block(status); + } + }]; +} - (void)manageMembershipsWithRequest:(PNManageMembershipsRequest *)request completion:(PNManageMembershipsCompletionBlock)block { + request.identifier = request.identifier ?: self.configuration.uuid; __weak __typeof(self) weakSelf = self; [self performRequest:request withCompletion:^(PNManageMembershipsStatus *status) { @@ -586,9 +684,10 @@ - (void)manageMembershipsWithRequest:(PNManageMembershipsRequest *)request }]; } -- (void)fetchMembershipsWithRequest:(PNFetchMembershipsRequest *)request - completion:(PNFetchMembershipsCompletionBlock)block { +- (void)membershipsWithRequest:(PNFetchMembershipsRequest *)request + completion:(PNFetchMembershipsCompletionBlock)block { + request.identifier = request.identifier ?: self.configuration.uuid; __weak __typeof(self) weakSelf = self; [self performRequest:request @@ -596,7 +695,7 @@ - (void)fetchMembershipsWithRequest:(PNFetchMembershipsRequest *)request if (status.isError) { status.retryBlock = ^{ - [weakSelf fetchMembershipsWithRequest:request completion:block]; + [weakSelf membershipsWithRequest:request completion:block]; }; } @@ -604,6 +703,42 @@ - (void)fetchMembershipsWithRequest:(PNFetchMembershipsRequest *)request }]; } +- (void)setMembersWithRequest:(PNSetMembersRequest *)request + completion:(PNManageMembersCompletionBlock)block { + + __weak __typeof(self) weakSelf = self; + + [self performRequest:request withCompletion:^(PNManageMembersStatus *status) { + if (block && status.isError) { + status.retryBlock = ^{ + [weakSelf setMembersWithRequest:request completion:block]; + }; + } + + if (block) { + block(status); + } + }]; +} + +- (void)removeMembersWithRequest:(PNRemoveMembersRequest *)request + completion:(PNManageMembersCompletionBlock)block { + + __weak __typeof(self) weakSelf = self; + + [self performRequest:request withCompletion:^(PNManageMembersStatus *status) { + if (block && status.isError) { + status.retryBlock = ^{ + [weakSelf removeMembersWithRequest:request completion:block]; + }; + } + + if (block) { + block(status); + } + }]; +} + - (void)manageMembersWithRequest:(PNManageMembersRequest *)request completion:(PNManageMembersCompletionBlock)block { @@ -622,8 +757,8 @@ - (void)manageMembersWithRequest:(PNManageMembersRequest *)request }]; } -- (void)fetchMembersWithRequest:(PNFetchMembersRequest *)request - completion:(PNFetchMembersCompletionBlock)block { +- (void)membersWithRequest:(PNFetchMembersRequest *)request + completion:(PNFetchMembersCompletionBlock)block { __weak __typeof(self) weakSelf = self; @@ -632,7 +767,7 @@ - (void)fetchMembersWithRequest:(PNFetchMembersRequest *)request if (status.isError) { status.retryBlock = ^{ - [weakSelf fetchMembersWithRequest:request completion:block]; + [weakSelf membersWithRequest:request completion:block]; }; } @@ -640,6 +775,22 @@ - (void)fetchMembersWithRequest:(PNFetchMembersRequest *)request }]; } + +#pragma mark - Misc + +- (void)addObjectsPaginationOptionsToRequest:(PNObjectsPaginatedRequest *)request + usingBuilderParameters:(NSDictionary *)parameters { + + NSNumber *includeFields = parameters[NSStringFromSelector(@selector(includeFields))]; + NSNumber *limit = parameters[NSStringFromSelector(@selector(limit))] ?: @(100); + request.filter = parameters[NSStringFromSelector(@selector(filter))]; + request.start = parameters[NSStringFromSelector(@selector(start))]; + request.sort = parameters[NSStringFromSelector(@selector(sort))]; + request.end = parameters[NSStringFromSelector(@selector(end))]; + request.includeFields = includeFields.unsignedIntegerValue; + request.limit = limit.unsignedIntegerValue; +} + #pragma mark - diff --git a/PubNub/Core/PubNub+Subscribe.h b/PubNub/Core/PubNub+Subscribe.h index e9feae30f..f621c1c8e 100644 --- a/PubNub/Core/PubNub+Subscribe.h +++ b/PubNub/Core/PubNub+Subscribe.h @@ -13,7 +13,7 @@ #pragma mark - Protocols -@protocol PNObjectEventListener; +@protocol PNEventsListener; NS_ASSUME_NONNULL_BEGIN @@ -75,17 +75,17 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Listeners /** - * @brief Add observer which conform to \b PNObjectEventListener protocol and would like to receive + * @brief Add observer which conform to \b PNEventsListener protocol and would like to receive * updates based on live feed events and status change. * - * @discussion Listener can implement only required callbacks from \b PNObjectEventListener protocol + * @discussion Listener can implement only required callbacks from \b PNEventsListener protocol * and called only when desired type of event arrive. * * @param listener Listener which would like to receive updates. * * @since 4.0 */ -- (void)addListener:(id )listener NS_SWIFT_NAME(addListener(_:)); +- (void)addListener:(id )listener NS_SWIFT_NAME(addListener(_:)); /** * @brief Remove listener from list for callback calls. @@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN * * @since 4.0 */ -- (void)removeListener:(id )listener NS_SWIFT_NAME(removeListener(_:)); +- (void)removeListener:(id )listener NS_SWIFT_NAME(removeListener(_:)); #pragma mark - Filtering @@ -106,7 +106,7 @@ NS_ASSUME_NONNULL_BEGIN * @brief String representation of filtering expression which should be applied to decide which * updates should reach client. * - * @warning If your filter expression is malformed, \b PNObjectEventListener won't receive any + * @warning If your filter expression is malformed, \b PNEventsListener won't receive any * messages and presence events from service (only error status). */ @property (nonatomic, nullable, copy) NSString *filterExpression; diff --git a/PubNub/Core/PubNub+Subscribe.m b/PubNub/Core/PubNub+Subscribe.m index 3b7060516..b3313d10f 100644 --- a/PubNub/Core/PubNub+Subscribe.m +++ b/PubNub/Core/PubNub+Subscribe.m @@ -143,13 +143,13 @@ - (BOOL)isSubscribedOn:(NSString *)name { #pragma mark - Listeners -- (void)addListener:(id )listener { +- (void)addListener:(id )listener { // Forwarding calls to listener manager. [self.listenersManager addListener:listener]; } -- (void)removeListener:(id )listener { +- (void)removeListener:(id )listener { // Forwarding calls to listener manager. [self.listenersManager removeListener:listener]; diff --git a/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpacesAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchAllChannelsMetadataAPICallBuilder.h similarity index 51% rename from PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpacesAPICallBuilder.h rename to PubNub/Data/Builders/API Call/Objects/Channel/PNFetchAllChannelsMetadataAPICallBuilder.h index 194c281ba..94dde0332 100644 --- a/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpacesAPICallBuilder.h +++ b/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchAllChannelsMetadataAPICallBuilder.h @@ -1,4 +1,4 @@ -#import "PNAPICallBuilder.h" +#import "PNObjectsAPICallBuilder.h" #import "PNStructures.h" @@ -7,14 +7,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interface declaration /** - * @brief \c Fetch \c all \c spaces API call builder. + * @brief \c Fetch \c metadata associated with all \c channels API call builder. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -@interface PNFetchSpacesAPICallBuilder : PNAPICallBuilder +@interface PNFetchAllChannelsMetadataAPICallBuilder : PNObjectsAPICallBuilder #pragma mark - Configuration @@ -22,46 +22,43 @@ NS_ASSUME_NONNULL_BEGIN /** * @brief Bitfield set to fields which should be returned with response. * - * @param includeFields List with fields, specified in \b PNSpaceFields enum. + * @param includeFields List with fields, specified in \b PNChannelFields enum. * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchSpacesAPICallBuilder * (^includeFields)(PNSpaceFields includeFields); +@property (nonatomic, readonly, strong) PNFetchAllChannelsMetadataAPICallBuilder * (^includeFields)(PNChannelFields includeFields); /** - * @brief Whether total count of \c spaces should be included in response or not. + * @brief Whether total count of objects should be included in response or not. * - * @param shouldIncludeCount Whether total count of \c spaces should be requested or not. + * @param shouldIncludeCount Whether total count of objects should be requested or not. * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchSpacesAPICallBuilder * (^includeCount)(BOOL shouldIncludeCount); +@property (nonatomic, readonly, strong) PNFetchAllChannelsMetadataAPICallBuilder * (^includeCount)(BOOL shouldIncludeCount); /** * @brief Results sorting order. * * @param sort List of criteria (name of field) which should be used for sorting in ascending order. - * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field name. + * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field + * name. * * @return API call configuration builder. - * - * @since 4.13.0 */ -@property (nonatomic, readonly, strong) PNFetchSpacesAPICallBuilder * (^sort)(NSArray *sort); +@property (nonatomic, readonly, strong) PNFetchAllChannelsMetadataAPICallBuilder * (^sort)(NSArray *sort); /** * @brief Expression to filter out results basing on specified criteria. * - * @param filter Spaces filter expression. + * @param filter Objects filter expression. * * @return API call configuration builder. - * - * @since 4.13.0 */ -@property (nonatomic, readonly, strong) PNFetchSpacesAPICallBuilder * (^filter)(NSString *filter); +@property (nonatomic, readonly, strong) PNFetchAllChannelsMetadataAPICallBuilder * (^filter)(NSString *filter); /** - * @brief Maximum number of \c spaces per fetched page. + * @brief Maximum number of objects per fetched page. * * @note Will be set to \c 100 (which is also maximum value) if not specified. * @@ -69,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchSpacesAPICallBuilder * (^limit)(NSUInteger limit); +@property (nonatomic, readonly, strong) PNFetchAllChannelsMetadataAPICallBuilder * (^limit)(NSUInteger limit); /** * @brief Cursor value to navigate to next fetched result page. @@ -78,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchSpacesAPICallBuilder * (^start)(NSString *start); +@property (nonatomic, readonly, strong) PNFetchAllChannelsMetadataAPICallBuilder * (^start)(NSString *start); /** * @brief Cursor value to navigate to previous fetched result page. @@ -89,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchSpacesAPICallBuilder * (^end)(NSString *end); +@property (nonatomic, readonly, strong) PNFetchAllChannelsMetadataAPICallBuilder * (^end)(NSString *end); #pragma mark - Execution @@ -97,9 +94,9 @@ NS_ASSUME_NONNULL_BEGIN /** * @brief Perform API call. * - * @param block \c All \c spaces \c fetch completion handler block. + * @param block Associated \c metadata \c fetch completion handler block. */ -@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNFetchSpacesCompletionBlock block); +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNFetchAllChannelsMetadataCompletionBlock block); #pragma mark - Misc @@ -112,7 +109,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchSpacesAPICallBuilder * (^queryParam)(NSDictionary *params); +@property (nonatomic, readonly, strong) PNFetchAllChannelsMetadataAPICallBuilder * (^queryParam)(NSDictionary *params); #pragma mark - diff --git a/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchAllChannelsMetadataAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchAllChannelsMetadataAPICallBuilder.m new file mode 100644 index 000000000..879ddc7f2 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchAllChannelsMetadataAPICallBuilder.m @@ -0,0 +1,96 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNFetchAllChannelsMetadataAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" + + +#pragma mark Interface implementation + +@implementation PNFetchAllChannelsMetadataAPICallBuilder + + +#pragma mark - Information + +@dynamic queryParam; + + +#pragma mark - Configuration + +- (PNFetchAllChannelsMetadataAPICallBuilder * (^)(PNChannelFields includeFields))includeFields { + return ^PNFetchAllChannelsMetadataAPICallBuilder * (PNChannelFields includeFields) { + [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNFetchAllChannelsMetadataAPICallBuilder * (^)(BOOL shouldIncludeCount))includeCount { + return ^PNFetchAllChannelsMetadataAPICallBuilder * (BOOL shouldIncludeCount) { + [self setValue:@(shouldIncludeCount) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNFetchAllChannelsMetadataAPICallBuilder * (^)(NSArray *sort))sort { + return ^PNFetchAllChannelsMetadataAPICallBuilder * (NSArray *sort) { + if ([sort isKindOfClass:[NSArray class]] && sort.count) { + [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNFetchAllChannelsMetadataAPICallBuilder * (^)(NSString *filter))filter { + return ^PNFetchAllChannelsMetadataAPICallBuilder * (NSString *filter) { + if ([filter isKindOfClass:[NSString class]] && filter.length) { + [self setValue:filter forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNFetchAllChannelsMetadataAPICallBuilder * (^)(NSUInteger limit))limit { + return ^PNFetchAllChannelsMetadataAPICallBuilder * (NSUInteger limit) { + [self setValue:@(limit) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNFetchAllChannelsMetadataAPICallBuilder * (^)(NSString *name))start { + return ^PNFetchAllChannelsMetadataAPICallBuilder * (NSString *start) { + if ([start isKindOfClass:[NSString class]] && start.length) { + [self setValue:start forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNFetchAllChannelsMetadataAPICallBuilder * (^)(NSString *end))end { + return ^PNFetchAllChannelsMetadataAPICallBuilder * (NSString *end) { + if ([end isKindOfClass:[NSString class]] && end.length) { + [self setValue:end forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + + +#pragma mark - Execution + +- (void(^)(PNFetchAllChannelsMetadataCompletionBlock block))performWithCompletion { + return ^(PNFetchAllChannelsMetadataCompletionBlock block) { + [super performWithBlock:block]; + }; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchChannelMetadataAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchChannelMetadataAPICallBuilder.h new file mode 100644 index 000000000..e55da65c1 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchChannelMetadataAPICallBuilder.h @@ -0,0 +1,59 @@ +#import "PNObjectsAPICallBuilder.h" +#import "PNStructures.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Fetch \c metadata associated with \c channel API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchChannelMetadataAPICallBuilder : PNObjectsAPICallBuilder + + +#pragma mark - Configuration + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @param includeFields List with fields, specified in \b PNChannelFields enum. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchChannelMetadataAPICallBuilder * (^includeFields)(PNChannelFields includeFields); + + +#pragma mark - Execution + +/** + * @brief Perform API call. + * + * @param block Associated \c metadata \c fetch completion handler block. + */ +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNFetchChannelMetadataCompletionBlock block); + + +#pragma mark - Misc + +/** + * @brief Arbitrary query parameters addition block. + * + * @param params List of arbitrary percent-encoded query parameters which should be sent along with + * original API call. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchChannelMetadataAPICallBuilder * (^queryParam)(NSDictionary *params); + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchChannelMetadataAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchChannelMetadataAPICallBuilder.m new file mode 100644 index 000000000..dc043397f --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Channel/PNFetchChannelMetadataAPICallBuilder.m @@ -0,0 +1,42 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNFetchChannelMetadataAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" + + +#pragma mark Interface implementation + +@implementation PNFetchChannelMetadataAPICallBuilder + + +#pragma mark - Information + +@dynamic queryParam; + + +#pragma mark - Configuration + +- (PNFetchChannelMetadataAPICallBuilder * (^)(PNChannelFields includeFields))includeFields { + return ^PNFetchChannelMetadataAPICallBuilder * (PNChannelFields includeFields) { + [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + + +#pragma mark - Execution + +- (void(^)(PNFetchChannelMetadataCompletionBlock block))performWithCompletion { + return ^(PNFetchChannelMetadataCompletionBlock block) { + [super performWithBlock:block]; + }; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/Channel/PNRemoveChannelMetadataAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Channel/PNRemoveChannelMetadataAPICallBuilder.h new file mode 100644 index 000000000..c3b934498 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Channel/PNRemoveChannelMetadataAPICallBuilder.h @@ -0,0 +1,48 @@ +#import "PNObjectsAPICallBuilder.h" +#import "PNStructures.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief Associated with \c channel \c metadata remove API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNRemoveChannelMetadataAPICallBuilder : PNObjectsAPICallBuilder + + +#pragma mark - Execution + +/** + * @brief Perform API call. + * + * @param block Associated \c metadata \c remove completion handler block. + */ +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNRemoveChannelMetadataCompletionBlock block); + + +#pragma mark - Misc + +/** + * @brief Arbitrary query parameters addition block. + * + * @param params List of arbitrary percent-encoded query parameters which should be sent along with + * original API call. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveChannelMetadataAPICallBuilder * (^queryParam)(NSDictionary *params); + + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Channel/PNRemoveChannelMetadataAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Channel/PNRemoveChannelMetadataAPICallBuilder.m new file mode 100644 index 000000000..9da7d3079 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Channel/PNRemoveChannelMetadataAPICallBuilder.m @@ -0,0 +1,32 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNRemoveChannelMetadataAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" + + +#pragma mark Interface implementation + +@implementation PNRemoveChannelMetadataAPICallBuilder + + +#pragma mark - Information + +@dynamic queryParam; + + +#pragma mark - Execution + +- (void(^)(PNRemoveChannelMetadataCompletionBlock block))performWithCompletion { + return ^(PNRemoveChannelMetadataCompletionBlock block) { + [super performWithBlock:block]; + }; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/Channel/PNSetChannelMetadataAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Channel/PNSetChannelMetadataAPICallBuilder.h new file mode 100644 index 000000000..1d2b908ad --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Channel/PNSetChannelMetadataAPICallBuilder.h @@ -0,0 +1,87 @@ +#import "PNObjectsAPICallBuilder.h" +#import "PNStructures.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Metadata association with \c channel API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetChannelMetadataAPICallBuilder : PNObjectsAPICallBuilder + + +#pragma mark - Configuration + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @param includeFields List with fields, specified in \b PNChannelFields enum. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetChannelMetadataAPICallBuilder * (^includeFields)(PNChannelFields includeFields); + +/** + * @brief Description which should be stored in \c metadata associated with specified \c channel. + * + * @param information Entity description. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetChannelMetadataAPICallBuilder * (^information)(NSString *information); + +/** + * @brief Additional information which should be stored in \c metadata associated with + * specified \c channel. + * + * @param custom Dictionary with simple scalar values (\a NSString, \a NSNumber). + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetChannelMetadataAPICallBuilder * (^custom)(NSDictionary *custom); + +/** + * @brief Name which should stored in \c metadata associated with specified \c channel. + * + * @param name Entity name. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetChannelMetadataAPICallBuilder * (^name)(NSString *name); + + +#pragma mark - Execution + +/** + * @brief Perform API call. + * + * @param block \c Metadata association completion handler block. + */ +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNSetChannelMetadataCompletionBlock block); + + +#pragma mark - Misc + +/** + * @brief Arbitrary query parameters addition block. + * + * @param params List of arbitrary percent-encoded query parameters which should be sent along with + * original API call. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetChannelMetadataAPICallBuilder * (^queryParam)(NSDictionary *params); + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Channel/PNSetChannelMetadataAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Channel/PNSetChannelMetadataAPICallBuilder.m new file mode 100644 index 000000000..f2c5fb2bf --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Channel/PNSetChannelMetadataAPICallBuilder.m @@ -0,0 +1,72 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNSetChannelMetadataAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" + + +#pragma mark Interface implementation + +@implementation PNSetChannelMetadataAPICallBuilder + + +#pragma mark - Information + +@dynamic queryParam; + + +#pragma mark - Configuration + +- (PNSetChannelMetadataAPICallBuilder * (^)(PNChannelFields includeFields))includeFields { + return ^PNSetChannelMetadataAPICallBuilder * (PNChannelFields includeFields) { + [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNSetChannelMetadataAPICallBuilder * (^)(NSString *information))information { + return ^PNSetChannelMetadataAPICallBuilder * (NSString *information) { + if ([information isKindOfClass:[NSString class]] && information.length) { + [self setValue:information forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetChannelMetadataAPICallBuilder * (^)(NSDictionary *custom))custom { + return ^PNSetChannelMetadataAPICallBuilder * (NSDictionary *custom) { + if ([custom isKindOfClass:[NSDictionary class]] && custom.count) { + [self setValue:custom forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetChannelMetadataAPICallBuilder * (^)(NSString *name))name { + return ^PNSetChannelMetadataAPICallBuilder * (NSString *name) { + if ([name isKindOfClass:[NSString class]] && name.length) { + [self setValue:name forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + + +#pragma mark - Execution + +- (void(^)(PNSetChannelMetadataCompletionBlock block))performWithCompletion { + return ^(PNSetChannelMetadataCompletionBlock block) { + [super performWithBlock:block]; + }; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembersAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembersAPICallBuilder.h index eb7fe4c24..51f670533 100644 --- a/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembersAPICallBuilder.h +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembersAPICallBuilder.h @@ -1,10 +1,18 @@ -#import "PNAPICallBuilder.h" +#import "PNObjectsAPICallBuilder.h" #import "PNStructures.h" NS_ASSUME_NONNULL_BEGIN -@interface PNFetchMembersAPICallBuilder : PNAPICallBuilder +/** + * @brief \c Fetch \c members API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchMembersAPICallBuilder : PNObjectsAPICallBuilder #pragma mark - Configuration @@ -19,9 +27,9 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, strong) PNFetchMembersAPICallBuilder * (^includeFields)(PNMemberFields includeFields); /** - * @brief Whether total count of \c members should be included in response or not. + * @brief Whether total count of objects should be included in response or not. * - * @param shouldIncludeCount Whether total count of \c members should be requested or not. + * @param shouldIncludeCount Whether total count of objects should be requested or not. * * @return API call configuration builder. */ @@ -31,22 +39,12 @@ NS_ASSUME_NONNULL_BEGIN * @brief Results sorting order. * * @param sort List of criteria (name of field) which should be used for sorting in ascending order. - * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field name. + * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field + * name. * * @return API call configuration builder. - * - * @since 4.13.0 */ -@property (nonatomic, readonly, strong) PNFetchMembersAPICallBuilder * (^sort)(NSArray *sort); - -/** - * @brief Target \c space identifier. - * - * @param spaceId Identifier of \c space for which list of members will be fetched. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchMembersAPICallBuilder * (^spaceId)(NSString *spaceId); +@property (nonatomic, readonly, strong) PNFetchMembersAPICallBuilder * (^sort)(NSArray *sort); /** * @brief Expression to filter out results basing on specified criteria. @@ -54,13 +52,11 @@ NS_ASSUME_NONNULL_BEGIN * @param filter Members filter expression. * * @return API call configuration builder. - * - * @since 4.13.0 */ @property (nonatomic, readonly, strong) PNFetchMembersAPICallBuilder * (^filter)(NSString *filter); /** - * @brief Maximum number of \c members per fetched page. + * @brief Maximum number of objects per fetched page. * * @note Will be set to \c 100 (which is also maximum value) if not specified. * diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembersAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembersAPICallBuilder.m index a5d05777e..377bada9f 100644 --- a/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembersAPICallBuilder.m +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembersAPICallBuilder.m @@ -1,8 +1,8 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNFetchMembersAPICallBuilder.h" #import "PNAPICallBuilder+Private.h" @@ -34,8 +34,8 @@ @implementation PNFetchMembersAPICallBuilder }; } -- (PNFetchMembersAPICallBuilder * (^)(NSArray *sort))sort { - return ^PNFetchMembersAPICallBuilder * (NSArray *sort) { +- (PNFetchMembersAPICallBuilder * (^)(NSArray *sort))sort { + return ^PNFetchMembersAPICallBuilder * (NSArray *sort) { if ([sort isKindOfClass:[NSArray class]] && sort.count) { [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; } @@ -44,16 +44,6 @@ @implementation PNFetchMembersAPICallBuilder }; } -- (PNFetchMembersAPICallBuilder * (^)(NSString *spaceId))spaceId { - return ^PNFetchMembersAPICallBuilder * (NSString *spaceId) { - if ([spaceId isKindOfClass:[NSString class]] && spaceId.length) { - [self setValue:spaceId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - (PNFetchMembersAPICallBuilder * (^)(NSString *filter))filter { return ^PNFetchMembersAPICallBuilder * (NSString *filter) { if ([filter isKindOfClass:[NSString class]] && filter.length) { diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembershipsAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembershipsAPICallBuilder.h index 0df5df58a..0739c9aee 100644 --- a/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembershipsAPICallBuilder.h +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembershipsAPICallBuilder.h @@ -1,10 +1,18 @@ -#import "PNAPICallBuilder.h" +#import "PNObjectsAPICallBuilder.h" #import "PNStructures.h" NS_ASSUME_NONNULL_BEGIN -@interface PNFetchMembershipsAPICallBuilder : PNAPICallBuilder +/** + * @brief \c Fetch \c memberships API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchMembershipsAPICallBuilder : PNObjectsAPICallBuilder #pragma mark - Configuration @@ -19,9 +27,9 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, strong) PNFetchMembershipsAPICallBuilder * (^includeFields)(PNMembershipFields includeFields); /** - * @brief Whether total count of \c memberships should be included in response or not. + * @brief Whether total count of objects should be included in response or not. * - * @param shouldIncludeCount Whether total count of \c memberships should be requested or not. + * @param shouldIncludeCount Whether total count of objects should be requested or not. * * @return API call configuration builder. */ @@ -31,13 +39,12 @@ NS_ASSUME_NONNULL_BEGIN * @brief Results sorting order. * * @param sort List of criteria (name of field) which should be used for sorting in ascending order. - * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field name. + * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field + * name. * * @return API call configuration builder. - * - * @since 4.13.0 */ -@property (nonatomic, readonly, strong) PNFetchMembershipsAPICallBuilder * (^sort)(NSArray *sort); +@property (nonatomic, readonly, strong) PNFetchMembershipsAPICallBuilder * (^sort)(NSArray *sort); /** * @brief Expression to filter out results basing on specified criteria. @@ -45,22 +52,11 @@ NS_ASSUME_NONNULL_BEGIN * @param filter Memberships filter expression. * * @return API call configuration builder. - * - * @since 4.13.0 */ @property (nonatomic, readonly, strong) PNFetchMembershipsAPICallBuilder * (^filter)(NSString *filter); /** - * @brief Target \c user identifier. - * - * @param userId Identifier of \c user for which memberships will be fetched. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchMembershipsAPICallBuilder * (^userId)(NSString *userId); - -/** - * @brief Maximum number of \c memberships per fetched page. + * @brief Maximum number of objects per fetched page. * * @note Will be set to \c 100 (which is also maximum value) if not specified. * @@ -79,6 +75,17 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, readonly, strong) PNFetchMembershipsAPICallBuilder * (^start)(NSString *start); +/** + * @brief Identifier for which memberships should be fetched. + + * @note Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @param uuid Unique identifier for membership. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchMembershipsAPICallBuilder * (^uuid)(NSString *uuid); + /** * @brief Cursor value to navigate to previous fetched result page. diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembershipsAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembershipsAPICallBuilder.m index 468e30087..415260d3d 100644 --- a/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembershipsAPICallBuilder.m +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNFetchMembershipsAPICallBuilder.m @@ -1,8 +1,8 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNFetchMembershipsAPICallBuilder.h" #import "PNAPICallBuilder+Private.h" @@ -34,8 +34,8 @@ @implementation PNFetchMembershipsAPICallBuilder }; } -- (PNFetchMembershipsAPICallBuilder * (^)(NSArray *sort))sort { - return ^PNFetchMembershipsAPICallBuilder * (NSArray *sort) { +- (PNFetchMembershipsAPICallBuilder * (^)(NSArray *sort))sort { + return ^PNFetchMembershipsAPICallBuilder * (NSArray *sort) { if ([sort isKindOfClass:[NSArray class]] && sort.count) { [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; } @@ -54,16 +54,6 @@ @implementation PNFetchMembershipsAPICallBuilder }; } -- (PNFetchMembershipsAPICallBuilder * (^)(NSString *userId))userId { - return ^PNFetchMembershipsAPICallBuilder * (NSString *userId) { - if ([userId isKindOfClass:[NSString class]] && userId.length) { - [self setValue:userId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - (PNFetchMembershipsAPICallBuilder * (^)(NSUInteger limit))limit { return ^PNFetchMembershipsAPICallBuilder * (NSUInteger limit) { [self setValue:@(limit) forParameter:NSStringFromSelector(_cmd)]; @@ -76,7 +66,17 @@ @implementation PNFetchMembershipsAPICallBuilder if ([start isKindOfClass:[NSString class]] && start.length) { [self setValue:start forParameter:NSStringFromSelector(_cmd)]; } - + + return self; + }; +} + +- (PNFetchMembershipsAPICallBuilder * (^)(NSString *uuid))uuid { + return ^PNFetchMembershipsAPICallBuilder * (NSString *uuid) { + if ([uuid isKindOfClass:[NSString class]] && uuid.length) { + [self setValue:uuid forParameter:NSStringFromSelector(_cmd)]; + } + return self; }; } diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembersAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembersAPICallBuilder.h index 217ac565a..7a2715350 100644 --- a/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembersAPICallBuilder.h +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembersAPICallBuilder.h @@ -1,10 +1,18 @@ -#import "PNAPICallBuilder.h" +#import "PNObjectsAPICallBuilder.h" #import "PNStructures.h" NS_ASSUME_NONNULL_BEGIN -@interface PNManageMembersAPICallBuilder : PNAPICallBuilder +/** + * @brief \c Manage \c members API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNManageMembersAPICallBuilder : PNObjectsAPICallBuilder #pragma mark - Configuration @@ -19,70 +27,46 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^includeFields)(PNMemberFields includeFields); /** - * @brief List of \c users for which additional information associated with each of them in context - * of \c space should be updated. - * - * @param users List with \c users and additional information which should be changed for each of - * them in context of specified \c space. - * - * @note Each entry is dictionary with \c userId and \b optional \c custom fields. \c custom should - * be dictionary with simple objects: \a NSString and \a NSNumber. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^update)(NSArray *users); - -/** - * @brief Whether total count of \c members should be included in response or not. + * @brief Whether total count of objects should be included in response or not. * - * @param shouldIncludeCount Whether total count of \c members should be requested or not. + * @param shouldIncludeCount Whether total count of objects should be requested or not. * * @return API call configuration builder. */ @property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^includeCount)(BOOL shouldIncludeCount); /** - * @brief List of \c users which should be added to \c space's members list. + * @brief List of \c UUIDs which should be added to \c channel's members list. * - * @param users List of \c users and additional information which should be associated with each of - * them in context of specified \c space (if \c custom field is set). - * - * @note Each entry is dictionary with \c userId and \b optional \c custom fields. \c custom should + * @note Each entry is dictionary with \c UUID and \b optional \c custom fields. \c custom should * be dictionary with simple objects: \a NSString and \a NSNumber. * + * @param uuids List with identifiers and additional information which should be associated for each + * of them in context of specified \c channel. + * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^add)(NSArray *users); +@property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^set)(NSArray *uuids); /** - * @brief List of \c users which should be removed from \c members list. + * @brief List of \c UUIDs which should be removed from \c channel's list. * - * @param spaces List of \c user identifiers. + * @param uuids List of identifiers. * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^remove)(NSArray *users); +@property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^remove)(NSArray *uuids); /** * @brief Results sorting order. * * @param sort List of criteria (name of field) which should be used for sorting in ascending order. - * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field name. - * - * @return API call configuration builder. - * - * @since 4.13.0 - */ -@property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^sort)(NSArray *sort); - -/** - * @brief Target \c space identifier. - * - * @param spaceId Identifier of \c space for which list of members will be updated. + * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field + * name. * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^spaceId)(NSString *spaceId); +@property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^sort)(NSArray *sort); /** * @brief Expression to filter out results basing on specified criteria. @@ -90,13 +74,11 @@ NS_ASSUME_NONNULL_BEGIN * @param filter Members filter expression. * * @return API call configuration builder. - * - * @since 4.13.0 */ @property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^filter)(NSString *filter); /** - * @brief Maximum number of \c members per fetched page. + * @brief Maximum number of objects per fetched page. * * @note Will be set to \c 100 (which is also maximum value) if not specified. * diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembersAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembersAPICallBuilder.m index bead8013f..48c8559ab 100644 --- a/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembersAPICallBuilder.m +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembersAPICallBuilder.m @@ -1,8 +1,8 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNManageMembersAPICallBuilder.h" #import "PNAPICallBuilder+Private.h" @@ -27,16 +27,6 @@ @implementation PNManageMembersAPICallBuilder }; } -- (PNManageMembersAPICallBuilder * (^)(NSArray *users))update { - return ^PNManageMembersAPICallBuilder * (NSArray *users) { - if ([users isKindOfClass:[NSArray class]] && users.count) { - [self setValue:users forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - (PNManageMembersAPICallBuilder * (^)(BOOL shouldIncludeCount))includeCount { return ^PNManageMembersAPICallBuilder * (BOOL shouldIncludeCount) { [self setValue:@(shouldIncludeCount) forParameter:NSStringFromSelector(_cmd)]; @@ -44,28 +34,28 @@ @implementation PNManageMembersAPICallBuilder }; } -- (PNManageMembersAPICallBuilder * (^)(NSArray *users))add { - return ^PNManageMembersAPICallBuilder * (NSArray *users) { - if ([users isKindOfClass:[NSArray class]] && users.count) { - [self setValue:users forParameter:NSStringFromSelector(_cmd)]; +- (PNManageMembersAPICallBuilder * (^)(NSArray *uuids))set { + return ^PNManageMembersAPICallBuilder * (NSArray *uuids) { + if ([uuids isKindOfClass:[NSArray class]] && uuids.count) { + [self setValue:uuids forParameter:NSStringFromSelector(_cmd)]; } return self; }; } -- (PNManageMembersAPICallBuilder * (^)(NSArray *users))remove { - return ^PNManageMembersAPICallBuilder * (NSArray *users) { - if ([users isKindOfClass:[NSArray class]] && users.count) { - [self setValue:users forParameter:NSStringFromSelector(_cmd)]; +- (PNManageMembersAPICallBuilder * (^)(NSArray *uuids))remove { + return ^PNManageMembersAPICallBuilder * (NSArray *uuids) { + if ([uuids isKindOfClass:[NSArray class]] && uuids.count) { + [self setValue:uuids forParameter:NSStringFromSelector(_cmd)]; } return self; }; } -- (PNManageMembersAPICallBuilder * (^)(NSArray *sort))sort { - return ^PNManageMembersAPICallBuilder * (NSArray *sort) { +- (PNManageMembersAPICallBuilder * (^)(NSArray *sort))sort { + return ^PNManageMembersAPICallBuilder * (NSArray *sort) { if ([sort isKindOfClass:[NSArray class]] && sort.count) { [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; } @@ -74,16 +64,6 @@ @implementation PNManageMembersAPICallBuilder }; } -- (PNManageMembersAPICallBuilder * (^)(NSString *spaceId))spaceId { - return ^PNManageMembersAPICallBuilder * (NSString *spaceId) { - if ([spaceId isKindOfClass:[NSString class]] && spaceId.length) { - [self setValue:spaceId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - (PNManageMembersAPICallBuilder * (^)(NSString *filter))filter { return ^PNManageMembersAPICallBuilder * (NSString *filter) { if ([filter isKindOfClass:[NSString class]] && filter.length) { diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembershipsAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembershipsAPICallBuilder.h index b2bac76df..0b71445c4 100644 --- a/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembershipsAPICallBuilder.h +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembershipsAPICallBuilder.h @@ -1,4 +1,4 @@ -#import "PNAPICallBuilder.h" +#import "PNObjectsAPICallBuilder.h" #import "PNStructures.h" @@ -10,11 +10,11 @@ NS_ASSUME_NONNULL_BEGIN * @brief \c Manage \c memberships API call builder. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -@interface PNManageMembershipsAPICallBuilder : PNAPICallBuilder +@interface PNManageMembershipsAPICallBuilder : PNObjectsAPICallBuilder #pragma mark - Configuration @@ -29,61 +29,46 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^includeFields)(PNMembershipFields includeFields); /** - * @brief List of \c spaces for which additional information associated with \c user should be - * updated. + * @brief Whether total count of objects should be included in response or not. * - * @param spaces List with \c spaces and additional information which should be changed for \c user - * in context of specified \c space. - * - * @note Each entry is dictionary with \c spaceId and \b optional \c custom fields. \c custom should - * be dictionary with simple objects: \a NSString and \a NSNumber. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^update)(NSArray *spaces); - -/** - * @brief Whether total count of \c memberships should be included in response or not. - * - * @param shouldIncludeCount Whether total count of \c memberships should be requested or not. + * @param shouldIncludeCount Whether total count of objects should be requested or not. * * @return API call configuration builder. */ @property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^includeCount)(BOOL shouldIncludeCount); /** - * @brief List of \c spaces which should be added to \c user's memberships. - * - * @param spaces List of \c spaces and additional information which should be associated with - * \c user in context of specified \c space (if \c custom field is set). + * @brief List of \c channels within which \c UUID should be \c member. * - * @note Each entry is dictionary with \c spaceId and \b optional \c custom fields. \c custom should + * @note Each entry is dictionary with \c channel and \b optional \c custom fields. \c custom should * be dictionary with simple objects: \a NSString and \a NSNumber. * + * @param channels List with \c channel names and additional information which should be associated + * for \c UUID in context of specified \c channel. + * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^add)(NSArray *spaces); +@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^set)(NSArray *channels); /** - * @brief List of \c spaces (their identifiers) which should be removed from \c user's memberships. + * @brief List of \c channels from which \c UUID should be removed as \c member. * - * @param spaces List of \c space identifiers. + * @param channels List of \c channel name. * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^remove)(NSArray *spaces); +@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^remove)(NSArray *channels); /** * @brief Results sorting order. * * @param sort List of criteria (name of field) which should be used for sorting in ascending order. - * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field name. + * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field + * name. * * @return API call configuration builder. - * - * @since 4.13.0 */ -@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^sort)(NSArray *sort); +@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^sort)(NSArray *sort); /** * @brief Expression to filter out results basing on specified criteria. @@ -91,22 +76,11 @@ NS_ASSUME_NONNULL_BEGIN * @param filter Memberships filter expression. * * @return API call configuration builder. - * - * @since 4.13.0 */ @property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^filter)(NSString *filter); /** - * @brief Target \c user identifier. - * - * @param userId Identifier of \c user for which memberships will be updated. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^userId)(NSString *userId); - -/** - * @brief Maximum number of \c memberships per response page. + * @brief Maximum number of objects per response page. * * @note Will be set to \c 100 (which is also maximum value) if not specified. * @@ -125,6 +99,17 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^start)(NSString *start); +/** + * @brief Identifier for which memberships should be managed. + + * @note Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @param uuid Unique identifier for membership. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^uuid)(NSString *uuid); + /** * @brief Cursor value to navigate to previous fetched result page. diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembershipsAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembershipsAPICallBuilder.m index 60aa2554a..af4ed0ef6 100644 --- a/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembershipsAPICallBuilder.m +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNManageMembershipsAPICallBuilder.m @@ -1,8 +1,8 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNManageMembershipsAPICallBuilder.h" #import "PNAPICallBuilder+Private.h" @@ -27,10 +27,10 @@ @implementation PNManageMembershipsAPICallBuilder }; } -- (PNManageMembershipsAPICallBuilder * (^)(NSArray *spaces))update { - return ^PNManageMembershipsAPICallBuilder * (NSArray *spaces) { - if ([spaces isKindOfClass:[NSArray class]] && spaces.count) { - [self setValue:spaces forParameter:NSStringFromSelector(_cmd)]; +- (PNManageMembershipsAPICallBuilder * (^)(NSArray *channels))set { + return ^PNManageMembershipsAPICallBuilder * (NSArray *channels) { + if ([channels isKindOfClass:[NSArray class]] && channels.count) { + [self setValue:channels forParameter:NSStringFromSelector(_cmd)]; } return self; @@ -44,28 +44,18 @@ @implementation PNManageMembershipsAPICallBuilder }; } -- (PNManageMembershipsAPICallBuilder * (^)(NSArray *spaces))add { - return ^PNManageMembershipsAPICallBuilder * (NSArray *spaces) { - if ([spaces isKindOfClass:[NSArray class]] && spaces.count) { - [self setValue:spaces forParameter:NSStringFromSelector(_cmd)]; +- (PNManageMembershipsAPICallBuilder * (^)(NSArray *channels))remove { + return ^PNManageMembershipsAPICallBuilder * (NSArray *channels) { + if ([channels isKindOfClass:[NSArray class]] && channels.count) { + [self setValue:channels forParameter:NSStringFromSelector(_cmd)]; } return self; }; } -- (PNManageMembershipsAPICallBuilder * (^)(NSArray *spaces))remove { - return ^PNManageMembershipsAPICallBuilder * (NSArray *spaces) { - if ([spaces isKindOfClass:[NSArray class]] && spaces.count) { - [self setValue:spaces forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNManageMembershipsAPICallBuilder * (^)(NSArray *sort))sort { - return ^PNManageMembershipsAPICallBuilder * (NSArray *sort) { +- (PNManageMembershipsAPICallBuilder * (^)(NSArray *sort))sort { + return ^PNManageMembershipsAPICallBuilder * (NSArray *sort) { if ([sort isKindOfClass:[NSArray class]] && sort.count) { [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; } @@ -84,16 +74,6 @@ @implementation PNManageMembershipsAPICallBuilder }; } -- (PNManageMembershipsAPICallBuilder * (^)(NSString *userId))userId { - return ^PNManageMembershipsAPICallBuilder * (NSString *userId) { - if ([userId isKindOfClass:[NSString class]] && userId.length) { - [self setValue:userId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - (PNManageMembershipsAPICallBuilder * (^)(NSUInteger limit))limit { return ^PNManageMembershipsAPICallBuilder * (NSUInteger limit) { [self setValue:@(limit) forParameter:NSStringFromSelector(_cmd)]; @@ -111,6 +91,16 @@ @implementation PNManageMembershipsAPICallBuilder }; } +- (PNManageMembershipsAPICallBuilder *(^)(NSString *uuid))uuid { + return ^PNManageMembershipsAPICallBuilder * (NSString *uuid) { + if ([uuid isKindOfClass:[NSString class]] && uuid.length) { + [self setValue:uuid forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + - (PNManageMembershipsAPICallBuilder * (^)(NSString *end))end { return ^PNManageMembershipsAPICallBuilder * (NSString *end) { if ([end isKindOfClass:[NSString class]] && end.length) { diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembersAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembersAPICallBuilder.h new file mode 100644 index 000000000..2f1890c3a --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembersAPICallBuilder.h @@ -0,0 +1,123 @@ +#import "PNObjectsAPICallBuilder.h" +#import "PNStructures.h" + + +NS_ASSUME_NONNULL_BEGIN + +/** + * @brief \c Remove \c members API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNRemoveMembersAPICallBuilder : PNObjectsAPICallBuilder + + +#pragma mark - Configuration + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @param includeFields List with fields, specified in \b PNMemberFields enum. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembersAPICallBuilder * (^includeFields)(PNMemberFields includeFields); + +/** + * @brief Whether total count of objects should be included in response or not. + * + * @param shouldIncludeCount Whether total count of objects should be requested or not. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembersAPICallBuilder * (^includeCount)(BOOL shouldIncludeCount); + +/** + * @brief List of \c UUIDs which should be removed from \c channel's list. + * + * @param uuids List of identifiers. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembersAPICallBuilder * (^uuids)(NSArray *uuids); + +/** + * @brief Results sorting order. + * + * @param sort List of criteria (name of field) which should be used for sorting in ascending order. + * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field + * name. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembersAPICallBuilder * (^sort)(NSArray *sort); + +/** + * @brief Expression to filter out results basing on specified criteria. + * + * @param filter Members filter expression. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembersAPICallBuilder * (^filter)(NSString *filter); + +/** + * @brief Maximum number of objects per fetched page. + * + * @note Will be set to \c 100 (which is also maximum value) if not specified. + * + * @param limit Number of objects to return in response. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembersAPICallBuilder * (^limit)(NSUInteger limit); + +/** + * @brief Cursor value to navigate to next fetched result page. + * + * @param start Previously-returned cursor bookmark for fetching the next page. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembersAPICallBuilder * (^start)(NSString *start); + +/** + * @brief Cursor value to navigate to previous fetched result page. + + * @note Ignored if you also supply the \c start parameter. + * + * @param end Previously-returned cursor bookmark for fetching the previous page. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembersAPICallBuilder * (^end)(NSString *end); + + +#pragma mark - Execution + +/** + * @brief Perform API call. + * + * @param block \c Members \c remove completion handler block. + */ +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNManageMembersCompletionBlock block); + + +#pragma mark - Misc + +/** + * @brief Arbitrary query parameters addition block. + * + * @param params List of arbitrary percent-encoded query parameters which should be sent along with + * original API call. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembersAPICallBuilder * (^queryParam)(NSDictionary *params); + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembersAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembersAPICallBuilder.m new file mode 100644 index 000000000..dd28554c1 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembersAPICallBuilder.m @@ -0,0 +1,106 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNRemoveMembersAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" + + +#pragma mark Interface implementation + +@implementation PNRemoveMembersAPICallBuilder + + +#pragma mark - Information + +@dynamic queryParam; + + +#pragma mark - Configuration + +- (PNRemoveMembersAPICallBuilder * (^)(PNMemberFields includeFields))includeFields { + return ^PNRemoveMembersAPICallBuilder * (PNMemberFields includeFields) { + [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNRemoveMembersAPICallBuilder * (^)(BOOL shouldIncludeCount))includeCount { + return ^PNRemoveMembersAPICallBuilder * (BOOL shouldIncludeCount) { + [self setValue:@(shouldIncludeCount) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNRemoveMembersAPICallBuilder * (^)(NSArray *uuids))uuids { + return ^PNRemoveMembersAPICallBuilder * (NSArray *uuids) { + if ([uuids isKindOfClass:[NSArray class]] && uuids.count) { + [self setValue:uuids forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNRemoveMembersAPICallBuilder * (^)(NSArray *sort))sort { + return ^PNRemoveMembersAPICallBuilder * (NSArray *sort) { + if ([sort isKindOfClass:[NSArray class]] && sort.count) { + [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNRemoveMembersAPICallBuilder * (^)(NSString *filter))filter { + return ^PNRemoveMembersAPICallBuilder * (NSString *filter) { + if ([filter isKindOfClass:[NSString class]] && filter.length) { + [self setValue:filter forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNRemoveMembersAPICallBuilder * (^)(NSUInteger limit))limit { + return ^PNRemoveMembersAPICallBuilder * (NSUInteger limit) { + [self setValue:@(limit) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNRemoveMembersAPICallBuilder * (^)(NSString *name))start { + return ^PNRemoveMembersAPICallBuilder * (NSString *start) { + if ([start isKindOfClass:[NSString class]] && start.length) { + [self setValue:start forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNRemoveMembersAPICallBuilder * (^)(NSString *end))end { + return ^PNRemoveMembersAPICallBuilder * (NSString *end) { + if ([end isKindOfClass:[NSString class]] && end.length) { + [self setValue:end forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + + +#pragma mark - Execution + +- (void(^)(PNManageMembersCompletionBlock block))performWithCompletion { + return ^(PNManageMembersCompletionBlock block) { + [super performWithBlock:block]; + }; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembershipsAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembershipsAPICallBuilder.h new file mode 100644 index 000000000..8c1bf35bd --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembershipsAPICallBuilder.h @@ -0,0 +1,139 @@ +#import "PNObjectsAPICallBuilder.h" +#import "PNStructures.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Remove \c memberships API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNRemoveMembershipsAPICallBuilder : PNObjectsAPICallBuilder + + +#pragma mark - Configuration + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @param includeFields List with fields, specified in \b PNMembershipFields enum. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^includeFields)(PNMembershipFields includeFields); + +/** + * @brief List of \c channels from which \c UUID should be removed as \c member. + * + * @param channels List of \c channel name. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^channels)(NSArray *channels); + +/** + * @brief Whether total count of objects should be included in response or not. + * + * @param shouldIncludeCount Whether total count of objects should be requested or not. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^includeCount)(BOOL shouldIncludeCount); + +/** + * @brief Results sorting order. + * + * @param sort List of criteria (name of field) which should be used for sorting in ascending order. + * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field + * name. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^sort)(NSArray *sort); + +/** + * @brief Expression to filter out results basing on specified criteria. + * + * @param filter Memberships filter expression. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^filter)(NSString *filter); + +/** + * @brief Maximum number of objects per response page. + * + * @note Will be set to \c 100 (which is also maximum value) if not specified. + * + * @param limit Number of objects to return in response. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^limit)(NSUInteger limit); + +/** + * @brief Cursor value to navigate to next fetched result page. + * + * @param start Previously-returned cursor bookmark for fetching the next page. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^start)(NSString *start); + +/** + * @brief Identifier for which memberships should be removed. + + * @note Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @param uuid Unique identifier for membership. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^uuid)(NSString *uuid); + +/** + * @brief Cursor value to navigate to previous fetched result page. + + * @note Ignored if you also supply the \c start parameter. + * + * @param end Previously-returned cursor bookmark for fetching the previous page. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^end)(NSString *end); + + +#pragma mark - Execution + +/** + * @brief Perform API call. + * + * @param block \c Memberships \c remove completion handler block. + */ +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNManageMembershipsCompletionBlock block); + + +#pragma mark - Misc + +/** + * @brief Arbitrary query parameters addition block. + * + * @param params List of arbitrary percent-encoded query parameters which should be sent along with + * original API call. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^queryParam)(NSDictionary *params); + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembershipsAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembershipsAPICallBuilder.m new file mode 100644 index 000000000..7ba07a76e --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNRemoveMembershipsAPICallBuilder.m @@ -0,0 +1,115 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNRemoveMembershipsAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" + + +#pragma mark Interface implementation + +@implementation PNRemoveMembershipsAPICallBuilder + + +#pragma mark - Information + +@dynamic queryParam; + + +#pragma mark - Configuration + +- (PNRemoveMembershipsAPICallBuilder * (^)(PNMembershipFields includeFields))includeFields { + return ^PNRemoveMembershipsAPICallBuilder * (PNMembershipFields includeFields) { + [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNRemoveMembershipsAPICallBuilder * (^)(NSArray *channels))channels { + return ^PNRemoveMembershipsAPICallBuilder * (NSArray *channels) { + if ([channels isKindOfClass:[NSArray class]] && channels.count) { + [self setValue:channels forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNRemoveMembershipsAPICallBuilder * (^)(BOOL shouldIncludeCount))includeCount { + return ^PNRemoveMembershipsAPICallBuilder * (BOOL shouldIncludeCount) { + [self setValue:@(shouldIncludeCount) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNRemoveMembershipsAPICallBuilder * (^)(NSArray *sort))sort { + return ^PNRemoveMembershipsAPICallBuilder * (NSArray *sort) { + if ([sort isKindOfClass:[NSArray class]] && sort.count) { + [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNRemoveMembershipsAPICallBuilder * (^)(NSString *filter))filter { + return ^PNRemoveMembershipsAPICallBuilder * (NSString *filter) { + if ([filter isKindOfClass:[NSString class]] && filter.length) { + [self setValue:filter forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNRemoveMembershipsAPICallBuilder * (^)(NSUInteger limit))limit { + return ^PNRemoveMembershipsAPICallBuilder * (NSUInteger limit) { + [self setValue:@(limit) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNRemoveMembershipsAPICallBuilder * (^)(NSString *name))start { + return ^PNRemoveMembershipsAPICallBuilder * (NSString *start) { + if ([start isKindOfClass:[NSString class]] && start.length) { + [self setValue:start forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNRemoveMembershipsAPICallBuilder * (^)(NSString *uuid))uuid { + return ^PNRemoveMembershipsAPICallBuilder * (NSString *uuid) { + if ([uuid isKindOfClass:[NSString class]] && uuid.length) { + [self setValue:uuid forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNRemoveMembershipsAPICallBuilder * (^)(NSString *end))end { + return ^PNRemoveMembershipsAPICallBuilder * (NSString *end) { + if ([end isKindOfClass:[NSString class]] && end.length) { + [self setValue:end forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + + +#pragma mark - Execution + +- (void(^)(PNManageMembershipsCompletionBlock block))performWithCompletion { + return ^(PNManageMembershipsCompletionBlock block) { + [super performWithBlock:block]; + }; +} + +#pragma mark - + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembersAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembersAPICallBuilder.h new file mode 100644 index 000000000..ebb966c55 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembersAPICallBuilder.h @@ -0,0 +1,128 @@ +#import "PNObjectsAPICallBuilder.h" +#import "PNStructures.h" + + +NS_ASSUME_NONNULL_BEGIN + +/** + * @brief \c Set \c members API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetMembersAPICallBuilder : PNObjectsAPICallBuilder + + +#pragma mark - Configuration + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @param includeFields List with fields, specified in \b PNMemberFields enum. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembersAPICallBuilder * (^includeFields)(PNMemberFields includeFields); + +/** + * @brief List of \c UUIDs for which \c metadata associated with each of them in context of + * \c channel should be set. + * + * @note Each entry is dictionary with \c channel and \b optional \c custom fields. \c custom should + * be dictionary with simple objects: \a NSString and \a NSNumber. + * + * @param uuids List with identifiers and additional information which should be changed for each of + * them in context of specified \c channel. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembersAPICallBuilder * (^uuids)(NSArray *uuids); + +/** + * @brief Whether total count of objects should be included in response or not. + * + * @param shouldIncludeCount Whether total count of objects should be requested or not. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembersAPICallBuilder * (^includeCount)(BOOL shouldIncludeCount); + +/** + * @brief Results sorting order. + * + * @param sort List of criteria (name of field) which should be used for sorting in ascending order. + * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field + * name. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembersAPICallBuilder * (^sort)(NSArray *sort); + +/** + * @brief Expression to filter out results basing on specified criteria. + * + * @param filter Members filter expression. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembersAPICallBuilder * (^filter)(NSString *filter); + +/** + * @brief Maximum number of objects per fetched page. + * + * @note Will be set to \c 100 (which is also maximum value) if not specified. + * + * @param limit Number of objects to return in response. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembersAPICallBuilder * (^limit)(NSUInteger limit); + +/** + * @brief Cursor value to navigate to next fetched result page. + * + * @param start Previously-returned cursor bookmark for fetching the next page. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembersAPICallBuilder * (^start)(NSString *start); + +/** + * @brief Cursor value to navigate to previous fetched result page. + + * @note Ignored if you also supply the \c start parameter. + * + * @param end Previously-returned cursor bookmark for fetching the previous page. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembersAPICallBuilder * (^end)(NSString *end); + + +#pragma mark - Execution + +/** + * @brief Perform API call. + * + * @param block \c Members \c set completion handler block. + */ +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNManageMembersCompletionBlock block); + + +#pragma mark - Misc + +/** + * @brief Arbitrary query parameters addition block. + * + * @param params List of arbitrary percent-encoded query parameters which should be sent along with + * original API call. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembersAPICallBuilder * (^queryParam)(NSDictionary *params); + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembersAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembersAPICallBuilder.m new file mode 100644 index 000000000..f34d5c602 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembersAPICallBuilder.m @@ -0,0 +1,106 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNSetMembersAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" + + +#pragma mark Interface implementation + +@implementation PNSetMembersAPICallBuilder + + +#pragma mark - Information + +@dynamic queryParam; + + +#pragma mark - Configuration + +- (PNSetMembersAPICallBuilder * (^)(PNMemberFields includeFields))includeFields { + return ^PNSetMembersAPICallBuilder * (PNMemberFields includeFields) { + [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNSetMembersAPICallBuilder * (^)(BOOL shouldIncludeCount))includeCount { + return ^PNSetMembersAPICallBuilder * (BOOL shouldIncludeCount) { + [self setValue:@(shouldIncludeCount) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNSetMembersAPICallBuilder * (^)(NSArray *uuids))uuids { + return ^PNSetMembersAPICallBuilder * (NSArray *uuids) { + if ([uuids isKindOfClass:[NSArray class]] && uuids.count) { + [self setValue:uuids forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetMembersAPICallBuilder * (^)(NSArray *sort))sort { + return ^PNSetMembersAPICallBuilder * (NSArray *sort) { + if ([sort isKindOfClass:[NSArray class]] && sort.count) { + [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetMembersAPICallBuilder * (^)(NSString *filter))filter { + return ^PNSetMembersAPICallBuilder * (NSString *filter) { + if ([filter isKindOfClass:[NSString class]] && filter.length) { + [self setValue:filter forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetMembersAPICallBuilder * (^)(NSUInteger limit))limit { + return ^PNSetMembersAPICallBuilder * (NSUInteger limit) { + [self setValue:@(limit) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNSetMembersAPICallBuilder * (^)(NSString *name))start { + return ^PNSetMembersAPICallBuilder * (NSString *start) { + if ([start isKindOfClass:[NSString class]] && start.length) { + [self setValue:start forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetMembersAPICallBuilder * (^)(NSString *end))end { + return ^PNSetMembersAPICallBuilder * (NSString *end) { + if ([end isKindOfClass:[NSString class]] && end.length) { + [self setValue:end forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + + +#pragma mark - Execution + +- (void(^)(PNManageMembersCompletionBlock block))performWithCompletion { + return ^(PNManageMembersCompletionBlock block) { + [super performWithBlock:block]; + }; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembershipsAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembershipsAPICallBuilder.h new file mode 100644 index 000000000..b8333bca2 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembershipsAPICallBuilder.h @@ -0,0 +1,144 @@ +#import "PNObjectsAPICallBuilder.h" +#import "PNStructures.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Set \c memberships API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetMembershipsAPICallBuilder : PNObjectsAPICallBuilder + + +#pragma mark - Configuration + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @param includeFields List with fields, specified in \b PNMembershipFields enum. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^includeFields)(PNMembershipFields includeFields); + +/** + * @brief List of \c channels for which \c metadata associated with each of them in context of + * \c UUID should be set. + * + * @note Each entry is dictionary with \c channel and \b optional \c custom fields. \c custom should + * be dictionary with simple objects: \a NSString and \a NSNumber. + * + * @param channels List with \c channel names and additional information which should be changed for + * \c UUID in context of specified \c channel. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^channels)(NSArray *channels); + +/** + * @brief Whether total count of objects should be included in response or not. + * + * @param shouldIncludeCount Whether total count of objects should be requested or not. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^includeCount)(BOOL shouldIncludeCount); + +/** + * @brief Results sorting order. + * + * @param sort List of criteria (name of field) which should be used for sorting in ascending order. + * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field + * name. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^sort)(NSArray *sort); + +/** + * @brief Expression to filter out results basing on specified criteria. + * + * @param filter Memberships filter expression. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^filter)(NSString *filter); + +/** + * @brief Maximum number of objects per response page. + * + * @note Will be set to \c 100 (which is also maximum value) if not specified. + * + * @param limit Number of objects to return in response. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^limit)(NSUInteger limit); + +/** + * @brief Cursor value to navigate to next fetched result page. + * + * @param start Previously-returned cursor bookmark for fetching the next page. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^start)(NSString *start); + +/** + * @brief Identifier for which memberships should be set. + + * @note Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @param uuid Unique identifier for membership. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^uuid)(NSString *uuid); + +/** + * @brief Cursor value to navigate to previous fetched result page. + + * @note Ignored if you also supply the \c start parameter. + * + * @param end Previously-returned cursor bookmark for fetching the previous page. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^end)(NSString *end); + + +#pragma mark - Execution + +/** + * @brief Perform API call. + * + * @param block \c Memberships \c set completion handler block. + */ +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNManageMembershipsCompletionBlock block); + + +#pragma mark - Misc + +/** + * @brief Arbitrary query parameters addition block. + * + * @param params List of arbitrary percent-encoded query parameters which should be sent along with + * original API call. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^queryParam)(NSDictionary *params); + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembershipsAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembershipsAPICallBuilder.m new file mode 100644 index 000000000..cf348cbc6 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/Membership/PNSetMembershipsAPICallBuilder.m @@ -0,0 +1,115 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNSetMembershipsAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" + + +#pragma mark Interface implementation + +@implementation PNSetMembershipsAPICallBuilder + + +#pragma mark - Information + +@dynamic queryParam; + + +#pragma mark - Configuration + +- (PNSetMembershipsAPICallBuilder * (^)(PNMembershipFields includeFields))includeFields { + return ^PNSetMembershipsAPICallBuilder * (PNMembershipFields includeFields) { + [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNSetMembershipsAPICallBuilder * (^)(NSArray *channels))channels { + return ^PNSetMembershipsAPICallBuilder * (NSArray *channels) { + if ([channels isKindOfClass:[NSArray class]] && channels.count) { + [self setValue:channels forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetMembershipsAPICallBuilder * (^)(BOOL shouldIncludeCount))includeCount { + return ^PNSetMembershipsAPICallBuilder * (BOOL shouldIncludeCount) { + [self setValue:@(shouldIncludeCount) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNSetMembershipsAPICallBuilder * (^)(NSArray *sort))sort { + return ^PNSetMembershipsAPICallBuilder * (NSArray *sort) { + if ([sort isKindOfClass:[NSArray class]] && sort.count) { + [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetMembershipsAPICallBuilder * (^)(NSString *filter))filter { + return ^PNSetMembershipsAPICallBuilder * (NSString *filter) { + if ([filter isKindOfClass:[NSString class]] && filter.length) { + [self setValue:filter forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetMembershipsAPICallBuilder * (^)(NSUInteger limit))limit { + return ^PNSetMembershipsAPICallBuilder * (NSUInteger limit) { + [self setValue:@(limit) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNSetMembershipsAPICallBuilder * (^)(NSString *name))start { + return ^PNSetMembershipsAPICallBuilder * (NSString *start) { + if ([start isKindOfClass:[NSString class]] && start.length) { + [self setValue:start forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetMembershipsAPICallBuilder * (^)(NSString *uuid))uuid { + return ^PNSetMembershipsAPICallBuilder * (NSString *uuid) { + if ([uuid isKindOfClass:[NSString class]] && uuid.length) { + [self setValue:uuid forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + +- (PNSetMembershipsAPICallBuilder * (^)(NSString *end))end { + return ^PNSetMembershipsAPICallBuilder * (NSString *end) { + if ([end isKindOfClass:[NSString class]] && end.length) { + [self setValue:end forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + + +#pragma mark - Execution + +- (void(^)(PNManageMembershipsCompletionBlock block))performWithCompletion { + return ^(PNManageMembershipsCompletionBlock block) { + [super performWithBlock:block]; + }; +} + +#pragma mark - + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/PNObjectsAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/PNObjectsAPICallBuilder.h new file mode 100644 index 000000000..dd79022db --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/PNObjectsAPICallBuilder.h @@ -0,0 +1,185 @@ +#import "PNAPICallBuilder.h" +#import "PNStructures.h" + + +#pragma mark Class forward + +@class PNSetUUIDMetadataAPICallBuilder, PNRemoveUUIDMetadataAPICallBuilder, PNFetchUUIDMetadataAPICallBuilder, PNFetchAllUUIDMetadataAPICallBuilder, PNFetchMembershipsAPICallBuilder; +@class PNSetChannelMetadataAPICallBuilder, PNRemoveChannelMetadataAPICallBuilder, PNFetchChannelMetadataAPICallBuilder, PNFetchAllChannelsMetadataAPICallBuilder; +@class PNManageMembersAPICallBuilder, PNRemoveMembersAPICallBuilder, PNSetMembersAPICallBuilder, PNFetchMembersAPICallBuilder; +@class PNManageMembershipsAPICallBuilder, PNSetMembershipsAPICallBuilder, PNRemoveMembershipsAPICallBuilder; + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Interface declaration + +/** + * @brief \c Objects API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNObjectsAPICallBuilder : PNAPICallBuilder + + +#pragma mark - UUID metadata management / audit + +/** + * @brief \c Metadata association with \c UUID API access builder block. + * + * @param uuid Identifier with which new \c metadata should be associated. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetUUIDMetadataAPICallBuilder * (^setUUIDMetadata)(void); + +/** + * @brief Associated with \c UUID \c metadata remove API access builder block. + * + * @param uuid Identifier for which associated \c metadata should be removed. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveUUIDMetadataAPICallBuilder * (^removeUUIDMetadata)(void); + +/** + * @brief \c Fetch \c metadata associated with \c UUID API access builder block. + * + * @param uuid Identifier for which associated \c metadata should be fetched. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchUUIDMetadataAPICallBuilder * (^uuidMetadata)(void); + +/** + * @brief \c Fetch \c metadata associated with all \c UUIDs API access builder block. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchAllUUIDMetadataAPICallBuilder * (^allUUIDMetadata)(void); + + +#pragma mark - Channel metadata management / audit + +/** + * @brief \c Metadata association with \c channel API access builder block. + * + * @param channel Name of channel with which new \c metadata should be associated. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetChannelMetadataAPICallBuilder * (^setChannelMetadata)(NSString *channel); + +/** + * @brief Associated with \c channel \c metadata remove API access builder block. + * + * @param channel Name of channel for which associated \c metadata should be removed. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveChannelMetadataAPICallBuilder * (^removeChannelMetadata)(NSString *channel); + +/** + * @brief \c Fetch \c metadata associated with \c channel API access builder block. + * + * @param channel Name of channel for which associated \c metadata should be fetched. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchChannelMetadataAPICallBuilder * (^channelMetadata)(NSString *channel); + +/** + * @brief \c Fetch \c metadata associated with all \c channels API access builder block. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchAllChannelsMetadataAPICallBuilder * (^allChannelsMetadata)(void); + + +#pragma mark - Members / memberships management / audit + +/** + * @brief Memberships management API call builder access block. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNManageMembershipsAPICallBuilder * (^manageMemberships)(void); + +/** + * @brief Memberships set API call builder access block. + * + * @param uuid Identifier for which memberships should be set. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembershipsAPICallBuilder * (^setMemberships)(void); + +/** + * @brief Memberships remove API call builder access block. + * + * @param uuid Identifier for which memberships should be removed. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembershipsAPICallBuilder * (^removeMemberships)(void); + +/** + * @brief Memberships fetch API call builder access block. + * + * @param uuid Identifier for which memberships should be fetched. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchMembershipsAPICallBuilder * (^memberships)(void); + +/** + * @brief Members management API call builder access block. + * + * @param channel Name of channel from which members should be managed. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNManageMembersAPICallBuilder * (^manageMembers)(NSString *channel); + +/** + * @brief Members set API call builder access block. + * + * @param channel Name of channel from which members should be set. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetMembersAPICallBuilder * (^setMembers)(NSString *channel); + +/** + * @brief Members remove API call builder access block. + * + * @param channel Name of channel from which members should be removed. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveMembersAPICallBuilder * (^removeMembers)(NSString *channel); + +/** + * @brief Members fetch API call builder access block. + * + * @param channel Name of channel from which members should be fetched. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchMembersAPICallBuilder * (^members)(NSString *channel); + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/PNObjectsAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/PNObjectsAPICallBuilder.m new file mode 100644 index 000000000..bcf553a10 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/PNObjectsAPICallBuilder.m @@ -0,0 +1,246 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ + +#import "PNObjectsAPICallBuilder.h" +#import "PNFetchAllUUIDMetadataAPICallBuilder.h" +#import "PNRemoveUUIDMetadataAPICallBuilder.h" +#import "PNFetchUUIDMetadataAPICallBuilder.h" +#import "PNSetUUIDMetadataAPICallBuilder.h" + +#import "PNFetchAllChannelsMetadataAPICallBuilder.h" +#import "PNRemoveChannelMetadataAPICallBuilder.h" +#import "PNFetchChannelMetadataAPICallBuilder.h" +#import "PNSetChannelMetadataAPICallBuilder.h" + +#import "PNSetMembershipsAPICallBuilder.h" +#import "PNRemoveMembershipsAPICallBuilder.h" +#import "PNManageMembershipsAPICallBuilder.h" +#import "PNFetchMembershipsAPICallBuilder.h" +#import "PNSetMembersAPICallBuilder.h" +#import "PNRemoveMembersAPICallBuilder.h" +#import "PNManageMembersAPICallBuilder.h" +#import "PNFetchMembersAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" +#import + + +#pragma mark Interface implementation + +@implementation PNObjectsAPICallBuilder + + +#pragma mark - Initialization + ++ (void)initialize { + + if (self == [PNObjectsAPICallBuilder class]) { + [self copyMethodsFromClasses:@[ + [PNSetUUIDMetadataAPICallBuilder class], + [PNRemoveUUIDMetadataAPICallBuilder class], + [PNFetchUUIDMetadataAPICallBuilder class], + [PNFetchAllUUIDMetadataAPICallBuilder class], + [PNSetChannelMetadataAPICallBuilder class], + [PNRemoveChannelMetadataAPICallBuilder class], + [PNFetchChannelMetadataAPICallBuilder class], + [PNFetchAllChannelsMetadataAPICallBuilder class], + [PNSetMembershipsAPICallBuilder class], + [PNRemoveMembershipsAPICallBuilder class], + [PNManageMembershipsAPICallBuilder class], + [PNFetchMembershipsAPICallBuilder class], + [PNSetMembersAPICallBuilder class], + [PNRemoveMembersAPICallBuilder class], + [PNManageMembersAPICallBuilder class], + [PNFetchMembersAPICallBuilder class]] + ]; + } +} + + +#pragma mark - UUID metadata management / audit + +- (PNSetUUIDMetadataAPICallBuilder * (^)(void))setUUIDMetadata { + return ^PNSetUUIDMetadataAPICallBuilder * { + object_setClass(self, [PNSetUUIDMetadataAPICallBuilder class]); + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNSetUUIDMetadataAPICallBuilder *)self; + }; +} + +- (PNRemoveUUIDMetadataAPICallBuilder * (^)(void))removeUUIDMetadata { + return ^PNRemoveUUIDMetadataAPICallBuilder * { + object_setClass(self, [PNRemoveUUIDMetadataAPICallBuilder class]); + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNRemoveUUIDMetadataAPICallBuilder *)self; + }; +} + +- (PNFetchUUIDMetadataAPICallBuilder * (^)(void))uuidMetadata { + return ^PNFetchUUIDMetadataAPICallBuilder * { + object_setClass(self, [PNFetchUUIDMetadataAPICallBuilder class]); + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNFetchUUIDMetadataAPICallBuilder *)self; + }; +} + +- (PNFetchAllUUIDMetadataAPICallBuilder *(^)(void))allUUIDMetadata { + return ^PNFetchAllUUIDMetadataAPICallBuilder * { + object_setClass(self, [PNFetchAllUUIDMetadataAPICallBuilder class]); + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNFetchAllUUIDMetadataAPICallBuilder *)self; + }; +} + + +#pragma mark - Channel metadata management / audit + +- (PNSetChannelMetadataAPICallBuilder *(^)(NSString *channel))setChannelMetadata { + return ^PNSetChannelMetadataAPICallBuilder * (NSString *channel) { + object_setClass(self, [PNSetChannelMetadataAPICallBuilder class]); + + if ([channel isKindOfClass:[NSString class]] && channel.length) { + [self setValue:channel forParameter:@"channel"]; + } + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNSetChannelMetadataAPICallBuilder *)self; + }; +} + +- (PNRemoveChannelMetadataAPICallBuilder *(^)(NSString *channel))removeChannelMetadata { + return ^PNRemoveChannelMetadataAPICallBuilder * (NSString *channel) { + object_setClass(self, [PNRemoveChannelMetadataAPICallBuilder class]); + + if ([channel isKindOfClass:[NSString class]] && channel.length) { + [self setValue:channel forParameter:@"channel"]; + } + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNRemoveChannelMetadataAPICallBuilder *)self; + }; +} + +- (PNFetchChannelMetadataAPICallBuilder *(^)(NSString *channel))channelMetadata { + return ^PNFetchChannelMetadataAPICallBuilder * (NSString *channel) { + object_setClass(self, [PNFetchChannelMetadataAPICallBuilder class]); + + if ([channel isKindOfClass:[NSString class]] && channel.length) { + [self setValue:channel forParameter:@"channel"]; + } + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNFetchChannelMetadataAPICallBuilder *)self; + }; +} + +- (PNFetchAllChannelsMetadataAPICallBuilder *(^)(void))allChannelsMetadata { + return ^PNFetchAllChannelsMetadataAPICallBuilder * { + object_setClass(self, [PNFetchAllChannelsMetadataAPICallBuilder class]); + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNFetchAllChannelsMetadataAPICallBuilder *)self; + }; +} + + +#pragma mark - Members / memberships management / audit + +- (PNSetMembershipsAPICallBuilder *(^)(void))setMemberships { + return ^PNSetMembershipsAPICallBuilder * { + object_setClass(self, [PNSetMembershipsAPICallBuilder class]); + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNSetMembershipsAPICallBuilder *)self; + }; +} + +- (PNRemoveMembershipsAPICallBuilder *(^)(void))removeMemberships { + return ^PNRemoveMembershipsAPICallBuilder * { + object_setClass(self, [PNRemoveMembershipsAPICallBuilder class]); + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNRemoveMembershipsAPICallBuilder *)self; + }; +} + +- (PNManageMembershipsAPICallBuilder *(^)(void))manageMemberships { + return ^PNManageMembershipsAPICallBuilder * { + object_setClass(self, [PNManageMembershipsAPICallBuilder class]); + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNManageMembershipsAPICallBuilder *)self; + }; +} + +- (PNFetchMembershipsAPICallBuilder *(^)(void))memberships { + return ^PNFetchMembershipsAPICallBuilder * { + object_setClass(self, [PNFetchMembershipsAPICallBuilder class]); + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNFetchMembershipsAPICallBuilder *)self; + }; +} + +- (PNSetMembersAPICallBuilder *(^)(NSString *channel))setMembers { + return ^PNSetMembersAPICallBuilder * (NSString *channel) { + object_setClass(self, [PNSetMembersAPICallBuilder class]); + + if ([channel isKindOfClass:[NSString class]] && channel.length) { + [self setValue:channel forParameter:@"channel"]; + } + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNSetMembersAPICallBuilder *)self; + }; +} + +- (PNRemoveMembersAPICallBuilder *(^)(NSString *channel))removeMembers { + return ^PNRemoveMembersAPICallBuilder * (NSString *channel) { + object_setClass(self, [PNRemoveMembersAPICallBuilder class]); + + if ([channel isKindOfClass:[NSString class]] && channel.length) { + [self setValue:channel forParameter:@"channel"]; + } + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNRemoveMembersAPICallBuilder *)self; + }; +} + +- (PNManageMembersAPICallBuilder *(^)(NSString *channel))manageMembers { + return ^PNManageMembersAPICallBuilder * (NSString *channel) { + object_setClass(self, [PNManageMembersAPICallBuilder class]); + + if ([channel isKindOfClass:[NSString class]] && channel.length) { + [self setValue:channel forParameter:@"channel"]; + } + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNManageMembersAPICallBuilder *)self; + }; +} + +- (PNFetchMembersAPICallBuilder *(^)(NSString *channel))members { + return ^PNFetchMembersAPICallBuilder * (NSString *channel) { + object_setClass(self, [PNFetchMembersAPICallBuilder class]); + + if ([channel isKindOfClass:[NSString class]] && channel.length) { + [self setValue:channel forParameter:@"channel"]; + } + + [self setFlag:NSStringFromSelector(_cmd)]; + return (PNFetchMembersAPICallBuilder *)self; + }; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/Space/PNCreateSpaceAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Space/PNCreateSpaceAPICallBuilder.h deleted file mode 100644 index 267904678..000000000 --- a/PubNub/Data/Builders/API Call/Objects/Space/PNCreateSpaceAPICallBuilder.h +++ /dev/null @@ -1,96 +0,0 @@ -#import "PNAPICallBuilder.h" -#import "PNStructures.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Create \c space API call builder. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNCreateSpaceAPICallBuilder : PNAPICallBuilder - - -#pragma mark - Configuration - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @param includeFields List with fields, specified in \b PNSpaceFields enum. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateSpaceAPICallBuilder * (^includeFields)(PNSpaceFields includeFields); - -/** - * @brief \c Space's description. - * - * @param externalId Space description information. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateSpaceAPICallBuilder * (^information)(NSString *information); - -/** - * @brief \c Space's additional information. - * - * @param custom Additional / complex attributes which should be associated to \c space with - * specified \c identifier. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateSpaceAPICallBuilder * (^custom)(NSDictionary *custom); - -/** - * @brief \c Space's unique identifier. - * - * @param userId Unique identifier for new \c space entry. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateSpaceAPICallBuilder * (^spaceId)(NSString *spaceId); - -/** - * @brief \c Space's name. - * - * @param name Name which should be associated with new \c space entry. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateSpaceAPICallBuilder * (^name)(NSString *name); - - -#pragma mark - Execution - -/** - * @brief Perform API call. - * - * @param block \c Space \c create completion handler block. - */ -@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNCreateSpaceCompletionBlock block); - - -#pragma mark - Misc - -/** - * @brief Arbitrary query parameters addition block. - * - * @param params List of arbitrary percent-encoded query parameters which should be sent along with - * original API call. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateSpaceAPICallBuilder * (^queryParam)(NSDictionary *params); - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Space/PNCreateSpaceAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Space/PNCreateSpaceAPICallBuilder.m deleted file mode 100644 index 8546e2030..000000000 --- a/PubNub/Data/Builders/API Call/Objects/Space/PNCreateSpaceAPICallBuilder.m +++ /dev/null @@ -1,82 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNCreateSpaceAPICallBuilder.h" -#import "PNAPICallBuilder+Private.h" - - -#pragma mark Interface implementation - -@implementation PNCreateSpaceAPICallBuilder - - -#pragma mark - Information - -@dynamic queryParam; - - -#pragma mark - Configuration - -- (PNCreateSpaceAPICallBuilder * (^)(PNSpaceFields includeFields))includeFields { - return ^PNCreateSpaceAPICallBuilder * (PNSpaceFields includeFields) { - [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; - return self; - }; -} - -- (PNCreateSpaceAPICallBuilder * (^)(NSString *information))information { - return ^PNCreateSpaceAPICallBuilder * (NSString *information) { - if ([information isKindOfClass:[NSString class]] && information.length) { - [self setValue:information forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNCreateSpaceAPICallBuilder * (^)(NSDictionary *custom))custom { - return ^PNCreateSpaceAPICallBuilder * (NSDictionary *custom) { - if ([custom isKindOfClass:[NSDictionary class]] && custom.count) { - [self setValue:custom forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNCreateSpaceAPICallBuilder * (^)(NSString *spaceId))spaceId { - return ^PNCreateSpaceAPICallBuilder * (NSString *spaceId) { - if ([spaceId isKindOfClass:[NSString class]] && spaceId.length) { - [self setValue:spaceId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNCreateSpaceAPICallBuilder * (^)(NSString *name))name { - return ^PNCreateSpaceAPICallBuilder * (NSString *name) { - if ([name isKindOfClass:[NSString class]] && name.length) { - [self setValue:name forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - -#pragma mark - Execution - -- (void(^)(PNCreateSpaceCompletionBlock block))performWithCompletion { - return ^(PNCreateSpaceCompletionBlock block) { - [super performWithBlock:block]; - }; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Builders/API Call/Objects/Space/PNDeleteSpaceAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Space/PNDeleteSpaceAPICallBuilder.h deleted file mode 100644 index 9538da4d4..000000000 --- a/PubNub/Data/Builders/API Call/Objects/Space/PNDeleteSpaceAPICallBuilder.h +++ /dev/null @@ -1,60 +0,0 @@ -#import "PNAPICallBuilder.h" -#import "PNStructures.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Space \c user API call builder. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNDeleteSpaceAPICallBuilder : PNAPICallBuilder - - -#pragma mark - Configuration - -/** - * @brief Target \c space identifier. - * - * @param userId Identifier of \c space which should be removed. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNDeleteSpaceAPICallBuilder * (^spaceId)(NSString *spaceId); - - -#pragma mark - Execution - -/** - * @brief Perform API call. - * - * @param block \c Space \c delete completion handler block. - */ -@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNDeleteSpaceCompletionBlock block); - - -#pragma mark - Misc - -/** - * @brief Arbitrary query parameters addition block. - * - * @param params List of arbitrary percent-encoded query parameters which should be sent along with - * original API call. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNDeleteSpaceAPICallBuilder * (^queryParam)(NSDictionary *params); - - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Space/PNDeleteSpaceAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Space/PNDeleteSpaceAPICallBuilder.m deleted file mode 100644 index dc09802b5..000000000 --- a/PubNub/Data/Builders/API Call/Objects/Space/PNDeleteSpaceAPICallBuilder.m +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNDeleteSpaceAPICallBuilder.h" -#import "PNAPICallBuilder+Private.h" - - -#pragma mark Interface implementation - -@implementation PNDeleteSpaceAPICallBuilder - - -#pragma mark - Information - -@dynamic queryParam; - - -#pragma mark - Configuration - -- (PNDeleteSpaceAPICallBuilder * (^)(NSString *spaceId))spaceId { - return ^PNDeleteSpaceAPICallBuilder * (NSString *spaceId) { - if ([spaceId isKindOfClass:[NSString class]] && spaceId.length) { - [self setValue:spaceId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - -#pragma mark - Execution - -- (void(^)(PNDeleteSpaceCompletionBlock block))performWithCompletion { - return ^(PNDeleteSpaceCompletionBlock block) { - [super performWithBlock:block]; - }; -} - - -#pragma mark - - - -@end diff --git a/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpaceAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpaceAPICallBuilder.h deleted file mode 100644 index bd5753bae..000000000 --- a/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpaceAPICallBuilder.h +++ /dev/null @@ -1,68 +0,0 @@ -#import "PNAPICallBuilder.h" -#import "PNStructures.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Fetch \c space API call builder. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchSpaceAPICallBuilder : PNAPICallBuilder - - -#pragma mark - Configuration - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @param includeFields List with fields, specified in \b PNSpaceFields enum. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchSpaceAPICallBuilder * (^includeFields)(PNSpaceFields includeFields); - -/** - * @brief Target \c space identifier. - * - * @param userId Identifier of \c space which should be fetched. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchSpaceAPICallBuilder * (^spaceId)(NSString *spaceId); - - -#pragma mark - Execution - -/** - * @brief Perform API call. - * - * @param block \c Space \c fetch completion handler block. - */ -@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNFetchSpaceCompletionBlock block); - - -#pragma mark - Misc - -/** - * @brief Arbitrary query parameters addition block. - * - * @param params List of arbitrary percent-encoded query parameters which should be sent along with - * original API call. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchSpaceAPICallBuilder * (^queryParam)(NSDictionary *params); - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpaceAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpaceAPICallBuilder.m deleted file mode 100644 index 036162de0..000000000 --- a/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpaceAPICallBuilder.m +++ /dev/null @@ -1,52 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNFetchSpaceAPICallBuilder.h" -#import "PNAPICallBuilder+Private.h" - - -#pragma mark Interface implementation - -@implementation PNFetchSpaceAPICallBuilder - - -#pragma mark - Information - -@dynamic queryParam; - - -#pragma mark - Configuration - -- (PNFetchSpaceAPICallBuilder * (^)(PNSpaceFields includeFields))includeFields { - return ^PNFetchSpaceAPICallBuilder * (PNSpaceFields includeFields) { - [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; - return self; - }; -} - -- (PNFetchSpaceAPICallBuilder * (^)(NSString *spaceId))spaceId { - return ^PNFetchSpaceAPICallBuilder * (NSString *spaceId) { - if ([spaceId isKindOfClass:[NSString class]] && spaceId.length) { - [self setValue:spaceId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - -#pragma mark - Execution - -- (void(^)(PNFetchSpaceCompletionBlock block))performWithCompletion { - return ^(PNFetchSpaceCompletionBlock block) { - [super performWithBlock:block]; - }; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpacesAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpacesAPICallBuilder.m deleted file mode 100644 index 364d03b3d..000000000 --- a/PubNub/Data/Builders/API Call/Objects/Space/PNFetchSpacesAPICallBuilder.m +++ /dev/null @@ -1,96 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNFetchSpacesAPICallBuilder.h" -#import "PNAPICallBuilder+Private.h" - - -#pragma mark Interface implementation - -@implementation PNFetchSpacesAPICallBuilder - - -#pragma mark - Information - -@dynamic queryParam; - - -#pragma mark - Configuration - -- (PNFetchSpacesAPICallBuilder * (^)(PNSpaceFields includeFields))includeFields { - return ^PNFetchSpacesAPICallBuilder * (PNSpaceFields includeFields) { - [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; - return self; - }; -} - -- (PNFetchSpacesAPICallBuilder * (^)(BOOL shouldIncludeCount))includeCount { - return ^PNFetchSpacesAPICallBuilder * (BOOL shouldIncludeCount) { - [self setValue:@(shouldIncludeCount) forParameter:NSStringFromSelector(_cmd)]; - return self; - }; -} - -- (PNFetchSpacesAPICallBuilder * (^)(NSArray *sort))sort { - return ^PNFetchSpacesAPICallBuilder * (NSArray *sort) { - if ([sort isKindOfClass:[NSArray class]] && sort.count) { - [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNFetchSpacesAPICallBuilder * (^)(NSString *filter))filter { - return ^PNFetchSpacesAPICallBuilder * (NSString *filter) { - if ([filter isKindOfClass:[NSString class]] && filter.length) { - [self setValue:filter forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNFetchSpacesAPICallBuilder * (^)(NSUInteger limit))limit { - return ^PNFetchSpacesAPICallBuilder * (NSUInteger limit) { - [self setValue:@(limit) forParameter:NSStringFromSelector(_cmd)]; - return self; - }; -} - -- (PNFetchSpacesAPICallBuilder * (^)(NSString *name))start { - return ^PNFetchSpacesAPICallBuilder * (NSString *start) { - if ([start isKindOfClass:[NSString class]] && start.length) { - [self setValue:start forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNFetchSpacesAPICallBuilder * (^)(NSString *end))end { - return ^PNFetchSpacesAPICallBuilder * (NSString *end) { - if ([end isKindOfClass:[NSString class]] && end.length) { - [self setValue:end forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - -#pragma mark - Execution - -- (void(^)(PNFetchSpacesCompletionBlock block))performWithCompletion { - return ^(PNFetchSpacesCompletionBlock block) { - [super performWithBlock:block]; - }; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Builders/API Call/Objects/Space/PNUpdateSpaceAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/Space/PNUpdateSpaceAPICallBuilder.h deleted file mode 100644 index 312fc2d3e..000000000 --- a/PubNub/Data/Builders/API Call/Objects/Space/PNUpdateSpaceAPICallBuilder.h +++ /dev/null @@ -1,96 +0,0 @@ -#import "PNAPICallBuilder.h" -#import "PNStructures.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Update \c space API call builder. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUpdateSpaceAPICallBuilder : PNAPICallBuilder - - -#pragma mark - Configuration - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @param includeFields List with fields, specified in \b PNSpaceFields enum. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateSpaceAPICallBuilder * (^includeFields)(PNSpaceFields includeFields); - -/** - * @brief \c Space's description. - * - * @param externalId Space description information. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateSpaceAPICallBuilder * (^information)(NSString *information); - -/** - * @brief \c Space's additional information. - * - * @param custom Additional / complex attributes which should be associated to \c user with - * specified \c identifier. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateSpaceAPICallBuilder * (^custom)(NSDictionary *custom); - -/** - * @brief Target \c space identifier. - * - * @param userId Identifier of \c space for which data will be updated. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateSpaceAPICallBuilder * (^spaceId)(NSString *spaceId); - -/** - * @brief \c Space's name. - * - * @param name Name which should be associated to \c space with specified \c identifier. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateSpaceAPICallBuilder * (^name)(NSString *name); - - -#pragma mark - Execution - -/** - * @brief Perform API call. - * - * @param block \c Space \c update completion handler block. - */ -@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNUpdateSpaceCompletionBlock block); - - -#pragma mark - Misc - -/** - * @brief Arbitrary query parameters addition block. - * - * @param params List of arbitrary percent-encoded query parameters which should be sent along with - * original API call. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateSpaceAPICallBuilder * (^queryParam)(NSDictionary *params); - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/Space/PNUpdateSpaceAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/Space/PNUpdateSpaceAPICallBuilder.m deleted file mode 100644 index 569f9c92e..000000000 --- a/PubNub/Data/Builders/API Call/Objects/Space/PNUpdateSpaceAPICallBuilder.m +++ /dev/null @@ -1,82 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNUpdateSpaceAPICallBuilder.h" -#import "PNAPICallBuilder+Private.h" - - -#pragma mark Interface implementation - -@implementation PNUpdateSpaceAPICallBuilder - - -#pragma mark - Information - -@dynamic queryParam; - - -#pragma mark - Configuration - -- (PNUpdateSpaceAPICallBuilder * (^)(PNSpaceFields includeFields))includeFields { - return ^PNUpdateSpaceAPICallBuilder * (PNSpaceFields includeFields) { - [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; - return self; - }; -} - -- (PNUpdateSpaceAPICallBuilder * (^)(NSString *information))information { - return ^PNUpdateSpaceAPICallBuilder * (NSString *information) { - if ([information isKindOfClass:[NSString class]] && information.length) { - [self setValue:information forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNUpdateSpaceAPICallBuilder * (^)(NSDictionary *custom))custom { - return ^PNUpdateSpaceAPICallBuilder * (NSDictionary *custom) { - if ([custom isKindOfClass:[NSDictionary class]] && custom.count) { - [self setValue:custom forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNUpdateSpaceAPICallBuilder * (^)(NSString *spaceId))spaceId { - return ^PNUpdateSpaceAPICallBuilder * (NSString *spaceId) { - if ([spaceId isKindOfClass:[NSString class]] && spaceId.length) { - [self setValue:spaceId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNUpdateSpaceAPICallBuilder * (^)(NSString *name))name { - return ^PNUpdateSpaceAPICallBuilder * (NSString *name) { - if ([name isKindOfClass:[NSString class]] && name.length) { - [self setValue:name forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - -#pragma mark - Execution - -- (void(^)(PNUpdateSpaceCompletionBlock block))performWithCompletion { - return ^(PNUpdateSpaceCompletionBlock block) { - [super performWithBlock:block]; - }; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Builders/API Call/Objects/User/PNFetchUsersAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/UUID/PNFetchAllUUIDMetadataAPICallBuilder.h similarity index 52% rename from PubNub/Data/Builders/API Call/Objects/User/PNFetchUsersAPICallBuilder.h rename to PubNub/Data/Builders/API Call/Objects/UUID/PNFetchAllUUIDMetadataAPICallBuilder.h index 7b81cd3a6..07ef63e06 100644 --- a/PubNub/Data/Builders/API Call/Objects/User/PNFetchUsersAPICallBuilder.h +++ b/PubNub/Data/Builders/API Call/Objects/UUID/PNFetchAllUUIDMetadataAPICallBuilder.h @@ -1,4 +1,4 @@ -#import "PNAPICallBuilder.h" +#import "PNObjectsAPICallBuilder.h" #import "PNStructures.h" @@ -7,14 +7,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interface declaration /** - * @brief \c Fetch \c all \c users API call builder. + * @brief \c Fetch \c metadata associated with all \c UUIDs API call builder. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -@interface PNFetchUsersAPICallBuilder : PNAPICallBuilder +@interface PNFetchAllUUIDMetadataAPICallBuilder : PNObjectsAPICallBuilder #pragma mark - Configuration @@ -22,46 +22,43 @@ NS_ASSUME_NONNULL_BEGIN /** * @brief Bitfield set to fields which should be returned with response. * - * @param includeFields List with fields, specified in \b PNUserFields enum. + * @param includeFields List with fields, specified in \b PNUUIDFields enum. * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchUsersAPICallBuilder * (^includeFields)(PNUserFields includeFields); +@property (nonatomic, readonly, strong) PNFetchAllUUIDMetadataAPICallBuilder * (^includeFields)(PNUUIDFields includeFields); /** - * @brief Whether total count of \c users should be included in response or not. + * @brief Whether total count of objects should be included in response or not. * - * @param shouldIncludeCount Whether total count of \c users should be requested or not. + * @param shouldIncludeCount Whether total count of objects should be requested or not. * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchUsersAPICallBuilder * (^includeCount)(BOOL shouldIncludeCount); +@property (nonatomic, readonly, strong) PNFetchAllUUIDMetadataAPICallBuilder * (^includeCount)(BOOL shouldIncludeCount); /** * @brief Results sorting order. * * @param sort List of criteria (name of field) which should be used for sorting in ascending order. - * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field name. + * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field + * name. * * @return API call configuration builder. - * - * @since 4.13.0 */ -@property (nonatomic, readonly, strong) PNFetchUsersAPICallBuilder * (^sort)(NSArray *sort); +@property (nonatomic, readonly, strong) PNFetchAllUUIDMetadataAPICallBuilder * (^sort)(NSArray *sort); /** * @brief Expression to filter out results basing on specified criteria. * - * @param filter Users filter expression. + * @param filter Objects filter expression. * * @return API call configuration builder. - * - * @since 4.13.0 */ -@property (nonatomic, readonly, strong) PNFetchUsersAPICallBuilder * (^filter)(NSString *filter); +@property (nonatomic, readonly, strong) PNFetchAllUUIDMetadataAPICallBuilder * (^filter)(NSString *filter); /** - * @brief Maximum number of \c users per fetched page. + * @brief Maximum number of objects per fetched page. * * @note Will be set to \c 100 (which is also maximum value) if not specified. * @@ -69,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchUsersAPICallBuilder * (^limit)(NSUInteger limit); +@property (nonatomic, readonly, strong) PNFetchAllUUIDMetadataAPICallBuilder * (^limit)(NSUInteger limit); /** * @brief Cursor value to navigate to next fetched result page. @@ -78,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchUsersAPICallBuilder * (^start)(NSString *start); +@property (nonatomic, readonly, strong) PNFetchAllUUIDMetadataAPICallBuilder * (^start)(NSString *start); /** * @brief Cursor value to navigate to previous fetched result page. @@ -89,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchUsersAPICallBuilder * (^end)(NSString *end); +@property (nonatomic, readonly, strong) PNFetchAllUUIDMetadataAPICallBuilder * (^end)(NSString *end); #pragma mark - Execution @@ -97,9 +94,9 @@ NS_ASSUME_NONNULL_BEGIN /** * @brief Perform API call. * - * @param block \c All \c users \c fetch completion handler block. + * @param block Associated \c metadata \c fetch completion handler block. */ -@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNFetchUsersCompletionBlock block); +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNFetchAllUUIDMetadataCompletionBlock block); #pragma mark - Misc @@ -112,7 +109,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return API call configuration builder. */ -@property (nonatomic, readonly, strong) PNFetchUsersAPICallBuilder * (^queryParam)(NSDictionary *params); +@property (nonatomic, readonly, strong) PNFetchAllUUIDMetadataAPICallBuilder * (^queryParam)(NSDictionary *params); #pragma mark - diff --git a/PubNub/Data/Builders/API Call/Objects/User/PNFetchUsersAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/UUID/PNFetchAllUUIDMetadataAPICallBuilder.m similarity index 50% rename from PubNub/Data/Builders/API Call/Objects/User/PNFetchUsersAPICallBuilder.m rename to PubNub/Data/Builders/API Call/Objects/UUID/PNFetchAllUUIDMetadataAPICallBuilder.m index 18ab8f560..207b943f6 100644 --- a/PubNub/Data/Builders/API Call/Objects/User/PNFetchUsersAPICallBuilder.m +++ b/PubNub/Data/Builders/API Call/Objects/UUID/PNFetchAllUUIDMetadataAPICallBuilder.m @@ -1,16 +1,16 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -#import "PNFetchUsersAPICallBuilder.h" +#import "PNFetchAllUUIDMetadataAPICallBuilder.h" #import "PNAPICallBuilder+Private.h" #pragma mark Interface implementation -@implementation PNFetchUsersAPICallBuilder +@implementation PNFetchAllUUIDMetadataAPICallBuilder #pragma mark - Information @@ -20,22 +20,22 @@ @implementation PNFetchUsersAPICallBuilder #pragma mark - Configuration -- (PNFetchUsersAPICallBuilder * (^)(PNUserFields includeFields))includeFields { - return ^PNFetchUsersAPICallBuilder * (PNUserFields includeFields) { +- (PNFetchAllUUIDMetadataAPICallBuilder * (^)(PNUUIDFields includeFields))includeFields { + return ^PNFetchAllUUIDMetadataAPICallBuilder * (PNUUIDFields includeFields) { [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; return self; }; } -- (PNFetchUsersAPICallBuilder * (^)(BOOL shouldIncludeCount))includeCount { - return ^PNFetchUsersAPICallBuilder * (BOOL shouldIncludeCount) { +- (PNFetchAllUUIDMetadataAPICallBuilder * (^)(BOOL shouldIncludeCount))includeCount { + return ^PNFetchAllUUIDMetadataAPICallBuilder * (BOOL shouldIncludeCount) { [self setValue:@(shouldIncludeCount) forParameter:NSStringFromSelector(_cmd)]; return self; }; } -- (PNFetchUsersAPICallBuilder * (^)(NSArray *sort))sort { - return ^PNFetchUsersAPICallBuilder * (NSArray *sort) { +- (PNFetchAllUUIDMetadataAPICallBuilder * (^)(NSArray *sort))sort { + return ^PNFetchAllUUIDMetadataAPICallBuilder * (NSArray *sort) { if ([sort isKindOfClass:[NSArray class]] && sort.count) { [self setValue:sort forParameter:NSStringFromSelector(_cmd)]; } @@ -44,8 +44,8 @@ @implementation PNFetchUsersAPICallBuilder }; } -- (PNFetchUsersAPICallBuilder * (^)(NSString *filter))filter { - return ^PNFetchUsersAPICallBuilder * (NSString *filter) { +- (PNFetchAllUUIDMetadataAPICallBuilder * (^)(NSString *filter))filter { + return ^PNFetchAllUUIDMetadataAPICallBuilder * (NSString *filter) { if ([filter isKindOfClass:[NSString class]] && filter.length) { [self setValue:filter forParameter:NSStringFromSelector(_cmd)]; } @@ -54,15 +54,15 @@ @implementation PNFetchUsersAPICallBuilder }; } -- (PNFetchUsersAPICallBuilder * (^)(NSUInteger limit))limit { - return ^PNFetchUsersAPICallBuilder * (NSUInteger limit) { +- (PNFetchAllUUIDMetadataAPICallBuilder * (^)(NSUInteger limit))limit { + return ^PNFetchAllUUIDMetadataAPICallBuilder * (NSUInteger limit) { [self setValue:@(limit) forParameter:NSStringFromSelector(_cmd)]; return self; }; } -- (PNFetchUsersAPICallBuilder * (^)(NSString *name))start { - return ^PNFetchUsersAPICallBuilder * (NSString *start) { +- (PNFetchAllUUIDMetadataAPICallBuilder * (^)(NSString *name))start { + return ^PNFetchAllUUIDMetadataAPICallBuilder * (NSString *start) { if ([start isKindOfClass:[NSString class]] && start.length) { [self setValue:start forParameter:NSStringFromSelector(_cmd)]; } @@ -71,8 +71,8 @@ @implementation PNFetchUsersAPICallBuilder }; } -- (PNFetchUsersAPICallBuilder * (^)(NSString *end))end { - return ^PNFetchUsersAPICallBuilder * (NSString *end) { +- (PNFetchAllUUIDMetadataAPICallBuilder * (^)(NSString *end))end { + return ^PNFetchAllUUIDMetadataAPICallBuilder * (NSString *end) { if ([end isKindOfClass:[NSString class]] && end.length) { [self setValue:end forParameter:NSStringFromSelector(_cmd)]; } @@ -84,8 +84,8 @@ @implementation PNFetchUsersAPICallBuilder #pragma mark - Execution -- (void(^)(PNFetchUsersCompletionBlock block))performWithCompletion { - return ^(PNFetchUsersCompletionBlock block) { +- (void(^)(PNFetchAllUUIDMetadataCompletionBlock block))performWithCompletion { + return ^(PNFetchAllUUIDMetadataCompletionBlock block) { [super performWithBlock:block]; }; } diff --git a/PubNub/Data/Builders/API Call/Objects/UUID/PNFetchUUIDMetadataAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/UUID/PNFetchUUIDMetadataAPICallBuilder.h new file mode 100644 index 000000000..2c1a009b5 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/UUID/PNFetchUUIDMetadataAPICallBuilder.h @@ -0,0 +1,68 @@ +#import "PNObjectsAPICallBuilder.h" +#import "PNStructures.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Fetch \c metadata associated with \c UUID API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchUUIDMetadataAPICallBuilder : PNObjectsAPICallBuilder + + +#pragma mark - Configuration + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @param includeFields List with fields, specified in \b PNUUIDFields enum. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchUUIDMetadataAPICallBuilder * (^includeFields)(PNUUIDFields includeFields); + +/** + * @brief Identifier for which associated \c metadata should be fetched. + * + * @param uuid Unique identifier for metadata. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchUUIDMetadataAPICallBuilder * (^uuid)(NSString *uuid); + + +#pragma mark - Execution + +/** + * @brief Perform API call. + * + * @param block Associated \c metadata \c fetch completion handler block. + */ +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNFetchUUIDMetadataCompletionBlock block); + + +#pragma mark - Misc + +/** + * @brief Arbitrary query parameters addition block. + * + * @param params List of arbitrary percent-encoded query parameters which should be sent along with + * original API call. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNFetchUUIDMetadataAPICallBuilder * (^queryParam)(NSDictionary *params); + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/UUID/PNFetchUUIDMetadataAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/UUID/PNFetchUUIDMetadataAPICallBuilder.m new file mode 100644 index 000000000..30b680990 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/UUID/PNFetchUUIDMetadataAPICallBuilder.m @@ -0,0 +1,52 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNFetchUUIDMetadataAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" + + +#pragma mark Interface implementation + +@implementation PNFetchUUIDMetadataAPICallBuilder + + +#pragma mark - Information + +@dynamic queryParam; + + +#pragma mark - Configuration + +- (PNFetchUUIDMetadataAPICallBuilder * (^)(PNUUIDFields includeFields))includeFields { + return ^PNFetchUUIDMetadataAPICallBuilder * (PNUUIDFields includeFields) { + [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; + return self; + }; +} + +- (PNFetchUUIDMetadataAPICallBuilder * (^)(NSString *uuid))uuid { + return ^PNFetchUUIDMetadataAPICallBuilder * (NSString *uuid) { + if ([uuid isKindOfClass:[NSString class]] && uuid.length) { + [self setValue:uuid forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + + +#pragma mark - Execution + +- (void(^)(PNFetchUUIDMetadataCompletionBlock block))performWithCompletion { + return ^(PNFetchUUIDMetadataCompletionBlock block) { + [super performWithBlock:block]; + }; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/UUID/PNRemoveUUIDMetadataAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/UUID/PNRemoveUUIDMetadataAPICallBuilder.h new file mode 100644 index 000000000..5283b207e --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/UUID/PNRemoveUUIDMetadataAPICallBuilder.h @@ -0,0 +1,60 @@ +#import "PNObjectsAPICallBuilder.h" +#import "PNStructures.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief Associated with \c UUID \c metadata remove API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNRemoveUUIDMetadataAPICallBuilder : PNObjectsAPICallBuilder + + +#pragma mark - Configuration + +/** + * @brief Identifier for which associated \c metadata should be removed. + * + * @param uuid Unique identifier for metadata. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveUUIDMetadataAPICallBuilder * (^uuid)(NSString *uuid); + + +#pragma mark - Execution + +/** + * @brief Perform API call. + * + * @param block Associated \c metadata \c remove completion handler block. + */ +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNRemoveUUIDMetadataCompletionBlock block); + + +#pragma mark - Misc + +/** + * @brief Arbitrary query parameters addition block. + * + * @param params List of arbitrary percent-encoded query parameters which should be sent along with + * original API call. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNRemoveUUIDMetadataAPICallBuilder * (^queryParam)(NSDictionary *params); + + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/UUID/PNRemoveUUIDMetadataAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/UUID/PNRemoveUUIDMetadataAPICallBuilder.m new file mode 100644 index 000000000..e0753df32 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/UUID/PNRemoveUUIDMetadataAPICallBuilder.m @@ -0,0 +1,45 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNRemoveUUIDMetadataAPICallBuilder.h" +#import "PNAPICallBuilder+Private.h" + + +#pragma mark Interface implementation + +@implementation PNRemoveUUIDMetadataAPICallBuilder + + +#pragma mark - Information + +@dynamic queryParam; + + +#pragma mark - Configuration + +- (PNRemoveUUIDMetadataAPICallBuilder * (^)(NSString *uuid))uuid { + return ^PNRemoveUUIDMetadataAPICallBuilder * (NSString *uuid) { + if ([uuid isKindOfClass:[NSString class]] && uuid.length) { + [self setValue:uuid forParameter:NSStringFromSelector(_cmd)]; + } + + return self; + }; +} + + +#pragma mark - Execution + +- (void(^)(PNRemoveUUIDMetadataCompletionBlock block))performWithCompletion { + return ^(PNRemoveUUIDMetadataCompletionBlock block) { + [super performWithBlock:block]; + }; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Builders/API Call/Objects/UUID/PNSetUUIDMetadataAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/UUID/PNSetUUIDMetadataAPICallBuilder.h new file mode 100644 index 000000000..94d8317c0 --- /dev/null +++ b/PubNub/Data/Builders/API Call/Objects/UUID/PNSetUUIDMetadataAPICallBuilder.h @@ -0,0 +1,114 @@ +#import "PNObjectsAPICallBuilder.h" +#import "PNStructures.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Metadata association with \c UUID API call builder. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetUUIDMetadataAPICallBuilder : PNObjectsAPICallBuilder + + +#pragma mark - Configuration + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @param includeFields List with fields, specified in \b PNUUIDFields enum. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetUUIDMetadataAPICallBuilder * (^includeFields)(PNUUIDFields includeFields); + +/** + * @brief External identifier (database, auth service) associated with specified \c UUID. + * + * @param externalId External identifier. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetUUIDMetadataAPICallBuilder * (^externalId)(NSString *externalId); + +/** + * @brief External URL with information for specified \c UUID representation. + * + * @param profileUrl External URL (not managed by PubNub). + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetUUIDMetadataAPICallBuilder * (^profileUrl)(NSString *profileUrl); + +/** + * @brief Additional information which should be stored in \c metadata associated with + * specified \c UUID. + * + * @param custom Dictionary with simple scalar values (\a NSString, \a NSNumber). + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetUUIDMetadataAPICallBuilder * (^custom)(NSDictionary *custom); + +/** + * @brief Email address which should be stored in \c metadata associated with specified \c UUID. + * + * @param email Valid email address. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetUUIDMetadataAPICallBuilder * (^email)(NSString *email); + +/** + * @brief Identifier with which new \c metadata should be associated. + * + * @param uuid Unique identifier for metadata. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetUUIDMetadataAPICallBuilder * (^uuid)(NSString *uuid); + +/** + * @brief Name which should stored in \c metadata associated with specified \c UUID. + * + * @param name Entity name. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetUUIDMetadataAPICallBuilder * (^name)(NSString *name); + + +#pragma mark - Execution + +/** + * @brief Perform API call. + * + * @param block \c Metadata association completion handler block. + */ +@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNSetUUIDMetadataCompletionBlock block); + + +#pragma mark - Misc + +/** + * @brief Arbitrary query parameters addition block. + * + * @param params List of arbitrary percent-encoded query parameters which should be sent along with + * original API call. + * + * @return API call configuration builder. + */ +@property (nonatomic, readonly, strong) PNSetUUIDMetadataAPICallBuilder * (^queryParam)(NSDictionary *params); + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/User/PNCreateUserAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/UUID/PNSetUUIDMetadataAPICallBuilder.m similarity index 53% rename from PubNub/Data/Builders/API Call/Objects/User/PNCreateUserAPICallBuilder.m rename to PubNub/Data/Builders/API Call/Objects/UUID/PNSetUUIDMetadataAPICallBuilder.m index 958657753..e6e13a10e 100644 --- a/PubNub/Data/Builders/API Call/Objects/User/PNCreateUserAPICallBuilder.m +++ b/PubNub/Data/Builders/API Call/Objects/UUID/PNSetUUIDMetadataAPICallBuilder.m @@ -4,13 +4,13 @@ * @since 4.10.0 * @copyright © 2010-2019 PubNub, Inc. */ -#import "PNCreateUserAPICallBuilder.h" +#import "PNSetUUIDMetadataAPICallBuilder.h" #import "PNAPICallBuilder+Private.h" #pragma mark Interface implementation -@implementation PNCreateUserAPICallBuilder +@implementation PNSetUUIDMetadataAPICallBuilder #pragma mark - Information @@ -20,15 +20,15 @@ @implementation PNCreateUserAPICallBuilder #pragma mark - Configuration -- (PNCreateUserAPICallBuilder * (^)(PNUserFields includeFields))includeFields { - return ^PNCreateUserAPICallBuilder * (PNUserFields includeFields) { +- (PNSetUUIDMetadataAPICallBuilder * (^)(PNUUIDFields includeFields))includeFields { + return ^PNSetUUIDMetadataAPICallBuilder * (PNUUIDFields includeFields) { [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; return self; }; } -- (PNCreateUserAPICallBuilder * (^)(NSString *externalId))externalId { - return ^PNCreateUserAPICallBuilder * (NSString *externalId) { +- (PNSetUUIDMetadataAPICallBuilder * (^)(NSString *externalId))externalId { + return ^PNSetUUIDMetadataAPICallBuilder * (NSString *externalId) { if ([externalId isKindOfClass:[NSString class]] && externalId.length) { [self setValue:externalId forParameter:NSStringFromSelector(_cmd)]; } @@ -37,8 +37,8 @@ @implementation PNCreateUserAPICallBuilder }; } -- (PNCreateUserAPICallBuilder * (^)(NSString *profileUrl))profileUrl { - return ^PNCreateUserAPICallBuilder * (NSString *profileUrl) { +- (PNSetUUIDMetadataAPICallBuilder * (^)(NSString *profileUrl))profileUrl { + return ^PNSetUUIDMetadataAPICallBuilder * (NSString *profileUrl) { if ([profileUrl isKindOfClass:[NSString class]] && profileUrl.length) { [self setValue:profileUrl forParameter:NSStringFromSelector(_cmd)]; } @@ -47,8 +47,8 @@ @implementation PNCreateUserAPICallBuilder }; } -- (PNCreateUserAPICallBuilder * (^)(NSDictionary *custom))custom { - return ^PNCreateUserAPICallBuilder * (NSDictionary *custom) { +- (PNSetUUIDMetadataAPICallBuilder * (^)(NSDictionary *custom))custom { + return ^PNSetUUIDMetadataAPICallBuilder * (NSDictionary *custom) { if ([custom isKindOfClass:[NSDictionary class]] && custom.count) { [self setValue:custom forParameter:NSStringFromSelector(_cmd)]; } @@ -57,28 +57,28 @@ @implementation PNCreateUserAPICallBuilder }; } -- (PNCreateUserAPICallBuilder * (^)(NSString *userId))userId { - return ^PNCreateUserAPICallBuilder * (NSString *userId) { - if ([userId isKindOfClass:[NSString class]] && userId.length) { - [self setValue:userId forParameter:NSStringFromSelector(_cmd)]; +- (PNSetUUIDMetadataAPICallBuilder * (^)(NSString *email))email { + return ^PNSetUUIDMetadataAPICallBuilder * (NSString *email) { + if ([email isKindOfClass:[NSString class]] && email.length) { + [self setValue:email forParameter:NSStringFromSelector(_cmd)]; } - + return self; }; } -- (PNCreateUserAPICallBuilder * (^)(NSString *email))email { - return ^PNCreateUserAPICallBuilder * (NSString *email) { - if ([email isKindOfClass:[NSString class]] && email.length) { - [self setValue:email forParameter:NSStringFromSelector(_cmd)]; +- (PNSetUUIDMetadataAPICallBuilder * (^)(NSString *uuid))uuid { + return ^PNSetUUIDMetadataAPICallBuilder * (NSString *uuid) { + if ([uuid isKindOfClass:[NSString class]] && uuid.length) { + [self setValue:uuid forParameter:NSStringFromSelector(_cmd)]; } - + return self; }; } -- (PNCreateUserAPICallBuilder * (^)(NSString *name))name { - return ^PNCreateUserAPICallBuilder * (NSString *name) { +- (PNSetUUIDMetadataAPICallBuilder * (^)(NSString *name))name { + return ^PNSetUUIDMetadataAPICallBuilder * (NSString *name) { if ([name isKindOfClass:[NSString class]] && name.length) { [self setValue:name forParameter:NSStringFromSelector(_cmd)]; } @@ -90,8 +90,8 @@ @implementation PNCreateUserAPICallBuilder #pragma mark - Execution -- (void(^)(PNCreateUserCompletionBlock block))performWithCompletion { - return ^(PNCreateUserCompletionBlock block) { +- (void(^)(PNSetUUIDMetadataCompletionBlock block))performWithCompletion { + return ^(PNSetUUIDMetadataCompletionBlock block) { [super performWithBlock:block]; }; } diff --git a/PubNub/Data/Builders/API Call/Objects/User/PNCreateUserAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/User/PNCreateUserAPICallBuilder.h deleted file mode 100644 index f2ec7a8b5..000000000 --- a/PubNub/Data/Builders/API Call/Objects/User/PNCreateUserAPICallBuilder.h +++ /dev/null @@ -1,114 +0,0 @@ -#import "PNAPICallBuilder.h" -#import "PNStructures.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Create \c user API call builder. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNCreateUserAPICallBuilder : PNAPICallBuilder - - -#pragma mark - Configuration - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @param includeFields List with fields, specified in \b PNUserFields enum. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateUserAPICallBuilder * (^includeFields)(PNUserFields includeFields); - -/** - * @brief \c User's external identifier. - * - * @param externalId \c User identifier from external service (database, auth service). - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateUserAPICallBuilder * (^externalId)(NSString *externalId); - -/** - * @brief \c User's profile URL. - * - * @param profileUrl URL at which user's profile available. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateUserAPICallBuilder * (^profileUrl)(NSString *profileUrl); - -/** - * @brief \c User's additional information. - * - * @param custom Additional / complex attributes which should be associated to \c user with - * specified \c identifier. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateUserAPICallBuilder * (^custom)(NSDictionary *custom); - -/** - * @brief \c User's unique identifier. - * - * @param userId Unique identifier for new \c user entry. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateUserAPICallBuilder * (^userId)(NSString *userId); - -/** - * @brief \c User's email address. - * - * @param email Email address which should be associated to \c user with specified \c identifier. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateUserAPICallBuilder * (^email)(NSString *email); - -/** - * @brief \c User's name. - * - * @param name Name which should be associated with new \c user entry. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateUserAPICallBuilder * (^name)(NSString *name); - - -#pragma mark - Execution - -/** - * @brief Perform API call. - * - * @param block \c User \c create completion handler block. - */ -@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNCreateUserCompletionBlock block); - - -#pragma mark - Misc - -/** - * @brief Arbitrary query parameters addition block. - * - * @param params List of arbitrary percent-encoded query parameters which should be sent along with - * original API call. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNCreateUserAPICallBuilder * (^queryParam)(NSDictionary *params); - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/User/PNDeleteUserAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/User/PNDeleteUserAPICallBuilder.h deleted file mode 100644 index 971094606..000000000 --- a/PubNub/Data/Builders/API Call/Objects/User/PNDeleteUserAPICallBuilder.h +++ /dev/null @@ -1,60 +0,0 @@ -#import "PNAPICallBuilder.h" -#import "PNStructures.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Delete \c user API call builder. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNDeleteUserAPICallBuilder : PNAPICallBuilder - - -#pragma mark - Configuration - -/** - * @brief Target \c user identifier. - * - * @param userId Identifier of \c user which should be removed. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNDeleteUserAPICallBuilder * (^userId)(NSString *userId); - - -#pragma mark - Execution - -/** - * @brief Perform API call. - * - * @param block \c User \c delete completion handler block. - */ -@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNDeleteUserCompletionBlock block); - - -#pragma mark - Misc - -/** - * @brief Arbitrary query parameters addition block. - * - * @param params List of arbitrary percent-encoded query parameters which should be sent along with - * original API call. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNDeleteUserAPICallBuilder * (^queryParam)(NSDictionary *params); - - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/User/PNDeleteUserAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/User/PNDeleteUserAPICallBuilder.m deleted file mode 100644 index d2e0a7210..000000000 --- a/PubNub/Data/Builders/API Call/Objects/User/PNDeleteUserAPICallBuilder.m +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNDeleteUserAPICallBuilder.h" -#import "PNAPICallBuilder+Private.h" - - -#pragma mark Interface implementation - -@implementation PNDeleteUserAPICallBuilder - - -#pragma mark - Information - -@dynamic queryParam; - - -#pragma mark - Configuration - -- (PNDeleteUserAPICallBuilder * (^)(NSString *userId))userId { - return ^PNDeleteUserAPICallBuilder * (NSString *userId) { - if ([userId isKindOfClass:[NSString class]] && userId.length) { - [self setValue:userId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - -#pragma mark - Execution - -- (void(^)(PNDeleteUserCompletionBlock block))performWithCompletion { - return ^(PNDeleteUserCompletionBlock block) { - [super performWithBlock:block]; - }; -} - - -#pragma mark - - - -@end diff --git a/PubNub/Data/Builders/API Call/Objects/User/PNFetchUserAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/User/PNFetchUserAPICallBuilder.h deleted file mode 100644 index 7ed19da55..000000000 --- a/PubNub/Data/Builders/API Call/Objects/User/PNFetchUserAPICallBuilder.h +++ /dev/null @@ -1,68 +0,0 @@ -#import "PNAPICallBuilder.h" -#import "PNStructures.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Fetch \c user API call builder. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchUserAPICallBuilder : PNAPICallBuilder - - -#pragma mark - Configuration - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @param includeFields List with fields, specified in \b PNUserFields enum. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchUserAPICallBuilder * (^includeFields)(PNUserFields includeFields); - -/** - * @brief Target \c user identifier. - * - * @param userId Identifier of \c user which should be fetched. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchUserAPICallBuilder * (^userId)(NSString *userId); - - -#pragma mark - Execution - -/** - * @brief Perform API call. - * - * @param block \c User \c fetch completion handler block. - */ -@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNFetchUserCompletionBlock block); - - -#pragma mark - Misc - -/** - * @brief Arbitrary query parameters addition block. - * - * @param params List of arbitrary percent-encoded query parameters which should be sent along with - * original API call. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNFetchUserAPICallBuilder * (^queryParam)(NSDictionary *params); - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/User/PNFetchUserAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/User/PNFetchUserAPICallBuilder.m deleted file mode 100644 index f92baa020..000000000 --- a/PubNub/Data/Builders/API Call/Objects/User/PNFetchUserAPICallBuilder.m +++ /dev/null @@ -1,52 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNFetchUserAPICallBuilder.h" -#import "PNAPICallBuilder+Private.h" - - -#pragma mark Interface implementation - -@implementation PNFetchUserAPICallBuilder - - -#pragma mark - Information - -@dynamic queryParam; - - -#pragma mark - Configuration - -- (PNFetchUserAPICallBuilder * (^)(PNUserFields includeFields))includeFields { - return ^PNFetchUserAPICallBuilder * (PNUserFields includeFields) { - [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; - return self; - }; -} - -- (PNFetchUserAPICallBuilder * (^)(NSString *userId))userId { - return ^PNFetchUserAPICallBuilder * (NSString *userId) { - if ([userId isKindOfClass:[NSString class]] && userId.length) { - [self setValue:userId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - -#pragma mark - Execution - -- (void(^)(PNFetchUserCompletionBlock block))performWithCompletion { - return ^(PNFetchUserCompletionBlock block) { - [super performWithBlock:block]; - }; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Builders/API Call/Objects/User/PNUpdateUserAPICallBuilder.h b/PubNub/Data/Builders/API Call/Objects/User/PNUpdateUserAPICallBuilder.h deleted file mode 100644 index c317d8104..000000000 --- a/PubNub/Data/Builders/API Call/Objects/User/PNUpdateUserAPICallBuilder.h +++ /dev/null @@ -1,114 +0,0 @@ -#import "PNAPICallBuilder.h" -#import "PNStructures.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Update \c user API call builder. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUpdateUserAPICallBuilder : PNAPICallBuilder - - -#pragma mark - Configuration - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @param includeFields List with fields, specified in \b PNUserFields enum. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateUserAPICallBuilder * (^includeFields)(PNUserFields includeFields); - -/** - * @brief \c User's external identifier. - * - * @param externalId User identifier from external service (database, auth service). - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateUserAPICallBuilder * (^externalId)(NSString *externalId); - -/** - * @brief \c User's profile URL. - * - * @param profileUrl URL at which user's profile available. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateUserAPICallBuilder * (^profileUrl)(NSString *profileUrl); - -/** - * @brief \c User's additional information. - * - * @param custom Additional / complex attributes which should be associated to \c user with - * specified \c identifier. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateUserAPICallBuilder * (^custom)(NSDictionary *custom); - -/** - * @brief Target \c user identifier. - * - * @param userId Identifier of \c user for which data will be updated. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateUserAPICallBuilder * (^userId)(NSString *userId); - -/** - * @brief \c User's email address. - * - * @param email Email address which should be associated to \c user with specified \c identifier. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateUserAPICallBuilder * (^email)(NSString *email); - -/** - * @brief \c User's name. - * - * @param name Name which should be associated to \c user with specified \c identifier. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateUserAPICallBuilder * (^name)(NSString *name); - - -#pragma mark - Execution - -/** - * @brief Perform API call. - * - * @param block \c User \c update completion handler block. - */ -@property (nonatomic, readonly, strong) void(^performWithCompletion)(PNUpdateUserCompletionBlock block); - - -#pragma mark - Misc - -/** - * @brief Arbitrary query parameters addition block. - * - * @param params List of arbitrary percent-encoded query parameters which should be sent along with - * original API call. - * - * @return API call configuration builder. - */ -@property (nonatomic, readonly, strong) PNUpdateUserAPICallBuilder * (^queryParam)(NSDictionary *params); - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Builders/API Call/Objects/User/PNUpdateUserAPICallBuilder.m b/PubNub/Data/Builders/API Call/Objects/User/PNUpdateUserAPICallBuilder.m deleted file mode 100644 index f2ca1541d..000000000 --- a/PubNub/Data/Builders/API Call/Objects/User/PNUpdateUserAPICallBuilder.m +++ /dev/null @@ -1,102 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNUpdateUserAPICallBuilder.h" -#import "PNAPICallBuilder+Private.h" - - -#pragma mark Interface implementation - -@implementation PNUpdateUserAPICallBuilder - - -#pragma mark - Information - -@dynamic queryParam; - - -#pragma mark - Configuration - -- (PNUpdateUserAPICallBuilder * (^)(PNUserFields includeFields))includeFields { - return ^PNUpdateUserAPICallBuilder * (PNUserFields includeFields) { - [self setValue:@(includeFields) forParameter:NSStringFromSelector(_cmd)]; - return self; - }; -} - -- (PNUpdateUserAPICallBuilder * (^)(NSString *externalId))externalId { - return ^PNUpdateUserAPICallBuilder * (NSString *externalId) { - if ([externalId isKindOfClass:[NSString class]] && externalId.length) { - [self setValue:externalId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNUpdateUserAPICallBuilder * (^)(NSString *profileUrl))profileUrl { - return ^PNUpdateUserAPICallBuilder * (NSString *profileUrl) { - if ([profileUrl isKindOfClass:[NSString class]] && profileUrl.length) { - [self setValue:profileUrl forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNUpdateUserAPICallBuilder * (^)(NSDictionary *custom))custom { - return ^PNUpdateUserAPICallBuilder * (NSDictionary *custom) { - if ([custom isKindOfClass:[NSDictionary class]] && custom.count) { - [self setValue:custom forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNUpdateUserAPICallBuilder * (^)(NSString *userId))userId { - return ^PNUpdateUserAPICallBuilder * (NSString *userId) { - if ([userId isKindOfClass:[NSString class]] && userId.length) { - [self setValue:userId forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNUpdateUserAPICallBuilder * (^)(NSString *email))email { - return ^PNUpdateUserAPICallBuilder * (NSString *email) { - if ([email isKindOfClass:[NSString class]] && email.length) { - [self setValue:email forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - -- (PNUpdateUserAPICallBuilder * (^)(NSString *name))name { - return ^PNUpdateUserAPICallBuilder * (NSString *name) { - if ([name isKindOfClass:[NSString class]] && name.length) { - [self setValue:name forParameter:NSStringFromSelector(_cmd)]; - } - - return self; - }; -} - - -#pragma mark - Execution - -- (void(^)(PNUpdateUserCompletionBlock block))performWithCompletion { - return ^(PNUpdateUserCompletionBlock block) { - [super performWithBlock:block]; - }; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Managers/PNStateListener.h b/PubNub/Data/Managers/PNStateListener.h index 29910301a..48a1e9687 100644 --- a/PubNub/Data/Managers/PNStateListener.h +++ b/PubNub/Data/Managers/PNStateListener.h @@ -4,8 +4,8 @@ #pragma mark Class forward -@class PNMembershipEventResult, PNPresenceEventResult, PNSpaceEventResult, PNUserEventResult; @class PNMessageActionResult, PNMessageResult, PNSignalResult, PNErrorStatus, PubNub; +@class PNPresenceEventResult, PNObjectEventResult; NS_ASSUME_NONNULL_BEGIN @@ -50,15 +50,15 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Listeners list modification /** - * @brief Add observer which conform to \b PNObjectEventListener protocol and would like to receive + * @brief Add observer which conform to \b PNEventsListener protocol and would like to receive * updates based on live feed events and status change. * - * @discussion Listener can implement only required callbacks from \b PNObjectEventListener protocol + * @discussion Listener can implement only required callbacks from \b PNEventsListener protocol * and called only when desired type of event arrive. * * @param listener Listener which would like to receive updates. */ -- (void)addListener:(id )listener; +- (void)addListener:(id )listener; /** * @brief Remove listener from list for callback calls. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param listener Listener which doesn't want to receive updates anymore. */ -- (void)removeListener:(id )listener; +- (void)removeListener:(id )listener; /** * @brief Remove all registered listeners (for message, presence event and client state change). @@ -131,7 +131,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)notifyPresenceEvent:(PNPresenceEventResult *)event; /** - * @brief Notify all \c membership listeners about new signal. + * @brief Notify all \c object listeners about new event. * * @warning Method should be called within \b -notifyWithBlock: block to shift execution to private * protected queue. @@ -139,29 +139,7 @@ NS_ASSUME_NONNULL_BEGIN * @param event Event object which provide information about operation type and service response * for it. */ -- (void)notifyMembershipEvent:(PNMembershipEventResult *)event; - -/** - * @brief Notify all \c space listeners about new signal. - * - * @warning Method should be called within \b -notifyWithBlock: block to shift execution to private - * protected queue. - * - * @param event Event object which provide information about operation type and service response - * for it. - */ -- (void)notifySpaceEvent:(PNSpaceEventResult *)event; - -/** - * @brief Notify all \c user listeners about new signal. - * - * @warning Method should be called within \b -notifyWithBlock: block to shift execution to private - * protected queue. - * - * @param event Event object which provide information about operation type and service response - * for it. - */ -- (void)notifyUserEvent:(PNUserEventResult *)event; +- (void)notifyObjectEvent:(PNObjectEventResult *)event; /** * @brief Notify all state change listeners about changes in subscriber state. diff --git a/PubNub/Data/Managers/PNStateListener.m b/PubNub/Data/Managers/PNStateListener.m index 76e6bbef6..50c550578 100644 --- a/PubNub/Data/Managers/PNStateListener.m +++ b/PubNub/Data/Managers/PNStateListener.m @@ -5,7 +5,7 @@ * @copyright © 2010-2019 PubNub, Inc. */ #import "PNStateListener.h" -#import "PNObjectEventListener.h" +#import "PNEventsListener.h" #import "PubNub+CorePrivate.h" #import "PNSubscribeStatus.h" #import "PNHelpers.h" @@ -31,7 +31,7 @@ @interface PNStateListener () * * @return Hash table with list of new message listeners. */ -@property (nonatomic, strong) NSHashTable> *messageListeners; +@property (nonatomic, strong) NSHashTable> *messageListeners; /** * @brief List of listeners which would like to be notified when new signal arrive from remote data @@ -41,7 +41,7 @@ @interface PNStateListener () * * @since 4.9.0 */ -@property (nonatomic, strong) NSHashTable> *signalListeners; +@property (nonatomic, strong) NSHashTable> *signalListeners; /** * @brief List of listeners which would like to be notified when new \c message \c actions @@ -51,7 +51,7 @@ @interface PNStateListener () * * @since 4.11.0 */ -@property (nonatomic, strong) NSHashTable> *messageActionListeners; +@property (nonatomic, strong) NSHashTable> *messageActionListeners; /** * @brief List of listeners which would like to be notified when new presence event arrive from @@ -59,43 +59,23 @@ @interface PNStateListener () * * @return Hash table with list of presence event listeners. */ -@property (nonatomic, strong) NSHashTable> *presenceEventListeners; +@property (nonatomic, strong) NSHashTable> *presenceEventListeners; /** - * @brief List of listeners which would like to be notified when new \c membership event arrive from + * @brief List of listeners which would like to be notified when new \c object event arrive from * remote data feed objects on which client subscribed at this moment. * - * @return Hash table with list of \c membership event listeners. + * @return Hash table with list of \c object event listeners. * - * @since 4.10.0 + * @since 4.14.0 */ -@property (nonatomic, strong) NSHashTable> *membershipEventListeners; - -/** - * @brief List of listeners which would like to be notified when new \c space event arrive from - * remote data feed objects on which client subscribed at this moment. - * - * @return Hash table with list of \c space event listeners. - * - * @since 4.10.0 - */ -@property (nonatomic, strong) NSHashTable> *spaceEventListeners; - -/** - * @brief List of listeners which would like to be notified when new \c user event arrive from - * remote data feed objects on which client subscribed at this moment. - * - * @return Hash table with list of \c user event listeners. - * - * @since 4.10.0 - */ -@property (nonatomic, strong) NSHashTable> *userEventListeners; +@property (nonatomic, strong) NSHashTable> *objectEventListeners; /** * @brief List of listeners which would like to be notified when on subscription state changes * (connection, access rights error, disconnection and unexpected disconnection). */ -@property (nonatomic, strong) NSHashTable> *stateListeners; +@property (nonatomic, strong) NSHashTable> *stateListeners; /** * @brief Queue which is used to serialize access to shared listener information. @@ -162,9 +142,7 @@ - (instancetype)initForClient:(PubNub *)client { _signalListeners = [NSHashTable weakObjectsHashTable]; _messageActionListeners = [NSHashTable weakObjectsHashTable]; _presenceEventListeners = [NSHashTable weakObjectsHashTable]; - _membershipEventListeners = [NSHashTable weakObjectsHashTable]; - _spaceEventListeners = [NSHashTable weakObjectsHashTable]; - _userEventListeners = [NSHashTable weakObjectsHashTable]; + _objectEventListeners = [NSHashTable weakObjectsHashTable]; _stateListeners = [NSHashTable weakObjectsHashTable]; _resourceAccessQueue = dispatch_queue_create("com.pubnub.listener", DISPATCH_QUEUE_SERIAL); } @@ -181,9 +159,7 @@ - (void)inheritStateFromListener:(PNStateListener *)listener { NSHashTable *signalListeners = [listener listenersCopyFrom:listener.signalListeners]; NSHashTable *actionListeners = [listener listenersCopyFrom:listener.messageActionListeners]; NSHashTable *presenceEventListeners = [listener listenersCopyFrom:listener.presenceEventListeners]; - NSHashTable *membershipEventListeners = [listener listenersCopyFrom:listener.membershipEventListeners]; - NSHashTable *spaceEventListeners = [listener listenersCopyFrom:listener.spaceEventListeners]; - NSHashTable *userEventListeners = [listener listenersCopyFrom:listener.userEventListeners]; + NSHashTable *objectEventListeners = [listener listenersCopyFrom:listener.objectEventListeners]; NSHashTable *stateListeners = [listener listenersCopyFrom:listener.stateListeners]; dispatch_async(self.resourceAccessQueue, ^{ @@ -191,9 +167,7 @@ - (void)inheritStateFromListener:(PNStateListener *)listener { self.signalListeners = signalListeners; self.messageActionListeners = actionListeners; self.presenceEventListeners = presenceEventListeners; - self.membershipEventListeners = membershipEventListeners; - self.spaceEventListeners = spaceEventListeners; - self.userEventListeners = userEventListeners; + self.objectEventListeners = objectEventListeners; self.stateListeners = stateListeners; }); } @@ -201,7 +175,7 @@ - (void)inheritStateFromListener:(PNStateListener *)listener { #pragma mark - Listeners list modification -- (void)addListener:(id )listener { +- (void)addListener:(id )listener { dispatch_async(self.resourceAccessQueue, ^{ if ([listener respondsToSelector:@selector(client:didReceiveMessage:)]) { [self.messageListeners addObject:listener]; @@ -219,16 +193,8 @@ - (void)addListener:(id )listener { [self.presenceEventListeners addObject:listener]; } - if ([listener respondsToSelector:@selector(client:didReceiveMembershipEvent:)]) { - [self.membershipEventListeners addObject:listener]; - } - - if ([listener respondsToSelector:@selector(client:didReceiveSpaceEvent:)]) { - [self.spaceEventListeners addObject:listener]; - } - - if ([listener respondsToSelector:@selector(client:didReceiveUserEvent:)]) { - [self.userEventListeners addObject:listener]; + if ([listener respondsToSelector:@selector(client:didReceiveObjectEvent:)]) { + [self.objectEventListeners addObject:listener]; } if ([listener respondsToSelector:@selector(client:didReceiveStatus:)]) { @@ -237,15 +203,13 @@ - (void)addListener:(id )listener { }); } -- (void)removeListener:(id )listener { +- (void)removeListener:(id )listener { dispatch_async(self.resourceAccessQueue, ^{ [self.messageListeners removeObject:listener]; [self.signalListeners removeObject:listener]; [self.messageActionListeners removeObject:listener]; [self.presenceEventListeners removeObject:listener]; - [self.membershipEventListeners removeObject:listener]; - [self.spaceEventListeners removeObject:listener]; - [self.userEventListeners removeObject:listener]; + [self.objectEventListeners removeObject:listener]; [self.stateListeners removeObject:listener]; }); } @@ -256,9 +220,7 @@ - (void)removeAllListeners { [self.signalListeners removeAllObjects]; [self.messageActionListeners removeAllObjects]; [self.presenceEventListeners removeAllObjects]; - [self.membershipEventListeners removeAllObjects]; - [self.spaceEventListeners removeAllObjects]; - [self.userEventListeners removeAllObjects]; + [self.objectEventListeners removeAllObjects]; [self.stateListeners removeAllObjects]; }); } @@ -271,7 +233,7 @@ - (void)notifyWithBlock:(dispatch_block_t)block { } - (void)notifyMessage:(PNMessageResult *)message { - NSArray> *listeners = self.messageListeners.allObjects; + NSArray> *listeners = self.messageListeners.allObjects; /** * Silence static analyzer warnings. @@ -282,7 +244,7 @@ - (void)notifyMessage:(PNMessageResult *)message { #pragma clang diagnostic push #pragma clang diagnostic ignored "-Warc-repeated-use-of-weak" pn_dispatch_async(self.client.callbackQueue, ^{ - for (id listener in listeners) { + for (id listener in listeners) { [listener client:self.client didReceiveMessage:message]; } }); @@ -290,61 +252,41 @@ - (void)notifyMessage:(PNMessageResult *)message { } - (void)notifySignal:(PNSignalResult *)signal { - NSArray> *listeners = self.signalListeners.allObjects; + NSArray> *listeners = self.signalListeners.allObjects; pn_dispatch_async(self.client.callbackQueue, ^{ - for (id listener in listeners) { + for (id listener in listeners) { [listener client:self.client didReceiveSignal:signal]; } }); } - (void)notifyMessageAction:(PNMessageActionResult *)action { - NSArray> *listeners = self.messageActionListeners.allObjects; + NSArray> *listeners = self.messageActionListeners.allObjects; pn_dispatch_async(self.client.callbackQueue, ^{ - for (id listener in listeners) { + for (id listener in listeners) { [listener client:self.client didReceiveMessageAction:action]; } }); } - (void)notifyPresenceEvent:(PNPresenceEventResult *)event { - NSArray> *listeners = self.presenceEventListeners.allObjects; + NSArray> *listeners = self.presenceEventListeners.allObjects; pn_dispatch_async(self.client.callbackQueue, ^{ - for (id listener in listeners) { + for (id listener in listeners) { [listener client:self.client didReceivePresenceEvent:event]; } }); } -- (void)notifyMembershipEvent:(PNMembershipEventResult *)event { - NSArray> *listeners = self.membershipEventListeners.allObjects; - - pn_dispatch_async(self.client.callbackQueue, ^{ - for (id listener in listeners) { - [listener client:self.client didReceiveMembershipEvent:event]; - } - }); -} - -- (void)notifySpaceEvent:(PNSpaceEventResult *)event { - NSArray> *listeners = self.spaceEventListeners.allObjects; - - pn_dispatch_async(self.client.callbackQueue, ^{ - for (id listener in listeners) { - [listener client:self.client didReceiveSpaceEvent:event]; - } - }); -} - -- (void)notifyUserEvent:(PNUserEventResult *)event { - NSArray> *listeners = self.userEventListeners.allObjects; +- (void)notifyObjectEvent:(PNObjectEventResult *)event { + NSArray> *listeners = self.objectEventListeners.allObjects; pn_dispatch_async(self.client.callbackQueue, ^{ - for (id listener in listeners) { - [listener client:self.client didReceiveUserEvent:event]; + for (id listener in listeners) { + [listener client:self.client didReceiveObjectEvent:event]; } }); } @@ -361,10 +303,10 @@ - (void)notifyHeartbeatStatus:(PNStatus *)status { #pragma mark - Notification - (void)notifyStatusObservers:(PNStatus *)status { - NSArray> *listeners = self.stateListeners.allObjects; + NSArray> *listeners = self.stateListeners.allObjects; pn_dispatch_async(self.client.callbackQueue, ^{ - for (id listener in listeners) { + for (id listener in listeners) { [listener client:self.client didReceiveStatus:status]; } }); diff --git a/PubNub/Data/Managers/PNSubscriber.h b/PubNub/Data/Managers/PNSubscriber.h index 77bdf2828..2ef7bd499 100644 --- a/PubNub/Data/Managers/PNSubscriber.h +++ b/PubNub/Data/Managers/PNSubscriber.h @@ -133,7 +133,7 @@ typedef void(^PNSubscriberCompletionBlock)(PNSubscribeStatus * _Nullable status) * @brief Stores reference on string representation of filtering expression which should be applied * to decide which updates should reach client. * - * @warning If your filter expression is malformed, \b PNObjectEventListener won't receive any + * @warning If your filter expression is malformed, \b PNEventsListener won't receive any * messages and presence events from service (only error status). */ @property (nonatomic, nullable, copy) NSString *filterExpression; diff --git a/PubNub/Data/Managers/PNSubscriber.m b/PubNub/Data/Managers/PNSubscriber.m index 607686935..610d070de 100644 --- a/PubNub/Data/Managers/PNSubscriber.m +++ b/PubNub/Data/Managers/PNSubscriber.m @@ -1576,23 +1576,22 @@ - (void)handleNewObjectsEvent:(PNResult *)data { if (!data) { return; } + + static NSArray *_knownTypesOfObjectEvents; + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + _knownTypesOfObjectEvents = @[@"membership", @"channel", @"uuid"]; + }); PNLogResult(self.client.logger, @" %@", [data stringifiedRepresentation]); - - if ([data.serviceData[@"type"] isEqualToString:@"membership"]) { - object_setClass(data, [PNMembershipEventResult class]); - [self.client.listenersManager notifyMembershipEvent:(PNMembershipEventResult *)data]; - } else if ([data.serviceData[@"type"] isEqualToString:@"space"]) { - object_setClass(data, [PNSpaceEventResult class]); - [self.client.listenersManager notifySpaceEvent:(PNSpaceEventResult *)data]; - } else if ([data.serviceData[@"type"] isEqualToString:@"user"]) { - object_setClass(data, [PNUserEventResult class]); - [self.client.listenersManager notifyUserEvent:(PNUserEventResult *)data]; + + if ([_knownTypesOfObjectEvents containsObject:data.serviceData[@"type"]]) { + object_setClass(data, [PNObjectEventResult class]); + [self.client.listenersManager notifyObjectEvent:(PNObjectEventResult *)data]; } } - (void)handleNewPresenceEvent:(PNPresenceEventResult *)data { - if (data) { PNLogResult(self.client.logger, @" %@", [(PNResult *)data stringifiedRepresentation]); } diff --git a/PubNub/Data/Managers/PNTelemetry.m b/PubNub/Data/Managers/PNTelemetry.m index 9e1174122..a484a139d 100644 --- a/PubNub/Data/Managers/PNTelemetry.m +++ b/PubNub/Data/Managers/PNTelemetry.m @@ -254,18 +254,20 @@ - (NSString *)endpointNameForOperation:(PNOperationType)operationType { case PNRemoveAllPushNotificationsV2Operation: operation = @"push"; break; - case PNCreateUserOperation: - case PNUpdateUserOperation: - case PNDeleteUserOperation: - case PNFetchUserOperation: - case PNFetchUsersOperation: - case PNCreateSpaceOperation: - case PNUpdateSpaceOperation: - case PNDeleteSpaceOperation: - case PNFetchSpaceOperation: - case PNFetchSpacesOperation: + case PNSetUUIDMetadataOperation: + case PNRemoveUUIDMetadataOperation: + case PNFetchUUIDMetadataOperation: + case PNFetchAllUUIDMetadataOperation: + case PNSetChannelMetadataOperation: + case PNRemoveChannelMetadataOperation: + case PNFetchChannelMetadataOperation: + case PNFetchAllChannelsMetadataOperation: + case PNSetMembershipsOperation: + case PNRemoveMembershipsOperation: case PNManageMembershipsOperation: case PNFetchMembershipsOperation: + case PNSetMembersOperation: + case PNRemoveMembersOperation: case PNManageMembersOperation: case PNFetchMembersOperation: operation = @"obj"; diff --git a/PubNub/Data/Models/PNChannelMetadata+Private.h b/PubNub/Data/Models/PNChannelMetadata+Private.h new file mode 100644 index 000000000..88c7b8f53 --- /dev/null +++ b/PubNub/Data/Models/PNChannelMetadata+Private.h @@ -0,0 +1,69 @@ +#import "PNChannelMetadata.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Private interface declaration + +/** + * @brief Private \c channel \c metadata extension to provide ability to set data from service + * response. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNChannelMetadata (Private) + + +#pragma mark - Information + +/** + * @brief Description which should be stored in \c metadata associated with specified \c channel. + */ +@property (nonatomic, nullable, copy) NSString *information; + +/** + * @brief Additional / complex attributes which should be stored in \c metadata associated with + * specified \c channel. + */ +@property (nonatomic, nullable, strong) NSDictionary *custom; + +/** + * @brief Last \c metadata update date. + */ +@property (nonatomic, nullable, strong) NSDate *updated; + +/** + * @brief Name which should be stored in \c metadata associated with specified \c channel. + */ +@property (nonatomic, nullable, copy) NSString *name; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c channel \c metadata data model from dictionary. + * + * @param data Dictionary with information about \c channel \c metadata from Objects API. + * + * @return Configured and ready to use \c channel \c metadata representation model. + */ ++ (instancetype)channelMetadataFromDictionary:(NSDictionary *)data; + +/** + * @brief Create and configure \c channel \c metadata data model. + * + * @param channel Name of channel with which \c metadata associated. + * + * @return Configured and ready to use \c channel \c metadata representation model. + */ ++ (instancetype)metadataForChannel:(NSString *)channel; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Models/PNChannelMetadata.h b/PubNub/Data/Models/PNChannelMetadata.h new file mode 100644 index 000000000..d0a417bc5 --- /dev/null +++ b/PubNub/Data/Models/PNChannelMetadata.h @@ -0,0 +1,57 @@ +#import + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief Object which is used to represent \c channel \c metadata. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNChannelMetadata : NSObject + + +#pragma mark - Information + +/** + * @brief Additional / complex attributes which should be stored in \c metadata associated with + * specified \c channel. + */ +@property (nonatomic, nullable, readonly, strong) NSDictionary *custom; + +/** + * @brief Description which should be stored in \c metadata associated with specified \c channel. + */ +@property (nonatomic, nullable, readonly, copy) NSString *information; + +/** + * @brief Name which should be stored in \c metadata associated with specified \c channel. + */ +@property (nonatomic, nullable, readonly, copy) NSString *name; + +/** + * @brief \c Channel name with which \c metadata has been associated. + */ +@property (nonatomic, readonly, copy) NSString *channel; + +/** + * @brief Last \c metadata update date. + */ +@property (nonatomic, readonly, strong) NSDate *updated; + +/** + * @brief \c Channel \c metadata object version identifier. + */ +@property (nonatomic, readonly, copy) NSString *eTag; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Models/PNChannelMetadata.m b/PubNub/Data/Models/PNChannelMetadata.m new file mode 100644 index 000000000..0c0927f89 --- /dev/null +++ b/PubNub/Data/Models/PNChannelMetadata.m @@ -0,0 +1,137 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "NSDateFormatter+PNCacheable.h" +#import "PNChannelMetadata+Private.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interface declaration + +@interface PNChannelMetadata () + + +#pragma mark - Information + +/** + * @brief Additional / complex attributes which should be stored in \c metadata associated with + * specified \c channel. + */ +@property (nonatomic, nullable, strong) NSDictionary *custom; + +/** + * @brief Description which should be stored in \c metadata associated with specified \c channel. + */ +@property (nonatomic, nullable, copy) NSString *information; + +/** + * @brief Last \c metadata update date. + */ +@property (nonatomic, nullable, strong) NSDate *updated; + +/** + * @brief \c Channel \c metadata object version identifier. + */ +@property (nonatomic, nullable, copy) NSString *eTag; + +/** + * @brief Name which should be stored in \c metadata associated with specified \c channel. + */ +@property (nonatomic, nullable, copy) NSString *name; + +/** + * @brief \c Channel name with which \c metadata has been associated. + */ +@property (nonatomic, copy) NSString *channel; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Initialize \c channel \c metadata data model. + * + * @param channel Name of channel with which \c metadata associated. + * + * @return Initialized and ready to use \c channel \c metadata representation model. + */ +- (instancetype)initWithChannel:(NSString *)channel; + + +#pragma mark - Misc + +/** + * @brief Translate \c channel \c metadata data model to dictionary. + */ +- (NSDictionary *)dictionaryRepresentation; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interface implementation + +@implementation PNChannelMetadata + + +#pragma mark - Initialization & Configuration + ++ (instancetype)channelMetadataFromDictionary:(NSDictionary *)data { + PNChannelMetadata *metadata = [PNChannelMetadata metadataForChannel:data[@"id"]]; + metadata.information = data[@"description"]; + metadata.custom = data[@"custom"]; + metadata.eTag = data[@"eTag"]; + metadata.name = data[@"name"]; + + NSDateFormatter *formatter = [NSDateFormatter pn_objectsDateFormatter]; + + if (data[@"updated"]) { + metadata.updated = [formatter dateFromString:data[@"updated"]]; + } + + return metadata; +} + ++ (instancetype)metadataForChannel:(NSString *)channel { + return [[self alloc] initWithChannel:channel]; +} + +- (instancetype)initWithChannel:(NSString *)channel { + if ((self = [super init])) { + _channel = [channel copy]; + } + + return self; +} + + +#pragma mark - Misc + +- (NSDictionary *)dictionaryRepresentation { + NSMutableDictionary *dictionary = [@{ @"type": @"channel-metadata" } mutableCopy]; + + dictionary[@"information"] = self.information; + dictionary[@"updated"] = self.updated; + dictionary[@"channel"] = self.channel; + dictionary[@"custom"] = self.custom; + dictionary[@"name"] = self.name; + dictionary[@"eTag"] = self.eTag; + + return dictionary; +} + +- (NSString *)debugDescription { + return [self dictionaryRepresentation].description; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Models/PNMember+Private.h b/PubNub/Data/Models/PNMember+Private.h index dfbcca09e..dafbce969 100644 --- a/PubNub/Data/Models/PNMember+Private.h +++ b/PubNub/Data/Models/PNMember+Private.h @@ -9,9 +9,9 @@ NS_ASSUME_NONNULL_BEGIN * @brief Private \c member extension to provide ability to set data from service response. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNMember (Private) @@ -23,19 +23,18 @@ NS_ASSUME_NONNULL_BEGIN * * @param data Dictionary with information about \c member from Objects API. * - * @return Configured and ready to use \c member member model. + * @return Configured and ready to use \c member model. */ + (instancetype)memberFromDictionary:(NSDictionary *)data; /** * @brief Create and configure \c member data model. * - * @param identifier Identifier of \c user which is listed in \c space's members list. - * @param user \c User listed in \c space's members list. + * @param metadata \c Metadata which associated with specified \c UUID in context of \c channel. * * @return Configured and ready to use \c member representation model. */ -+ (instancetype)memberWithUserId:(NSString *)identifier user:(nullable PNUser *)user; ++ (instancetype)memberWithUUIDMetadata:(PNUUIDMetadata *)metadata; #pragma mark - diff --git a/PubNub/Data/Models/PNMember.h b/PubNub/Data/Models/PNMember.h index b28ee1147..054d326bc 100644 --- a/PubNub/Data/Models/PNMember.h +++ b/PubNub/Data/Models/PNMember.h @@ -3,7 +3,7 @@ #pragma mark Class forward -@class PNUser; +@class PNUUIDMetadata; NS_ASSUME_NONNULL_BEGIN @@ -11,12 +11,12 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interface declaration /** - * @brief Object which is used to represent \c space \c member. + * @brief Object which is used to represent \c chanel \c member. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNMember : NSObject @@ -24,32 +24,28 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Information /** - * @brief Additional information associated with \c user in context of his membership in \c space. - */ -@property (nonatomic, nullable, readonly, strong) NSDictionary *custom; - -/** - * @brief \c User which is listed in \c space's members list. + * @brief \c Metadata associated with \c UUID which is listed in \c channel's members list. * - * @note This property will be set only if \b PNMembersIncludeFields.user has been added to + * @note This property will be set only if \b PNMemberUUIDField has been added to * \c includeFields list during request. */ -@property (nonatomic, nullable, readonly, strong) PNUser *user; +@property (nonatomic, nullable, readonly, strong) PNUUIDMetadata *metadata; /** - * @brief Identifier of \c user which is listed in \c space's members list. + * @brief Additional information from \c metadata which has been associated with \c UUID during + * \c channel \c member \c add requests. */ -@property (nonatomic, readonly, strong) NSString *userId; +@property (nonatomic, nullable, readonly, strong) NSDictionary *custom; /** - * @brief \c Space creation date. + * @brief \c Member data modification date. */ -@property (nonatomic, readonly, copy) NSDate *created; +@property (nonatomic, readonly, strong) NSDate *updated; /** - * @brief \c Space data modification date. + * @brief Identifier which is listed in \c channel's members list. */ -@property (nonatomic, readonly, copy) NSDate *updated; +@property (nonatomic, readonly, copy) NSString *uuid; /** * @brief \c Member object version identifier. diff --git a/PubNub/Data/Models/PNMember.m b/PubNub/Data/Models/PNMember.m index 42cc85a63..c63a5adc0 100644 --- a/PubNub/Data/Models/PNMember.m +++ b/PubNub/Data/Models/PNMember.m @@ -1,12 +1,12 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "NSDateFormatter+PNCacheable.h" +#import "PNUUIDMetadata+Private.h" #import "PNMember+Private.h" -#import "PNUser+Private.h" NS_ASSUME_NONNULL_BEGIN @@ -19,24 +19,20 @@ @interface PNMember () #pragma mark - Information /** - * @brief Additional information associated with \c user in context of his membership in \c space. + * @brief \c Metadata associated with \c UUID which is listed in \c channel's members list. */ -@property (nonatomic, nullable, strong) NSDictionary *custom; - -/** - * @brief \c User which is listed in \c space's members list. - */ -@property (nonatomic, nullable, strong) PNUser *user; +@property (nonatomic, nullable, strong) PNUUIDMetadata *metadata; /** - * @brief \c Space creation date. + * @brief Additional information from \c metadata which has been associated with \c UUID during + * \c channel \c member \c add requests. */ -@property (nonatomic, copy) NSDate *created; +@property (nonatomic, nullable, strong) NSDictionary *custom; /** - * @brief \c Space data modification date. + * @brief \c Member data modification date. */ -@property (nonatomic, copy) NSDate *updated; +@property (nonatomic, strong) NSDate *updated; /** * @brief \c Member object version identifier. @@ -49,12 +45,11 @@ @interface PNMember () /** * @brief Initialize \c member data model. * - * @param identifier Identifier of \c user which is listed in \c space's members list. - * @param user \c User listed in \c space's members list. + * @param metadata \c Metadata which associated with specified \c UUID in context of \c channel. * * @return Initialized and ready to use \c member representation model. */ -- (instancetype)initWithUserId:(NSString *)identifier user:(nullable PNUser *)user; +- (instancetype)initWithUUIDMetadata:(PNUUIDMetadata *)metadata; #pragma mark - @@ -73,20 +68,11 @@ @implementation PNMember + (instancetype)memberFromDictionary:(NSDictionary *)data { NSDateFormatter *formatter = [NSDateFormatter pn_objectsDateFormatter]; - PNUser *user = nil; - - if (data[@"user"]) { - user = [PNUser userFromDictionary:data[@"user"]]; - } - - PNMember *member = [PNMember memberWithUserId:data[@"id"] user:user]; + PNUUIDMetadata *uuidMetadata = [PNUUIDMetadata uuidMetadataFromDictionary:data[@"uuid"]]; + PNMember *member = [PNMember memberWithUUIDMetadata:uuidMetadata]; member.custom = data[@"custom"]; member.eTag = data[@"eTag"]; - if (data[@"created"]) { - member.created = [formatter dateFromString:data[@"created"]]; - } - if (data[@"updated"]) { member.updated = [formatter dateFromString:data[@"updated"]]; } @@ -94,16 +80,16 @@ + (instancetype)memberFromDictionary:(NSDictionary *)data { return member; } -+ (instancetype)memberWithUserId:(NSString *)identifier user:(PNUser *)user { - return [[self alloc] initWithUserId:identifier user:user]; ++ (instancetype)memberWithUUIDMetadata:(PNUUIDMetadata *)metadata { + return [[self alloc] initWithUUIDMetadata:metadata]; } -- (instancetype)initWithUserId:(NSString *)identifier user:(nullable PNUser *)user { +- (instancetype)initWithUUIDMetadata:(PNUUIDMetadata *)metadata { if ((self = [super init])) { - _userId = [identifier copy]; - _user = user; + _uuid = [metadata.uuid copy]; + _metadata = metadata; } - + return self; } diff --git a/PubNub/Data/Models/PNMembership+Private.h b/PubNub/Data/Models/PNMembership+Private.h index 297606d23..7334ab1fa 100644 --- a/PubNub/Data/Models/PNMembership+Private.h +++ b/PubNub/Data/Models/PNMembership+Private.h @@ -8,9 +8,9 @@ NS_ASSUME_NONNULL_BEGIN * @brief Private \c membership extension to provide ability to set data from service response. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNMembership (Private) @@ -22,19 +22,18 @@ NS_ASSUME_NONNULL_BEGIN * * @param data Dictionary with information about \c membership from Objects API. * - * @return Configured and ready to use \c space membership model. + * @return Configured and ready to use \c membership data model. */ + (instancetype)membershipFromDictionary:(NSDictionary *)data; /** * @brief Create and configure \c membership data model. * - * @param identifier Identifier of \c space with which \c user has membership. - * @param space \c Space with which \c user has membership. + * @param metadata \c Metadata which associated with \c UUID in context of \c channel. * * @return Configured and ready to use \c membership representation model. */ -+ (instancetype)membershipWithSpaceId:(NSString *)identifier space:(nullable PNSpace *)space; ++ (instancetype)membershipWithChannelMetadata:(PNChannelMetadata *)metadata; #pragma mark - diff --git a/PubNub/Data/Models/PNMembership.h b/PubNub/Data/Models/PNMembership.h index dd8869a3c..be947cbc7 100644 --- a/PubNub/Data/Models/PNMembership.h +++ b/PubNub/Data/Models/PNMembership.h @@ -3,7 +3,7 @@ #pragma mark Class forward -@class PNSpace; +@class PNChannelMetadata; NS_ASSUME_NONNULL_BEGIN @@ -11,12 +11,12 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Interface declaration /** - * @brief Object which is used to represent \c user's membership in \c space. + * @brief Object which is used to represent \c UUID's membership in \c channel. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNMembership : NSObject @@ -24,32 +24,35 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Information /** - * @brief Additional information associated with \c user in context of his membership in \c space. + * @brief \c Metadata associated with \c channel which is listed in \c UUID's memberships list. + * + * @note This property will be set only if \b PNMembershipChannelField has been added to + * \c includeFields list during request. */ -@property (nonatomic, nullable, readonly, strong) NSDictionary *custom; +@property (nonatomic, nullable, readonly, strong) PNChannelMetadata *metadata; /** - * @brief \c Space with which \c user linked through membership. - * - * @note This property will be set only if \b PNMembershipsIncludeFields.space has been added to - * \c includeFields list during request. + * @brief Additional information from \c metadata which has been associated with \c UUID during + * \c UUID \c membership \c add requests. */ -@property (nonatomic, nullable, readonly, strong) PNSpace *space; +@property (nonatomic, nullable, readonly, strong) NSDictionary *custom; /** - * @brief Identifier of \c space with which \c user linked through membership. + * @brief \c UUID's for which membership has been created / removed. + * + * @note This value is set only when object received as one of subscription events. */ -@property (nonatomic, readonly, strong) NSString *spaceId; +@property (nonatomic, nullable, readonly, copy) NSString *uuid; /** - * @brief \c Membership creation date. + * @brief Name of channel which is listed in \c UUID's memberships list. */ -@property (nonatomic, readonly, copy) NSDate *created; +@property (nonatomic, readonly, copy) NSString *channel; /** * @brief \c Membership data modification date. */ -@property (nonatomic, readonly, copy) NSDate *updated; +@property (nonatomic, readonly, strong) NSDate *updated; /** * @brief \c Membership object version identifier. diff --git a/PubNub/Data/Models/PNMembership.m b/PubNub/Data/Models/PNMembership.m index 2d2969e95..62b846c15 100644 --- a/PubNub/Data/Models/PNMembership.m +++ b/PubNub/Data/Models/PNMembership.m @@ -1,12 +1,12 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "NSDateFormatter+PNCacheable.h" +#import "PNChannelMetadata+Private.h" #import "PNMembership+Private.h" -#import "PNSpace+Private.h" NS_ASSUME_NONNULL_BEGIN @@ -19,32 +19,32 @@ @interface PNMembership () #pragma mark - Information /** - * @brief Additional information associated with \c user in context of his membership in \c space. + * @brief \c Metadata associated with \c channel which is listed in \c UUID's memberships list. */ -@property (nonatomic, nullable, strong) NSDictionary *custom; +@property (nonatomic, nullable, strong) PNChannelMetadata *metadata; /** - * @brief \c Space with which \c user linked through membership. - * - * @note This property will be set only if \b PNMembershipsIncludeFields.space has been added to - * \c includeFields list during request. + * @brief Additional information from \c metadata which has been associated with \c UUID during + * \c UUID \c membership \c add requests. */ -@property (nonatomic, nullable, strong) PNSpace *space; +@property (nonatomic, nullable, strong) NSDictionary *custom; /** - * @brief Identifier of \c space with which \c user linked through membership. + * @brief \c UUID's for which membership has been created / removed. + * + * @note This value is set only when object received as one of subscription events. */ -@property (nonatomic, strong) NSString *spaceId; +@property (nonatomic, nullable, copy) NSString *uuid; /** - * @brief \c Membership creation date. + * @brief Name of channel which is listed in \c UUID's memberships list. */ -@property (nonatomic, copy) NSDate *created; +@property (nonatomic, copy) NSString *channel; /** * @brief \c Membership data modification date. */ -@property (nonatomic, copy) NSDate *updated; +@property (nonatomic, strong) NSDate *updated; /** * @brief \c Membership object version identifier. @@ -57,12 +57,19 @@ @interface PNMembership () /** * @brief Initialize \c membership data model. * - * @param identifier Identifier of \c space with which \c user has membership. - * @param space \c Space with which \c user has membership. + * @param metadata \c Metadata which associated with \c UUID in context of \c channel. * * @return Initialized and ready to use \c membership representation model. */ -- (instancetype)initWithSpaceId:(NSString *)identifier space:(nullable PNSpace *)space; +- (instancetype)initWithChannelMetadata:(PNChannelMetadata *)metadata; + + +#pragma mark - Misc + +/** + * @brief Translate \c channel \c metadata data model to dictionary. + */ +- (NSDictionary *)dictionaryRepresentation; #pragma mark - @@ -80,41 +87,54 @@ @implementation PNMembership + (instancetype)membershipFromDictionary:(NSDictionary *)data { NSDateFormatter *formatter = [NSDateFormatter pn_objectsDateFormatter]; - PNSpace *space = nil; - - if (data[@"space"]) { - space = [PNSpace spaceFromDictionary:data[@"space"]]; - } - - PNMembership *membership = [PNMembership membershipWithSpaceId:data[@"id"] space:space]; + PNChannelMetadata *channelMetadata = [PNChannelMetadata channelMetadataFromDictionary:data[@"channel"]]; + PNMembership *membership = [PNMembership membershipWithChannelMetadata:channelMetadata]; membership.custom = data[@"custom"]; membership.eTag = data[@"eTag"]; - if (data[@"created"]) { - membership.created = [formatter dateFromString:data[@"created"]]; - } - if (data[@"updated"]) { membership.updated = [formatter dateFromString:data[@"updated"]]; } + if (data[@"uuid"]) { + membership.uuid = data[@"uuid"][@"id"]; + } + return membership; } -+ (instancetype)membershipWithSpaceId:(NSString *)identifier space:(PNSpace *)space { - - return [[self alloc] initWithSpaceId:identifier space:space]; ++ (instancetype)membershipWithChannelMetadata:(PNChannelMetadata *)metadata { + return [[self alloc] initWithChannelMetadata:metadata]; } -- (instancetype)initWithSpaceId:(NSString *)identifier space:(PNSpace *)space { +- (instancetype)initWithChannelMetadata:(PNChannelMetadata *)metadata { if ((self = [super init])) { - _spaceId = [identifier copy]; - _space = space; + _channel = [metadata.channel copy]; + _metadata = metadata; } - + return self; } + +#pragma mark - Misc + +- (NSDictionary *)dictionaryRepresentation { + NSMutableDictionary *dictionary = [@{ @"type": @"membership" } mutableCopy]; + + dictionary[@"metadata"] = self.metadata.debugDescription; + dictionary[@"channel"] = self.channel; + dictionary[@"custom"] = self.custom; + dictionary[@"uuid"] = self.uuid; + dictionary[@"eTag"] = self.eTag; + + return dictionary; +} + +- (NSString *)debugDescription { + return [self dictionaryRepresentation].description; +} + #pragma mark - diff --git a/PubNub/Data/Models/PNSpace+Private.h b/PubNub/Data/Models/PNSpace+Private.h deleted file mode 100644 index 1829f01e8..000000000 --- a/PubNub/Data/Models/PNSpace+Private.h +++ /dev/null @@ -1,68 +0,0 @@ -#import "PNSpace.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Private interface declaration - -/** - * @brief Private \c space extension to provide ability to set data from service response. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNSpace (Private) - - -#pragma mark - Information - -/** - * @brief Additional information about \c space. - */ -@property (nonatomic, nullable, copy) NSString *information; - -/** - * @brief Additional / complex attributes which has been associated with \c space. - */ -@property (nonatomic, nullable, copy) NSDictionary *custom; - -/** - * @brief \c Space creation date. - */ -@property (nonatomic, nullable, copy) NSDate *created; - -/** - * @brief \c Space data modification date. - */ -@property (nonatomic, nullable, copy) NSDate *updated; - - -#pragma mark - Initialization & Configuration - -/** - * @brief Create and configure \c space data model from dictionary. - * - * @param data Dictionary with information about \c user from Objects API. - * - * @return Configured and ready to use \c space representation model. - */ -+ (instancetype)spaceFromDictionary:(NSDictionary *)data; - -/** - * @brief Create and configure \c space data model. - * - * @param identifier Unique \c space identifier. - * @param name Name which has been associated to \c space with specified \c identifier. - * - * @return Configured and ready to use \c space representation model. - */ -+ (instancetype)spaceWithID:(NSString *)identifier name:(NSString *)name; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Models/PNSpace.h b/PubNub/Data/Models/PNSpace.h deleted file mode 100644 index 1c5ae3660..000000000 --- a/PubNub/Data/Models/PNSpace.h +++ /dev/null @@ -1,61 +0,0 @@ -#import - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief Object which is used to represent \c space. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNSpace : NSObject - - -#pragma mark - Information - -/** - * @brief Additional information about \c space. - */ -@property (nonatomic, nullable, readonly, copy) NSString *information; - -/** - * @brief Additional / complex attributes which has been associated with \c space. - */ -@property (nonatomic, nullable, readonly, copy) NSDictionary *custom; - -/** - * @brief \c Space identifier. - */ -@property (nonatomic, readonly, copy) NSString *identifier; - -/** - * @brief \c Space creation date. - */ -@property (nonatomic, readonly, copy) NSDate *created; - -/** - * @brief \c Space data modification date. - */ -@property (nonatomic, readonly, copy) NSDate *updated; - -/** - * @brief Name which has been associated with \c space. - */ -@property (nonatomic, readonly, copy) NSString *name; - -/** - * @brief \c Space object version identifier. - */ -@property (nonatomic, readonly, copy) NSString *eTag; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Models/PNSpace.m b/PubNub/Data/Models/PNSpace.m deleted file mode 100644 index 544940162..000000000 --- a/PubNub/Data/Models/PNSpace.m +++ /dev/null @@ -1,118 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "NSDateFormatter+PNCacheable.h" -#import "PNSpace+Private.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interface declaration - -@interface PNSpace () - - -#pragma mark - Information - -/** - * @brief Additional information about \c space. - */ -@property (nonatomic, nullable, copy) NSString *information; - -/** - * @brief Additional / complex attributes which has been associated with \c space. - */ -@property (nonatomic, nullable, copy) NSDictionary *custom; - -/** - * @brief \c Space creation date. - */ -@property (nonatomic, nullable, copy) NSDate *created; - -/** - * @brief \c Space data modification date. - */ -@property (nonatomic, nullable, copy) NSDate *updated; - -/** - * @brief \c Space object version identifier. - */ -@property (nonatomic, nullable, copy) NSString *eTag; - -/** - * @brief \c Space identifier. - */ -@property (nonatomic, copy) NSString *identifier; - -/** - * @brief Name which has been associated with \c space. - */ -@property (nonatomic, copy) NSString *name; - - -#pragma mark - Initialization & Configuration - -/** - * @brief Initialize \c space data model. - * - * @param identifier Unique \c space identifier. - * @param name Name which has been associated with \c space. - * - * @return Initialized and ready to use \c space representation model. - */ -- (instancetype)initWithID:(NSString *)identifier name:(NSString *)name; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Interface implementation - -@implementation PNSpace - - -#pragma mark - Initialization & Configuration - -+ (instancetype)spaceFromDictionary:(NSDictionary *)data { - PNSpace *space = [PNSpace spaceWithID:data[@"id"] name:data[@"name"]]; - space.information = data[@"description"]; - space.custom = data[@"custom"]; - space.eTag = data[@"eTag"]; - - NSDateFormatter *formatter = [NSDateFormatter pn_objectsDateFormatter]; - - if (data[@"created"]) { - space.created = [formatter dateFromString:data[@"created"]]; - } - - if (data[@"updated"]) { - space.updated = [formatter dateFromString:data[@"updated"]]; - } - - return space; -} - -+ (instancetype)spaceWithID:(NSString *)identifier name:(NSString *)name { - return [[self alloc] initWithID:identifier name:name]; -} - -- (instancetype)initWithID:(NSString *)identifier name:(NSString *)name { - if ((self = [super init])) { - _identifier = [identifier copy]; - _name = [name copy]; - } - - return self; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Models/PNUUIDMetadata+Private.h b/PubNub/Data/Models/PNUUIDMetadata+Private.h new file mode 100644 index 000000000..2efbc7dec --- /dev/null +++ b/PubNub/Data/Models/PNUUIDMetadata+Private.h @@ -0,0 +1,78 @@ +#import "PNUUIDMetadata.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Private interface declaration + +/** + * @brief Private \c UUID \c metadata extension to provide ability to set data from service + * response. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNUUIDMetadata (Private) + + +#pragma mark - Information + +/** + * @brief Additional / complex attributes which should be associated with \c metadata. + */ +@property (nonatomic, nullable, strong) NSDictionary *custom; + +/** + * @brief Identifier from external service (database, auth service). + */ +@property (nonatomic, nullable, copy) NSString *externalId; + +/** + * @brief URL at which profile available. + */ +@property (nonatomic, nullable, copy) NSString *profileUrl; + +/** + * @brief Last \c metadata update date. + */ +@property (nonatomic, nullable, strong) NSDate *updated; + +/** + * @brief Email address. + */ +@property (nonatomic, nullable, copy) NSString *email; + +/** + * @brief Name which should be stored in \c metadata associated with specified \c uuid. + */ +@property (nonatomic, nullable, copy) NSString *name; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c UUID \c metadata data model from dictionary. + * + * @param data Dictionary with information about \c UUID \c metadata from Objects API. + * + * @return Configured and ready to use \c UUID \c metadata representation model. + */ ++ (instancetype)uuidMetadataFromDictionary:(NSDictionary *)data; + +/** + * @brief Create and configure \c UUID \c metadata data model. + * + * @param uuid Identifier with which \c metadata associated. + * + * @return Configured and ready to use \c UUID \c metadata representation model. + */ ++ (instancetype)metadataForUUID:(NSString *)uuid; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Models/PNUUIDMetadata.h b/PubNub/Data/Models/PNUUIDMetadata.h new file mode 100644 index 000000000..43033aad1 --- /dev/null +++ b/PubNub/Data/Models/PNUUIDMetadata.h @@ -0,0 +1,66 @@ +#import + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief Object which is used to represent \c UUID \c metadata. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNUUIDMetadata : NSObject + + +#pragma mark - Information + +/** + * @brief Additional / complex attributes which should be associated with \c metadata. + */ +@property (nonatomic, nullable, readonly, strong) NSDictionary *custom; + +/** + * @brief Identifier from external service (database, auth service). + */ +@property (nonatomic, nullable, readonly, copy) NSString *externalId; + +/** + * @brief URL at which profile available. + */ +@property (nonatomic, nullable, readonly, copy) NSString *profileUrl; + +/** + * @brief Email address. + */ +@property (nonatomic, nullable, readonly, copy) NSString *email; + +/** + * @brief Last \c metadata update date. + */ +@property (nonatomic, readonly, strong) NSDate *updated; + +/** + * @brief Name which should be stored in \c metadata associated with specified \c uuid. + */ +@property (nonatomic, readonly, copy) NSString *name; + +/** + * @brief \c UUID with which \c metadata has been associated. + */ +@property (nonatomic, readonly, copy) NSString *uuid; + +/** + * @brief \c UUID \c metadata object version identifier. + */ +@property (nonatomic, readonly, copy) NSString *eTag; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Models/PNUUIDMetadata.m b/PubNub/Data/Models/PNUUIDMetadata.m new file mode 100644 index 000000000..5f61d974f --- /dev/null +++ b/PubNub/Data/Models/PNUUIDMetadata.m @@ -0,0 +1,150 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "NSDateFormatter+PNCacheable.h" +#import "PNUUIDMetadata+Private.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interface declaration + +@interface PNUUIDMetadata () + + +#pragma mark - Information + +/** + * @brief Identifier from external service (database, auth service). + */ +@property (nonatomic, nullable, copy) NSString *externalId; + +/** + * @brief URL at which profile available. + */ +@property (nonatomic, nullable, copy) NSString *profileUrl; + +/** + * @brief Additional / complex attributes which should be associated with \c metadata. + */ +@property (nonatomic, nullable, strong) NSDictionary *custom; + +/** + * @brief Last \c metadata update date. + */ +@property (nonatomic, nullable, strong) NSDate *updated; + +/** + * @brief Email address. + */ +@property (nonatomic, nullable, copy) NSString *email; + +/** + * @brief \c UUID \c metadata object version identifier. + */ +@property (nonatomic, nullable, copy) NSString *eTag; + +/** + * @brief \c UUID with which \c metadata has been associated. + */ +@property (nonatomic, copy) NSString *uuid; + +/** + * @brief Name which should be stored in \c metadata associated with specified \c uuid. + */ +@property (nonatomic, copy) NSString *name; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Initialize \c UUID \c metadata data model. + * + * @param uuid Identifier with which \c metadata associated. + * + * @return Initialized and ready to use \c UUID \c metadata representation model. + */ +- (instancetype)initWithUUID:(NSString *)uuid; + + +#pragma mark - Misc + +/** + * @brief Translate \c UUID \c metadata data model to dictionary. + */ +- (NSDictionary *)dictionaryRepresentation; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interface implementation + +@implementation PNUUIDMetadata + + +#pragma mark - Initialization & Configuration + ++ (instancetype)uuidMetadataFromDictionary:(NSDictionary *)data { + PNUUIDMetadata *metadata = [PNUUIDMetadata metadataForUUID:data[@"id"]]; + metadata.externalId = data[@"externalId"]; + metadata.profileUrl = data[@"profileUrl"]; + metadata.custom = data[@"custom"]; + metadata.email = data[@"email"]; + metadata.eTag = data[@"eTag"]; + metadata.name = data[@"name"]; + + NSDateFormatter *formatter = [NSDateFormatter pn_objectsDateFormatter]; + + if (data[@"updated"]) { + metadata.updated = [formatter dateFromString:data[@"updated"]]; + } + + return metadata; +} + ++ (instancetype)metadataForUUID:(NSString *)uuid { + return [[self alloc] initWithUUID:uuid]; +} + +- (instancetype)initWithUUID:(NSString *)uuid { + if ((self = [super init])) { + _uuid = [uuid copy]; + } + + return self; +} + + +#pragma mark - Misc + +- (NSDictionary *)dictionaryRepresentation { + NSMutableDictionary *dictionary = [@{ @"type": @"uuid-metadata" } mutableCopy]; + + dictionary[@"externalId"] = self.externalId; + dictionary[@"profileUrl"] = self.profileUrl; + dictionary[@"updated"] = self.updated; + dictionary[@"custom"] = self.custom; + dictionary[@"email"] = self.email; + dictionary[@"name"] = self.name; + dictionary[@"uuid"] = self.uuid; + dictionary[@"eTag"] = self.eTag; + + return dictionary; +} + +- (NSString *)debugDescription { + return [self dictionaryRepresentation].description; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Models/PNUser+Private.h b/PubNub/Data/Models/PNUser+Private.h deleted file mode 100644 index 106228408..000000000 --- a/PubNub/Data/Models/PNUser+Private.h +++ /dev/null @@ -1,78 +0,0 @@ -#import "PNUser.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Private interface declaration - -/** - * @brief Private \c user extension to provide ability to set data from service response. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUser (Private) - - -#pragma mark - Information - -/** - * @brief \c User identifier from external service (database, auth service). - */ -@property (nonatomic, nullable, copy) NSString *externalId; - -/** - * @brief URL at which \c user's profile available. - */ -@property (nonatomic, nullable, copy) NSString *profileUrl; - -/** - * @brief Additional / complex attributes which has been associated with \c user. - */ -@property (nonatomic, nullable, copy) NSDictionary *custom; - -/** - * @brief \c User creation date. - */ -@property (nonatomic, nullable, copy) NSDate *created; - -/** - * @brief \c User data modification date. - */ -@property (nonatomic, nullable, copy) NSDate *updated; - -/** - * @brief Email address which should be associated with \c user. - */ -@property (nonatomic, nullable, copy) NSString *email; - - -#pragma mark - Initialization & Configuration - -/** - * @brief Create and configure \c user data model from dictionary. - * - * @param data Dictionary with information about \c user from Objects API. - * - * @return Configured and ready to use \c user representation model. - */ -+ (instancetype)userFromDictionary:(NSDictionary *)data; - -/** - * @brief Create and configure \c user data model. - * - * @param identifier Unique \c user identifier. - * @param name Name which has been associated with \c user. - * - * @return Configured and ready to use \c user representation model. - */ -+ (instancetype)userWithID:(NSString *)identifier name:(NSString *)name; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Models/PNUser.h b/PubNub/Data/Models/PNUser.h deleted file mode 100644 index 091735cb2..000000000 --- a/PubNub/Data/Models/PNUser.h +++ /dev/null @@ -1,71 +0,0 @@ -#import - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief Object which is used to represent \c user. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUser : NSObject - - -#pragma mark - Information - -/** - * @brief \c User identifier from external service (database, auth service). - */ -@property (nonatomic, nullable, readonly, copy) NSString *externalId; - -/** - * @brief URL at which \c user's profile available. - */ -@property (nonatomic, nullable, readonly, copy) NSString *profileUrl; - -/** - * @brief Additional / complex attributes which has been associated with \c user. - */ -@property (nonatomic, nullable, readonly, copy) NSDictionary *custom; - -/** - * @brief Email address which should be associated with \c user. - */ -@property (nonatomic, nullable, readonly, copy) NSString *email; - -/** - * @brief \c User identifier. - */ -@property (nonatomic, readonly, copy) NSString *identifier; - -/** - * @brief \c User creation date. - */ -@property (nonatomic, readonly, copy) NSDate *created; - -/** - * @brief \c User data modification date. - */ -@property (nonatomic, readonly, copy) NSDate *updated; - -/** - * @brief Name which has been associated with \c user. - */ -@property (nonatomic, readonly, copy) NSString *name; - -/** - * @brief \c User object version identifier. - */ -@property (nonatomic, readonly, copy) NSString *eTag; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Models/PNUser.m b/PubNub/Data/Models/PNUser.m deleted file mode 100644 index a4146815b..000000000 --- a/PubNub/Data/Models/PNUser.m +++ /dev/null @@ -1,160 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "NSDateFormatter+PNCacheable.h" -#import "PNUser+Private.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interface declaration - -@interface PNUser () - - -#pragma mark - Information - -/** - * @brief \c User identifier from external service (database, auth service). - */ -@property (nonatomic, nullable, copy) NSString *externalId; - -/** - * @brief URL at which \c user's profile available. - */ -@property (nonatomic, nullable, copy) NSString *profileUrl; - -/** - * @brief Additional / complex attributes which has been associated with \c user. - */ -@property (nonatomic, nullable, copy) NSDictionary *custom; - -/** - * @brief Email address which should be associated with \c user. - */ -@property (nonatomic, nullable, copy) NSString *email; - -/** - * @brief \c User creation date. - */ -@property (nonatomic, nullable, copy) NSDate *created; - -/** - * @brief \c User data modification date. - */ -@property (nonatomic, nullable, copy) NSDate *updated; - -/** - * @brief \c User object version identifier. - */ -@property (nonatomic, nullable, copy) NSString *eTag; - -/** - * @brief \c User identifier. - */ -@property (nonatomic, copy) NSString *identifier; - -/** - * @brief Name which has been associated with \c user. - */ -@property (nonatomic, copy) NSString *name; - - -#pragma mark - Initialization & Configuration - -/** - * @brief Initialize \c user data model. - * - * @param identifier Unique \c user identifier. - * @param name Name which has been associated with \c user. - * - * @return Initialized and ready to use \c user representation model. - */ -- (instancetype)initWithID:(NSString *)identifier name:(NSString *)name; - - -#pragma mark - Misc - -/** - * @brief Translate \c user data model to dictionary. - */ -- (NSDictionary *)dictionaryRepresentation; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Interface implementation - -@implementation PNUser - - -#pragma mark - Initialization & Configuration - -+ (instancetype)userFromDictionary:(NSDictionary *)data { - PNUser *user = [PNUser userWithID:data[@"id"] name:data[@"name"]]; - user.externalId = data[@"externalId"]; - user.profileUrl = data[@"profileUrl"]; - user.custom = data[@"custom"]; - user.email = data[@"email"]; - user.eTag = data[@"eTag"]; - - NSDateFormatter *formatter = [NSDateFormatter pn_objectsDateFormatter]; - - if (data[@"created"]) { - user.created = [formatter dateFromString:data[@"created"]]; - } - - if (data[@"updated"]) { - user.updated = [formatter dateFromString:data[@"updated"]]; - } - - return user; -} - -+ (instancetype)userWithID:(NSString *)identifier name:(NSString *)name { - return [[self alloc] initWithID:identifier name:name]; -} - -- (instancetype)initWithID:(NSString *)identifier name:(NSString *)name { - if ((self = [super init])) { - _identifier = [identifier copy]; - _name = [name copy]; - } - - return self; -} - - -#pragma mark - Misc - -- (NSDictionary *)dictionaryRepresentation { - NSMutableDictionary *dictionary = [@{ @"type": @"user" } mutableCopy]; - - dictionary[@"externalId"] = self.externalId; - dictionary[@"profileUrl"] = self.profileUrl; - dictionary[@"created"] = self.created; - dictionary[@"updated"] = self.updated; - dictionary[@"custom"] = self.custom; - dictionary[@"id"] = self.identifier; - dictionary[@"email"] = self.email; - dictionary[@"name"] = self.name; - - return dictionary; -} - -- (NSString *)debugDescription { - return [[self dictionaryRepresentation] description]; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Service Objects/PNCreateSpaceStatus.h b/PubNub/Data/Service Objects/PNCreateSpaceStatus.h deleted file mode 100644 index 869fe0faf..000000000 --- a/PubNub/Data/Service Objects/PNCreateSpaceStatus.h +++ /dev/null @@ -1,57 +0,0 @@ -#import "PNAcknowledgmentStatus.h" -#import "PNServiceData.h" -#import "PNSpace.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interfaces declaration - -/** - * @brief Object which is used to represent Objects API response for \c create \c space request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNCreateSpaceData : PNServiceData - - -#pragma mark - Information - -/** - * @brief Created space object. - */ -@property (nonatomic, nullable, readonly, strong) PNSpace *space; - -#pragma mark - - - -@end - - -/** - * @brief Object which is used to provide access to processed \c create \c space request results. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNCreateSpaceStatus : PNAcknowledgmentStatus - - -#pragma mark - Information - -/** - * @brief \c Create \c space request processed information. - */ -@property (nonatomic, readonly, strong) PNCreateSpaceData *data; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Service Objects/PNCreateSpaceStatus.m b/PubNub/Data/Service Objects/PNCreateSpaceStatus.m deleted file mode 100644 index a51f6c081..000000000 --- a/PubNub/Data/Service Objects/PNCreateSpaceStatus.m +++ /dev/null @@ -1,78 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNServiceData+Private.h" -#import "PNCreateSpaceStatus.h" -#import "PNResult+Private.h" -#import "PNSpace+Private.h" - - -#pragma mark Protected interfaces declaration - -@interface PNCreateSpaceStatus () - - -#pragma mark - Information - -@property (nonatomic, nonnull, strong) PNCreateSpaceData *data; - -#pragma mark - - - -@end - - -@interface PNCreateSpaceData () - - -#pragma mark - Information - -@property (nonatomic, nullable, strong) PNSpace *space; - -#pragma mark - - - -@end - - -#pragma mark - Interfaces implementation - -@implementation PNCreateSpaceData - - -#pragma mark - Information - -- (PNSpace *)space { - if (!_space) { - _space = [PNSpace spaceFromDictionary:self.serviceData[@"space"]]; - } - - return _space; -} - -#pragma mark - - - -@end - - -@implementation PNCreateSpaceStatus - - -#pragma mark - Information - -- (PNCreateSpaceData *)data { - if (!_data) { - _data = [PNCreateSpaceData dataWithServiceResponse:self.serviceData]; - } - - return _data; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Service Objects/PNCreateUserStatus.h b/PubNub/Data/Service Objects/PNCreateUserStatus.h deleted file mode 100644 index a5fc4bb8e..000000000 --- a/PubNub/Data/Service Objects/PNCreateUserStatus.h +++ /dev/null @@ -1,57 +0,0 @@ -#import "PNAcknowledgmentStatus.h" -#import "PNServiceData.h" -#import "PNUser.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interfaces declaration - -/** - * @brief Object which is used to represent Objects API response for \c create \c user request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNCreateUserData : PNServiceData - - -#pragma mark - Information - -/** - * @brief Created user object. - */ -@property (nonatomic, nullable, readonly, strong) PNUser *user; - -#pragma mark - - - -@end - - -/** - * @brief Object which is used to provide access to processed \c create \c user request results. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNCreateUserStatus : PNAcknowledgmentStatus - - -#pragma mark - Information - -/** - * @brief \c Create \c user request processed information. - */ -@property (nonatomic, readonly, strong) PNCreateUserData *data; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Service Objects/PNCreateUserStatus.m b/PubNub/Data/Service Objects/PNCreateUserStatus.m deleted file mode 100644 index f99c3a6c5..000000000 --- a/PubNub/Data/Service Objects/PNCreateUserStatus.m +++ /dev/null @@ -1,82 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNServiceData+Private.h" -#import "PNCreateUserStatus.h" -#import "PNResult+Private.h" -#import "PNUser+Private.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interfaces declaration - -@interface PNCreateUserStatus () - - -#pragma mark - Information - -@property (nonatomic, strong) PNCreateUserData *data; - -#pragma mark - - - -@end - - -@interface PNCreateUserData () - - -#pragma mark - Information - -@property (nonatomic, strong) PNUser *user; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark Interfaces implementation - -@implementation PNCreateUserData - - -#pragma mark - Information - -- (PNUser *)user { - if (!_user) { - _user = [PNUser userFromDictionary:self.serviceData[@"user"]]; - } - - return _user; -} - -#pragma mark - - - -@end - - -@implementation PNCreateUserStatus - - -#pragma mark - Information - -- (PNCreateUserData *)data { - if (!_data) { - _data = [PNCreateUserData dataWithServiceResponse:self.serviceData]; - } - - return _data; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Service Objects/PNFetchChannelsMetadataResult.h b/PubNub/Data/Service Objects/PNFetchChannelsMetadataResult.h new file mode 100644 index 000000000..ccf70f523 --- /dev/null +++ b/PubNub/Data/Service Objects/PNFetchChannelsMetadataResult.h @@ -0,0 +1,127 @@ +#import "PNServiceData.h" +#import "PNResult.h" +#import "PNChannelMetadata.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interfaces declaration + +/** + * @brief Object which is used to represent Objects API response for \c fetch \c channel + * \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchChannelMetadataData : PNServiceData + + +#pragma mark - Information + +/** + * @brief Requested \c channel \c metadata object. + */ +@property (nonatomic, nullable, readonly, strong) PNChannelMetadata *metadata; + +#pragma mark - + + +@end + + +/** + * @brief Object which is used to represent Objects API response for \c fetch \c all \c channels + * \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchAllChannelsMetadataData : PNServiceData + + +#pragma mark - Information + +/** + * @brief List of \c channels \c metadata objects created for current subscribe key. + */ +@property (nonatomic, readonly, strong) NSArray *metadata; + +/** + * @brief Cursor bookmark for fetching the next page. + */ +@property (nonatomic, nullable, readonly, strong) NSString *next; + +/** + * @brief Cursor bookmark for fetching the previous page. + */ +@property (nonatomic, nullable, readonly, strong) NSString *prev; + +/** + * @brief Total number of objects created for current subscribe key. + * + * @note Value will be \c 0 in case if \b PNChannelTotalCountField not added to \c includeFields + * of \b PNFetchAllChannelsMetadataRequest. + */ +@property (nonatomic, readonly, assign) NSUInteger totalCount; + +#pragma mark - + + +@end + + +/** + * @brief Object which is used to provide access to \c fetch \c channel \c metadata request + * response. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchChannelMetadataResult : PNResult + + +#pragma mark - Information + +/** + * @brief \c Fetch \c channel \c metadata request processed information. + */ +@property (nonatomic, readonly, strong) PNFetchChannelMetadataData *data; + +#pragma mark - + + +@end + + +/** + * @brief Object which is used to provide access to \c fetch \c all \c channels \c metadata request + * response. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchAllChannelsMetadataResult : PNResult + + +#pragma mark - Information + +/** + * @brief \c Fetch \c all \c channels \c metadata request processed information. + */ +@property (nonatomic, readonly, strong) PNFetchAllChannelsMetadataData *data; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Service Objects/PNFetchChannelsMetadataResult.m b/PubNub/Data/Service Objects/PNFetchChannelsMetadataResult.m new file mode 100644 index 000000000..030de3bde --- /dev/null +++ b/PubNub/Data/Service Objects/PNFetchChannelsMetadataResult.m @@ -0,0 +1,165 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNFetchChannelsMetadataResult.h" +#import "PNChannelMetadata+Private.h" +#import "PNServiceData+Private.h" +#import "PNResult+Private.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interfaces declaration + +@interface PNFetchChannelMetadataResult () + + +#pragma mark - Information + +@property (nonatomic, nonnull, strong) PNFetchChannelMetadataData *data; + +#pragma mark - + + +@end + + +@interface PNFetchAllChannelsMetadataResult () + + +#pragma mark - Information + +@property (nonatomic, nonnull, strong) PNFetchAllChannelsMetadataData *data; + +#pragma mark - + + +@end + + + +@interface PNFetchChannelMetadataData () + + +#pragma mark - Information + +@property (nonatomic, nullable, strong) PNChannelMetadata *metadata; + +#pragma mark - + + +@end + + +@interface PNFetchAllChannelsMetadataData () + + +#pragma mark - Information + +@property (nonatomic, strong) NSArray *metadata; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interfaces implementation + +@implementation PNFetchChannelMetadataData + + +#pragma mark - Information + +- (PNChannelMetadata *)metadata { + if (!_metadata) { + _metadata = [PNChannelMetadata channelMetadataFromDictionary:self.serviceData[@"channel"]]; + } + + return _metadata; +} + +#pragma mark - + + +@end + + +@implementation PNFetchAllChannelsMetadataData + + +#pragma mark - Information + +- (NSUInteger)totalCount { + return ((NSNumber *)self.serviceData[@"totalCount"]).unsignedIntegerValue; +} + +- (NSArray *)metadata { + if (!_metadata) { + NSMutableArray *channelsMetadata = [NSMutableArray new]; + + for (NSDictionary *metadata in self.serviceData[@"channels"]) { + [channelsMetadata addObject:[PNChannelMetadata channelMetadataFromDictionary:metadata]]; + } + + _metadata = [channelsMetadata copy]; + } + + return _metadata; +} + +- (NSString *)next { + return self.serviceData[@"next"]; +} + +- (NSString *)prev { + return self.serviceData[@"prev"]; +} + +#pragma mark - + + +@end + + +@implementation PNFetchChannelMetadataResult + + +#pragma mark - Information + +- (PNFetchChannelMetadataData *)data { + if (!_data) { + _data = [PNFetchChannelMetadataData dataWithServiceResponse:self.serviceData]; + } + + return _data; +} + +#pragma mark - + + +@end + + +@implementation PNFetchAllChannelsMetadataResult + + +#pragma mark - Information + +- (PNFetchAllChannelsMetadataData *)data { + if (!_data) { + _data = [PNFetchAllChannelsMetadataData dataWithServiceResponse:self.serviceData]; + } + + return _data; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Service Objects/PNFetchMembersResult.h b/PubNub/Data/Service Objects/PNFetchMembersResult.h index 3d9ba2f95..2e782b5e6 100644 --- a/PubNub/Data/Service Objects/PNFetchMembersResult.h +++ b/PubNub/Data/Service Objects/PNFetchMembersResult.h @@ -11,9 +11,9 @@ NS_ASSUME_NONNULL_BEGIN * @brief Object which is used to represent Objects API response for \c fetch \c members request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNFetchMembersData : PNServiceData @@ -36,7 +36,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, nullable, readonly, strong) NSString *prev; /** - * @brief Total number of \c members in \c space's memebrs list. + * @brief Total number of \c members in \c channel's members list. * * @note Value will be \c 0 in case if \c includeCount of \b PNFetchMembersRequest is set to * \c NO. @@ -53,9 +53,9 @@ NS_ASSUME_NONNULL_BEGIN * @brief Object which is used to provide access to processed \c fetch \c members request results. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNFetchMembersResult : PNResult diff --git a/PubNub/Data/Service Objects/PNFetchMembersResult.m b/PubNub/Data/Service Objects/PNFetchMembersResult.m index 385633c74..08513bd2d 100644 --- a/PubNub/Data/Service Objects/PNFetchMembersResult.m +++ b/PubNub/Data/Service Objects/PNFetchMembersResult.m @@ -1,8 +1,8 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNServiceData+Private.h" #import "PNFetchMembersResult.h" diff --git a/PubNub/Data/Service Objects/PNFetchMembershipsResult.h b/PubNub/Data/Service Objects/PNFetchMembershipsResult.h index d713225bc..5755a314e 100644 --- a/PubNub/Data/Service Objects/PNFetchMembershipsResult.h +++ b/PubNub/Data/Service Objects/PNFetchMembershipsResult.h @@ -12,9 +12,9 @@ NS_ASSUME_NONNULL_BEGIN * request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNFetchMembershipsData : PNServiceData @@ -37,7 +37,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, nullable, readonly, strong) NSString *prev; /** - * @brief Total number of \c memberships in which \c user participate. + * @brief Total number of \c memberships in which \c UUID participate. * * @note Value will be \c 0 in case if \c includeCount of \b PNFetchMembershipsRequest is set to * \c NO. @@ -55,9 +55,9 @@ NS_ASSUME_NONNULL_BEGIN * results. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNFetchMembershipsResult : PNResult diff --git a/PubNub/Data/Service Objects/PNFetchMembershipsResult.m b/PubNub/Data/Service Objects/PNFetchMembershipsResult.m index 406cf8862..8caa34475 100644 --- a/PubNub/Data/Service Objects/PNFetchMembershipsResult.m +++ b/PubNub/Data/Service Objects/PNFetchMembershipsResult.m @@ -1,8 +1,8 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNFetchMembershipsResult.h" #import "PNServiceData+Private.h" diff --git a/PubNub/Data/Service Objects/PNFetchSpacesResult.h b/PubNub/Data/Service Objects/PNFetchSpacesResult.h deleted file mode 100644 index c4654522d..000000000 --- a/PubNub/Data/Service Objects/PNFetchSpacesResult.h +++ /dev/null @@ -1,123 +0,0 @@ -#import "PNServiceData.h" -#import "PNResult.h" -#import "PNSpace.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interfaces declaration - -/** - * @brief Object which is used to represent Objects API response for \c fetch \c space request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchSpaceData : PNServiceData - - -#pragma mark - Information - -/** - * @brief Requested space object. - */ -@property (nonatomic, nullable, readonly, strong) PNSpace *space; - -#pragma mark - - - -@end - - -/** - * @brief Object which is used to represent Objects API response for \c fetch \c all \c spaces - * request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchSpacesData : PNServiceData - - -#pragma mark - Information - -/** - * @brief List of space objects created for current subscribe key. - */ -@property (nonatomic, readonly, strong) NSArray *spaces; - -/** - * @brief Cursor bookmark for fetching the next page. - */ -@property (nonatomic, nullable, readonly, strong) NSString *next; - -/** - * @brief Cursor bookmark for fetching the previous page. - */ -@property (nonatomic, nullable, readonly, strong) NSString *prev; - -/** - * @brief Total number of spaces created for current subscribe key. - * - * @note Value will be \c 0 in case if \c includeCount of \b PNFetchSpacesRequest is set to \c NO. - */ -@property (nonatomic, readonly, assign) NSUInteger totalCount; - -#pragma mark - - - -@end - - -/** - * @brief Object which is used to provide access to \c fetch \c space request response. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchSpaceResult : PNResult - - -#pragma mark - Information - -/** - * @brief \c Fetch \c space request processed information. - */ -@property (nonatomic, readonly, strong) PNFetchSpaceData *data; - -#pragma mark - - - -@end - - -/** - * @brief Object which is used to provide access to \c fetch \c all \c spaces request response. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchSpacesResult : PNResult - - -#pragma mark - Information - -/** - * @brief \c Fetch \c all \c spaces request processed information. - */ -@property (nonatomic, readonly, strong) PNFetchSpacesData *data; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Service Objects/PNFetchSpacesResult.m b/PubNub/Data/Service Objects/PNFetchSpacesResult.m deleted file mode 100644 index 926c7de28..000000000 --- a/PubNub/Data/Service Objects/PNFetchSpacesResult.m +++ /dev/null @@ -1,165 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNServiceData+Private.h" -#import "PNFetchSpacesResult.h" -#import "PNResult+Private.h" -#import "PNSpace+Private.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interfaces declaration - -@interface PNFetchSpaceResult () - - -#pragma mark - Information - -@property (nonatomic, nonnull, strong) PNFetchSpaceData *data; - -#pragma mark - - - -@end - - -@interface PNFetchSpacesResult () - - -#pragma mark - Information - -@property (nonatomic, nonnull, strong) PNFetchSpacesData *data; - -#pragma mark - - - -@end - - - -@interface PNFetchSpaceData () - - -#pragma mark - Information - -@property (nonatomic, nullable, strong) PNSpace *space; - -#pragma mark - - - -@end - - -@interface PNFetchSpacesData () - - -#pragma mark - Information - -@property (nonatomic, strong) NSArray *spaces; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Interfaces implementation - -@implementation PNFetchSpaceData - - -#pragma mark - Information - -- (PNSpace *)space { - if (!_space) { - _space = [PNSpace spaceFromDictionary:self.serviceData[@"space"]]; - } - - return _space; -} - -#pragma mark - - - -@end - - -@implementation PNFetchSpacesData - - -#pragma mark - Information - -- (NSUInteger)totalCount { - return ((NSNumber *)self.serviceData[@"totalCount"]).unsignedIntegerValue; -} - -- (NSArray *)spaces { - if (!_spaces) { - NSMutableArray *spaces = [NSMutableArray new]; - - for (NSDictionary *space in self.serviceData[@"spaces"]) { - [spaces addObject:[PNSpace spaceFromDictionary:space]]; - } - - _spaces = [spaces copy]; - } - - return _spaces; -} - -- (NSString *)next { - return self.serviceData[@"next"]; -} - -- (NSString *)prev { - return self.serviceData[@"prev"]; -} - -#pragma mark - - - -@end - - -@implementation PNFetchSpaceResult - - -#pragma mark - Information - -- (PNFetchSpaceData *)data { - if (!_data) { - _data = [PNFetchSpaceData dataWithServiceResponse:self.serviceData]; - } - - return _data; -} - -#pragma mark - - - -@end - - -@implementation PNFetchSpacesResult - - -#pragma mark - Information - -- (PNFetchSpacesData *)data { - if (!_data) { - _data = [PNFetchSpacesData dataWithServiceResponse:self.serviceData]; - } - - return _data; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Service Objects/PNFetchUUIDMetadataResult.h b/PubNub/Data/Service Objects/PNFetchUUIDMetadataResult.h new file mode 100644 index 000000000..0d69f7900 --- /dev/null +++ b/PubNub/Data/Service Objects/PNFetchUUIDMetadataResult.h @@ -0,0 +1,125 @@ +#import "PNUUIDMetadata.h" +#import "PNServiceData.h" +#import "PNResult.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interfaces declaration + +/** + * @brief Object which is used to represent Objects API response for \c fetch \c UUID \c metadata + * request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchUUIDMetadataData : PNServiceData + + +#pragma mark - Information + +/** + * @brief Requested \c UUID \c metadata object. + */ +@property (nonatomic, nullable, readonly, strong) PNUUIDMetadata *metadata; + +#pragma mark - + + +@end + +/** + * @brief Object which is used to represent Objects API response for \c fetch \c all \c UUID + * \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchAllUUIDMetadataData : PNServiceData + + +#pragma mark - Information + +/** + * @brief List of \c UUIDs \c metadata objects created for current subscribe key. + */ +@property (nonatomic, readonly, strong) NSArray *metadata; + +/** + * @brief Cursor bookmark for fetching the next page. + */ +@property (nonatomic, nullable, readonly, strong) NSString *next; + +/** + * @brief Cursor bookmark for fetching the previous page. + */ +@property (nonatomic, nullable, readonly, strong) NSString *prev; + +/** + * @brief Total number of objects created for current subscribe key. + * + * @note Value will be \c 0 in case if \b PNUUIDTotalCountField not added to \c includeFields + * of \b PNFetchAllUUIDMetadataRequest. + */ +@property (nonatomic, readonly, assign) NSUInteger totalCount; + +#pragma mark - + + +@end + + +/** + * @brief Object which is used to provide access to \c fetch \c UUID \c metadata request response. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchUUIDMetadataResult : PNResult + + +#pragma mark - Information + +/** + * @brief \c Fetch \c UUID \c metadata request processed information. + */ +@property (nonatomic, readonly, strong) PNFetchUUIDMetadataData *data; + +#pragma mark - + + +@end + + +/** + * @brief Object which is used to provide access to \c fetch \c all \c UUIDs \c metadata request + * response. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchAllUUIDMetadataResult : PNResult + + +#pragma mark - Information + +/** + * @brief \c Fetch \c all \c UUIDs \c metadata request processed information. + */ +@property (nonatomic, readonly, strong) PNFetchAllUUIDMetadataData *data; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Service Objects/PNFetchUUIDMetadataResult.m b/PubNub/Data/Service Objects/PNFetchUUIDMetadataResult.m new file mode 100644 index 000000000..80c054d50 --- /dev/null +++ b/PubNub/Data/Service Objects/PNFetchUUIDMetadataResult.m @@ -0,0 +1,164 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNFetchUUIDMetadataResult.h" +#import "PNUUIDMetadata+Private.h" +#import "PNServiceData+Private.h" +#import "PNResult+Private.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interfaces declaration + +@interface PNFetchUUIDMetadataResult () + + +#pragma mark - Information + +@property (nonatomic, nonnull, strong) PNFetchUUIDMetadataData *data; + +#pragma mark - + + +@end + + +@interface PNFetchAllUUIDMetadataResult () + + +#pragma mark - Information + +@property (nonatomic, nonnull, strong) PNFetchAllUUIDMetadataData *data; + +#pragma mark - + + +@end + + +@interface PNFetchUUIDMetadataData () + + +#pragma mark - Information + +@property (nonatomic, nullable, strong) PNUUIDMetadata *metadata; + +#pragma mark - + + +@end + + +@interface PNFetchAllUUIDMetadataData () + + +#pragma mark - Information + +@property (nonatomic, strong) NSArray *metadata; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interfaces implementation + +@implementation PNFetchUUIDMetadataData + + +#pragma mark - Information + +- (PNUUIDMetadata *)metadata { + if (!_metadata) { + _metadata = [PNUUIDMetadata uuidMetadataFromDictionary:self.serviceData[@"uuid"]]; + } + + return _metadata; +} + +#pragma mark - + + +@end + + +@implementation PNFetchAllUUIDMetadataData + + +#pragma mark - Information + +- (NSArray *)metadata { + if (!_metadata) { + NSMutableArray *uuidsMetadata = [NSMutableArray new]; + + for (NSDictionary *metadata in self.serviceData[@"uuids"]) { + [uuidsMetadata addObject:[PNUUIDMetadata uuidMetadataFromDictionary:metadata]]; + } + + _metadata = [uuidsMetadata copy]; + } + + return _metadata; +} + +- (NSUInteger)totalCount { + return ((NSNumber *)self.serviceData[@"totalCount"]).unsignedIntegerValue; +} + +- (NSString *)next { + return self.serviceData[@"next"]; +} + +- (NSString *)prev { + return self.serviceData[@"prev"]; +} + +#pragma mark - + + +@end + + +@implementation PNFetchUUIDMetadataResult + + +#pragma mark - Information + +- (PNFetchUUIDMetadataData *)data { + if (!_data) { + _data = [PNFetchUUIDMetadataData dataWithServiceResponse:self.serviceData]; + } + + return _data; +} + +#pragma mark - + + +@end + + +@implementation PNFetchAllUUIDMetadataResult + + +#pragma mark - Information + +- (PNFetchAllUUIDMetadataData *)data { + if (!_data) { + _data = [PNFetchAllUUIDMetadataData dataWithServiceResponse:self.serviceData]; + } + + return _data; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Service Objects/PNFetchUsersResult.h b/PubNub/Data/Service Objects/PNFetchUsersResult.h deleted file mode 100644 index a795cd387..000000000 --- a/PubNub/Data/Service Objects/PNFetchUsersResult.h +++ /dev/null @@ -1,122 +0,0 @@ -#import "PNServiceData.h" -#import "PNResult.h" -#import "PNUser.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interfaces declaration - -/** - * @brief Object which is used to represent Objects API response for \c fetch \c user request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchUserData : PNServiceData - - -#pragma mark - Information - -/** - * @brief Requested user object. - */ -@property (nonatomic, nullable, readonly, strong) PNUser *user; - -#pragma mark - - - -@end - -/** - * @brief Object which is used to represent Objects API response for \c fetch \c all \c users - * request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchUsersData : PNServiceData - - -#pragma mark - Information - -/** - * @brief List of user objects created for current subscribe key. - */ -@property (nonatomic, readonly, strong) NSArray *users; - -/** - * @brief Cursor bookmark for fetching the next page. - */ -@property (nonatomic, nullable, readonly, strong) NSString *next; - -/** - * @brief Cursor bookmark for fetching the previous page. - */ -@property (nonatomic, nullable, readonly, strong) NSString *prev; - -/** - * @brief Total number of users created for current subscribe key. - * - * @note Value will be \c 0 in case if \c includeCount of \b PNFetchUsersRequest is set to \c NO. - */ -@property (nonatomic, readonly, assign) NSUInteger totalCount; - -#pragma mark - - - -@end - - -/** - * @brief Object which is used to provide access to \c fetch \c user request response. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchUserResult : PNResult - - -#pragma mark - Information - -/** - * @brief \c Fetch \c user request processed information. - */ -@property (nonatomic, readonly, strong) PNFetchUserData *data; - -#pragma mark - - - -@end - - -/** - * @brief Object which is used to provide access to \c fetch \c all \c users request response. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchUsersResult : PNResult - - -#pragma mark - Information - -/** - * @brief \c Fetch \c all \c users request processed information. - */ -@property (nonatomic, readonly, strong) PNFetchUsersData *data; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Service Objects/PNFetchUsersResult.m b/PubNub/Data/Service Objects/PNFetchUsersResult.m deleted file mode 100644 index 083232abc..000000000 --- a/PubNub/Data/Service Objects/PNFetchUsersResult.m +++ /dev/null @@ -1,164 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNServiceData+Private.h" -#import "PNFetchUsersResult.h" -#import "PNResult+Private.h" -#import "PNUser+Private.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interfaces declaration - -@interface PNFetchUserResult () - - -#pragma mark - Information - -@property (nonatomic, nonnull, strong) PNFetchUserData *data; - -#pragma mark - - - -@end - - -@interface PNFetchUsersResult () - - -#pragma mark - Information - -@property (nonatomic, nonnull, strong) PNFetchUsersData *data; - -#pragma mark - - - -@end - - -@interface PNFetchUserData () - - -#pragma mark - Information - -@property (nonatomic, nullable, strong) PNUser *user; - -#pragma mark - - - -@end - - -@interface PNFetchUsersData () - - -#pragma mark - Information - -@property (nonatomic, strong) NSArray *users; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Interfaces implementation - -@implementation PNFetchUserData - - -#pragma mark - Information - -- (PNUser *)user { - if (!_user) { - _user = [PNUser userFromDictionary:self.serviceData[@"user"]]; - } - - return _user; -} - -#pragma mark - - - -@end - - -@implementation PNFetchUsersData - - -#pragma mark - Information - -- (NSArray *)users { - if (!_users) { - NSMutableArray *users = [NSMutableArray new]; - - for (NSDictionary *user in self.serviceData[@"users"]) { - [users addObject:[PNUser userFromDictionary:user]]; - } - - _users = [users copy]; - } - - return _users; -} - -- (NSUInteger)totalCount { - return ((NSNumber *)self.serviceData[@"totalCount"]).unsignedIntegerValue; -} - -- (NSString *)next { - return self.serviceData[@"next"]; -} - -- (NSString *)prev { - return self.serviceData[@"prev"]; -} - -#pragma mark - - - -@end - - -@implementation PNFetchUserResult - - -#pragma mark - Information - -- (PNFetchUserData *)data { - if (!_data) { - _data = [PNFetchUserData dataWithServiceResponse:self.serviceData]; - } - - return _data; -} - -#pragma mark - - - -@end - - -@implementation PNFetchUsersResult - - -#pragma mark - Information - -- (PNFetchUsersData *)data { - if (!_data) { - _data = [PNFetchUsersData dataWithServiceResponse:self.serviceData]; - } - - return _data; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Service Objects/PNManageMembersStatus.h b/PubNub/Data/Service Objects/PNManageMembersStatus.h index 5115d3369..c4bc54e2b 100644 --- a/PubNub/Data/Service Objects/PNManageMembersStatus.h +++ b/PubNub/Data/Service Objects/PNManageMembersStatus.h @@ -8,11 +8,12 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interfaces declaration /** - * @brief Object which is used to represent Objects API response for \c manage \c members request. + * @brief Object which is used to represent Objects API response for \c members \c set / + * \c remove / \c manage request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 + * @version 4.14.0 + * @since 4.14.0 * @copyright © 2010-2019 PubNub, Inc. */ @interface PNManageMembersData : PNServiceData @@ -21,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Information /** - * @brief List of updated \c members. + * @brief List of existing \c members. */ @property (nonatomic, readonly, strong) NSArray *members; @@ -36,10 +37,11 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, nullable, readonly, strong) NSString *prev; /** - * @brief Total number of \c updated \c members. + * @brief Total number of existing objects. * - * @note Value will be \c 0 in case if \c includeCount of \b PNManageMembersRequest is set to - * \c NO. + * @note Value will be \c 0 in case if \b PNMemberTotalCountField not added to \c includeFields + * of \b PNSetMembersRequest / \b PNRemoveMembersRequest / \b PNManageMembersRequest or + * \b PNFetchMembersRequest. */ @property (nonatomic, readonly, assign) NSUInteger totalCount; @@ -50,11 +52,12 @@ NS_ASSUME_NONNULL_BEGIN /** - * @brief Object which is used to provide access to processed \c manage \c members request results. + * @brief Object which is used to provide access to processed \c members \c set / + * \c remove / \c manage request results. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 + * @version 4.14.0 + * @since 4.14.0 * @copyright © 2010-2019 PubNub, Inc. */ @interface PNManageMembersStatus : PNAcknowledgmentStatus @@ -63,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Information /** - * @brief \c Manage \c members request processed information. + * @brief \c Members \c set / \c remove / \c manage request processed information. */ @property (nonatomic, readonly, strong) PNManageMembersData *data; diff --git a/PubNub/Data/Service Objects/PNManageMembersStatus.m b/PubNub/Data/Service Objects/PNManageMembersStatus.m index 59c79442e..e5403c653 100644 --- a/PubNub/Data/Service Objects/PNManageMembersStatus.m +++ b/PubNub/Data/Service Objects/PNManageMembersStatus.m @@ -1,7 +1,7 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 + * @version 4.14.0 + * @since 4.14.0 * @copyright © 2010-2019 PubNub, Inc. */ #import "PNManageMembersStatus.h" diff --git a/PubNub/Data/Service Objects/PNManageMembershipsStatus.h b/PubNub/Data/Service Objects/PNManageMembershipsStatus.h index 904e0d184..e1b5210e1 100644 --- a/PubNub/Data/Service Objects/PNManageMembershipsStatus.h +++ b/PubNub/Data/Service Objects/PNManageMembershipsStatus.h @@ -8,12 +8,12 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interfaces declaration /** - * @brief Object which is used to represent Objects API response for \c manage \c memberships - * request. + * @brief Object which is used to represent Objects API response for \c memberships + * \c set / \c remove / \c manage request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 + * @version 4.14.0 + * @since 4.14.0 * @copyright © 2010-2019 PubNub, Inc. */ @interface PNManageMembershipsData : PNServiceData @@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Information /** - * @brief List of updated \c memberships. + * @brief List of existing \c memberships. */ @property (nonatomic, readonly, strong) NSArray *memberships; @@ -37,10 +37,11 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, nullable, readonly, strong) NSString *prev; /** - * @brief Total number of \c updated \c memberships. + * @brief Total number of existing objects. * - * @note Value will be \c 0 in case if \c includeCount of \b PNManageMembershipsRequest is set to - * \c NO. + * @note Value will be \c 0 in case if \b PNMembershipTotalCountField not added to \c includeFields + * of \b PNSetMembershipsRequest / \b PNRemoveMembershipsRequest / \b PNManageMembershipsRequest or + * \b PNFetchMembershipsRequest. */ @property (nonatomic, readonly, assign) NSUInteger totalCount; @@ -51,12 +52,13 @@ NS_ASSUME_NONNULL_BEGIN /** - * @brief Object which is used to provide access to processed \c manage \c memberships request + * @brief Object which is used to provide access to processed \c memberships + * \c set / \c remove / \c manage request * results. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 + * @version 4.14.0 + * @since 4.14.0 * @copyright © 2010-2019 PubNub, Inc. */ @interface PNManageMembershipsStatus : PNAcknowledgmentStatus @@ -65,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Information /** - * @brief \c Manage \c memberships request processed information. + * @brief \c Memberships \c set / \c remove / \c manage request processed information. */ @property (nonatomic, readonly, strong) PNManageMembershipsData *data; diff --git a/PubNub/Data/Service Objects/PNManageMembershipsStatus.m b/PubNub/Data/Service Objects/PNManageMembershipsStatus.m index ef21ef8a2..53cf8af32 100644 --- a/PubNub/Data/Service Objects/PNManageMembershipsStatus.m +++ b/PubNub/Data/Service Objects/PNManageMembershipsStatus.m @@ -1,7 +1,7 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 + * @version 4.14.0 + * @since 4.14.0 * @copyright © 2010-2019 PubNub, Inc. */ #import "PNManageMembershipsStatus.h" diff --git a/PubNub/Data/Service Objects/PNSetChannelMetadataStatus.h b/PubNub/Data/Service Objects/PNSetChannelMetadataStatus.h new file mode 100644 index 000000000..e8143dc3b --- /dev/null +++ b/PubNub/Data/Service Objects/PNSetChannelMetadataStatus.h @@ -0,0 +1,59 @@ +#import "PNAcknowledgmentStatus.h" +#import "PNChannelMetadata.h" +#import "PNServiceData.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interfaces declaration + +/** + * @brief Object which is used to represent Objects API response for \c set \c channel \c metadata + * request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetChannelMetadataData : PNServiceData + + +#pragma mark - Information + +/** + * @brief Associated \c channel's \c metadata object. + */ +@property (nonatomic, nullable, readonly, strong) PNChannelMetadata *metadata; + +#pragma mark - + + +@end + + +/** + * @brief Object which is used to provide access to processed \c set \c channel \c metadata request + * results. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetChannelMetadataStatus : PNAcknowledgmentStatus + + +#pragma mark - Information + +/** + * @brief \c Set \c channel \c metadata request processed information. + */ +@property (nonatomic, readonly, strong) PNSetChannelMetadataData *data; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Service Objects/PNSetChannelMetadataStatus.m b/PubNub/Data/Service Objects/PNSetChannelMetadataStatus.m new file mode 100644 index 000000000..a66bd5ed7 --- /dev/null +++ b/PubNub/Data/Service Objects/PNSetChannelMetadataStatus.m @@ -0,0 +1,82 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNSetChannelMetadataStatus.h" +#import "PNChannelMetadata+Private.h" +#import "PNServiceData+Private.h" +#import "PNResult+Private.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interfaces declaration + +@interface PNSetChannelMetadataStatus () + + +#pragma mark - Information + +@property (nonatomic, nonnull, strong) PNSetChannelMetadataData *data; + +#pragma mark - + + +@end + + +@interface PNSetChannelMetadataData () + + +#pragma mark - Information + +@property (nonatomic, nullable, strong) PNChannelMetadata *metadata; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interfaces implementation + +@implementation PNSetChannelMetadataData + + +#pragma mark - Information + +- (PNChannelMetadata *)metadata { + if (!_metadata) { + _metadata = [PNChannelMetadata channelMetadataFromDictionary:self.serviceData[@"channel"]]; + } + + return _metadata; +} + +#pragma mark - + + +@end + + +@implementation PNSetChannelMetadataStatus + + +#pragma mark - Information + +- (PNSetChannelMetadataData *)data { + if (!_data) { + _data = [PNSetChannelMetadataData dataWithServiceResponse:self.serviceData]; + } + + return _data; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Service Objects/PNSetUUIDMetadataStatus.h b/PubNub/Data/Service Objects/PNSetUUIDMetadataStatus.h new file mode 100644 index 000000000..04d1b907e --- /dev/null +++ b/PubNub/Data/Service Objects/PNSetUUIDMetadataStatus.h @@ -0,0 +1,59 @@ +#import "PNAcknowledgmentStatus.h" +#import "PNUUIDMetadata.h" +#import "PNServiceData.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interfaces declaration + +/** + * @brief Object which is used to represent Objects API response for \c set \c UUID \c metadata + * request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetUUIDMetadataData : PNServiceData + + +#pragma mark - Information + +/** + * @brief Updated \c UUID \c metadata object. + */ +@property (nonatomic, nullable, readonly, strong) PNUUIDMetadata *metadata; + +#pragma mark - + + +@end + + +/** + * @brief Object which is used to provide access to processed \c set \c UUID \c metadata request + * results. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetUUIDMetadataStatus : PNAcknowledgmentStatus + + +#pragma mark - Information + +/** + * @brief \c Set \c UUID \c metadata request processed information. + */ +@property (nonatomic, readonly, strong) PNSetUUIDMetadataData *data; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Service Objects/PNSetUUIDMetadataStatus.m b/PubNub/Data/Service Objects/PNSetUUIDMetadataStatus.m new file mode 100644 index 000000000..2cff3d2cc --- /dev/null +++ b/PubNub/Data/Service Objects/PNSetUUIDMetadataStatus.m @@ -0,0 +1,82 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNSetUUIDMetadataStatus.h" +#import "PNUUIDMetadata+Private.h" +#import "PNServiceData+Private.h" +#import "PNResult+Private.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interfaces declaration + +@interface PNSetUUIDMetadataStatus () + + +#pragma mark - Information + +@property (nonatomic, nonnull, strong) PNSetUUIDMetadataData *data; + +#pragma mark - + + +@end + + +@interface PNSetUUIDMetadataData () + + +#pragma mark - Information + +@property (nonatomic, nullable, strong) PNUUIDMetadata *metadata; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interfaces implementation + +@implementation PNSetUUIDMetadataData + + +#pragma mark - Information + +- (PNUUIDMetadata *)metadata { + if (!_metadata) { + _metadata = [PNUUIDMetadata uuidMetadataFromDictionary:self.serviceData[@"uuid"]]; + } + + return _metadata; +} + +#pragma mark - + + +@end + + +@implementation PNSetUUIDMetadataStatus + + +#pragma mark - Information + +- (PNSetUUIDMetadataData *)data { + if (!_data) { + _data = [PNSetUUIDMetadataData dataWithServiceResponse:self.serviceData]; + } + + return _data; +} + +#pragma mark - + + +@end diff --git a/PubNub/Data/Service Objects/PNSubscriberResults.h b/PubNub/Data/Service Objects/PNSubscriberResults.h index b2c068fc2..15cf46b88 100644 --- a/PubNub/Data/Service Objects/PNSubscriberResults.h +++ b/PubNub/Data/Service Objects/PNSubscriberResults.h @@ -5,7 +5,7 @@ #pragma mark Class forward -@class PNMessageAction; +@class PNChannelMetadata, PNMessageAction, PNUUIDMetadata, PNMembership; @@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN /** * @brief Time when presence event has been triggered. * - * @return Number with unsugned long long timestamp. + * @return Number with unsigned long long timestamp. */ @property (nonatomic, readonly, strong) NSNumber *timetoken; @@ -211,214 +211,54 @@ NS_ASSUME_NONNULL_BEGIN @end - -/** - * @brief Class which allow to get access to \c membership event body received from remote object - * live feed. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNMembershipEventData : PNSubscriberData - - -#pragma mark - Information - -/** - * @brief Additional information which has been associated with \c user during \c space - * \c membership \c create / \c update requests. - */ -@property (nonatomic, nullable, readonly, strong) NSDictionary *custom; - -/** - * @brief \c Membership creation date. - */ -@property (nonatomic, nullable, readonly, strong) NSDate *created; - -/** - * @brief \c Membership modification date or \c nil if removed. - */ -@property (nonatomic, nullable, readonly, strong) NSDate *updated; - -/** - * @brief Time when \c membership event has been triggered. - * - * @return Number with unsugned long long timestamp. - */ -@property (nonatomic, readonly, strong) NSNumber *timestamp; - -/** - * @brief Identifier of \c space wihthin which \c user has membership. - */ -@property (nonatomic, readonly, strong) NSString *spaceId; - -/** - * @brief Identifier of \c user for which \c membership has been \c created / \c updated / - * \c deleted. - */ -@property (nonatomic, readonly, strong) NSString *userId; - -/** - * @brief Name of action for which \c membership event has been sent. - */ -@property (nonatomic, readonly, assign) NSString *event; - -/** - * @brief \c Membership object version identifier. - */ -@property (nonatomic, readonly, copy) NSString *eTag; - -#pragma mark - - - -@end - - /** - * @brief Class which allow to get access to \c space event body received from remote object live + * @brief Class which allow to get access to \c objects event body received from remote object live * feed. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -@interface PNSpaceEventData : PNSubscriberData +@interface PNObjectEventData : PNSubscriberData #pragma mark - Information /** - * @brief List of \c space model properties which has been changed. - * - * @note Event notify only about changed fields (rest remain the same as it was during \c space - * \c create or previous \c update requests). - */ -@property (nonatomic, readonly, strong) NSArray *modifiedFields; - -/** - * @brief Additional / complex attributes which has been associated with \c space during \c space - * \c create / \c update requests. - */ -@property (nonatomic, nullable, readonly, strong) NSDictionary *custom; - -/** - * @brief Additional information about \c space. + * @brief This property will be set only if event \c type is \c channel and represent \c channel + * \c metadata. */ -@property (nonatomic, nullable, readonly, copy) NSString *information; +@property (nonatomic, nullable, readonly, strong) PNChannelMetadata *channelMetadata; /** - * @brief \c Space data modification date or \c nil if removed. + * @brief This property will be set only if event \c type is \c uuid and represent \c uuid + * \c metadata. */ -@property (nonatomic, nullable, readonly, strong) NSDate *updated; +@property (nonatomic, nullable, readonly, strong) PNUUIDMetadata *uuidMetadata; /** - * @brief Name which has been associated with \c user. + * @brief This property will be set only if event \c type is \c membership and represent + * \c uuid \c membership. */ -@property (nonatomic, nullable, readonly, copy) NSString *name; +@property (nonatomic, nullable, readonly, strong) PNMembership *membership; /** - * @brief \c Space identifier. - */ -@property (nonatomic, readonly, strong) NSString *identifier; - -/** - * @brief Time when \c space event has been triggered. + * @brief Time when \c object event has been triggered. * - * @return Number with unsugned long long timestamp. + * @return Number with unsigned long long timestamp. */ @property (nonatomic, readonly, strong) NSNumber *timestamp; /** - * @brief Name of action for which \c user event has been sent. + * @brief Name of action for which \c object event has been sent. */ -@property (nonatomic, readonly, assign) NSString *event; +@property (nonatomic, readonly, strong) NSString *event; /** - * @brief \c User object version identifier. + * @brief Type of \c object which has been changed and triggered event. */ -@property (nonatomic, readonly, copy) NSString *eTag; - -#pragma mark - - - -@end - - -/** - * @brief Class which allow to get access to \c user event body received from remote object live - * feed. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUserEventData : PNSubscriberData - - -#pragma mark - Information - -/** - * @brief List of \c user model properties which has been changed. - * - * @note Event notify only about changed fields (rest remain the same as it was during \c user - * \c create or previous \c update requests). - */ -@property (nonatomic, readonly, strong) NSArray *modifiedFields; - -/** - * @brief Additional / complex attributes which has been associated with \c user during \c user - * \c create / \c update requests. - */ -@property (nonatomic, nullable, readonly, strong) NSDictionary *custom; - -/** - * @brief \c User identifier from external service (database, auth service). - */ -@property (nonatomic, nullable, readonly, copy) NSString *externalId; - -/** - * @brief URL at which \c user's profile available. - */ -@property (nonatomic, nullable, readonly, copy) NSString *profileUrl; - -/** - * @brief Email address which has been associated with \c user. - */ -@property (nonatomic, nullable, readonly, copy) NSString *email; - -/** - * @brief Name which has been associated with \c user. - */ -@property (nonatomic, nullable, readonly, copy) NSString *name; - -/** - * @brief \c User identifier. - */ -@property (nonatomic, readonly, strong) NSString *identifier; - -/** - * @brief Time when \c user event has been triggered. - */ -@property (nonatomic, readonly, strong) NSNumber *timestamp; - -/** - * @brief Name of action for which \c user event has been sent. - */ -@property (nonatomic, readonly, assign) NSString *event; - -/** - * @brief \c User data modification date. - */ -@property (nonatomic, readonly, strong) NSDate *updated; - -/** - * @brief \c User object version identifier. - */ -@property (nonatomic, readonly, copy) NSString *eTag; +@property (nonatomic, readonly, strong) NSString *type; #pragma mark - @@ -502,67 +342,19 @@ NS_ASSUME_NONNULL_BEGIN * @brief Class which is used to provide access to request processing results. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUserEventResult : PNResult - - -#pragma mark - Information - -/** - * @brief \c User event object from live feed. - */ -@property (nonatomic, readonly, strong) PNUserEventData *data; - -#pragma mark - - - -@end - - -/** - * @brief Class which is used to provide access to request processing results. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNSpaceEventResult : PNResult - - -#pragma mark - Information - -/** - * @brief \c Space event object from live feed. - */ -@property (nonatomic, readonly, strong) PNSpaceEventData *data; - -#pragma mark - - - -@end - - -/** - * @brief Class which is used to provide access to request processing results. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -@interface PNMembershipEventResult : PNResult +@interface PNObjectEventResult : PNResult #pragma mark - Information /** - * @brief \c Membership event object from live feed. + * @brief \c Object event object from live feed. */ -@property (nonatomic, readonly, strong) PNMembershipEventData *data; +@property (nonatomic, readonly, strong) PNObjectEventData *data; #pragma mark - diff --git a/PubNub/Data/Service Objects/PNSubscriberResults.m b/PubNub/Data/Service Objects/PNSubscriberResults.m index 5e13cd6f0..778133ba6 100644 --- a/PubNub/Data/Service Objects/PNSubscriberResults.m +++ b/PubNub/Data/Service Objects/PNSubscriberResults.m @@ -5,13 +5,15 @@ * @copyright © 2010-2019 PubNub, Inc. */ #import "NSDateFormatter+PNCacheable.h" +#import "PNChannelMetadata+Private.h" #import "PNSubscribeStatus+Private.h" #import "PNMessageAction+Private.h" +#import "PNUUIDMetadata+Private.h" #import "PNServiceData+Private.h" +#import "PNMembership+Private.h" #import "PNSubscriberResults.h" #import "PNResult+Private.h" - #pragma mark Protected interfaces declaration @interface PNMessageResult () @@ -66,38 +68,12 @@ @interface PNPresenceEventResult () @end -@interface PNMembershipEventResult () +@interface PNObjectEventResult () #pragma mark - Properties -@property (nonatomic, strong) PNMembershipEventData *data; - -#pragma mark - - - -@end - - -@interface PNSpaceEventResult () - - -#pragma mark - Properties - -@property (nonatomic, strong) PNSpaceEventData *data; - -#pragma mark - - - -@end - - -@interface PNUserEventResult () - - -#pragma mark - Properties - -@property (nonatomic, strong) PNUserEventData *data; +@property (nonatomic, strong) PNObjectEventData *data; #pragma mark - @@ -210,151 +186,45 @@ - (NSString *)event { @end -@implementation PNMembershipEventData +@implementation PNObjectEventData #pragma mark - Information -- (NSNumber *)timestamp { - return @(((NSNumber *)self.serviceData[@"timetoken"]).unsignedLongLongValue/10000000); -} - -- (NSString *)spaceId { - return self.serviceData[@"membership"][@"spaceId"]; -} - -- (NSString *)userId { - return self.serviceData[@"membership"][@"userId"]; -} - -- (NSDictionary *)custom { - return self.serviceData[@"membership"][@"custom"]; -} - -- (NSDate *)created { - NSString *dateString = self.serviceData[@"membership"][@"created"]; - - return dateString ? [[NSDateFormatter pn_objectsDateFormatter] dateFromString:dateString] : nil; -} - -- (NSDate *)updated { - NSString *dateString = self.serviceData[@"membership"][@"updated"]; - - return dateString ? [[NSDateFormatter pn_objectsDateFormatter] dateFromString:dateString] : nil; -} - -- (NSString *)event { - return self.serviceData[@"event"]; -} - -- (NSString *)eTag { - return self.serviceData[@"membership"][@"eTag"]; -} - -#pragma mark - - - -@end - - -@implementation PNSpaceEventData - - -#pragma mark - Information - -- (NSArray *)modifiedFields { - return self.serviceData[@"updatedFields"]; -} - -- (NSDictionary *)custom { - return self.serviceData[@"space"][@"custom"]; -} - -- (NSString *)information { - return self.serviceData[@"space"][@"information"]; -} +- (PNChannelMetadata *)channelMetadata { + if (![self.type isEqualToString:@"channel"]) { + return nil; + } -- (NSString *)identifier { - return self.serviceData[@"space"][@"id"]; + return [PNChannelMetadata channelMetadataFromDictionary:self.serviceData[@"channel"]]; } -- (NSNumber *)timestamp { - return @(((NSNumber *)self.serviceData[@"timetoken"]).unsignedLongLongValue/10000000); -} +- (PNUUIDMetadata *)uuidMetadata { + if (![self.type isEqualToString:@"uuid"]) { + return nil; + } -- (NSString *)event { - return self.serviceData[@"event"]; + return [PNUUIDMetadata uuidMetadataFromDictionary:self.serviceData[@"uuid"]]; } -- (NSDate *)updated { - NSString *dateString = self.serviceData[@"space"][@"updated"]; +- (PNMembership *)membership { + if (![self.type isEqualToString:@"membership"]) { + return nil; + } - return dateString ? [[NSDateFormatter pn_objectsDateFormatter] dateFromString:dateString] : nil; -} - -- (NSString *)name { - return self.serviceData[@"space"][@"name"]; -} - -- (NSString *)eTag { - return self.serviceData[@"space"][@"eTag"]; -} - -#pragma mark - - - -@end - - -@implementation PNUserEventData - - -#pragma mark - Information - -- (NSArray *)modifiedFields { - return self.serviceData[@"updatedFields"]; -} - -- (NSString *)externalId { - return self.serviceData[@"user"][@"externalId"]; -} - -- (NSString *)profileUrl { - return self.serviceData[@"user"][@"profileUrl"]; -} - -- (NSDictionary *)custom { - return self.serviceData[@"user"][@"custom"]; -} - -- (NSString *)identifier { - return self.serviceData[@"user"][@"id"]; + return [PNMembership membershipFromDictionary:self.serviceData[@"membership"]]; } - (NSNumber *)timestamp { - return @(((NSNumber *)self.serviceData[@"timetoken"]).unsignedLongLongValue/10000000); -} - -- (NSString *)email { - return self.serviceData[@"user"][@"email"]; + return @(((NSNumber *)self.serviceData[@"timetoken"]).unsignedLongLongValue / 10000000); } - (NSString *)event { return self.serviceData[@"event"]; } -- (NSDate *)updated { - NSString *dateString = self.serviceData[@"user"][@"updated"]; - - return dateString ? [[NSDateFormatter pn_objectsDateFormatter] dateFromString:dateString] : nil; -} - -- (NSString *)name { - return self.serviceData[@"user"][@"name"]; -} - -- (NSString *)eTag { - return self.serviceData[@"user"][@"eTag"]; +- (NSString *)type { + return self.serviceData[@"type"]; } #pragma mark - @@ -439,58 +309,19 @@ - (PNPresenceEventData *)data { @end -@implementation PNMembershipEventResult +@implementation PNObjectEventResult #pragma mark - Information -- (PNMembershipEventData *)data { +- (PNObjectEventData *)data { if (!_data) { - _data = [PNMembershipEventData dataWithServiceResponse:self.serviceData]; + _data = [PNObjectEventData dataWithServiceResponse:self.serviceData]; } - - return _data; -} - -#pragma mark - - - -@end - - -@implementation PNSpaceEventResult - - -#pragma mark - Information - -- (PNSpaceEventData *)data { - if (!_data) { - _data = [PNSpaceEventData dataWithServiceResponse:self.serviceData]; - } - - return _data; -} - -#pragma mark - - - -@end - -@implementation PNUserEventResult - - -#pragma mark - Information - -- (PNUserEventData *)data { - if (!_data) { - _data = [PNUserEventData dataWithServiceResponse:self.serviceData]; - } - return _data; } #pragma mark - - @end diff --git a/PubNub/Data/Service Objects/PNUpdateSpaceStatus.h b/PubNub/Data/Service Objects/PNUpdateSpaceStatus.h deleted file mode 100644 index 697d3c552..000000000 --- a/PubNub/Data/Service Objects/PNUpdateSpaceStatus.h +++ /dev/null @@ -1,57 +0,0 @@ -#import "PNAcknowledgmentStatus.h" -#import "PNServiceData.h" -#import "PNSpace.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interfaces declaration - -/** - * @brief Object which is used to represent Objects API response for \c update \c space request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUpdateSpaceData : PNServiceData - - -#pragma mark - Information - -/** - * @brief Updated space object. - */ -@property (nonatomic, nullable, readonly, strong) PNSpace *space; - -#pragma mark - - - -@end - - -/** - * @brief Object which is used to provide access to processed \c update \c space request results. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUpdateSpaceStatus : PNAcknowledgmentStatus - - -#pragma mark - Information - -/** - * @brief \c Update \c space request processed information. - */ -@property (nonatomic, readonly, strong) PNUpdateSpaceData *data; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Service Objects/PNUpdateSpaceStatus.m b/PubNub/Data/Service Objects/PNUpdateSpaceStatus.m deleted file mode 100644 index 7989403e8..000000000 --- a/PubNub/Data/Service Objects/PNUpdateSpaceStatus.m +++ /dev/null @@ -1,82 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNServiceData+Private.h" -#import "PNUpdateSpaceStatus.h" -#import "PNResult+Private.h" -#import "PNSpace+Private.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interfaces declaration - -@interface PNUpdateSpaceStatus () - - -#pragma mark - Information - -@property (nonatomic, nonnull, strong) PNUpdateSpaceData *data; - -#pragma mark - - - -@end - - -@interface PNUpdateSpaceData () - - -#pragma mark - Information - -@property (nonatomic, nullable, strong) PNSpace *space; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Interfaces implementation - -@implementation PNUpdateSpaceData - - -#pragma mark - Information - -- (PNSpace *)space { - if (!_space) { - _space = [PNSpace spaceFromDictionary:self.serviceData[@"space"]]; - } - - return _space; -} - -#pragma mark - - - -@end - - -@implementation PNUpdateSpaceStatus - - -#pragma mark - Information - -- (PNUpdateSpaceData *)data { - if (!_data) { - _data = [PNUpdateSpaceData dataWithServiceResponse:self.serviceData]; - } - - return _data; -} - -#pragma mark - - - -@end diff --git a/PubNub/Data/Service Objects/PNUpdateUserStatus.h b/PubNub/Data/Service Objects/PNUpdateUserStatus.h deleted file mode 100644 index 6f0d8c45c..000000000 --- a/PubNub/Data/Service Objects/PNUpdateUserStatus.h +++ /dev/null @@ -1,57 +0,0 @@ -#import "PNAcknowledgmentStatus.h" -#import "PNServiceData.h" -#import "PNUser.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interfaces declaration - -/** - * @brief Object which is used to represent Objects API response for \c update \c user request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUpdateUserData : PNServiceData - - -#pragma mark - Information - -/** - * @brief Updated user object. - */ -@property (nonatomic, nullable, readonly, strong) PNUser *user; - -#pragma mark - - - -@end - - -/** - * @brief Object which is used to provide access to processed \c update \c user request results. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUpdateUserStatus : PNAcknowledgmentStatus - - -#pragma mark - Information - -/** - * @brief \c Update \c user request processed information. - */ -@property (nonatomic, readonly, strong) PNUpdateUserData *data; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Data/Service Objects/PNUpdateUserStatus.m b/PubNub/Data/Service Objects/PNUpdateUserStatus.m deleted file mode 100644 index 9aba2cdb9..000000000 --- a/PubNub/Data/Service Objects/PNUpdateUserStatus.m +++ /dev/null @@ -1,82 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNServiceData+Private.h" -#import "PNUpdateUserStatus.h" -#import "PNResult+Private.h" -#import "PNUser+Private.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interfaces declaration - -@interface PNUpdateUserStatus () - - -#pragma mark - Information - -@property (nonatomic, nonnull, strong) PNUpdateUserData *data; - -#pragma mark - - - -@end - - -@interface PNUpdateUserData () - - -#pragma mark - Information - -@property (nonatomic, nullable, strong) PNUser *user; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Interfaces implementation - -@implementation PNUpdateUserData - - -#pragma mark - Information - -- (PNUser *)user { - if (!_user) { - _user = [PNUser userFromDictionary:self.serviceData[@"user"]]; - } - - return _user; -} - -#pragma mark - - - -@end - - -@implementation PNUpdateUserStatus - - -#pragma mark - Information - -- (PNUpdateUserData *)data { - if (!_data) { - _data = [PNUpdateUserData dataWithServiceResponse:self.serviceData]; - } - - return _data; -} - -#pragma mark - - - -@end diff --git a/PubNub/Misc/PNConstants.h b/PubNub/Misc/PNConstants.h index a00b9a89e..e7db1b62e 100644 --- a/PubNub/Misc/PNConstants.h +++ b/PubNub/Misc/PNConstants.h @@ -15,10 +15,10 @@ #pragma mark General information constants // Stores client library version number -static NSString * const kPNLibraryVersion = @"4.13.2"; +static NSString * const kPNLibraryVersion = @"4.14.0"; // Stores information about SDK codebase -static NSString * const kPNCommit = @"256b8ce9aec6e259f0ea3e12d5187e315e9d4316"; +static NSString * const kPNCommit = @"014fbcc80c7524ea50d52fd3932b7e6faa24bad7"; /** @brief Stores reference on unique identifier which is used to identify \b PubNub client among other diff --git a/PubNub/Misc/PNPrivateStructures.h b/PubNub/Misc/PNPrivateStructures.h index 8b3b4397d..17b77c315 100644 --- a/PubNub/Misc/PNPrivateStructures.h +++ b/PubNub/Misc/PNPrivateStructures.h @@ -45,7 +45,7 @@ typedef NS_OPTIONS(NSUInteger, PNMessageType) { PNSignalMessageType = 1, /** - @brief Type which represent \c user / \c space / \c membership object. + @brief Type which represent \c uuid / \c channel \c metadata or \c membership object. */ PNObjectMessageType = 2, @@ -56,11 +56,11 @@ typedef NS_OPTIONS(NSUInteger, PNMessageType) { }; /** - @brief Helper to stringify operation type in result and status objects. - - @since 4.0 + * @brief Helper to stringify operation type in result and status objects. + * + * @since 4.0.0 */ -static NSString * const PNOperationTypeStrings[49] = { +static NSString * const PNOperationTypeStrings[51] = { [PNSubscribeOperation] = @"Subscribe", [PNUnsubscribeOperation] = @"Unsubscribe", [PNPublishOperation] = @"Publish", @@ -95,24 +95,26 @@ static NSString * const PNOperationTypeStrings[49] = { [PNAddPushNotificationsOnChannelsV2Operation] = @"Enable Push Notifications On Channels (v2)", [PNRemovePushNotificationsFromChannelsV2Operation] = @"Remove Push Notifications From Channels (v2)", [PNRemoveAllPushNotificationsV2Operation] = @"Remove All Push Notifications (v2)", - [PNCreateUserOperation] = @"Create User", - [PNUpdateUserOperation] = @"Update User", - [PNDeleteUserOperation] = @"Delete User", - [PNFetchUserOperation] = @"Fetch User", - [PNFetchUsersOperation] = @"Fetch All Users", - [PNCreateSpaceOperation] = @"Create Space", - [PNUpdateSpaceOperation] = @"Update Space", - [PNDeleteSpaceOperation] = @"Delete Space", - [PNFetchSpaceOperation] = @"Fetch Space", - [PNFetchSpacesOperation] = @"Fetch All Spaces", + [PNSetUUIDMetadataOperation] = @"Set UUID Metadata", + [PNRemoveUUIDMetadataOperation] = @"Remove UUID Metadata", + [PNFetchUUIDMetadataOperation] = @"Fetch UUID Metadata", + [PNFetchAllUUIDMetadataOperation] = @"Fetch All UUIDs Metadata", + [PNSetChannelMetadataOperation] = @"Update Channel Metadata", + [PNRemoveChannelMetadataOperation] = @"Remove Channel Metadata", + [PNFetchChannelMetadataOperation] = @"Fetch Channel Metadata", + [PNFetchAllChannelsMetadataOperation] = @"Fetch All Channels Metadata", + [PNSetMembershipsOperation] = @"Update Memberships", + [PNRemoveMembershipsOperation] = @"Remove Memberships", [PNManageMembershipsOperation] = @"Manage Memberships", [PNFetchMembershipsOperation] = @"Fetch Memberships", + [PNSetMembersOperation] = @"Update Members", + [PNRemoveMembersOperation] = @"Remove Members", [PNManageMembersOperation] = @"Manage Members", [PNFetchMembersOperation] = @"Fetch Members", [PNTimeOperation] = @"Time", }; -static NSString * const PNOperationResultClasses[49] = { +static NSString * const PNOperationResultClasses[51] = { [PNHistoryOperation] = @"PNHistoryResult", [PNHistoryForChannelsOperation] = @"PNHistoryResult", [PNHistoryWithActionsOperation] = @"PNHistoryResult", @@ -129,16 +131,16 @@ static NSString * const PNOperationResultClasses[49] = { [PNPushNotificationEnabledChannelsOperation] = @"PNAPNSEnabledChannelsResult", [PNPushNotificationEnabledChannelsV2Operation] = @"PNAPNSEnabledChannelsResult", [PNFetchMessagesActionsOperation] = @"PNFetchMessageActionsResult", - [PNFetchUserOperation] = @"PNFetchUserResult", - [PNFetchUsersOperation] = @"PNFetchUsersResult", - [PNFetchSpaceOperation] = @"PNFetchSpaceResult", - [PNFetchSpacesOperation] = @"PNFetchSpacesResult", + [PNFetchUUIDMetadataOperation] = @"PNFetchUUIDMetadataResult", + [PNFetchAllUUIDMetadataOperation] = @"PNFetchAllUUIDMetadataResult", + [PNFetchChannelMetadataOperation] = @"PNFetchChannelMetadataResult", + [PNFetchAllChannelsMetadataOperation] = @"PNFetchAllChannelsMetadataResult", [PNFetchMembershipsOperation] = @"PNFetchMembershipsResult", [PNFetchMembersOperation] = @"PNFetchMembersResult", [PNTimeOperation] = @"PNTimeResult", }; -static NSString * const PNOperationStatusClasses[49] = { +static NSString * const PNOperationStatusClasses[51] = { [PNSubscribeOperation] = @"PNSubscribeStatus", [PNUnsubscribeOperation] = @"PNAcknowledgmentStatus", [PNPublishOperation] = @"PNPublishStatus", @@ -173,27 +175,29 @@ static NSString * const PNOperationStatusClasses[49] = { [PNAddPushNotificationsOnChannelsV2Operation] = @"PNAcknowledgmentStatus", [PNRemovePushNotificationsFromChannelsV2Operation] = @"PNAcknowledgmentStatus", [PNRemoveAllPushNotificationsV2Operation] = @"PNAcknowledgmentStatus", - [PNCreateUserOperation] = @"PNCreateUserStatus", - [PNUpdateUserOperation] = @"PNUpdateUserStatus", - [PNDeleteUserOperation] = @"PNAcknowledgmentStatus", - [PNFetchUserOperation] = @"PNErrorStatus", - [PNFetchUsersOperation] = @"PNErrorStatus", - [PNCreateSpaceOperation] = @"PNCreateSpaceStatus", - [PNUpdateSpaceOperation] = @"PNUpdateSpaceStatus", - [PNDeleteSpaceOperation] = @"PNAcknowledgmentStatus", - [PNFetchSpaceOperation] = @"PNErrorStatus", - [PNFetchSpacesOperation] = @"PNErrorStatus", + [PNSetUUIDMetadataOperation] = @"PNSetUUIDMetadataStatus", + [PNRemoveUUIDMetadataOperation] = @"PNAcknowledgmentStatus", + [PNFetchUUIDMetadataOperation] = @"PNErrorStatus", + [PNFetchAllUUIDMetadataOperation] = @"PNErrorStatus", + [PNSetChannelMetadataOperation] = @"PNSetChannelMetadataStatus", + [PNRemoveChannelMetadataOperation] = @"PNAcknowledgmentStatus", + [PNFetchChannelMetadataOperation] = @"PNErrorStatus", + [PNFetchAllChannelsMetadataOperation] = @"PNErrorStatus", + [PNSetMembershipsOperation] = @"PNManageMembershipsStatus", + [PNRemoveMembershipsOperation] = @"PNManageMembershipsStatus", [PNManageMembershipsOperation] = @"PNManageMembershipsStatus", [PNFetchMembershipsOperation] = @"PNErrorStatus", + [PNSetMembersOperation] = @"PNManageMembersStatus", + [PNRemoveMembersOperation] = @"PNManageMembersStatus", [PNManageMembersOperation] = @"PNManageMembersStatus", [PNFetchMembersOperation] = @"PNErrorStatus", [PNTimeOperation] = @"PNErrorStatus", }; /** - @brief Helper to stringify status category. - - @since 4.0 + * @brief Helper to stringify status category. + * + * @since 4.0.0 */ static NSString * const PNStatusCategoryStrings[18] = { [PNUnknownCategory] = @"Unknown", @@ -217,9 +221,9 @@ static NSString * const PNStatusCategoryStrings[18] = { }; /** - @brief Helper to stringify here now data set information. - - @since 4.0 + * @brief Helper to stringify here now data set information. + * + * @since 4.0.0 */ static NSString * const PNHereNowDataStrings[3] = { [PNHereNowOccupancy] = @"occupancy only", diff --git a/PubNub/Misc/PNStructures.h b/PubNub/Misc/PNStructures.h index a7e96a2d4..43addee8d 100644 --- a/PubNub/Misc/PNStructures.h +++ b/PubNub/Misc/PNStructures.h @@ -18,8 +18,8 @@ @class PNClientStateGetResult, PNClientStateUpdateStatus, PNAcknowledgmentStatus; @class PNChannelGroupsResult, PNMessageCountResult, PNHistoryResult, PNAPICallBuilder; @class PNPublishStatus, PNSignalStatus, PNErrorStatus, PNTimeResult, PNResult, PNStatus; -@class PNCreateUserStatus, PNUpdateUserStatus, PNFetchUserResult, PNFetchUsersResult; -@class PNCreateSpaceStatus, PNUpdateSpaceStatus, PNFetchSpaceResult, PNFetchSpacesResult; +@class PNSetUUIDMetadataStatus, PNFetchUUIDMetadataResult, PNFetchAllUUIDMetadataResult; +@class PNSetChannelMetadataStatus, PNFetchChannelMetadataResult, PNFetchAllChannelsMetadataResult; @class PNManageMembershipsStatus, PNFetchMembershipsResult, PNManageMembersStatus, PNFetchMembersResult; @class PNAddMessageActionStatus, PNFetchMessageActionsResult; @@ -144,106 +144,86 @@ typedef void(^PNMessageCountCompletionBlock)(PNMessageCountResult * _Nullable re #pragma mark - Completion blocks :: Objects /** - * @brief \c Create \c user completion handler block. + * @brief \c Set \c UUID \c metadata completion handler block. * - * @param status Object with information about \c create \c user request results and service + * @param status Object with information about \c UUID \c metadata \c set request results and service * response. * - * @since 4.10.0 - */ -typedef void(^PNCreateUserCompletionBlock)(PNCreateUserStatus *status); - -/** - * @brief \c Update \c user completion handler block. - * - * @param status Object with information about \c update \c user request results and service - * response. - * - * @since 4.10.0 - */ -typedef void(^PNUpdateUserCompletionBlock)(PNUpdateUserStatus *status); - -/** - * @brief \c Delete \c user completion handler block. - * - * @param status Object with information about \c delete \c user request results. - * - * @since 4.10.0 + * @since 4.14.0 */ -typedef void(^PNDeleteUserCompletionBlock)(PNAcknowledgmentStatus *status); +typedef void(^PNSetUUIDMetadataCompletionBlock)(PNSetUUIDMetadataStatus *status); /** - * @brief \c Fetch \c user completion handler block. + * @brief \c Remove \c UUID \c metadata completion handler block. * - * @param result Object with information about \c fetch \c user request results. - * @param status Object with information about \c fetch \c user request error. + * @param status Object with information about \c UUID \c metadata \c delete request results. * - * @since 4.10.0 + * @since 4.14.0 */ -typedef void(^PNFetchUserCompletionBlock)(PNFetchUserResult * _Nullable result, - PNErrorStatus * _Nullable status); +typedef void(^PNRemoveUUIDMetadataCompletionBlock)(PNAcknowledgmentStatus *status); /** - * @brief \c Fetch \c all \c users completion handler block. + * @brief \c Fetch \c UUID \c metadata completion handler block. * - * @param result Object with information about \c fetch \c all \c users request results. - * @param status Object with information about \c fetch \c all \c users request error. + * @param result Object with information about \c UUID \c metadata \c fetch request results. + * @param status Object with information about \c UUID \c metadata \c fetch request error. * - * @since 4.10.0 + * @since 4.14.0 */ -typedef void(^PNFetchUsersCompletionBlock)(PNFetchUsersResult * _Nullable result, - PNErrorStatus * _Nullable status); +typedef void(^PNFetchUUIDMetadataCompletionBlock)(PNFetchUUIDMetadataResult * _Nullable result, + PNErrorStatus * _Nullable status); /** - * @brief \c Create \c space completion handler block. + * @brief \c Fetch \c all \c UUIDs \c metadata completion handler block. * - * @param status Object with information about \c create \c space request results and service - * response. + * @param result Object with information about \c fetch \c all \c UUIDs \c metadata request results. + * @param status Object with information about \c fetch \c all \c UUIDs \c metadata request error. * - * @since 4.10.0 + * @since 4.14.0 */ -typedef void(^PNCreateSpaceCompletionBlock)(PNCreateSpaceStatus *status); +typedef void(^PNFetchAllUUIDMetadataCompletionBlock)(PNFetchAllUUIDMetadataResult * _Nullable result, + PNErrorStatus * _Nullable status); /** - * @brief \c Update \c space completion handler block. + * @brief \c Set \c channel \c metadata completion handler block. * - * @param status Object with information about \c update \c space request results and service + * @param status Object with information about \c channel \c metadata \c set request results and service * response. * - * @since 4.10.0 + * @since 4.14.0 */ -typedef void(^PNUpdateSpaceCompletionBlock)(PNUpdateSpaceStatus *status); +typedef void(^PNSetChannelMetadataCompletionBlock)(PNSetChannelMetadataStatus *status); /** - * @brief \c Delete \c space completion handler block. + * @brief \c Remove \c channel \c metadata completion handler block. * - * @param status Object with information about \c delete \c space request results. + * @param status Object with information about \c channel \c metadata \c delete request results. * - * @since 4.10.0 + * @since 4.14.0 */ -typedef void(^PNDeleteSpaceCompletionBlock)(PNAcknowledgmentStatus *status); +typedef void(^PNRemoveChannelMetadataCompletionBlock)(PNAcknowledgmentStatus *status); /** - * @brief \c Fetch \c space completion handler block. + * @brief \c Fetch \c channel \c metadata completion handler block. * - * @param result Object with information about \c fetch \c space request results. - * @param status Object with information about \c fetch \c user request error. + * @param result Object with information about \c fetch \c channel \c metadata request results. + * @param status Object with information about \c fetch \c channel \c metadata request error. * - * @since 4.10.0 + * @since 4.14.0 */ -typedef void(^PNFetchSpaceCompletionBlock)(PNFetchSpaceResult * _Nullable result, - PNErrorStatus * _Nullable status); +typedef void(^PNFetchChannelMetadataCompletionBlock)(PNFetchChannelMetadataResult * _Nullable result, + PNErrorStatus * _Nullable status); /** - * @brief \c Fetch \c all \c spaces completion handler block. + * @brief \c Fetch \c all \c channels \c metadata completion handler block. * - * @param result Object with information about \c fetch \c all \c spaces request results. - * @param status Object with information about \c fetch \c all \c spaces request error. + * @param result Object with information about \c fetch \c all \c channels \c metadata request results. + * @param status Object with information about \c fetch \c all \c channels \c metadata request error. * - * @since 4.10.0 + * @since 4.14.0 */ -typedef void(^PNFetchSpacesCompletionBlock)(PNFetchSpacesResult * _Nullable result, - PNErrorStatus * _Nullable status); +typedef void(^PNFetchAllChannelsMetadataCompletionBlock)(PNFetchAllChannelsMetadataResult * _Nullable result, + PNErrorStatus * _Nullable status); /** * @brief \c Manage \c memberships completion handler block. @@ -422,7 +402,7 @@ typedef void(^PNRemoveMessageActionCompletionBlock)(PNAcknowledgmentStatus *stat * @since 4.11.0 */ typedef void(^PNFetchMessageActionsCompletionBlock)(PNFetchMessageActionsResult * _Nullable result, - PNErrorStatus * _Nullable status); + PNErrorStatus * _Nullable status); #pragma mark - Completion blocks :: Time @@ -490,75 +470,91 @@ typedef NS_ENUM(NSUInteger, PNAPNSEnvironment) { #pragma mark - Objects API options and enums /** - * @brief Options with possible additional \c space / \c membership fields which can be included to - * response. + * @brief Options with possible additional \c channel / \c membership fields which can be included + * to response. * - * @since 4.10.0 + * @since 4.14.0 */ typedef NS_OPTIONS(NSUInteger, PNMembershipFields) { /** - * @brief Field with additional information which has been associated with \c user during - * \c membership \c create / \c update requests. + * @brief Include how many memberships \c UUID has. + */ + PNMembershipTotalCountField = 1 << 4, + /** + * @brief Include field with additional information from \c metadata which has been associated + * with \c UUID during \c membership \c set requests. */ - PNMembershipCustomField = 1 << 2, + PNMembershipCustomField = 1 << 5, /** - * @brief Include \c space's information into response (not only \c spaceId). + * @brief Include \c channel's \c metadata into response (not only name). */ - PNMembershipSpaceField = 1 << 3, + PNMembershipChannelField = 1 << 6, /** - * @brief Include \c space's additional information which has been used during \c space - * \c create / \c update requests. + * @brief Include \c channel's additional information which has been used during \c channel + * \c metadata \c set requests. */ - PNMembershipSpaceCustomField = 1 << 4 + PNMembershipChannelCustomField = 1 << 7 }; /** - * @brief Options with possible additional \c user / \c member fields which can be included to + * @brief Options with possible additional \c UUID / \c member fields which can be included to * response. * - * @since 4.10.0 + * @since 4.14.0 */ typedef NS_OPTIONS(NSUInteger, PNMemberFields) { /** - * @brief Field with additional information which has been associated with \c user during - * \a add / \c update of \c space's users list requests. + * @brief Include how many members \c channel has. */ - PNMemberCustomField = 1 << 5, + PNMemberTotalCountField = 1 << 8, /** - * @brief Include \c user's information into response (not only \c userId). + * @brief Include field with additional information from \c metadata which has been associated + * with \c UUID during \c channel \c member \c set requests. */ - PNMemberUserField = 1 << 6, + PNMemberCustomField = 1 << 9, /** - * @brief Include \c user's additional information which has been used during \c user - * \c create / \c update requests. + * @brief Include \c UUID's \c metadata into response (not only identifier). */ - PNMemberUserCustomField = 1 << 7 + PNMemberUUIDField = 1 << 10, + /** + * @brief Include \c UUID's additional information which has been used during \c UUID + * \c metadata \c set requests. + */ + PNMemberUUIDCustomField = 1 << 11 }; /** - * @brief Options with possible additional \c space fields which can be included to response. + * @brief Options with possible additional \c channel fields which can be included to response. * - * @since 4.10.0 + * @since 4.14.0 */ -typedef NS_OPTIONS(NSUInteger, PNSpaceFields) { +typedef NS_OPTIONS(NSUInteger, PNChannelFields) { /** - * @brief Field with additional information which has been used during \c space - * \c create / \c update requests. + * @brief Include how many \c channels has been associated with \c metadata. */ - PNSpaceCustomField = 1 << 1 + PNChannelTotalCountField = 1 << 0, + /** + * @brief Include field with additional information from \c metadata which has been used during + * \c channel \c metadata \c set requests. + */ + PNChannelCustomField = 1 << 1 }; /** - * @brief Options with possible additional \c user fields which can be included to response. + * @brief Options with possible additional \c UUID fields which can be included to response. * - * @since 4.10.0 + * @since 4.14.0 */ -typedef NS_OPTIONS(NSUInteger, PNUserFields) { +typedef NS_OPTIONS(NSUInteger, PNUUIDFields) { + /** + * @brief Include how many \c UUID has been associated with \c metadata. + */ + PNUUIDTotalCountField = 1 << 2, /** - * @brief Field with additional information which has been used during \c user - * \c create / \c update requests. + * @brief Include field with additional information from \c metadata which has been used during + * \c UUID \c metadata \c set requests. */ - PNUserCustomField = 1 + PNUUIDCustomField = 1 << 3 }; /** @@ -742,18 +738,20 @@ typedef NS_ENUM(NSInteger, PNOperationType){ PNAddPushNotificationsOnChannelsV2Operation, PNRemovePushNotificationsFromChannelsV2Operation, PNRemoveAllPushNotificationsV2Operation, - PNCreateUserOperation, - PNUpdateUserOperation, - PNDeleteUserOperation, - PNFetchUserOperation, - PNFetchUsersOperation, - PNCreateSpaceOperation, - PNUpdateSpaceOperation, - PNDeleteSpaceOperation, - PNFetchSpaceOperation, - PNFetchSpacesOperation, + PNSetUUIDMetadataOperation, + PNRemoveUUIDMetadataOperation, + PNFetchUUIDMetadataOperation, + PNFetchAllUUIDMetadataOperation, + PNSetChannelMetadataOperation, + PNRemoveChannelMetadataOperation, + PNFetchChannelMetadataOperation, + PNFetchAllChannelsMetadataOperation, + PNSetMembershipsOperation, + PNRemoveMembershipsOperation, PNManageMembershipsOperation, PNFetchMembershipsOperation, + PNSetMembersOperation, + PNRemoveMembersOperation, PNManageMembersOperation, PNFetchMembersOperation, PNTimeOperation diff --git a/PubNub/Misc/Protocols/PNObjectEventListener.h b/PubNub/Misc/Protocols/PNEventsListener.h similarity index 66% rename from PubNub/Misc/Protocols/PNObjectEventListener.h rename to PubNub/Misc/Protocols/PNEventsListener.h index 6d4b29ee7..ec08963ef 100644 --- a/PubNub/Misc/Protocols/PNObjectEventListener.h +++ b/PubNub/Misc/Protocols/PNEventsListener.h @@ -5,7 +5,7 @@ #pragma mark Class forward @class PNPresenceEventResult, PNSubscribeStatus, PNMessageResult, PNSignalResult, PNErrorStatus; -@class PNMembershipEventResult, PNMessageActionResult, PNSpaceEventResult, PNUserEventResult; +@class PNMessageActionResult, PNObjectEventResult; NS_ASSUME_NONNULL_BEGIN @@ -15,11 +15,11 @@ NS_ASSUME_NONNULL_BEGIN * object live feed. * * @author Serhii Mamontov - * @version 4.9.0 - * @since 4.0.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -@protocol PNObjectEventListener +@protocol PNEventsListener @optional @@ -64,31 +64,13 @@ NS_ASSUME_NONNULL_BEGIN - (void)client:(PubNub *)client didReceivePresenceEvent:(PNPresenceEventResult *)event; /** - * @brief Notify listener about new \c user events which arrived from one of remote data object's - * presence live feed on which client subscribed at this moment. + * @brief Notify listener about new \c object events which arrived from one of remote data object's + * live feed on which \c client subscribe at this moment. * * @param client \b PubNub client which triggered this callback method call. - * @param event Instance which store \c user event information in \c data property. + * @param event Instance which store information about received event from Objects API use. */ -- (void)client:(PubNub *)client didReceiveUserEvent:(PNUserEventResult *)event; - -/** - * @brief Notify listener about new \c space events which arrived from one of remote data object's - * presence live feed on which client subscribed at this moment. - * - * @param client \b PubNub client which triggered this callback method call. - * @param event Instance which store \c space event information in \c data property. - */ -- (void)client:(PubNub *)client didReceiveSpaceEvent:(PNSpaceEventResult *)event; - -/** - * @brief Notify listener about new \c membership events which arrived from one of remote data - * object's presence live feed on which client subscribed at this moment. - * - * @param client \b PubNub client which triggered this callback method call. - * @param event Instance which store \c membership event information in \c data property. - */ -- (void)client:(PubNub *)client didReceiveMembershipEvent:(PNMembershipEventResult *)event; +- (void)client:(PubNub *)client didReceiveObjectEvent:(PNObjectEventResult *)event; #pragma mark - Status change handler. @@ -107,6 +89,16 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - +@end + + +#pragma mark - Deprecated + +DEPRECATED_MSG_ATTRIBUTE("This protocol has been deprecated. Please use PNEventsListener instead.") +@protocol PNObjectEventListener + +#pragma mark - + @end NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/PNNetwork.m b/PubNub/Network/PNNetwork.m index 34a5687ee..b882403bb 100644 --- a/PubNub/Network/PNNetwork.m +++ b/PubNub/Network/PNNetwork.m @@ -786,8 +786,8 @@ - (BOOL)operationExpectResult:(PNOperationType)operation { @(PNChannelsForGroupOperation), @(PNPushNotificationEnabledChannelsOperation), @(PNPushNotificationEnabledChannelsV2Operation), @(PNTimeOperation), @(PNFetchMessagesActionsOperation), @(PNFetchMembershipsOperation), - @(PNFetchSpaceOperation), @(PNFetchSpacesOperation), - @(PNFetchUserOperation), @(PNFetchUsersOperation), + @(PNFetchChannelMetadataOperation), @(PNFetchAllChannelsMetadataOperation), + @(PNFetchUUIDMetadataOperation), @(PNFetchAllUUIDMetadataOperation), @(PNFetchMembersOperation) ]; }); @@ -807,9 +807,9 @@ - (BOOL)operationExpectResult:(PNOperationType)operation { @"PNMessageCountParser", @"PNMessageDeleteParser", @"PNLeaveParser", @"PNMessagePublishParser", @"PNPresenceHereNowParser", @"PNPresenceWhereNowParser", @"PNPushNotificationsAuditParser", @"PNPushNotificationsStateModificationParser", - @"PNSubscribeParser",@"PNTimeParser", @"PNSpaceDataChangeParser", - @"PNUserDataChangeParser", @"PNObjectsDeleteParser", @"PNMembershipsParser", - @"PNFetchSpacesParser", @"PNFetchUsersParser", @"PNMembersParser", + @"PNSubscribeParser",@"PNTimeParser", @"PNChannelMetadataChangeParser", + @"PNUUIDMetadataChangeParser", @"PNObjectsRemoveParser", @"PNMembershipsParser", + @"PNFetchChannelsMetadataParser", @"PNFetchUUIDMetadataParser", @"PNMembersParser", @"PNAddMessageActionParser", @"PNRemoveMessageActionParser", @"PNFetchMessagesActionsParser"]; NSMutableDictionary *parsers = [NSMutableDictionary new]; diff --git a/PubNub/Network/PNURLBuilder.m b/PubNub/Network/PNURLBuilder.m index a5fbaa917..0fd010d5f 100644 --- a/PubNub/Network/PNURLBuilder.m +++ b/PubNub/Network/PNURLBuilder.m @@ -14,7 +14,7 @@ /** * @brief API endpoints description basing on operation type. */ -static NSString * const PNOperationRequestTemplate[49] = { +static NSString * const PNOperationRequestTemplate[51] = { [PNSubscribeOperation] = @"/v2/subscribe/{sub-key}/{channels}/0", [PNUnsubscribeOperation] = @"/v2/presence/sub_key/{sub-key}/channel/{channels}/leave", [PNPublishOperation] = @"/publish/{pub-key}/{sub-key}/0/{channel}/0/{message}", @@ -49,25 +49,27 @@ [PNAddPushNotificationsOnChannelsV2Operation] = @"/v2/push/sub-key/{sub-key}/devices-apns2/{token}", [PNRemovePushNotificationsFromChannelsV2Operation] = @"/v2/push/sub-key/{sub-key}/devices-apns2/{token}", [PNRemoveAllPushNotificationsV2Operation] = @"/v2/push/sub-key/{sub-key}/devices-apns2/{token}/remove", - [PNCreateUserOperation] = @"/v1/objects/{sub-key}/users", - [PNUpdateUserOperation] = @"/v1/objects/{sub-key}/users/{user-id}", - [PNDeleteUserOperation] = @"/v1/objects/{sub-key}/users/{user-id}", - [PNFetchUserOperation] = @"/v1/objects/{sub-key}/users/{user-id}", - [PNFetchUsersOperation] = @"/v1/objects/{sub-key}/users", - [PNCreateSpaceOperation] = @"/v1/objects/{sub-key}/spaces", - [PNUpdateSpaceOperation] = @"/v1/objects/{sub-key}/spaces/{space-id}", - [PNDeleteSpaceOperation] = @"/v1/objects/{sub-key}/spaces/{space-id}", - [PNFetchSpaceOperation] = @"/v1/objects/{sub-key}/spaces/{space-id}", - [PNFetchSpacesOperation] = @"/v1/objects/{sub-key}/spaces", - [PNManageMembershipsOperation] = @"/v1/objects/{sub-key}/users/{user-id}/spaces", - [PNFetchMembershipsOperation] = @"/v1/objects/{sub-key}/users/{user-id}/spaces", - [PNManageMembersOperation] = @"/v1/objects/{sub-key}/spaces/{space-id}/users", - [PNFetchMembersOperation] = @"/v1/objects/{sub-key}/spaces/{space-id}/users", + [PNSetUUIDMetadataOperation] = @"/v2/objects/{sub-key}/uuids/{uuid}", + [PNRemoveUUIDMetadataOperation] = @"/v2/objects/{sub-key}/uuids/{uuid}", + [PNFetchUUIDMetadataOperation] = @"/v2/objects/{sub-key}/uuids/{uuid}", + [PNFetchAllUUIDMetadataOperation] = @"/v2/objects/{sub-key}/uuids", + [PNSetChannelMetadataOperation] = @"/v2/objects/{sub-key}/channels/{channel}", + [PNRemoveChannelMetadataOperation] = @"/v2/objects/{sub-key}/channels/{channel}", + [PNFetchChannelMetadataOperation] = @"/v2/objects/{sub-key}/channels/{channel}", + [PNFetchAllChannelsMetadataOperation] = @"/v2/objects/{sub-key}/channels", + [PNSetMembershipsOperation] = @"/v2/objects/{sub-key}/uuids/{uuid}/channels", + [PNRemoveMembershipsOperation] = @"/v2/objects/{sub-key}/uuids/{uuid}/channels", + [PNManageMembershipsOperation] = @"/v2/objects/{sub-key}/uuids/{uuid}/channels", + [PNFetchMembershipsOperation] = @"/v2/objects/{sub-key}/uuids/{uuid}/channels", + [PNSetMembersOperation] = @"/v2/objects/{sub-key}/channels/{channel}/uuids", + [PNRemoveMembersOperation] = @"/v2/objects/{sub-key}/channels/{channel}/uuids", + [PNManageMembersOperation] = @"/v2/objects/{sub-key}/channels/{channel}/uuids", + [PNFetchMembersOperation] = @"/v2/objects/{sub-key}/channels/{channel}/uuids", [PNTimeOperation] = @"/time/0" }; -#pragma mark - Inerface implementation +#pragma mark - Interface implementation @implementation PNURLBuilder diff --git a/PubNub/Network/Parsers/Objects/PNChannelMetadataChangeParser.h b/PubNub/Network/Parsers/Objects/PNChannelMetadataChangeParser.h new file mode 100644 index 000000000..e33c0db74 --- /dev/null +++ b/PubNub/Network/Parsers/Objects/PNChannelMetadataChangeParser.h @@ -0,0 +1,25 @@ +#import +#import "PNParser.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \b PubNub service response parser for \c update \c channel \c metadata requests. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNChannelMetadataChangeParser : NSObject + + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Parsers/Objects/PNUserDataChangeParser.m b/PubNub/Network/Parsers/Objects/PNChannelMetadataChangeParser.m similarity index 67% rename from PubNub/Network/Parsers/Objects/PNUserDataChangeParser.m rename to PubNub/Network/Parsers/Objects/PNChannelMetadataChangeParser.m index f76f4f40f..9acf2b585 100644 --- a/PubNub/Network/Parsers/Objects/PNUserDataChangeParser.m +++ b/PubNub/Network/Parsers/Objects/PNChannelMetadataChangeParser.m @@ -1,21 +1,21 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -#import "PNUserDataChangeParser.h" +#import "PNChannelMetadataChangeParser.h" #pragma mark Interface implementation -@implementation PNUserDataChangeParser +@implementation PNChannelMetadataChangeParser #pragma mark - Identification + (NSArray *)operations { - return @[@(PNCreateUserOperation), @(PNUpdateUserOperation)]; + return @[@(PNSetChannelMetadataOperation)]; } + (BOOL)requireAdditionalData { @@ -31,7 +31,7 @@ + (BOOL)requireAdditionalData { if ([response isKindOfClass:[NSDictionary class]] && response[@"data"] && ((NSNumber *)response[@"status"]).integerValue == 200) { - processedResponse = @{ @"user": response[@"data"] }; + processedResponse = @{ @"channel": response[@"data"] }; } return processedResponse; diff --git a/PubNub/Network/Parsers/Objects/PNFetchChannelsMetadataParser.h b/PubNub/Network/Parsers/Objects/PNFetchChannelsMetadataParser.h new file mode 100644 index 000000000..d58356d57 --- /dev/null +++ b/PubNub/Network/Parsers/Objects/PNFetchChannelsMetadataParser.h @@ -0,0 +1,25 @@ +#import +#import "PNParser.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \b PubNub service response parser for \c fetch \c channel(s) \c metadata requests. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchChannelsMetadataParser : NSObject + + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Parsers/Objects/PNFetchSpacesParser.m b/PubNub/Network/Parsers/Objects/PNFetchChannelsMetadataParser.m similarity index 73% rename from PubNub/Network/Parsers/Objects/PNFetchSpacesParser.m rename to PubNub/Network/Parsers/Objects/PNFetchChannelsMetadataParser.m index 06e82d5b4..f257066d9 100644 --- a/PubNub/Network/Parsers/Objects/PNFetchSpacesParser.m +++ b/PubNub/Network/Parsers/Objects/PNFetchChannelsMetadataParser.m @@ -1,21 +1,21 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -#import "PNFetchSpacesParser.h" +#import "PNFetchChannelsMetadataParser.h" #pragma mark Interface implementation -@implementation PNFetchSpacesParser +@implementation PNFetchChannelsMetadataParser #pragma mark - Identification + (NSArray *)operations { - return @[@(PNFetchSpaceOperation), @(PNFetchSpacesOperation)]; + return @[@(PNFetchChannelMetadataOperation), @(PNFetchAllChannelsMetadataOperation)]; } + (BOOL)requireAdditionalData { @@ -32,9 +32,9 @@ + (BOOL)requireAdditionalData { ((NSNumber *)response[@"status"]).integerValue == 200) { if ([response[@"data"] isKindOfClass:[NSDictionary class]]) { - processedResponse = @{ @"space": response[@"data"] }; + processedResponse = @{ @"channel": response[@"data"] }; } else if ([response[@"data"] isKindOfClass:[NSArray class]]) { - NSMutableDictionary *paginatedResponse = [@{ @"spaces": response[@"data"] } mutableCopy]; + NSMutableDictionary *paginatedResponse = [@{ @"channels": response[@"data"] } mutableCopy]; if (response[@"totalCount"]) { paginatedResponse[@"totalCount"] = response[@"totalCount"]; diff --git a/PubNub/Network/Parsers/Objects/PNFetchUUIDMetadataParser.h b/PubNub/Network/Parsers/Objects/PNFetchUUIDMetadataParser.h new file mode 100644 index 000000000..cb4cd8fcb --- /dev/null +++ b/PubNub/Network/Parsers/Objects/PNFetchUUIDMetadataParser.h @@ -0,0 +1,25 @@ +#import +#import "PNParser.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \b PubNub service response parser for \c fetch \c UUID(s) \c metadata requests. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchUUIDMetadataParser : NSObject + + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Parsers/Objects/PNFetchUsersParser.m b/PubNub/Network/Parsers/Objects/PNFetchUUIDMetadataParser.m similarity index 77% rename from PubNub/Network/Parsers/Objects/PNFetchUsersParser.m rename to PubNub/Network/Parsers/Objects/PNFetchUUIDMetadataParser.m index dd033f008..6bb29a721 100644 --- a/PubNub/Network/Parsers/Objects/PNFetchUsersParser.m +++ b/PubNub/Network/Parsers/Objects/PNFetchUUIDMetadataParser.m @@ -1,21 +1,21 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -#import "PNFetchUsersParser.h" +#import "PNFetchUUIDMetadataParser.h" #pragma mark Interface implementation -@implementation PNFetchUsersParser +@implementation PNFetchUUIDMetadataParser #pragma mark - Identification + (NSArray *)operations { - return @[@(PNFetchUserOperation), @(PNFetchUsersOperation)]; + return @[@(PNFetchUUIDMetadataOperation), @(PNFetchAllUUIDMetadataOperation)]; } + (BOOL)requireAdditionalData { @@ -32,9 +32,9 @@ + (BOOL)requireAdditionalData { ((NSNumber *)response[@"status"]).integerValue == 200) { if ([response[@"data"] isKindOfClass:[NSDictionary class]]) { - processedResponse = @{ @"user": response[@"data"] }; + processedResponse = @{ @"uuid": response[@"data"] }; } else if ([response[@"data"] isKindOfClass:[NSArray class]]) { - NSMutableDictionary *paginatedResponse = [@{ @"users": response[@"data"] } mutableCopy]; + NSMutableDictionary *paginatedResponse = [@{ @"uuids": response[@"data"] } mutableCopy]; if (response[@"totalCount"]) { paginatedResponse[@"totalCount"] = response[@"totalCount"]; diff --git a/PubNub/Network/Parsers/Objects/PNFetchUsersParser.h b/PubNub/Network/Parsers/Objects/PNFetchUsersParser.h deleted file mode 100644 index 68ce78fcb..000000000 --- a/PubNub/Network/Parsers/Objects/PNFetchUsersParser.h +++ /dev/null @@ -1,25 +0,0 @@ -#import -#import "PNParser.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \b PubNub service response parser for \c fetch \c user(s) requests. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchUsersParser : NSObject - - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Parsers/Objects/PNMembersParser.h b/PubNub/Network/Parsers/Objects/PNMembersParser.h index e8c600e21..7141863f3 100644 --- a/PubNub/Network/Parsers/Objects/PNMembersParser.h +++ b/PubNub/Network/Parsers/Objects/PNMembersParser.h @@ -7,12 +7,12 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interface declaration /** - * @brief \b PubNub service response parser for \c space's members request. + * @brief \b PubNub service response parser for \c channel's members request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNMembersParser : NSObject diff --git a/PubNub/Network/Parsers/Objects/PNMembersParser.m b/PubNub/Network/Parsers/Objects/PNMembersParser.m index 2e88cafbb..8749f3b40 100644 --- a/PubNub/Network/Parsers/Objects/PNMembersParser.m +++ b/PubNub/Network/Parsers/Objects/PNMembersParser.m @@ -1,8 +1,8 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNMembersParser.h" @@ -15,7 +15,12 @@ @implementation PNMembersParser #pragma mark - Identification + (NSArray *)operations { - return @[@(PNManageMembersOperation), @(PNFetchMembersOperation)]; + return @[ + @(PNSetMembersOperation), + @(PNRemoveMembersOperation), + @(PNManageMembersOperation), + @(PNFetchMembersOperation) + ]; } + (BOOL)requireAdditionalData { diff --git a/PubNub/Network/Parsers/Objects/PNMembershipsParser.h b/PubNub/Network/Parsers/Objects/PNMembershipsParser.h index fa9e1385a..d65de2760 100644 --- a/PubNub/Network/Parsers/Objects/PNMembershipsParser.h +++ b/PubNub/Network/Parsers/Objects/PNMembershipsParser.h @@ -7,12 +7,12 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interface declaration /** - * @brief \b PubNub service response parser for \c user's memberships request. + * @brief \b PubNub service response parser for \c UUID's memberships request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNMembershipsParser : NSObject diff --git a/PubNub/Network/Parsers/Objects/PNMembershipsParser.m b/PubNub/Network/Parsers/Objects/PNMembershipsParser.m index 06ebda13c..60d7b29ed 100644 --- a/PubNub/Network/Parsers/Objects/PNMembershipsParser.m +++ b/PubNub/Network/Parsers/Objects/PNMembershipsParser.m @@ -1,8 +1,8 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNMembershipsParser.h" @@ -15,7 +15,12 @@ @implementation PNMembershipsParser #pragma mark - Identification + (NSArray *)operations { - return @[@(PNManageMembershipsOperation), @(PNFetchMembershipsOperation)]; + return @[ + @(PNSetMembershipsOperation), + @(PNRemoveMembershipsOperation), + @(PNManageMembershipsOperation), + @(PNFetchMembershipsOperation) + ]; } + (BOOL)requireAdditionalData { diff --git a/PubNub/Network/Parsers/Objects/PNObjectsDeleteParser.h b/PubNub/Network/Parsers/Objects/PNObjectsDeleteParser.h deleted file mode 100644 index e4733c157..000000000 --- a/PubNub/Network/Parsers/Objects/PNObjectsDeleteParser.h +++ /dev/null @@ -1,25 +0,0 @@ -#import -#import "PNParser.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \b PubNub service response parser for \c object \c delete request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNObjectsDeleteParser : NSObject - - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Parsers/Objects/PNFetchSpacesParser.h b/PubNub/Network/Parsers/Objects/PNObjectsRemoveParser.h similarity index 50% rename from PubNub/Network/Parsers/Objects/PNFetchSpacesParser.h rename to PubNub/Network/Parsers/Objects/PNObjectsRemoveParser.h index 5cf5f3b6c..9e56609d2 100644 --- a/PubNub/Network/Parsers/Objects/PNFetchSpacesParser.h +++ b/PubNub/Network/Parsers/Objects/PNObjectsRemoveParser.h @@ -7,14 +7,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interface declaration /** - * @brief \b PubNub service response parser for \c fetch \c space(s) requests. + * @brief \b PubNub service response parser for \c object \c remove request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -@interface PNFetchSpacesParser : NSObject +@interface PNObjectsRemoveParser : NSObject #pragma mark - diff --git a/PubNub/Network/Parsers/Objects/PNObjectsDeleteParser.m b/PubNub/Network/Parsers/Objects/PNObjectsRemoveParser.m similarity index 71% rename from PubNub/Network/Parsers/Objects/PNObjectsDeleteParser.m rename to PubNub/Network/Parsers/Objects/PNObjectsRemoveParser.m index 363f0c464..23dfd7ee7 100644 --- a/PubNub/Network/Parsers/Objects/PNObjectsDeleteParser.m +++ b/PubNub/Network/Parsers/Objects/PNObjectsRemoveParser.m @@ -1,21 +1,21 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -#import "PNObjectsDeleteParser.h" +#import "PNObjectsRemoveParser.h" #pragma mark Interface implementation -@implementation PNObjectsDeleteParser +@implementation PNObjectsRemoveParser #pragma mark - Identification + (NSArray *)operations { - return @[@(PNDeleteUserOperation), @(PNDeleteSpaceOperation)]; + return @[@(PNRemoveUUIDMetadataOperation), @(PNRemoveChannelMetadataOperation)]; } + (BOOL)requireAdditionalData { diff --git a/PubNub/Network/Parsers/Objects/PNSpaceDataChangeParser.h b/PubNub/Network/Parsers/Objects/PNSpaceDataChangeParser.h deleted file mode 100644 index 15d144c1b..000000000 --- a/PubNub/Network/Parsers/Objects/PNSpaceDataChangeParser.h +++ /dev/null @@ -1,25 +0,0 @@ -#import -#import "PNParser.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \b PubNub service response parser for \c create / \c update \c space requests. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNSpaceDataChangeParser : NSObject - - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Parsers/Objects/PNUUIDMetadataChangeParser.h b/PubNub/Network/Parsers/Objects/PNUUIDMetadataChangeParser.h new file mode 100644 index 000000000..9e18fe617 --- /dev/null +++ b/PubNub/Network/Parsers/Objects/PNUUIDMetadataChangeParser.h @@ -0,0 +1,25 @@ +#import +#import "PNParser.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \b PubNub service response parser for \c update \c UUID \c metadata requests. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNUUIDMetadataChangeParser : NSObject + + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Parsers/Objects/PNSpaceDataChangeParser.m b/PubNub/Network/Parsers/Objects/PNUUIDMetadataChangeParser.m similarity index 67% rename from PubNub/Network/Parsers/Objects/PNSpaceDataChangeParser.m rename to PubNub/Network/Parsers/Objects/PNUUIDMetadataChangeParser.m index fe1dd5b8b..214efb61b 100644 --- a/PubNub/Network/Parsers/Objects/PNSpaceDataChangeParser.m +++ b/PubNub/Network/Parsers/Objects/PNUUIDMetadataChangeParser.m @@ -1,21 +1,21 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -#import "PNSpaceDataChangeParser.h" +#import "PNUUIDMetadataChangeParser.h" #pragma mark Interface implementation -@implementation PNSpaceDataChangeParser +@implementation PNUUIDMetadataChangeParser #pragma mark - Identification + (NSArray *)operations { - return @[@(PNCreateSpaceOperation), @(PNUpdateSpaceOperation)]; + return @[@(PNSetUUIDMetadataOperation)]; } + (BOOL)requireAdditionalData { @@ -31,7 +31,7 @@ + (BOOL)requireAdditionalData { if ([response isKindOfClass:[NSDictionary class]] && response[@"data"] && ((NSNumber *)response[@"status"]).integerValue == 200) { - processedResponse = @{ @"space": response[@"data"] }; + processedResponse = @{ @"uuid": response[@"data"] }; } return processedResponse; diff --git a/PubNub/Network/Parsers/Objects/PNUserDataChangeParser.h b/PubNub/Network/Parsers/Objects/PNUserDataChangeParser.h deleted file mode 100644 index 13656ead8..000000000 --- a/PubNub/Network/Parsers/Objects/PNUserDataChangeParser.h +++ /dev/null @@ -1,25 +0,0 @@ -#import -#import "PNParser.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \b PubNub service response parser for \c create / \c update \c user requests. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUserDataChangeParser : NSObject - - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Parsers/PNSubscribeParser.m b/PubNub/Network/Parsers/PNSubscribeParser.m index 545ee21e5..a52726c7a 100644 --- a/PubNub/Network/Parsers/PNSubscribeParser.m +++ b/PubNub/Network/Parsers/PNSubscribeParser.m @@ -183,27 +183,25 @@ * @brief Key under which stored object event (\c create / \c update / \c delete). */ __unsafe_unretained NSString *event; - /** - * @brief Key under which stored type of object for which \c action has been triggered - * (\c user / \c space / \c membership). + * @brief Key under which stored event source name (service which triggered event). */ - __unsafe_unretained NSString *type; + __unsafe_unretained NSString *source; /** - * @brief Key under which stored \c user's identifier. + * @brief Key under which stored type of object for which \c action has been triggered + * (\c uuid / \c channel / \c membership). */ - __unsafe_unretained NSString *userId; - + __unsafe_unretained NSString *type; /** - * @brief Key under which stored \c space's identifier. + * @brief Key under which version of service which triggered event. */ - __unsafe_unretained NSString *spaceId; + __unsafe_unretained NSString *version; /** - * @brief Key under which stored event triggering time token (unixtimestamp). + * @brief Key under which stored object's event data. */ - __unsafe_unretained NSString *timestamp; + __unsafe_unretained NSString *data; } object; } PNEventEnvelope = { .senderTimeToken = { .key = @"o" }, @@ -215,7 +213,13 @@ .timestamp = @"timestamp", .uuid = @"uuid", .joined = @"join", .leaved = @"leave", .timeouted = @"timeout" }, - .object = { .event = @"event", .type = @"type", .userId = @"userId", .spaceId = @"spaceId" } + .object = { + .event = @"event", + .source = @"source", + .type = @"type", + .version = @"version", + .data = @"data" + } }; @@ -382,7 +386,11 @@ + (NSMutableDictionary *)eventFromData:(NSDictionary *)data event[@"subscription"] = [PNChannel channelForPresence:event[@"subscription"]]; event[@"channel"] = [PNChannel channelForPresence:event[@"channel"]]; } else if (messageType == PNObjectMessageType) { - [event addEntriesFromDictionary:[self objectFromData:data[PNEventEnvelope.payload]]]; + NSDictionary *objectData = [self objectFromData:data[PNEventEnvelope.payload]]; + + if (objectData.count) { + [event addEntriesFromDictionary:objectData]; + } } else if (messageType == PNMessageActionType) { NSDictionary *action = [self actionFromData:data[PNEventEnvelope.payload] withEnvelope:event[@"envelope"]]; @@ -455,33 +463,36 @@ + (NSMutableDictionary *)messageFromData:(id)data } + (NSMutableDictionary *)objectFromData:(NSDictionary *)data { + NSString *sourceVersion = data[PNEventEnvelope.object.version]; NSMutableDictionary *object = [NSMutableDictionary new]; - if (![data[@"source"] isEqualToString:@"objects"]) { + if (![data[PNEventEnvelope.object.source] isEqualToString:@"objects"]) { return object; } - NSArray *eventKeys = @[@"event", @"source", @"type", @"version"]; - [object addEntriesFromDictionary:[data dictionaryWithValuesForKeys:eventKeys]]; - - // Identify fields which has been modified. - NSMutableArray *updatedFieldNames = [[data[@"data"] allKeys] mutableCopy]; - [updatedFieldNames removeObjectsInArray:@[@"id", @"eTag", @"updated"]]; - - if (updatedFieldNames.count) { - object[@"updatedFields"] = updatedFieldNames; + // Check whether minimum supported event source version is present (at moment of release - 2). + if ([sourceVersion componentsSeparatedByString:@"."].firstObject.integerValue < 2) { + return object; } - if ([data[@"type"] isEqualToString:@"membership"]) { + NSArray *eventKeys = @[ + PNEventEnvelope.object.event, + PNEventEnvelope.object.source, + PNEventEnvelope.object.type, + PNEventEnvelope.object.version + ]; + [object addEntriesFromDictionary:[data dictionaryWithValuesForKeys:eventKeys]]; + + if ([data[PNEventEnvelope.object.type] isEqualToString:@"membership"]) { object[@"membership"] = data[@"data"]; } - if ([data[@"type"] isEqualToString:@"user"]) { - object[@"user"] = data[@"data"]; + if ([data[PNEventEnvelope.object.type] isEqualToString:@"uuid"]) { + object[@"uuid"] = data[@"data"]; } - if ([data[@"type"] isEqualToString:@"space"]) { - object[@"space"] = data[@"data"]; + if ([data[PNEventEnvelope.object.type] isEqualToString:@"channel"]) { + object[@"channel"] = data[@"data"]; } return object; diff --git a/PubNub/Network/Requests/Objects/Channel/PNFetchAllChannelsMetadataRequest.h b/PubNub/Network/Requests/Objects/Channel/PNFetchAllChannelsMetadataRequest.h new file mode 100644 index 000000000..a8ce0f706 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Channel/PNFetchAllChannelsMetadataRequest.h @@ -0,0 +1,33 @@ +#import "PNObjectsPaginatedRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Fetch \c all \c channels \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchAllChannelsMetadataRequest : PNObjectsPaginatedRequest + + +#pragma mark - Information + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @note Supported keys specified in \b PNChannelFields enum. + */ +@property (nonatomic, assign) PNChannelFields includeFields; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Channel/PNFetchAllChannelsMetadataRequest.m b/PubNub/Network/Requests/Objects/Channel/PNFetchAllChannelsMetadataRequest.m new file mode 100644 index 000000000..01c722e11 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Channel/PNFetchAllChannelsMetadataRequest.m @@ -0,0 +1,31 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNFetchAllChannelsMetadataRequest.h" + + +#pragma mark Interface implementation + +@implementation PNFetchAllChannelsMetadataRequest + + +#pragma mark - Information + +@dynamic includeFields; + + +- (PNOperationType)operation { + return PNFetchAllChannelsMetadataOperation; +} + +- (BOOL)isIdentifierRequired { + return NO; +} + +#pragma mark - + + +@end diff --git a/PubNub/Network/Requests/Objects/Channel/PNFetchChannelMetadataRequest.h b/PubNub/Network/Requests/Objects/Channel/PNFetchChannelMetadataRequest.h new file mode 100644 index 000000000..c34bb1f0d --- /dev/null +++ b/PubNub/Network/Requests/Objects/Channel/PNFetchChannelMetadataRequest.h @@ -0,0 +1,55 @@ +#import "PNBaseObjectsRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Fetch \c channel \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchChannelMetadataRequest : PNBaseObjectsRequest + + +#pragma mark - Information + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @note Supported keys specified in \b PNChannelFields enum. + * @note Default value (\B PNChannelCustomField) can be reset by setting 0. + */ +@property (nonatomic, assign) PNChannelFields includeFields; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c fetch \c channel \c metadata request. + * + * @param channel Name of channel for which \c metadata should be fetched. + * + * @return Configured and ready to use \c fetch \c channel \c metadata request. + */ ++ (instancetype)requestWithChannel:(NSString *)channel; + +/** + * @brief Forbids request initialization. + * + * @throws Interface not available exception and requirement to use provided constructor method. + * + * @return Initialized request. + */ +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Channel/PNFetchChannelMetadataRequest.m b/PubNub/Network/Requests/Objects/Channel/PNFetchChannelMetadataRequest.m new file mode 100644 index 000000000..01408c708 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Channel/PNFetchChannelMetadataRequest.m @@ -0,0 +1,50 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNBaseObjectsRequest+Private.h" +#import "PNFetchChannelMetadataRequest.h" +#import "PNRequest+Private.h" + + +#pragma mark Interface implementation + +@implementation PNFetchChannelMetadataRequest + + +#pragma mark - Information + +@dynamic includeFields; + + +- (PNOperationType)operation { + return PNFetchChannelMetadataOperation; +} + + +#pragma mark - Initialization & Configuration + ++ (instancetype)requestWithChannel:(NSString *)channel { + return [[self alloc] initWithObject:@"Channel" identifier:channel]; +} + +- (instancetype)initWithObject:(NSString *)objectType identifier:(NSString *)identifier { + if ((self = [super initWithObject:objectType identifier:identifier])) { + self.includeFields = PNChannelCustomField; + } + + return self; +} + +- (instancetype)init { + [self throwUnavailableInitInterface]; + + return nil; +} + +#pragma mark - + + +@end diff --git a/PubNub/Network/Requests/Objects/Channel/PNRemoveChannelMetadataRequest.h b/PubNub/Network/Requests/Objects/Channel/PNRemoveChannelMetadataRequest.h new file mode 100644 index 000000000..13b68177f --- /dev/null +++ b/PubNub/Network/Requests/Objects/Channel/PNRemoveChannelMetadataRequest.h @@ -0,0 +1,44 @@ +#import "PNBaseObjectsRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Remove \c channel \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNRemoveChannelMetadataRequest : PNBaseObjectsRequest + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c remove \c channel \c metadata request. + * + * @param channel Name of channel for which \c metadata should be removed. + * + * @return Configured and ready to use \c remove \c channel \c metadata request. + */ ++ (instancetype)requestWithChannel:(NSString *)channel; + +/** + * @brief Forbids request initialization. + * + * @throws Interface not available exception and requirement to use provided constructor method. + * + * @return Initialized request. + */ +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Space/PNDeleteSpaceRequest.m b/PubNub/Network/Requests/Objects/Channel/PNRemoveChannelMetadataRequest.m similarity index 55% rename from PubNub/Network/Requests/Objects/Space/PNDeleteSpaceRequest.m rename to PubNub/Network/Requests/Objects/Channel/PNRemoveChannelMetadataRequest.m index 37b655c7e..4757fca84 100644 --- a/PubNub/Network/Requests/Objects/Space/PNDeleteSpaceRequest.m +++ b/PubNub/Network/Requests/Objects/Channel/PNRemoveChannelMetadataRequest.m @@ -1,23 +1,23 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNBaseObjectsRequest+Private.h" -#import "PNDeleteSpaceRequest.h" +#import "PNRemoveChannelMetadataRequest.h" #import "PNRequest+Private.h" #pragma mark Interface implementation -@implementation PNDeleteSpaceRequest +@implementation PNRemoveChannelMetadataRequest #pragma mark - Information - (PNOperationType)operation { - return PNDeleteSpaceOperation; + return PNRemoveChannelMetadataOperation; } - (NSString *)httpMethod { @@ -27,8 +27,8 @@ - (NSString *)httpMethod { #pragma mark - Initialization & Configuration -+ (instancetype)requestWithSpaceID:(NSString *)identifier { - return [[self alloc] initWithObject:@"Space" identifier:identifier]; ++ (instancetype)requestWithChannel:(NSString *)channel { + return [[self alloc] initWithObject:@"Channel" identifier:channel]; } - (instancetype)init { diff --git a/PubNub/Network/Requests/Objects/Channel/PNSetChannelMetadataRequest.h b/PubNub/Network/Requests/Objects/Channel/PNSetChannelMetadataRequest.h new file mode 100644 index 000000000..2871debc5 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Channel/PNSetChannelMetadataRequest.h @@ -0,0 +1,71 @@ +#import "PNBaseObjectsRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Set \c channel \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetChannelMetadataRequest : PNBaseObjectsRequest + + +#pragma mark - Information + +/** + * @brief Additional / complex attributes which should be stored in \c metadata associated with + * specified \c channel. + */ +@property (nonatomic, nullable, strong) NSDictionary *custom; + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @note Supported keys specified in \b PNChannelFields enum. + * @note Default value (\b PNChannelCustomField ) can be reset by setting \c 0. + */ +@property (nonatomic, assign) PNChannelFields includeFields; + +/** + * @brief Description which should be stored in \c metadata associated with specified \c channel. + */ +@property (nonatomic, nullable, copy) NSString *information; + +/** + * @brief Name which should be stored in \c metadata associated with specified \c channel. + */ +@property (nonatomic, copy) NSString *name; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c set \c channel \c metadata request. + * + * @param channel Name of channel for which \c metadata should be set. + * + * @return Configured and ready to use \c set \c channel \c metadata request. + */ ++ (instancetype)requestWithChannel:(NSString *)channel; + +/** + * @brief Forbids request initialization. + * + * @throws Interface not available exception and requirement to use provided constructor method. + * + * @return Initialized request. + */ +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Space/PNManageSpaceDataRequest.m b/PubNub/Network/Requests/Objects/Channel/PNSetChannelMetadataRequest.m similarity index 57% rename from PubNub/Network/Requests/Objects/Space/PNManageSpaceDataRequest.m rename to PubNub/Network/Requests/Objects/Channel/PNSetChannelMetadataRequest.m index 3a0046b1f..40e9efe68 100644 --- a/PubNub/Network/Requests/Objects/Space/PNManageSpaceDataRequest.m +++ b/PubNub/Network/Requests/Objects/Channel/PNSetChannelMetadataRequest.m @@ -1,11 +1,11 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNBaseObjectsRequest+Private.h" -#import "PNManageSpaceDataRequest.h" +#import "PNSetChannelMetadataRequest.h" #import "PNRequest+Private.h" #import "PNErrorCodes.h" #import "PNDictionary.h" @@ -13,46 +13,45 @@ #pragma mark Interface implementation -@implementation PNManageSpaceDataRequest +@implementation PNSetChannelMetadataRequest #pragma mark - Information -- (void)setName:(NSString *)name { - if (_name.length == 0 && name.length) { - _name = [name copy]; - } +- (PNOperationType)operation { + return PNSetChannelMetadataOperation; +} + +- (NSString *)httpMethod { + return @"PATCH"; } - (NSData *)bodyData { NSArray *clss = @[[NSString class], [NSNumber class]]; - - if (self.name && self.name.length == 0) { - self.parametersError = [self missingParameterError:@"name" forObjectRequest:@"Space"]; - } - + if (self.custom.count && ![PNDictionary isDictionary:self.custom containValueOfClasses:clss]) { - NSString *reason = [NSString stringWithFormat:@"'custom' object for '%@' space contain not " - "allowed data types (only NSString and NSNumber allowed).", + NSString *reason = [NSString stringWithFormat:@"'custom' object for '%@' channel metadata " + "contain not allowed data types (only NSString and NSNumber allowed).", self.identifier]; NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"Space additional information serialization did fail", - NSLocalizedFailureReasonErrorKey: reason, + NSLocalizedDescriptionKey: @"Channel metadata additional information serialization " + "did fail", + NSLocalizedFailureReasonErrorKey: reason, }; self.parametersError = [NSError errorWithDomain:kPNAPIErrorDomain code:kPNAPIUnacceptableParameters userInfo:errorInformation]; } - + if (self.parametersError) { return nil; } - NSMutableDictionary *info = [@{ @"id": self.identifier } mutableCopy]; + NSMutableDictionary *info = [NSMutableDictionary new]; NSError *error = nil; NSData *data = nil; - + if (self.name) { info[@"name"] = self.name; } @@ -64,17 +63,17 @@ - (NSData *)bodyData { if (self.custom.count) { info[@"custom"] = self.custom; } - + if ([NSJSONSerialization isValidJSONObject:info]) { data = [NSJSONSerialization dataWithJSONObject:info options:(NSJSONWritingOptions)0 error:&error]; } else { NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"Unable to serialize to JSON string", - NSLocalizedFailureReasonErrorKey: @"Provided object contains unsupported data type instances." + NSLocalizedDescriptionKey: @"Unable to serialize to JSON string", + NSLocalizedFailureReasonErrorKey: @"Provided object contains unsupported data type instances." }; - + error = [NSError errorWithDomain:NSCocoaErrorDomain code:NSPropertyListWriteInvalidError userInfo:errorInformation]; @@ -82,8 +81,8 @@ - (NSData *)bodyData { if (error) { NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"Space information serialization did fail", - NSUnderlyingErrorKey: error + NSLocalizedDescriptionKey: @"Channel metadata information serialization did fail", + NSUnderlyingErrorKey: error }; self.parametersError = [NSError errorWithDomain:kPNAPIErrorDomain @@ -94,6 +93,27 @@ - (NSData *)bodyData { return data; } + +#pragma mark - Initialization & Configuration + ++ (instancetype)requestWithChannel:(NSString *)channel { + return [[self alloc] initWithObject:@"Channel" identifier:channel]; +} + +- (instancetype)initWithObject:(NSString *)objectType identifier:(NSString *)identifier { + if ((self = [super initWithObject:objectType identifier:identifier])) { + _includeFields = PNChannelCustomField; + } + + return self; +} + +- (instancetype)init { + [self throwUnavailableInitInterface]; + + return nil; +} + #pragma mark - diff --git a/PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest+Private.h b/PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest+Private.h new file mode 100644 index 000000000..1ce6b69eb --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest+Private.h @@ -0,0 +1,67 @@ +#import "PNBaseObjectsMembershipRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Private interface declaration + +/** + * @brief Private \c base request extension to provide access to identifiable instance + * initialization. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNBaseObjectsMembershipRequest (Private) + + +#pragma mark - Membership / members management + +/** + * @brief Set information about relation to objects. + * + * @discussion Method should be used to set linkage between \c UUID and \c channel. + * + * @param objectType Type of objects (known \b channel and \b uuid ) + * @param objects List of objects with additional information which should be used to create + * relation. + */ +- (void)setRelationToObjects:(NSArray *)objects ofType:(NSString *)objectType; + +/** + * @brief Remove information about relation to objects. + * + * @discussion Method should be used to remove linkage between \c UUID and \c channel. + * + * @param objectType Type of objects (known \b channel and \b uuid ) + * @param objects List of object identifiers which should be used to remove relation. + */ +- (void)removeRelationToObjects:(NSArray *)objects ofType:(NSString *)objectType; + + +#pragma mark - Serialization + +/** + * @brief Serialize input array of object dictionaries into structure required by API. + * + * @note This method check provided \c custom field value and create \b parametersError if it + * contain not allowed data types. If \b parametersError is set, method won't process passed + * \c objects. + * + * @param objectType Type of object for which information should be serialized (known \b channel + * and \b uuid ) + * @param objects List of \c object dictionaries which should be serialized. + * + * @return Objects which describe passed objects in required by Objects API structure. + */ +- (NSArray *)serializedObjectType:(NSString *)objectType + fromArray:(NSArray *)objects; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest.h b/PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest.h new file mode 100644 index 000000000..970a1cb9f --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest.h @@ -0,0 +1,24 @@ +#import "PNObjectsPaginatedRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief Base class for Membership / Members Object API endpoints which has shared query options. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNBaseObjectsMembershipRequest : PNObjectsPaginatedRequest + + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest.m b/PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest.m new file mode 100644 index 000000000..89c072a44 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNBaseObjectsMembershipRequest.m @@ -0,0 +1,180 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. +*/ +#import "PNBaseObjectsMembershipRequest+Private.h" +#import "PNBaseObjectsRequest+Private.h" +#import "PNRequest+Private.h" +#import "PNErrorCodes.h" +#import "PNDictionary.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interface declaration + +@interface PNBaseObjectsMembershipRequest () + + +#pragma mark - Information + +/** + * @brief Dictionary which is used to manage memberships / members. + */ +@property (nonatomic, strong) NSMutableDictionary *membershipBodyPayload; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark Interface implementation + +@implementation PNBaseObjectsMembershipRequest + + +#pragma mark - Information + +- (NSString *)httpMethod { + return @"PATCH"; +} + +- (NSData *)bodyData { + if (self.parametersError) { + return nil; + } + + NSMutableDictionary *update = [NSMutableDictionary new]; + NSError *error = nil; + NSData *data = nil; + + if (self.membershipBodyPayload[@"set"].count) { + update[@"set"] = self.membershipBodyPayload[@"set"].allObjects; + } + + if (self.membershipBodyPayload[@"delete"].count) { + update[@"delete"] = self.membershipBodyPayload[@"delete"].allObjects; + } + + if ([NSJSONSerialization isValidJSONObject:update]) { + data = [NSJSONSerialization dataWithJSONObject:update + options:(NSJSONWritingOptions)0 + error:&error]; + } else { + NSDictionary *errorInformation = @{ + NSLocalizedDescriptionKey: @"Unable to serialize to JSON string", + NSLocalizedFailureReasonErrorKey: @"Provided object contains unsupported data type " + "instances." + }; + + error = [NSError errorWithDomain:NSCocoaErrorDomain + code:NSPropertyListWriteInvalidError + userInfo:errorInformation]; + } + + if (error) { + NSDictionary *errorInformation = @{ + NSLocalizedDescriptionKey: @"Update information serialization did fail", + NSUnderlyingErrorKey: error + }; + + self.parametersError = [NSError errorWithDomain:kPNAPIErrorDomain + code:kPNAPIUnacceptableParameters + userInfo:errorInformation]; + } + + return data; +} + + +#pragma mark - Initialization & Configuration + +- (instancetype)initWithObject:(NSString *)objectType identifier:(NSString *)identifier { + if ((self = [super initWithObject:objectType identifier:identifier])) { + _membershipBodyPayload = [NSMutableDictionary new]; + } + + return self;; +} + + +#pragma mark - Membership / members management + +- (void)setRelationToObjects:(NSArray *)objects ofType:(NSString *)objectType { + NSArray *serializedObjects = [self serializedObjectType:objectType fromArray:objects]; + + if (!self.membershipBodyPayload[@"set"]) { + self.membershipBodyPayload[@"set"] = [NSMutableSet new]; + } + + [self.membershipBodyPayload[@"set"] addObjectsFromArray:serializedObjects]; +} + +- (void)removeRelationToObjects:(NSArray *)objects ofType:(NSString *)objectType { + NSMutableArray *removeObjects = [NSMutableArray new]; + + if (!self.membershipBodyPayload[@"delete"]) { + self.membershipBodyPayload[@"delete"] = [NSMutableSet new]; + } + + for (NSString *object in objects) { + [removeObjects addObject:@{ objectType: @{ @"id": object } }]; + } + + [self.membershipBodyPayload[@"delete"] addObjectsFromArray:removeObjects]; +} + + +#pragma mark - Serialization + +- (NSArray *)serializedObjectType:(NSString *)type fromArray:(NSArray *)objects { + NSArray *clss = @[[NSString class], [NSNumber class]]; + NSMutableArray *serializedObjects = [NSMutableArray new]; + + for (NSDictionary *object in objects) { + if (!((NSString *)object[type]).length) { + continue; + } + + NSMutableDictionary *objectData = [NSMutableDictionary new]; + NSString *identifier = object[type]; + objectData[type] = @{ @"id": identifier }; + + if (((NSDictionary *)object[@"custom"]).count) { + if ([PNDictionary isDictionary:object[@"custom"] containValueOfClasses:clss]) { + objectData[@"custom"] = object[@"custom"]; + } else { + NSString *reason = [NSString stringWithFormat:@"'custom' object for '%@' %@ " + "membership contain not allowed data types (only NSString " + "and NSNumber allowed).", identifier, type]; + NSDictionary *errorInformation = @{ + NSLocalizedDescriptionKey: @"Object additional membership information " + "serialization did fail", + NSLocalizedFailureReasonErrorKey: reason, + }; + + self.parametersError = [NSError errorWithDomain:kPNAPIErrorDomain + code:kPNAPIUnacceptableParameters + userInfo:errorInformation]; + } + } + + if (self.parametersError) { + break; + } + + [serializedObjects addObject:objectData]; + } + + return serializedObjects; +} + +#pragma mark - + + +@end diff --git a/PubNub/Network/Requests/Objects/Membership/PNFetchMembersRequest.h b/PubNub/Network/Requests/Objects/Membership/PNFetchMembersRequest.h index 9a54fd2e6..9ae767e15 100644 --- a/PubNub/Network/Requests/Objects/Membership/PNFetchMembersRequest.h +++ b/PubNub/Network/Requests/Objects/Membership/PNFetchMembersRequest.h @@ -6,12 +6,12 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interface declaration /** - * @brief \c Fetch \c space's members request. + * @brief \c Fetch \c channel's members request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNFetchMembersRequest : PNObjectsPaginatedRequest @@ -22,7 +22,6 @@ NS_ASSUME_NONNULL_BEGIN * @brief Bitfield set to fields which should be returned with response. * * @note Supported keys specified in \b PNMemberFields enum. - * @note Omit this property if you don't want to retrieve additional attributes. */ @property (nonatomic, assign) PNMemberFields includeFields; @@ -30,13 +29,13 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Initialization & Configuration /** - * @brief Create and configure \c fetch \c space's members request. + * @brief Create and configure \c fetch \c channel's members request. * - * @param identifier Identifier of \c space for which members list should be fetched. + * @param channel Name of channel for which members list should be fetched. * - * @return Configured and ready to use \c fetch \c space's members request. + * @return Configured and ready to use \c fetch \c channel's members request. */ -+ (instancetype)requestWithSpaceID:(NSString *)identifier; ++ (instancetype)requestWithChannel:(NSString *)channel; /** * @brief Forbids request initialization. diff --git a/PubNub/Network/Requests/Objects/Membership/PNFetchMembersRequest.m b/PubNub/Network/Requests/Objects/Membership/PNFetchMembersRequest.m index 00097851e..bb6710fa7 100644 --- a/PubNub/Network/Requests/Objects/Membership/PNFetchMembersRequest.m +++ b/PubNub/Network/Requests/Objects/Membership/PNFetchMembersRequest.m @@ -1,8 +1,8 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNBaseObjectsRequest+Private.h" #import "PNFetchMembersRequest.h" @@ -26,8 +26,8 @@ - (PNOperationType)operation { #pragma mark - Initialization & Configuration -+ (instancetype)requestWithSpaceID:(NSString *)identifier { - return [[self alloc] initWithObject:@"Space" identifier:identifier]; ++ (instancetype)requestWithChannel:(NSString *)channel { + return [[self alloc] initWithObject:@"Channel" identifier:channel]; } - (instancetype)init { diff --git a/PubNub/Network/Requests/Objects/Membership/PNFetchMembershipsRequest.h b/PubNub/Network/Requests/Objects/Membership/PNFetchMembershipsRequest.h index 0f46bb80e..aec15e870 100644 --- a/PubNub/Network/Requests/Objects/Membership/PNFetchMembershipsRequest.h +++ b/PubNub/Network/Requests/Objects/Membership/PNFetchMembershipsRequest.h @@ -6,12 +6,12 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interface declaration /** - * @brief \c Fetch \c user's memberships request. + * @brief \c Fetch \c UUID memberships request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNFetchMembershipsRequest : PNObjectsPaginatedRequest @@ -22,7 +22,6 @@ NS_ASSUME_NONNULL_BEGIN * @brief Bitfield set to fields which should be returned with response. * * @note Supported keys specified in \b PNMembershipFields enum. - * @note Omit this property if you don't want to retrieve additional attributes. */ @property (nonatomic, assign) PNMembershipFields includeFields; @@ -30,13 +29,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Initialization & Configuration /** - * @brief Create and configure \c fetch \c user's memberships request. + * @brief Create and configure \c fetch \c UUID's memberships request. * - * @param identifier Identifier of \c user for which memberships in \c spaces should be fetched. + * @param uuid Identifier for which memberships in \c channels should be fetched. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. * - * @return Configured and ready to use \c fetch \c user's memberships request. + * @return Configured and ready to use \c fetch \c UUID's memberships request. */ -+ (instancetype)requestWithUserID:(NSString *)identifier; ++ (instancetype)requestWithUUID:(nullable NSString *)uuid; /** * @brief Forbids request initialization. diff --git a/PubNub/Network/Requests/Objects/Membership/PNFetchMembershipsRequest.m b/PubNub/Network/Requests/Objects/Membership/PNFetchMembershipsRequest.m index 48eacff7d..4cf41852b 100644 --- a/PubNub/Network/Requests/Objects/Membership/PNFetchMembershipsRequest.m +++ b/PubNub/Network/Requests/Objects/Membership/PNFetchMembershipsRequest.m @@ -1,13 +1,12 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 + * @version 4.14.0 + * @since 4.14.0 * @copyright © 2010-2019 PubNub, Inc. */ #import "PNBaseObjectsRequest+Private.h" #import "PNFetchMembershipsRequest.h" #import "PNRequest+Private.h" -#import "PNErrorCodes.h" #pragma mark Interface implementation @@ -27,8 +26,8 @@ - (PNOperationType)operation { #pragma mark - Initialization & Configuration -+ (instancetype)requestWithUserID:(NSString *)identifier { - return [[self alloc] initWithObject:@"User" identifier:identifier]; ++ (instancetype)requestWithUUID:(NSString *)uuid { + return [[self alloc] initWithObject:@"UUID" identifier:uuid]; } - (instancetype)init { diff --git a/PubNub/Network/Requests/Objects/Membership/PNManageMembersRequest.h b/PubNub/Network/Requests/Objects/Membership/PNManageMembersRequest.h index 43edc0b3b..c105fa488 100644 --- a/PubNub/Network/Requests/Objects/Membership/PNManageMembersRequest.h +++ b/PubNub/Network/Requests/Objects/Membership/PNManageMembersRequest.h @@ -1,4 +1,4 @@ -#import "PNObjectsPaginatedRequest.h" +#import "PNBaseObjectsMembershipRequest.h" NS_ASSUME_NONNULL_BEGIN @@ -6,44 +6,32 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interface declaration /** - * @brief \c Update \c space's members. + * @brief \c Manage \c channel's members request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -@interface PNManageMembersRequest : PNObjectsPaginatedRequest +@interface PNManageMembersRequest : PNBaseObjectsMembershipRequest #pragma mark - Information /** - * @brief List of \c users which should be added to \c space's members list. + * @brief List of \c UUIDs which should be added to \c channel's \c members list. * - * @discussion With this specified, request will update \c spaces's members list by addition of - * specified list of \c users and associate additional information with \c user in context of - * \c space (if \c custom field is set). + * @discussion With this specified, request will update \c channel's members list by addition of + * specified list of \c UUIDs and associate \c metadata with \c UUID in context of \c channel + * (if \c custom field is set). * - * @note Each entry is dictionary with \c userId and \b optional \c custom fields. \c custom should + * @note Each entry is dictionary with \c uuid and \b optional \c custom fields. \c custom should * be dictionary with simple objects: \a NSString and \a NSNumber. */ -@property (nonatomic, nullable, strong) NSArray *addMembers; +@property (nonatomic, nullable, strong) NSArray *setMembers; /** - * @brief List of \c users for which additional information associated with each of them in context - * of \c space should be updated. - * - * @discussion With this specified, request will update \c user's additional information associated - * with him in context of \c space. - * - * @note Each entry is dictionary with \c userId and \c custom fields. \c custom should be - * dictionary with simple objects: \a NSString and \a NSNumber. - */ -@property (nonatomic, nullable, strong) NSArray *updateMembers; - -/** - * @brief List of \c users which should be removed from \c members list. + * @brief List of \c UUIDs which should be removed from \c channel's list. */ @property (nonatomic, nullable, strong) NSArray *removeMembers; @@ -51,7 +39,6 @@ NS_ASSUME_NONNULL_BEGIN * @brief Bitfield set to fields which should be returned with response. * * @note Supported keys specified in \b PNMemberFields enum. - * @note Omit this property if you don't want to retrieve additional attributes. */ @property (nonatomic, assign) PNMemberFields includeFields; @@ -59,13 +46,13 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Initialization & Configuration /** - * @brief Create and configure \c manage \c space's members request. + * @brief Create and configure \c manage \c channel's members request. * - * @param identifier Identifier of \c space for which members list should be updated. + * @param channel Name of channel for which members list should be updated. * - * @return Configured and ready to use \c manage \c space's members request. + * @return Configured and ready to use \c manage \c channel's members request. */ -+ (instancetype)requestWithSpaceID:(NSString *)identifier; ++ (instancetype)requestWithChannel:(NSString *)channel; /** * @brief Forbids request initialization. diff --git a/PubNub/Network/Requests/Objects/Membership/PNManageMembersRequest.m b/PubNub/Network/Requests/Objects/Membership/PNManageMembersRequest.m index ee3c8c1d2..0db2a94f2 100644 --- a/PubNub/Network/Requests/Objects/Membership/PNManageMembersRequest.m +++ b/PubNub/Network/Requests/Objects/Membership/PNManageMembersRequest.m @@ -1,47 +1,16 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ +#import "PNBaseObjectsMembershipRequest+Private.h" #import "PNBaseObjectsRequest+Private.h" #import "PNManageMembersRequest.h" #import "PNRequest+Private.h" -#import "PNErrorCodes.h" -#import "PNDictionary.h" -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interface declaration - -@interface PNManageMembersRequest () - - -#pragma mark - Serialization - -/** - * @brief Serialize input array of \c user dictionaries into structure required by API. - * - * @note This method check provided \c custom field value and create \b parametersError if it - * contain not allowed data types. If \b parametersError is set, method won't process passed - * \c spaces. - * - * @param users List of \c user dictionaries which should be serialized. - * - * @return Objects which describe \c users in required by Objects API structure. - */ -- (NSArray *)serializedUsersFromArray:(NSArray *)users; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Interface implementation +#pragma mark Interface implementation @implementation PNManageMembersRequest @@ -55,74 +24,23 @@ - (PNOperationType)operation { return PNManageMembersOperation; } -- (NSString *)httpMethod { - return @"PATCH"; +- (void)setSetMembers:(NSArray *)setMembers { + _setMembers = setMembers; + + [self setRelationToObjects:setMembers ofType:@"uuid"]; } -- (NSData *)bodyData { - NSArray *updatedMembers = [self serializedUsersFromArray:self.updateMembers]; - NSArray *addMembers = [self serializedUsersFromArray:self.addMembers]; - NSMutableArray *removedMembers = [NSMutableArray new]; - - for (NSString *memberId in self.removeMembers) { - [removedMembers addObject:@{ @"id": memberId }]; - } - - if (self.parametersError) { - return nil; - } - - NSMutableDictionary *update = [NSMutableDictionary new]; - NSError *error = nil; - NSData *data = nil; - - if (addMembers.count) { - update[@"add"] = addMembers; - } - - if (updatedMembers.count) { - update[@"update"] = updatedMembers; - } - - if (removedMembers.count) { - update[@"remove"] = removedMembers; - } - - if ([NSJSONSerialization isValidJSONObject:update]) { - data = [NSJSONSerialization dataWithJSONObject:update - options:(NSJSONWritingOptions)0 - error:&error]; - } else { - NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"Unable to serialize to JSON string", - NSLocalizedFailureReasonErrorKey: @"Provided object contains unsupported data type " - "instances." - }; - - error = [NSError errorWithDomain:NSCocoaErrorDomain - code:NSPropertyListWriteInvalidError - userInfo:errorInformation]; - } +- (void)setRemoveMembers:(NSArray *)removeMembers { + _removeMembers = removeMembers; - if (error) { - NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"Members update information serialization did fail", - NSUnderlyingErrorKey: error - }; - - self.parametersError = [NSError errorWithDomain:kPNAPIErrorDomain - code:kPNAPIUnacceptableParameters - userInfo:errorInformation]; - } - - return data; + [self removeRelationToObjects:removeMembers ofType:@"uuid"]; } #pragma mark - Initialization & Configuration -+ (instancetype)requestWithSpaceID:(NSString *)identifier { - return [[self alloc] initWithObject:@"Space" identifier:identifier]; ++ (instancetype)requestWithChannel:(NSString *)channel { + return [[self alloc] initWithObject:@"Channel" identifier:channel]; } - (instancetype)init { @@ -131,49 +49,6 @@ - (instancetype)init { return nil; } - -#pragma mark - Serialization - -- (NSArray *)serializedUsersFromArray:(NSArray *)users { - NSArray *clss = @[[NSString class], [NSNumber class]]; - NSMutableArray *serializedMembers = [NSMutableArray new]; - - for (NSDictionary *user in users) { - if (((NSString *)user[@"userId"]).length) { - NSMutableDictionary *userData = [@{ @"id": user[@"userId"] } mutableCopy]; - BOOL isValidCustom = [PNDictionary isDictionary:user[@"custom"] - containValueOfClasses:clss]; - - if (((NSDictionary *)user[@"custom"]).count) { - if (isValidCustom) { - userData[@"custom"] = user[@"custom"]; - } else { - NSString *reason = [NSString stringWithFormat:@"'custom' object for '%@' " - "medmber contain not allowed data types (only NSString " - "and NSNumber allowed).", user[@"userId"]]; - NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"User additional member information " - "serialization did fail", - NSLocalizedFailureReasonErrorKey: reason, - }; - - self.parametersError = [NSError errorWithDomain:kPNAPIErrorDomain - code:kPNAPIUnacceptableParameters - userInfo:errorInformation]; - } - } - - if (self.parametersError) { - break; - } - - [serializedMembers addObject:userData]; - } - } - - return serializedMembers; -} - #pragma mark - diff --git a/PubNub/Network/Requests/Objects/Membership/PNManageMembershipsRequest.h b/PubNub/Network/Requests/Objects/Membership/PNManageMembershipsRequest.h index 76c7e385d..47314278c 100644 --- a/PubNub/Network/Requests/Objects/Membership/PNManageMembershipsRequest.h +++ b/PubNub/Network/Requests/Objects/Membership/PNManageMembershipsRequest.h @@ -1,4 +1,4 @@ -#import "PNObjectsPaginatedRequest.h" +#import "PNBaseObjectsMembershipRequest.h" NS_ASSUME_NONNULL_BEGIN @@ -6,52 +6,39 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Interface declaration /** - * @brief \c Update \c user's memberships request. + * @brief \c Manage \c UUID's memberships request. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ -@interface PNManageMembershipsRequest : PNObjectsPaginatedRequest +@interface PNManageMembershipsRequest : PNBaseObjectsMembershipRequest #pragma mark - Information /** - * @brief List of \c spaces to which \c user should join. + * @brief List of \c channels within which \c UUID should be \c set as \c member. * - * @discussion With this specified, request will update \c user's membership in specified list of - * \c spaces and associate additional information with \c user in context of specified \c space + * @discussion With this specified, request will set \c UUID's membership in specified list of + * \c channels and associate \c metadata with \c UUID in context of specified \c channel * (if \c custom field is set). * - * @note Each entry is dictionary with \c spaceId and \b optional \c custom fields. \c custom should + * @note Each entry is dictionary with \c channel and \b optional \c custom fields. \c custom should * be dictionary with simple objects: \a NSString and \a NSNumber. */ -@property (nonatomic, nullable, strong) NSArray *joinSpaces; +@property (nonatomic, nullable, strong) NSArray *setChannels; /** - * @brief List of \c spaces for which additional information associated with \c user should be - * updated. - * - * @discussion With this specified, request will update \c user's additional information associated - * with membership. - * - * @note Each entry is dictionary with \c spaceId and \c custom fields. \c custom should be - * dictionary with simple objects: \a NSString and \a NSNumber. - */ -@property (nonatomic, nullable, strong) NSArray *updateSpaces; - -/** - * @brief List of \c spaces which \c user should leave. + * @brief List of \c channels from which \c UUID should be removed as \c member. */ -@property (nonatomic, nullable, strong) NSArray *leaveSpaces; +@property (nonatomic, nullable, strong) NSArray *removeChannels; /** * @brief Bitfield set to fields which should be returned with response. * * @note Supported keys specified in \b PNMembershipFields enum. - * @note Omit this property if you don't want to retrieve additional attributes. */ @property (nonatomic, assign) PNMembershipFields includeFields; @@ -59,13 +46,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Initialization & Configuration /** - * @brief Create and configure \c manage \c user's memberships request. + * @brief Create and configure \c manage \c UUID's memberships request. * - * @param identifier Identifier of \c user for which memberships should be managed. + * @param uuid Identifier for which memberships should be managed. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. * - * @return Configured and ready to use \c manage \c user's memberships request. + * @return Configured and ready to use \c manage \c UUID's memberships request. */ -+ (instancetype)requestWithUserID:(NSString *)identifier; ++ (instancetype)requestWithUUID:(nullable NSString *)uuid; /** * @brief Forbids request initialization. diff --git a/PubNub/Network/Requests/Objects/Membership/PNManageMembershipsRequest.m b/PubNub/Network/Requests/Objects/Membership/PNManageMembershipsRequest.m index 15dd1f15c..5a53f4cd2 100644 --- a/PubNub/Network/Requests/Objects/Membership/PNManageMembershipsRequest.m +++ b/PubNub/Network/Requests/Objects/Membership/PNManageMembershipsRequest.m @@ -1,47 +1,16 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ +#import "PNBaseObjectsMembershipRequest+Private.h" #import "PNBaseObjectsRequest+Private.h" #import "PNManageMembershipsRequest.h" #import "PNRequest+Private.h" -#import "PNErrorCodes.h" -#import "PNDictionary.h" -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interface declaration - -@interface PNManageMembershipsRequest () - - -#pragma mark - Serialization - -/** - * @brief Serialize input array of \c space dictionaries into structure required by API. - * - * @note This method check provided \c custom field value and create \b parametersError if it - * contain not allowed data types. If \b parametersError is set, method won't process passed - * \c spaces. - * - * @param spaces List of \c space dictionaries which should be serialized. - * - * @return Objects which describe \c spaces in required by Objects API structure. - */ -- (NSArray *)serializedSpacesFromArray:(NSArray *)spaces; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Interface implementation +#pragma mark Interface implementation @implementation PNManageMembershipsRequest @@ -55,74 +24,23 @@ - (PNOperationType)operation { return PNManageMembershipsOperation; } -- (NSString *)httpMethod { - return @"PATCH"; +- (void)setSetChannels:(NSArray *)setChannels { + _setChannels = setChannels; + + [self setRelationToObjects:setChannels ofType:@"channel"]; } -- (NSData *)bodyData { - NSArray *updatedSpaces = [self serializedSpacesFromArray:self.updateSpaces]; - NSArray *addSpaces = [self serializedSpacesFromArray:self.joinSpaces]; - NSMutableArray *removedSpaces = [NSMutableArray new]; - - for (NSString *spaceId in self.leaveSpaces) { - [removedSpaces addObject:@{ @"id": spaceId }]; - } - - if (self.parametersError) { - return nil; - } - - NSMutableDictionary *update = [NSMutableDictionary new]; - NSError *error = nil; - NSData *data = nil; - - if (addSpaces.count) { - update[@"add"] = addSpaces; - } - - if (updatedSpaces.count) { - update[@"update"] = updatedSpaces; - } - - if (removedSpaces.count) { - update[@"remove"] = removedSpaces; - } - - if ([NSJSONSerialization isValidJSONObject:update]) { - data = [NSJSONSerialization dataWithJSONObject:update - options:(NSJSONWritingOptions)0 - error:&error]; - } else { - NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"Unable to serialize to JSON string", - NSLocalizedFailureReasonErrorKey: @"Provided object contains unsupported data type " - "instances." - }; - - error = [NSError errorWithDomain:NSCocoaErrorDomain - code:NSPropertyListWriteInvalidError - userInfo:errorInformation]; - } +- (void)setRemoveChannels:(NSArray *)removeChannels { + _removeChannels = removeChannels; - if (error) { - NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"Memberships update information serialization did fail", - NSUnderlyingErrorKey: error - }; - - self.parametersError = [NSError errorWithDomain:kPNAPIErrorDomain - code:kPNAPIUnacceptableParameters - userInfo:errorInformation]; - } - - return data; + [self removeRelationToObjects:removeChannels ofType:@"channel"]; } #pragma mark - Initialization & Configuration -+ (instancetype)requestWithUserID:(NSString *)identifier { - return [[self alloc] initWithObject:@"User" identifier:identifier]; ++ (instancetype)requestWithUUID:(NSString *)uuid { + return [[self alloc] initWithObject:@"UUID" identifier:uuid]; } - (instancetype)init { @@ -131,49 +49,6 @@ - (instancetype)init { return nil; } - -#pragma mark - Serialization - -- (NSArray *)serializedSpacesFromArray:(NSArray *)spaces { - NSArray *clss = @[[NSString class], [NSNumber class]]; - NSMutableArray *serializedSpaces = [NSMutableArray new]; - - for (NSDictionary *space in spaces) { - if (((NSString *)space[@"spaceId"]).length) { - NSMutableDictionary *spaceData = [@{ @"id": space[@"spaceId"] } mutableCopy]; - BOOL isValidCustom = [PNDictionary isDictionary:space[@"custom"] - containValueOfClasses:clss]; - - if (((NSDictionary *)space[@"custom"]).count) { - if (isValidCustom) { - spaceData[@"custom"] = space[@"custom"]; - } else { - NSString *reason = [NSString stringWithFormat:@"'custom' object for '%@' space " - "membership contain not allowed data types (only NSString " - "and NSNumber allowed).", space[@"spaceId"]]; - NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"User additional membership information " - "serialization did fail", - NSLocalizedFailureReasonErrorKey: reason, - }; - - self.parametersError = [NSError errorWithDomain:kPNAPIErrorDomain - code:kPNAPIUnacceptableParameters - userInfo:errorInformation]; - } - } - - if (self.parametersError) { - break; - } - - [serializedSpaces addObject:spaceData]; - } - } - - return serializedSpaces; -} - #pragma mark - diff --git a/PubNub/Network/Requests/Objects/Membership/PNRemoveMembersRequest.h b/PubNub/Network/Requests/Objects/Membership/PNRemoveMembersRequest.h new file mode 100644 index 000000000..0982f9246 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNRemoveMembersRequest.h @@ -0,0 +1,55 @@ +#import "PNBaseObjectsMembershipRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Remove \c channel's members request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNRemoveMembersRequest : PNBaseObjectsMembershipRequest + + +#pragma mark - Information + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @note Supported keys specified in \b PNMemberFields enum. + */ +@property (nonatomic, assign) PNMemberFields includeFields; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c remove \c channel's members request. + * + * @param channel Name of channel from which members should be removed. + * @param uuids List of \c UUIDs which should be removed from \c channel's list. + * + * @return Configured and ready to use \c remove \c channel's members request. + */ ++ (instancetype)requestWithChannel:(NSString *)channel uuids:(NSArray *)uuids; + +/** + * @brief Forbids request initialization. + * + * @throws Interface not available exception and requirement to use provided constructor method. + * + * @return Initialized request. + */ +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Membership/PNRemoveMembersRequest.m b/PubNub/Network/Requests/Objects/Membership/PNRemoveMembersRequest.m new file mode 100644 index 000000000..8569a4d69 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNRemoveMembersRequest.m @@ -0,0 +1,78 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNBaseObjectsMembershipRequest+Private.h" +#import "PNBaseObjectsRequest+Private.h" +#import "PNRemoveMembersRequest.h" +#import "PNRequest+Private.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interface declaration + +@interface PNRemoveMembersRequest () + + +#pragma mark - Initialization & Configuration + +/** + * @brief Initialize \c remove \c channel's members request. + * + * @param channel Name of channel for which members should be added. + * @param uuids List of \c UUIDs which should be removed from \c channel's list. + * + * @return Initialized and ready to use \c remove \c channel's members request. + */ +- (instancetype)initWithChannel:(NSString *)channel uuids:(NSArray *)uuids; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interface implementation + +@implementation PNRemoveMembersRequest + + +#pragma mark - Information + +@dynamic includeFields; + + +- (PNOperationType)operation { + return PNRemoveMembersOperation; +} + + +#pragma mark - Initialization & Configuration + ++ (instancetype)requestWithChannel:(NSString *)channel uuids:(NSArray *)uuids { + return [[self alloc] initWithChannel:channel uuids:uuids]; +} + +- (instancetype)initWithChannel:(NSString *)channel uuids:(NSArray *)uuids { + if ((self = [super initWithObject:@"Channel" identifier:channel])) { + [self removeRelationToObjects:uuids ofType:@"uuid"]; + } + + return self; +} + +- (instancetype)init { + [self throwUnavailableInitInterface]; + + return nil; +} + +#pragma mark - + + +@end diff --git a/PubNub/Network/Requests/Objects/Membership/PNRemoveMembershipsRequest.h b/PubNub/Network/Requests/Objects/Membership/PNRemoveMembershipsRequest.h new file mode 100644 index 000000000..03931b089 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNRemoveMembershipsRequest.h @@ -0,0 +1,56 @@ +#import "PNBaseObjectsMembershipRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Remove \c UUID's memberships request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNRemoveMembershipsRequest : PNBaseObjectsMembershipRequest + + +#pragma mark - Information + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @note Supported keys specified in \b PNMembershipFields enum. + */ +@property (nonatomic, assign) PNMembershipFields includeFields; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c remove \c UUID's memberships request. + * + * @param uuid Identifier for which memberships information should be removed. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * @param channels List of \c channels from which \c UUID should be removed as \c member. + * + * @return Configured and ready to use \c remove \c UUID's memberships request. + */ ++ (instancetype)requestWithUUID:(nullable NSString *)uuid channels:(NSArray *)channels; + +/** + * @brief Forbids request initialization. + * + * @throws Interface not available exception and requirement to use provided constructor method. + * + * @return Initialized request. + */ +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Membership/PNRemoveMembershipsRequest.m b/PubNub/Network/Requests/Objects/Membership/PNRemoveMembershipsRequest.m new file mode 100644 index 000000000..d1da681da --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNRemoveMembershipsRequest.m @@ -0,0 +1,79 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNBaseObjectsMembershipRequest+Private.h" +#import "PNBaseObjectsRequest+Private.h" +#import "PNRemoveMembershipsRequest.h" +#import "PNRequest+Private.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interface declaration + +@interface PNRemoveMembershipsRequest () + + +#pragma mark - Initialization & Configuration + +/** + * @brief Initialize \c remove \c UUID's memberships request. + * + * @param uuid Identifier for which memberships information should be removed. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * @param channels List of \c channels from which \c UUID should be removed as \c member. + * + * @return Initialized and ready to use \c remove \c UUID's memberships request. + */ +- (instancetype)initWithUUID:(nullable NSString *)uuid channels:(NSArray *)channels; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interface implementation + +@implementation PNRemoveMembershipsRequest + + +#pragma mark - Information + +@dynamic includeFields; + + +- (PNOperationType)operation { + return PNRemoveMembershipsOperation; +} + + +#pragma mark - Initialization & Configuration + ++ (instancetype)requestWithUUID:(NSString *)uuid channels:(NSArray *)channels { + return [[self alloc] initWithUUID:uuid channels:channels]; +} + +- (instancetype)initWithUUID:(NSString *)uuid channels:(NSArray *)channels { + if ((self = [super initWithObject:@"UUID" identifier:uuid])) { + [self removeRelationToObjects:channels ofType:@"channel"]; + } + + return self; +} + +- (instancetype)init { + [self throwUnavailableInitInterface]; + + return nil; +} + +#pragma mark - + + +@end diff --git a/PubNub/Network/Requests/Objects/Membership/PNSetMembersRequest.h b/PubNub/Network/Requests/Objects/Membership/PNSetMembersRequest.h new file mode 100644 index 000000000..fd5800655 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNSetMembersRequest.h @@ -0,0 +1,60 @@ +#import "PNBaseObjectsMembershipRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Set \c channel's members request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetMembersRequest : PNBaseObjectsMembershipRequest + + +#pragma mark - Information + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @note Supported keys specified in \b PNMemberFields enum. + */ +@property (nonatomic, assign) PNMemberFields includeFields; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c set \c channel's members request. + * + * @discussion Request will set \c UUID's \c metadata associated with it in context of \c channel. + * + * @param channel Name of channel for which members \c metadata should be set. + * @param uuids List of \c UUIDs for which \c metadata associated with each of them in context of + * \c channel should be set. + * Each entry is dictionary with \c uuid and \b optional \c custom fields. \c custom should + * be dictionary with simple objects: \a NSString and \a NSNumber. + * + * @return Configured and ready to use \c set \c channel's members request. + */ ++ (instancetype)requestWithChannel:(NSString *)channel uuids:(NSArray *)uuids; + +/** + * @brief Forbids request initialization. + * + * @throws Interface not available exception and requirement to use provided constructor method. + * + * @return Initialized request. + */ +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Membership/PNSetMembersRequest.m b/PubNub/Network/Requests/Objects/Membership/PNSetMembersRequest.m new file mode 100644 index 000000000..fb01bb710 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNSetMembersRequest.m @@ -0,0 +1,83 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNBaseObjectsMembershipRequest+Private.h" +#import "PNBaseObjectsRequest+Private.h" +#import "PNSetMembersRequest.h" +#import "PNRequest+Private.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interface declaration + +@interface PNSetMembersRequest () + + +#pragma mark - Initialization & Configuration + +/** + * @brief Initialize \c set \c channel's members request. + * + * @discussion Request will set \c UUID's \c metadata associated with it in context of \c channel. + * + * @param channel Name of channel for which members should be added. + * @param uuids List of \c UUIDs for which \c metadata associated with each of them in context of + * \c channel should be set. + * Each entry is dictionary with \c channel and \b optional \c custom fields. \c custom should + * be dictionary with simple objects: \a NSString and \a NSNumber. + * + * @return Initialized and ready to use \c set \c channel's members request. + */ +- (instancetype)initWithChannel:(NSString *)channel uuids:(NSArray *)uuids; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interface implementation + +@implementation PNSetMembersRequest + + +#pragma mark - Information + +@dynamic includeFields; + + +- (PNOperationType)operation { + return PNSetMembersOperation; +} + + +#pragma mark - Initialization & Configuration + ++ (instancetype)requestWithChannel:(NSString *)channel uuids:(NSArray *)uuids { + return [[self alloc] initWithChannel:channel uuids:uuids]; +} + +- (instancetype)initWithChannel:(NSString *)channel uuids:(NSArray *)uuids { + if ((self = [super initWithObject:@"Channel" identifier:channel])) { + [self setRelationToObjects:uuids ofType:@"uuid"]; + } + + return self; +} + +- (instancetype)init { + [self throwUnavailableInitInterface]; + + return nil; +} + +#pragma mark - + + +@end diff --git a/PubNub/Network/Requests/Objects/Membership/PNSetMembershipsRequest.h b/PubNub/Network/Requests/Objects/Membership/PNSetMembershipsRequest.h new file mode 100644 index 000000000..3db94d872 --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNSetMembershipsRequest.h @@ -0,0 +1,61 @@ +#import "PNBaseObjectsMembershipRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Set \c UUID's memberships request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetMembershipsRequest : PNBaseObjectsMembershipRequest + + +#pragma mark - Information + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @note Supported keys specified in \b PNMembershipFields enum. + */ +@property (nonatomic, assign) PNMembershipFields includeFields; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c set \c UUID's memberships request. + * + * @discussion Request will set \c UUID's \c metadata associated with membership. + * + * @param uuid Identifier for which memberships \c metadata should be set. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * @param channels List of \c channels for which \c metadata associated with \c UUID should be set. + * Each entry is dictionary with \c channel and \b optional \c custom fields. \c custom should + * be dictionary with simple objects: \a NSString and \a NSNumber. + * + * @return Configured and ready to use \c set \c UUID's memberships request. + */ ++ (instancetype)requestWithUUID:(nullable NSString *)uuid + channels:(NSArray *)channels; + +/** + * @brief Forbids request initialization. + * + * @throws Interface not available exception and requirement to use provided constructor method. + * + * @return Initialized request. + */ +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Membership/PNSetMembershipsRequest.m b/PubNub/Network/Requests/Objects/Membership/PNSetMembershipsRequest.m new file mode 100644 index 000000000..9615ac54b --- /dev/null +++ b/PubNub/Network/Requests/Objects/Membership/PNSetMembershipsRequest.m @@ -0,0 +1,83 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNBaseObjectsMembershipRequest+Private.h" +#import "PNBaseObjectsRequest+Private.h" +#import "PNSetMembershipsRequest.h" +#import "PNRequest+Private.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Protected interface declaration + +@interface PNSetMembershipsRequest () + + +#pragma mark - Initialization & Configuration + +/** + * @brief Initialize \c set \c UUID's memberships request. + * + * @discussion Request will set \c UUID's \c metadata associated with membership. + * + * @param uuid Identifier for which memberships information should be managed. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * @param channels List of \c channels for which \c metadata associated with \c UUID should be set. + * Each entry is dictionary with \c channel and \b optional \c custom fields. \c custom should + * be dictionary with simple objects: \a NSString and \a NSNumber. + * + * @return Initialized and ready to use \c set \c UUID's memberships request. + */ +- (instancetype)initWithUUID:(nullable NSString *)uuid channels:(NSArray *)channels; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Interface implementation + +@implementation PNSetMembershipsRequest + + +#pragma mark - Information + +@dynamic includeFields; + + +- (PNOperationType)operation { + return PNSetMembershipsOperation; +} + + +#pragma mark - Initialization & Configuration + ++ (instancetype)requestWithUUID:(NSString *)uuid channels:(NSArray *)channels { + return [[self alloc] initWithUUID:uuid channels:channels]; +} + +- (instancetype)initWithUUID:(NSString *)uuid channels:(NSArray *)channels { + if ((self = [super initWithObject:@"UUID" identifier:uuid])) { + [self setRelationToObjects:channels ofType:@"channel"]; + } + + return self; +} + +- (instancetype)init { + [self throwUnavailableInitInterface]; + + return nil; +} + +#pragma mark - + + +@end diff --git a/PubNub/Network/Requests/Objects/PNBaseObjectsRequest+Private.h b/PubNub/Network/Requests/Objects/PNBaseObjectsRequest+Private.h index 64a88efc2..d96de7f75 100644 --- a/PubNub/Network/Requests/Objects/PNBaseObjectsRequest+Private.h +++ b/PubNub/Network/Requests/Objects/PNBaseObjectsRequest+Private.h @@ -11,27 +11,31 @@ NS_ASSUME_NONNULL_BEGIN * initialization. * * @author Serhii Mamontov - * @version 4.12.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNBaseObjectsRequest (Private) #pragma mark - Information +/** + * @brief Whether entity identifier required to complete request or not. + */ +@property (nonatomic, readonly, assign) BOOL identifierRequired; + /** * @brief Unique \c object identifier. */ -@property (nonatomic, readonly, copy) NSString *identifier; +@property (nonatomic, copy) NSString *identifier; /** * @brief Bitfield set to fields which should be returned with response. * * @note Available values depends from object type for which request created. So far following * helper \a types available: \b PNMembershipFields, \b PNMemberFields, - * \b PNSpaceFields, \b PNUserFields. - * @note Omit this property if you don't want to retrieve additional attributes. + * \b PNChannelFields, \b PNUUIDFields. */ @property (nonatomic, assign) NSUInteger includeFields; @@ -41,12 +45,12 @@ NS_ASSUME_NONNULL_BEGIN /** * @brief Initialize \c base request for identifiable object. * - * @param objectType Name of object type (so far known: \c Space and \c User). + * @param objectType Name of object type (so far known: \c UUID and \c Channel). * @param identifier Identifier of \c object for which request created. * * @return Initialized and ready to use \c request. */ -- (instancetype)initWithObject:(NSString *)objectType identifier:(NSString *)identifier; +- (instancetype)initWithObject:(NSString *)objectType identifier:(nullable NSString *)identifier; #pragma mark - Misc diff --git a/PubNub/Network/Requests/Objects/PNBaseObjectsRequest.h b/PubNub/Network/Requests/Objects/PNBaseObjectsRequest.h index a1e642fc2..a0b7a9774 100644 --- a/PubNub/Network/Requests/Objects/PNBaseObjectsRequest.h +++ b/PubNub/Network/Requests/Objects/PNBaseObjectsRequest.h @@ -10,13 +10,21 @@ NS_ASSUME_NONNULL_BEGIN * @brief Base class for all Object API endpoints which has shared query options. * * @author Serhii Mamontov - * @version 4.12.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNBaseObjectsRequest : PNRequest +#pragma mark - Information + +/** + * @brief Arbitrary percent encoded query parameters which should be sent along with original API + * call. + */ +@property (nonatomic, nullable, strong) NSDictionary *arbitraryQueryParameters; + #pragma mark - diff --git a/PubNub/Network/Requests/Objects/PNBaseObjectsRequest.m b/PubNub/Network/Requests/Objects/PNBaseObjectsRequest.m index 059c0a5e3..a11cc64ab 100644 --- a/PubNub/Network/Requests/Objects/PNBaseObjectsRequest.m +++ b/PubNub/Network/Requests/Objects/PNBaseObjectsRequest.m @@ -1,12 +1,11 @@ /** * @author Serhii Mamontov - * @version 4.12.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNBaseObjectsRequest+Private.h" #import "PNRequest+Private.h" -#import "PNErrorCodes.h" NS_ASSUME_NONNULL_BEGIN @@ -23,8 +22,8 @@ @interface PNBaseObjectsRequest () * * @note Available values depends from object type for which request created. So far following * helper \a types available: \b PNMembershipFields, \b PNMemberFields, - * \b PNSpaceFields, \b PNUserFields. - * @note Omit this property if you don't want to retrieve additional attributes. + * \b PNChannelFields, \b PNUUIDFields. + * @note Default value can be reset by setting 0. */ @property (nonatomic, assign) NSUInteger includeFields; @@ -63,18 +62,34 @@ @implementation PNBaseObjectsRequest #pragma mark - Information +- (BOOL)isIdentifierRequired { + return YES; +} + - (PNRequestParameters *)requestParameters { PNRequestParameters *parameters = [super requestParameters]; + if (self.parametersError) { + return parameters; + } + if (self.includeFields > 0) { [self addIncludedFields:[self includeFieldNames] toRequest:parameters]; } if (self.identifier) { - NSString *idKeyName = [@[self.objectType, @"id"] componentsJoinedByString:@"-"]; - NSString *placeholder = [@[@"{", idKeyName, @"}"] componentsJoinedByString:@""]; - - [parameters addPathComponent:self.identifier forPlaceholder:placeholder]; + if (self.identifier.length > 92) { + self.parametersError = [self valueTooLongErrorForParameter:self.objectType + ofObjectRequest:self.objectType + withLength:self.identifier.length + maximumLength:92]; + } else { + NSString *placeholder = [@[@"{", self.objectType, @"}"] componentsJoinedByString:@""]; + [parameters addPathComponent:self.identifier forPlaceholder:placeholder]; + } + } else if (self.isIdentifierRequired) { + self.parametersError = [self missingParameterError:@"identifier" + forObjectRequest:self.objectType]; } return parameters; @@ -87,16 +102,6 @@ - (instancetype)initWithObject:(NSString *)objectType identifier:(NSString *)ide if ((self = [super init])) { _identifier = [identifier copy]; _objectType = [objectType.lowercaseString copy]; - NSString *idKey = [@[self.objectType, @"id"] componentsJoinedByString:@"-"]; - - if (!_identifier.length) { - self.parametersError = [self missingParameterError:idKey forObjectRequest:objectType]; - } else if (_identifier.length > 92) { - self.parametersError = [self valueTooLongErrorForParameter:idKey - ofObjectRequest:objectType - withLength:_identifier.length - maximumLength:36]; - } } return self; @@ -108,43 +113,33 @@ - (instancetype)initWithObject:(NSString *)objectType identifier:(NSString *)ide - (NSArray *)includeFieldNames { NSMutableArray *fields = [NSMutableArray new]; - if ((self.includeFields & PNUserCustomField) == PNUserCustomField || - (self.includeFields & PNSpaceCustomField) == PNSpaceCustomField) { + if ((self.includeFields & PNUUIDCustomField) == PNUUIDCustomField || + (self.includeFields & PNChannelCustomField) == PNChannelCustomField) { [fields addObject:@"custom"]; } - - if ((self.includeFields & PNMembershipCustomField) == PNMembershipCustomField || - (self.includeFields & PNMembershipSpaceField) == PNMembershipSpaceField || - (self.includeFields & PNMembershipSpaceCustomField) == PNMembershipSpaceCustomField) { - - if ((self.includeFields & PNMembershipCustomField) == PNMembershipCustomField) { - [fields addObject:@"custom"]; - } - - if ((self.includeFields & PNMembershipSpaceField) == PNMembershipSpaceField) { - [fields addObject:@"space"]; - } - - if ((self.includeFields & PNMembershipSpaceCustomField) == PNMembershipSpaceCustomField) { - [fields addObject:@"space.custom"]; - } + + if ((self.includeFields & PNMembershipCustomField) == PNMembershipCustomField) { + [fields addObject:@"custom"]; } - - if ((self.includeFields & PNMemberCustomField) == PNMemberCustomField || - (self.includeFields & PNMemberUserField) == PNMemberUserField || - (self.includeFields & PNMemberUserCustomField) == PNMemberUserCustomField) { - - if ((self.includeFields & PNMemberCustomField) == PNMemberCustomField) { - [fields addObject:@"custom"]; - } - - if ((self.includeFields & PNMemberUserField) == PNMemberUserField) { - [fields addObject:@"user"]; - } - - if ((self.includeFields & PNMemberUserCustomField) == PNMemberUserCustomField) { - [fields addObject:@"user.custom"]; - } + + if ((self.includeFields & PNMembershipChannelField) == PNMembershipChannelField) { + [fields addObject:@"channel"]; + } + + if ((self.includeFields & PNMembershipChannelCustomField) == PNMembershipChannelCustomField) { + [fields addObject:@"channel.custom"]; + } + + if ((self.includeFields & PNMemberCustomField) == PNMemberCustomField) { + [fields addObject:@"custom"]; + } + + if ((self.includeFields & PNMemberUUIDField) == PNMemberUUIDField) { + [fields addObject:@"uuid"]; + } + + if ((self.includeFields & PNMemberUUIDCustomField) == PNMemberUUIDCustomField) { + [fields addObject:@"uuid.custom"]; } return fields; diff --git a/PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.h b/PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.h index 45636e0f8..bc0b16bf7 100644 --- a/PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.h +++ b/PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.h @@ -10,37 +10,25 @@ NS_ASSUME_NONNULL_BEGIN * between pages. * * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ @interface PNObjectsPaginatedRequest : PNBaseObjectsRequest #pragma mark - Information -/** - * @brief Request total count of objects to be included in paginated response. - * - * @note Will be set to \c NO (by default total count of objects not returned). - */ -@property (nonatomic, assign, getter = shouldIncludeCount) BOOL includeCount - NS_SWIFT_NAME(includeCount); - /** * @brief Results sorting order. * * @discussion List of criteria (name of field) which should be used for sorting in ascending order. * To change sorting order, append \c :asc (for ascending) or \c :desc (descending) to field name. - * - * @since 4.13.0 */ @property (nonatomic, nullable, strong) NSArray *sort; /** * @brief Expression to filter out results basing on specified criteria. - * - * @since 4.13.0 */ @property (nonatomic, nullable, copy) NSString *filter; diff --git a/PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.m b/PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.m index 2a97a078d..0641f5374 100644 --- a/PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.m +++ b/PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.m @@ -1,9 +1,10 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ +#import "PNBaseObjectsRequest+Private.h" #import "PNObjectsPaginatedRequest.h" #import "PNRequest+Private.h" #import "PNHelpers.h" @@ -19,7 +20,15 @@ @implementation PNObjectsPaginatedRequest - (PNRequestParameters *)requestParameters { PNRequestParameters *parameters = [super requestParameters]; - if (self.shouldIncludeCount) { + if (self.parametersError) { + return parameters; + } + + if ((self.includeFields & PNChannelTotalCountField) == PNChannelTotalCountField || + (self.includeFields & PNUUIDTotalCountField) == PNUUIDTotalCountField || + (self.includeFields & PNMembershipTotalCountField) == PNMembershipTotalCountField || + (self.includeFields & PNMemberTotalCountField) == PNMemberTotalCountField) { + [parameters addQueryParameter:@"1" forFieldName:@"count"]; } diff --git a/PubNub/Network/Requests/Objects/Space/PNCreateSpaceRequest.h b/PubNub/Network/Requests/Objects/Space/PNCreateSpaceRequest.h deleted file mode 100644 index d406f7f33..000000000 --- a/PubNub/Network/Requests/Objects/Space/PNCreateSpaceRequest.h +++ /dev/null @@ -1,59 +0,0 @@ -#import "PNManageSpaceDataRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Create \c space request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNCreateSpaceRequest : PNManageSpaceDataRequest - - -#pragma mark - Information - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @discussion Additional \c space object fields which should be returned in response (by default - * set to \b PNSpaceCustomField). - * - * @note Supported keys specified in \b PNSpaceFields enum. - * @note Default value can be reset by setting \c 0. - */ -@property (nonatomic, assign) PNSpaceFields includeFields; - - -#pragma mark - Initialization & Configuration - -/** - * @brief Create and configure \c create \c space request. - * - * @param identifier Unique identifier for new \c space entry. - * @param name Name which should be associated with new \c space entry. - * - * @return Configured and ready to use \c create \c space request. - */ -+ (instancetype)requestWithSpaceID:(NSString *)identifier name:(NSString *)name; - -/** - * @brief Forbids request initialization. - * - * @throws Interface not available exception and requirement to use provided constructor method. - * - * @return Initialized request. - */ -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Space/PNCreateSpaceRequest.m b/PubNub/Network/Requests/Objects/Space/PNCreateSpaceRequest.m deleted file mode 100644 index 011b88a27..000000000 --- a/PubNub/Network/Requests/Objects/Space/PNCreateSpaceRequest.m +++ /dev/null @@ -1,83 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNBaseObjectsRequest+Private.h" -#import "PNCreateSpaceRequest.h" -#import "PNRequest+Private.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interface declaration - -@interface PNCreateSpaceRequest () - - -#pragma mark - Initialization & Configuration - -/** - * @brief Initialize \c create \c space request. - * - * @param identifier Unique identifier for new \c space entry. - * @param name Name which should be associated with new \c space entry. - * - * @return Initialized and ready to use \c create \c space request. - */ -- (instancetype)initWithSpaceID:(NSString *)identifier name:(NSString *)name; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Interface implementation - -@implementation PNCreateSpaceRequest - - -#pragma mark - Information - -- (PNOperationType)operation { - return PNCreateSpaceOperation; -} - -- (NSString *)httpMethod { - return @"POST"; -} - - -#pragma mark - Initialization & Configuration - -+ (instancetype)requestWithSpaceID:(NSString *)identifier name:(NSString *)name { - return [[self alloc] initWithSpaceID:identifier name:name]; -} - -- (instancetype)initWithSpaceID:(NSString *)identifier name:(NSString *)name { - if ((self = [super initWithObject:@"Space" identifier:identifier])) { - self.includeFields = PNSpaceCustomField; - self.name = name; - - if (!name.length) { - self.parametersError = [self missingParameterError:@"name" forObjectRequest:@"Space"]; - } - } - - return self; -} - -- (instancetype)init { - [self throwUnavailableInitInterface]; - - return nil; -} - -#pragma mark - - - -@end diff --git a/PubNub/Network/Requests/Objects/Space/PNDeleteSpaceRequest.h b/PubNub/Network/Requests/Objects/Space/PNDeleteSpaceRequest.h deleted file mode 100644 index 825647641..000000000 --- a/PubNub/Network/Requests/Objects/Space/PNDeleteSpaceRequest.h +++ /dev/null @@ -1,44 +0,0 @@ -#import "PNBaseObjectsRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Delete \c space request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNDeleteSpaceRequest : PNBaseObjectsRequest - - -#pragma mark - Initialization & Configuration - -/** - * @brief Create and configure \c delete \c space request. - * - * @param identifier Identifier of \c space which should be removed. - * - * @return Configured and ready to use \c delete \c space request. - */ -+ (instancetype)requestWithSpaceID:(NSString *)identifier; - -/** - * @brief Forbids request initialization. - * - * @throws Interface not available exception and requirement to use provided constructor method. - * - * @return Initialized request. - */ -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Space/PNFetchSpaceRequest.h b/PubNub/Network/Requests/Objects/Space/PNFetchSpaceRequest.h deleted file mode 100644 index a405ab9d4..000000000 --- a/PubNub/Network/Requests/Objects/Space/PNFetchSpaceRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -#import "PNBaseObjectsRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Fetch \c space request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchSpaceRequest : PNBaseObjectsRequest - - -#pragma mark - Information - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @note Supported keys specified in \b PNSpaceFields enum. - * @note Omit this property if you don't want to retrieve additional attributes. - */ -@property (nonatomic, assign) PNSpaceFields includeFields; - - -#pragma mark - Initialization & Configuration - -/** - * @brief Create and configure \c fetch \c space request. - * - * @param identifier Identifier of \c space which should be fetched. - * - * @return Configured and ready to use \c fetch \c space request. - */ -+ (instancetype)requestWithSpaceID:(NSString *)identifier; - -/** - * @brief Forbids request initialization. - * - * @throws Interface not available exception and requirement to use provided constructor method. - * - * @return Initialized request. - */ -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Space/PNFetchSpaceRequest.m b/PubNub/Network/Requests/Objects/Space/PNFetchSpaceRequest.m deleted file mode 100644 index 88143ff03..000000000 --- a/PubNub/Network/Requests/Objects/Space/PNFetchSpaceRequest.m +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNBaseObjectsRequest+Private.h" -#import "PNFetchSpaceRequest.h" -#import "PNRequest+Private.h" - - -#pragma mark Interface implementation - -@implementation PNFetchSpaceRequest - - -#pragma mark - Information - -@dynamic includeFields; - - -- (PNOperationType)operation { - return PNFetchSpaceOperation; -} - - -#pragma mark - Initialization & Configuration - -+ (instancetype)requestWithSpaceID:(NSString *)identifier { - return [[self alloc] initWithObject:@"Space" identifier:identifier]; -} - -- (instancetype)init { - [self throwUnavailableInitInterface]; - - return nil; -} - -#pragma mark - - - -@end diff --git a/PubNub/Network/Requests/Objects/Space/PNFetchSpacesRequest.h b/PubNub/Network/Requests/Objects/Space/PNFetchSpacesRequest.h deleted file mode 100644 index a6ab29807..000000000 --- a/PubNub/Network/Requests/Objects/Space/PNFetchSpacesRequest.h +++ /dev/null @@ -1,34 +0,0 @@ -#import "PNObjectsPaginatedRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Fetch \c all \c spaces request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchSpacesRequest : PNObjectsPaginatedRequest - - -#pragma mark - Information - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @note Supported keys specified in \b PNSpaceFields enum. - * @note Omit this property if you don't want to retrieve additional attributes. - */ -@property (nonatomic, assign) PNSpaceFields includeFields; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Space/PNFetchSpacesRequest.m b/PubNub/Network/Requests/Objects/Space/PNFetchSpacesRequest.m deleted file mode 100644 index be1c323ec..000000000 --- a/PubNub/Network/Requests/Objects/Space/PNFetchSpacesRequest.m +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNFetchSpacesRequest.h" - - -#pragma mark Interface implementation - -@implementation PNFetchSpacesRequest - - -#pragma mark - Information - -@dynamic includeFields; - - -- (PNOperationType)operation { - return PNFetchSpacesOperation; -} - -#pragma mark - - - -@end diff --git a/PubNub/Network/Requests/Objects/Space/PNManageSpaceDataRequest.h b/PubNub/Network/Requests/Objects/Space/PNManageSpaceDataRequest.h deleted file mode 100644 index 9eea70af2..000000000 --- a/PubNub/Network/Requests/Objects/Space/PNManageSpaceDataRequest.h +++ /dev/null @@ -1,43 +0,0 @@ -#import "PNBaseObjectsRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief Private \c create / \c update space request extension to provide ability specify data for - * pre-defined fields. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNManageSpaceDataRequest : PNBaseObjectsRequest - - -#pragma mark - Information - -/** - * @brief \c Space description information. - */ -@property (nonatomic, nullable, copy) NSString *information; - -/** - * @brief Additional / complex attributes which should be associated to \c space with specified - * \c identifier. - */ -@property (nonatomic, nullable, copy) NSDictionary *custom; - -/** - * @brief Name which should be associated to \c user with specified \c identifier. - */ -@property (nonatomic, copy) NSString *name; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Space/PNUpdateSpaceRequest.h b/PubNub/Network/Requests/Objects/Space/PNUpdateSpaceRequest.h deleted file mode 100644 index 47d167195..000000000 --- a/PubNub/Network/Requests/Objects/Space/PNUpdateSpaceRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -#import "PNManageSpaceDataRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Update \c space request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUpdateSpaceRequest : PNManageSpaceDataRequest - - -#pragma mark - Information - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @note Supported keys specified in \b PNSpaceFields enum. - * @note Omit this property if you don't want to retrieve additional attributes. - */ -@property (nonatomic, assign) PNSpaceFields includeFields; - - -#pragma mark - Initialization & Configuration - -/** - * @brief Create and configure \c update \c space request. - * - * @param identifier Identifier of \c space which should be updated. - * - * @return Configured and ready to use \c update \c space request. - */ -+ (instancetype)requestWithSpaceID:(NSString *)identifier; - -/** - * @brief Forbids request initialization. - * - * @throws Interface not available exception and requirement to use provided constructor method. - * - * @return Initialized request. - */ -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/Space/PNUpdateSpaceRequest.m b/PubNub/Network/Requests/Objects/Space/PNUpdateSpaceRequest.m deleted file mode 100644 index ee6a1a97e..000000000 --- a/PubNub/Network/Requests/Objects/Space/PNUpdateSpaceRequest.m +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNBaseObjectsRequest+Private.h" -#import "PNUpdateSpaceRequest.h" -#import "PNRequest+Private.h" - - -#pragma mark Interface implementation - -@implementation PNUpdateSpaceRequest - - -#pragma mark - Information - -- (PNOperationType)operation { - return PNUpdateSpaceOperation; -} - -- (NSString *)httpMethod { - return @"PATCH"; -} - - -#pragma mark - Initialization & Configuration - -+ (instancetype)requestWithSpaceID:(NSString *)identifier { - return [[self alloc] initWithObject:@"Space" identifier:identifier]; -} - -- (instancetype)init { - [self throwUnavailableInitInterface]; - - return nil; -} - -#pragma mark - - - -@end diff --git a/PubNub/Network/Requests/Objects/UUID/PNFetchAllUUIDMetadataRequest.h b/PubNub/Network/Requests/Objects/UUID/PNFetchAllUUIDMetadataRequest.h new file mode 100644 index 000000000..d8824b9f8 --- /dev/null +++ b/PubNub/Network/Requests/Objects/UUID/PNFetchAllUUIDMetadataRequest.h @@ -0,0 +1,33 @@ +#import "PNObjectsPaginatedRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Fetch \c all \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchAllUUIDMetadataRequest : PNObjectsPaginatedRequest + + +#pragma mark - Information + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @note Supported keys specified in \b PNUUIDFields enum. + */ +@property (nonatomic, assign) PNUUIDFields includeFields; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/UUID/PNFetchAllUUIDMetadataRequest.m b/PubNub/Network/Requests/Objects/UUID/PNFetchAllUUIDMetadataRequest.m new file mode 100644 index 000000000..231fb42e2 --- /dev/null +++ b/PubNub/Network/Requests/Objects/UUID/PNFetchAllUUIDMetadataRequest.m @@ -0,0 +1,31 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNFetchAllUUIDMetadataRequest.h" + + +#pragma mark Interface implementation + +@implementation PNFetchAllUUIDMetadataRequest + + +#pragma mark - Information + +@dynamic includeFields; + + +- (PNOperationType)operation { + return PNFetchAllUUIDMetadataOperation; +} + +- (BOOL)isIdentifierRequired { + return NO; +} + +#pragma mark - + + +@end diff --git a/PubNub/Network/Requests/Objects/UUID/PNFetchUUIDMetadataRequest.h b/PubNub/Network/Requests/Objects/UUID/PNFetchUUIDMetadataRequest.h new file mode 100644 index 000000000..163c8b4d3 --- /dev/null +++ b/PubNub/Network/Requests/Objects/UUID/PNFetchUUIDMetadataRequest.h @@ -0,0 +1,56 @@ +#import "PNBaseObjectsRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Fetch \c UUID \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNFetchUUIDMetadataRequest : PNBaseObjectsRequest + + +#pragma mark - Information + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @note Supported keys specified in \b PNUUIDFields enum. + * @note Default value (\b PNUUIDCustomField) can be reset by setting 0. + */ +@property (nonatomic, assign) PNUUIDFields includeFields; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c fetch \c UUID \c metadata request. + * + * @param uuid Identifier for \c metadata should be fetched. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @return Configured and ready to use \c fetch \c UUID \c metadata request. + */ ++ (instancetype)requestWithUUID:(nullable NSString *)uuid; + +/** + * @brief Forbids request initialization. + * + * @throws Interface not available exception and requirement to use provided constructor method. + * + * @return Initialized request. + */ +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/UUID/PNFetchUUIDMetadataRequest.m b/PubNub/Network/Requests/Objects/UUID/PNFetchUUIDMetadataRequest.m new file mode 100644 index 000000000..6fa7ccda4 --- /dev/null +++ b/PubNub/Network/Requests/Objects/UUID/PNFetchUUIDMetadataRequest.m @@ -0,0 +1,54 @@ +/** + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNBaseObjectsRequest+Private.h" +#import "PNFetchUUIDMetadataRequest.h" +#import "PNRequest+Private.h" + + +#pragma mark Interface implementation + +@implementation PNFetchUUIDMetadataRequest + + +#pragma mark - Information + +@dynamic includeFields; + + +- (PNOperationType)operation { + return PNFetchUUIDMetadataOperation; +} + + +#pragma mark - Initialization & Configuration + ++ (instancetype)new { + return [self requestWithUUID:nil]; +} + ++ (instancetype)requestWithUUID:(NSString *)uuid { + return [[self alloc] initWithObject:@"UUID" identifier:uuid]; +} + +- (instancetype)initWithObject:(NSString *)objectType identifier:(NSString *)identifier { + if ((self = [super initWithObject:objectType identifier:identifier])) { + self.includeFields = PNUUIDCustomField; + } + + return self; +} + +- (instancetype)init { + [self throwUnavailableInitInterface]; + + return nil; +} + +#pragma mark - + + +@end diff --git a/PubNub/Network/Requests/Objects/UUID/PNRemoveUUIDMetadataRequest.h b/PubNub/Network/Requests/Objects/UUID/PNRemoveUUIDMetadataRequest.h new file mode 100644 index 000000000..4f986600f --- /dev/null +++ b/PubNub/Network/Requests/Objects/UUID/PNRemoveUUIDMetadataRequest.h @@ -0,0 +1,45 @@ +#import "PNBaseObjectsRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Remove \c UUID \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNRemoveUUIDMetadataRequest : PNBaseObjectsRequest + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c remove \c UUID \c metadata request. + * + * @param uuid Identifier for which \c metadata should be removed. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @return Configured and ready to use \c remove \c UUID \c metadata request. + */ ++ (instancetype)requestWithUUID:(nullable NSString *)uuid; + +/** + * @brief Forbids request initialization. + * + * @throws Interface not available exception and requirement to use provided constructor method. + * + * @return Initialized request. + */ +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/User/PNDeleteUserRequest.m b/PubNub/Network/Requests/Objects/UUID/PNRemoveUUIDMetadataRequest.m similarity index 52% rename from PubNub/Network/Requests/Objects/User/PNDeleteUserRequest.m rename to PubNub/Network/Requests/Objects/UUID/PNRemoveUUIDMetadataRequest.m index 31e4070f2..da2f54982 100644 --- a/PubNub/Network/Requests/Objects/User/PNDeleteUserRequest.m +++ b/PubNub/Network/Requests/Objects/UUID/PNRemoveUUIDMetadataRequest.m @@ -1,23 +1,23 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNBaseObjectsRequest+Private.h" -#import "PNDeleteUserRequest.h" +#import "PNRemoveUUIDMetadataRequest.h" #import "PNRequest+Private.h" #pragma mark Interface implementation -@implementation PNDeleteUserRequest +@implementation PNRemoveUUIDMetadataRequest #pragma mark - Information - (PNOperationType)operation { - return PNDeleteUserOperation; + return PNRemoveUUIDMetadataOperation; } - (NSString *)httpMethod { @@ -27,8 +27,12 @@ - (NSString *)httpMethod { #pragma mark - Initialization & Configuration -+ (instancetype)requestWithUserID:(NSString *)identifier { - return [[self alloc] initWithObject:@"User" identifier:identifier]; ++ (instancetype)new { + return [self requestWithUUID:nil]; +} + ++ (instancetype)requestWithUUID:(NSString *)uuid { + return [[self alloc] initWithObject:@"UUID" identifier:uuid]; } - (instancetype)init { diff --git a/PubNub/Network/Requests/Objects/UUID/PNSetUUIDMetadataRequest.h b/PubNub/Network/Requests/Objects/UUID/PNSetUUIDMetadataRequest.h new file mode 100644 index 000000000..541e1a824 --- /dev/null +++ b/PubNub/Network/Requests/Objects/UUID/PNSetUUIDMetadataRequest.h @@ -0,0 +1,81 @@ +#import "PNBaseObjectsRequest.h" + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +/** + * @brief \c Set \c UUID \c metadata request. + * + * @author Serhii Mamontov + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. + */ +@interface PNSetUUIDMetadataRequest : PNBaseObjectsRequest + + +#pragma mark - Information + +/** + * @brief Additional / complex attributes which should be associated with \c metadata. + */ +@property (nonatomic, nullable, strong) NSDictionary *custom; + +/** + * @brief Identifier from external service (database, auth service). + */ +@property (nonatomic, nullable, copy) NSString *externalId; + +/** + * @brief URL at which profile available. + */ +@property (nonatomic, nullable, copy) NSString *profileUrl; + +/** + * @brief Bitfield set to fields which should be returned with response. + * + * @note Supported keys specified in \b PNUUIDFields enum. + * @note Default value (\b PNUUIDCustomField ) can be reset by setting \c 0. + */ +@property (nonatomic, assign) PNUUIDFields includeFields; + +/** + * @brief Email address. + */ +@property (nonatomic, nullable, copy) NSString *email; + +/** + * @brief Name which should be stored in \c metadata associated with specified \c identifier. + */ +@property (nonatomic, nullable, copy) NSString *name; + + +#pragma mark - Initialization & Configuration + +/** + * @brief Create and configure \c set \c UUID \c metadata request. + * + * @param uuid Identifier with which \c metadata is linked. + * Will be set to current \b PubNub configuration \c uuid if \a nil is set. + * + * @return Configured and ready to use \c set \c UUID \c metadata request. + */ ++ (instancetype)requestWithUUID:(nullable NSString *)uuid; + +/** + * @brief Forbids request initialization. + * + * @throws Interface not available exception and requirement to use provided constructor method. + * + * @return Initialized request. + */ +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/User/PNManageUserDataRequest.m b/PubNub/Network/Requests/Objects/UUID/PNSetUUIDMetadataRequest.m similarity index 70% rename from PubNub/Network/Requests/Objects/User/PNManageUserDataRequest.m rename to PubNub/Network/Requests/Objects/UUID/PNSetUUIDMetadataRequest.m index ae118b3c3..40a8f9e21 100644 --- a/PubNub/Network/Requests/Objects/User/PNManageUserDataRequest.m +++ b/PubNub/Network/Requests/Objects/UUID/PNSetUUIDMetadataRequest.m @@ -1,42 +1,40 @@ /** * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. + * @version 4.14.0 + * @since 4.14.0 + * @copyright © 2010-2020 PubNub, Inc. */ #import "PNBaseObjectsRequest+Private.h" -#import "PNManageUserDataRequest.h" +#import "PNSetUUIDMetadataRequest.h" #import "PNRequest+Private.h" -#import "PNErrorCodes.h" #import "PNDictionary.h" +#import "PNErrorCodes.h" #pragma mark Interface implementation -@implementation PNManageUserDataRequest +@implementation PNSetUUIDMetadataRequest #pragma mark - Information -- (void)setName:(NSString *)name { - if (_name.length == 0 && name.length) { - _name = [name copy]; - } +- (PNOperationType)operation { + return PNSetUUIDMetadataOperation; +} + +- (NSString *)httpMethod { + return @"PATCH"; } - (NSData *)bodyData { NSArray *clss = @[[NSString class], [NSNumber class]]; - - if (self.name && self.name.length == 0) { - self.parametersError = [self missingParameterError:@"name" forObjectRequest:@"User"]; - } - + if (self.custom.count && ![PNDictionary isDictionary:self.custom containValueOfClasses:clss]) { - NSString *reason = [NSString stringWithFormat:@"'custom' object for '%@' user contain not " + NSString *reason = [NSString stringWithFormat:@"'custom' object for '%@' contain not " "allowed data types (only NSString and NSNumber allowed).", self.identifier]; NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"User additional information serialization did fail", + NSLocalizedDescriptionKey: @"Metadata additional information serialization did fail", NSLocalizedFailureReasonErrorKey: reason, }; @@ -44,19 +42,19 @@ - (NSData *)bodyData { code:kPNAPIUnacceptableParameters userInfo:errorInformation]; } - + if (self.parametersError) { return nil; } - NSMutableDictionary *info = [@{ @"id": self.identifier } mutableCopy]; + NSMutableDictionary *info = [NSMutableDictionary new]; NSError *error = nil; NSData *data = nil; if (self.name) { info[@"name"] = self.name; } - + if (self.externalId.length) { info[@"externalId"] = self.externalId; } @@ -82,7 +80,7 @@ - (NSData *)bodyData { NSLocalizedDescriptionKey: @"Unable to serialize to JSON string", NSLocalizedFailureReasonErrorKey: @"Provided object contains unsupported data type instances." }; - + error = [NSError errorWithDomain:NSCocoaErrorDomain code:NSPropertyListWriteInvalidError userInfo:errorInformation]; @@ -90,7 +88,7 @@ - (NSData *)bodyData { if (error) { NSDictionary *errorInformation = @{ - NSLocalizedDescriptionKey: @"User information serialization did fail", + NSLocalizedDescriptionKey: @"Metadata information serialization did fail", NSUnderlyingErrorKey: error }; @@ -102,6 +100,31 @@ - (NSData *)bodyData { return data; } + +#pragma mark - Initialization & Configuration + ++ (instancetype)new { + return [self requestWithUUID:nil]; +} + ++ (instancetype)requestWithUUID:(NSString *)uuid { + return [[self alloc] initWithObject:@"UUID" identifier:uuid]; +} + +- (instancetype)initWithObject:(NSString *)objectType identifier:(NSString *)identifier { + if ((self = [super initWithObject:objectType identifier:identifier])) { + _includeFields = PNUUIDCustomField; + } + + return self; +} + +- (instancetype)init { + [self throwUnavailableInitInterface]; + + return nil; +} + #pragma mark - diff --git a/PubNub/Network/Requests/Objects/User/PNCreateUserRequest.h b/PubNub/Network/Requests/Objects/User/PNCreateUserRequest.h deleted file mode 100644 index 6515df816..000000000 --- a/PubNub/Network/Requests/Objects/User/PNCreateUserRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -#import "PNManageUserDataRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Create \c user request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNCreateUserRequest : PNManageUserDataRequest - - -#pragma mark - Information - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @discussion Additional \c user object fields which should be returned in response (by default - * set to \b PNUserCustomField). - * - * @note Supported keys specified in \b PNUserFields enum. - * @note Default value can be reset by setting \c 0. - */ -@property (nonatomic, assign) PNUserFields includeFields; - - -#pragma mark - Initialization & Configuration - -/** - * @brief Create and configure \c create \c user request. - * - * @param identifier Unique identifier for new \c user entry. - * @param name Name which should be associated with new \c user entry. - * - * @return Configured and ready to use \c create \c user request. - */ -+ (instancetype)requestWithUserID:(NSString *)identifier name:(NSString *)name - NS_SWIFT_NAME(init(userID:name:)); - -/** - * @brief Forbids request initialization. - * - * @throws Interface not available exception and requirement to use provided constructor method. - * - * @return Initialized request. - */ -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/User/PNCreateUserRequest.m b/PubNub/Network/Requests/Objects/User/PNCreateUserRequest.m deleted file mode 100644 index cc9db8893..000000000 --- a/PubNub/Network/Requests/Objects/User/PNCreateUserRequest.m +++ /dev/null @@ -1,83 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNBaseObjectsRequest+Private.h" -#import "PNCreateUserRequest.h" -#import "PNRequest+Private.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Protected interface declaration - -@interface PNCreateUserRequest () - - -#pragma mark - Initialization & Configuration - -/** - * @brief Initialize \c create \c user request. - * - * @param identifier Unique identifier for new \c user entry. - * @param name Name which should be associated with new \c user entry. - * - * @return Initialized and ready to use \c create \c user request. - */ -- (instancetype)initWithUserID:(NSString *)identifier name:(NSString *)name; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Interface implementation - -@implementation PNCreateUserRequest - - -#pragma mark - Information - -- (PNOperationType)operation { - return PNCreateUserOperation; -} - -- (NSString *)httpMethod { - return @"POST"; -} - - -#pragma mark - Initialization & Configuration - -+ (instancetype)requestWithUserID:(NSString *)identifier name:(NSString *)name { - return [[self alloc] initWithUserID:identifier name:name]; -} - -- (instancetype)initWithUserID:(NSString *)identifier name:(NSString *)name { - if ((self = [super initWithObject:@"User" identifier:identifier])) { - self.includeFields = PNUserCustomField; - self.name = name; - - if (!name.length) { - self.parametersError = [self missingParameterError:@"name" forObjectRequest:@"User"]; - } - } - - return self; -} - -- (instancetype)init { - [self throwUnavailableInitInterface]; - - return nil; -} - -#pragma mark - - - -@end diff --git a/PubNub/Network/Requests/Objects/User/PNDeleteUserRequest.h b/PubNub/Network/Requests/Objects/User/PNDeleteUserRequest.h deleted file mode 100644 index 9d2e1c4c3..000000000 --- a/PubNub/Network/Requests/Objects/User/PNDeleteUserRequest.h +++ /dev/null @@ -1,44 +0,0 @@ -#import "PNBaseObjectsRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Delete \c user request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNDeleteUserRequest : PNBaseObjectsRequest - - -#pragma mark - Initialization & Configuration - -/** - * @brief Create and configure \c delete \c user request. - * - * @param identifier Identifier of \c user which should be removed. - * - * @return Configured and ready to use \c delete \c user request. - */ -+ (instancetype)requestWithUserID:(NSString *)identifier; - -/** - * @brief Forbids request initialization. - * - * @throws Interface not available exception and requirement to use provided constructor method. - * - * @return Initialized request. - */ -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/User/PNFetchUserRequest.h b/PubNub/Network/Requests/Objects/User/PNFetchUserRequest.h deleted file mode 100644 index 1c674531e..000000000 --- a/PubNub/Network/Requests/Objects/User/PNFetchUserRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -#import "PNBaseObjectsRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Fetch \c user request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchUserRequest : PNBaseObjectsRequest - - -#pragma mark - Information - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @note Supported keys specified in \b PNUserFields enum. - * @note Omit this property if you don't want to retrieve additional attributes. - */ -@property (nonatomic, assign) PNUserFields includeFields; - - -#pragma mark - Initialization & Configuration - -/** - * @brief Create and configure \c fetch \c user request. - * - * @param identifier Identifier of \c user which should be fetched. - * - * @return Configured and ready to use \c fetch \c user request. - */ -+ (instancetype)requestWithUserID:(NSString *)identifier; - -/** - * @brief Forbids request initialization. - * - * @throws Interface not available exception and requirement to use provided constructor method. - * - * @return Initialized request. - */ -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/User/PNFetchUserRequest.m b/PubNub/Network/Requests/Objects/User/PNFetchUserRequest.m deleted file mode 100644 index 06bb661e3..000000000 --- a/PubNub/Network/Requests/Objects/User/PNFetchUserRequest.m +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNBaseObjectsRequest+Private.h" -#import "PNFetchUserRequest.h" -#import "PNRequest+Private.h" - - -#pragma mark Interface implementation - -@implementation PNFetchUserRequest - - -#pragma mark - Information - -@dynamic includeFields; - - -- (PNOperationType)operation { - return PNFetchUserOperation; -} - - -#pragma mark - Initialization & Configuration - -+ (instancetype)requestWithUserID:(NSString *)identifier { - return [[self alloc] initWithObject:@"User" identifier:identifier]; -} - -- (instancetype)init { - [self throwUnavailableInitInterface]; - - return nil; -} - -#pragma mark - - - -@end diff --git a/PubNub/Network/Requests/Objects/User/PNFetchUsersRequest.h b/PubNub/Network/Requests/Objects/User/PNFetchUsersRequest.h deleted file mode 100644 index d32ab367d..000000000 --- a/PubNub/Network/Requests/Objects/User/PNFetchUsersRequest.h +++ /dev/null @@ -1,34 +0,0 @@ -#import "PNObjectsPaginatedRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Fetch \c all \c users request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNFetchUsersRequest : PNObjectsPaginatedRequest - - -#pragma mark - Information - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @note Supported keys specified in \b PNUserFields enum. - * @note Omit this property if you don't want to retrieve additional attributes. - */ -@property (nonatomic, assign) PNUserFields includeFields; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/User/PNFetchUsersRequest.m b/PubNub/Network/Requests/Objects/User/PNFetchUsersRequest.m deleted file mode 100644 index ae55cf43d..000000000 --- a/PubNub/Network/Requests/Objects/User/PNFetchUsersRequest.m +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNFetchUsersRequest.h" - - -#pragma mark Interface implementation - -@implementation PNFetchUsersRequest - - -#pragma mark - Information - -@dynamic includeFields; - - -- (PNOperationType)operation { - return PNFetchUsersOperation; -} - -#pragma mark - - - -@end diff --git a/PubNub/Network/Requests/Objects/User/PNManageUserDataRequest.h b/PubNub/Network/Requests/Objects/User/PNManageUserDataRequest.h deleted file mode 100644 index c8b0ff5db..000000000 --- a/PubNub/Network/Requests/Objects/User/PNManageUserDataRequest.h +++ /dev/null @@ -1,53 +0,0 @@ -#import "PNBaseObjectsRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief Private \c create / \c update user request extension to provide ability specify data for - * pre-defined fields. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNManageUserDataRequest : PNBaseObjectsRequest - - -#pragma mark - Information - -/** - * @brief \c User identifier from external service (database, auth service). - */ -@property (nonatomic, nullable, copy) NSString *externalId; - -/** - * @brief URL at which user's profile available. - */ -@property (nonatomic, nullable, copy) NSString *profileUrl; - -/** - * @brief Additional / complex attributes which should be associated to \c user with specified - * \c identifier. - */ -@property (nonatomic, nullable, copy) NSDictionary *custom; - -/** - * @brief Email address which should be associated to \c user with specified \c identifier. - */ -@property (nonatomic, nullable, copy) NSString *email; - -/** - * @brief Name which should be associated to \c user with specified \c identifier. - */ -@property (nonatomic, copy) NSString *name; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/User/PNUpdateUserRequest.h b/PubNub/Network/Requests/Objects/User/PNUpdateUserRequest.h deleted file mode 100644 index e7530213e..000000000 --- a/PubNub/Network/Requests/Objects/User/PNUpdateUserRequest.h +++ /dev/null @@ -1,56 +0,0 @@ -#import "PNManageUserDataRequest.h" - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -/** - * @brief \c Update \c user request. - * - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -@interface PNUpdateUserRequest : PNManageUserDataRequest - - -#pragma mark - Information - -/** - * @brief Bitfield set to fields which should be returned with response. - * - * @note Supported keys specified in \b PNUserFields enum. - * @note Omit this property or set to \c 0 if you don't want to retrieve additional attributes. - * @note By default set to \b PNSpaceCustomField. - */ -@property (nonatomic, assign) PNUserFields includeFields; - - -#pragma mark - Initialization & Configuration - -/** - * @brief Create and configure \c update \c user request. - * - * @param identifier Identifier of \c user which should be updated. - * - * @return Configured and ready to use \c update \c user request. - */ -+ (instancetype)requestWithUserID:(NSString *)identifier; - -/** - * @brief Forbids request initialization. - * - * @throws Interface not available exception and requirement to use provided constructor method. - * - * @return Initialized request. - */ -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END diff --git a/PubNub/Network/Requests/Objects/User/PNUpdateUserRequest.m b/PubNub/Network/Requests/Objects/User/PNUpdateUserRequest.m deleted file mode 100644 index ee77b1fcc..000000000 --- a/PubNub/Network/Requests/Objects/User/PNUpdateUserRequest.m +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @author Serhii Mamontov - * @version 4.10.0 - * @since 4.10.0 - * @copyright © 2010-2019 PubNub, Inc. - */ -#import "PNBaseObjectsRequest+Private.h" -#import "PNUpdateUserRequest.h" -#import "PNRequest+Private.h" - - -#pragma mark Interface implementation - -@implementation PNUpdateUserRequest - - -#pragma mark - Information - -- (PNOperationType)operation { - return PNUpdateUserOperation; -} - -- (NSString *)httpMethod { - return @"PATCH"; -} - - -#pragma mark - Initialization & Configuration - -+ (instancetype)requestWithUserID:(NSString *)identifier { - return [[self alloc] initWithObject:@"User" identifier:identifier]; -} - -- (instancetype)init { - [self throwUnavailableInitInterface]; - - return nil; -} - -#pragma mark - - - -@end diff --git a/PubNub/Network/Requests/PNRequest+Private.h b/PubNub/Network/Requests/PNRequest+Private.h index ea083e936..7749e7d1d 100644 --- a/PubNub/Network/Requests/PNRequest+Private.h +++ b/PubNub/Network/Requests/PNRequest+Private.h @@ -70,6 +70,22 @@ NS_ASSUME_NONNULL_BEGIN */ - (NSError *)missingParameterError:(NSString *)parameter forObjectRequest:(NSString *)objectType; +/** + * @brief Create error which will provide information about that one of request parameter values is + * too short. + * + * @param parameter Name of parameter who's length smaller than minimum value. + * @param objectType Name of object type. + * @param actualLength Actual value length. + * @param minimumLength Minimum allowed value length. + * + * @return Error with information about short parameter. + */ +- (NSError *)valueTooShortErrorForParameter:(NSString *)parameter + ofObjectRequest:(NSString *)objectType + withLength:(NSUInteger)actualLength + minimumLength:(NSUInteger)minimumLength; + /** * @brief Create error which will provide information about that one of request parameter values is * too long. @@ -79,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN * @param actualLength Actual value length. * @param maximumLength Maximum allowed value length. * - * @return Error with information about missing parameter. + * @return Error with information about long parameter. */ - (NSError *)valueTooLongErrorForParameter:(NSString *)parameter ofObjectRequest:(NSString *)objectType diff --git a/PubNub/Network/Requests/PNRequest.h b/PubNub/Network/Requests/PNRequest.h index 4bfba93c9..92c1dc967 100644 --- a/PubNub/Network/Requests/PNRequest.h +++ b/PubNub/Network/Requests/PNRequest.h @@ -18,6 +18,7 @@ NS_ASSUME_NONNULL_BEGIN */ @interface PNRequest : NSObject + #pragma mark - diff --git a/PubNub/Network/Requests/PNRequest.m b/PubNub/Network/Requests/PNRequest.m index 92bb7962d..494899b51 100644 --- a/PubNub/Network/Requests/PNRequest.m +++ b/PubNub/Network/Requests/PNRequest.m @@ -48,7 +48,7 @@ - (NSString *)httpMethod { } - (BOOL)returnsResponse { - return [self.httpMethod.uppercaseString isEqualToString:@"GET"] ? YES : NO; + return [self.httpMethod.uppercaseString isEqualToString:@"GET"]; } - (void)setParametersError:(NSError *)parametersError { @@ -81,10 +81,29 @@ - (NSError *)missingParameterError:(NSString *)parameter forObjectRequest:(NSStr userInfo:errorInformation]; } +- (NSError *)valueTooShortErrorForParameter:(NSString *)parameter + ofObjectRequest:(NSString *)objectType + withLength:(NSUInteger)actualLength + minimumLength:(NSUInteger)minimumLength { + + NSString *reason = [NSString stringWithFormat:@"%@'s '%@' parameter is too shorty (%@ when %@ " + "minimum allowed).", objectType.capitalizedString, parameter, + @(actualLength), @(minimumLength)]; + NSDictionary *errorInformation = @{ + NSLocalizedDescriptionKey: @"Request parameters error", + NSLocalizedFailureReasonErrorKey: reason + }; + + return [NSError errorWithDomain:kPNAPIErrorDomain + code:kPNAPIUnacceptableParameters + userInfo:errorInformation]; +} + - (NSError *)valueTooLongErrorForParameter:(NSString *)parameter ofObjectRequest:(NSString *)objectType withLength:(NSUInteger)actualLength maximumLength:(NSUInteger)maximumLength { + NSString *reason = [NSString stringWithFormat:@"%@'s '%@' parameter is too long (%@ when %@ " "maximum allowed).", objectType.capitalizedString, parameter, @(actualLength), @(maximumLength)]; diff --git a/PubNub/PubNub.h b/PubNub/PubNub.h index 6f778f8e4..31ff39d71 100644 --- a/PubNub/PubNub.h +++ b/PubNub/PubNub.h @@ -2,7 +2,7 @@ #define PubNub_h // Protocols -#import "PNObjectEventListener.h" +#import "PNEventsListener.h" // Categories #import "NSURLSessionConfiguration+PNConfiguration.h" diff --git a/README.md b/README.md index adfce25a2..1cd7a2af0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PubNub 4.13.2 for iOS 9+ +# PubNub 4.14.0 for iOS 9+ [![Twitter](https://img.shields.io/badge/twitter-%40PubNub-blue.svg?style=flat)](https://twitter.com/PubNub) [![Twitter Releases](https://img.shields.io/badge/twitter-%40PubNubRelease-blue.svg?style=flat)](https://twitter.com/PubNubRelease) [![License](https://img.shields.io/github/license/pubnub/objective-c.svg?style=flat)](https://img.shields.io/github/license/pubnub/objective-c.svg) diff --git a/Tests/PubNub Tests.xcodeproj/project.pbxproj b/Tests/PubNub Tests.xcodeproj/project.pbxproj index 6f9a1e7c7..46b259022 100644 --- a/Tests/PubNub Tests.xcodeproj/project.pbxproj +++ b/Tests/PubNub Tests.xcodeproj/project.pbxproj @@ -24,12 +24,12 @@ A53D0AF223E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF123E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m */; }; A53D0AF323E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF123E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m */; }; A53D0AF423E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF123E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m */; }; - A53D0AF623E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF523E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m */; }; - A53D0AF723E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF523E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m */; }; - A53D0AF823E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF523E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m */; }; - A53D0AFA23E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF923E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m */; }; - A53D0AFB23E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF923E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m */; }; - A53D0AFC23E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF923E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m */; }; + A53D0AF623E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF523E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m */; }; + A53D0AF723E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF523E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m */; }; + A53D0AF823E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF523E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m */; }; + A53D0AFA23E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF923E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m */; }; + A53D0AFB23E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF923E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m */; }; + A53D0AFC23E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AF923E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m */; }; A53D0B0023EA00EB001E72AF /* PNMessageActionsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AFF23EA00EB001E72AF /* PNMessageActionsAPICallBuilderTest.m */; }; A53D0B0123EA00EB001E72AF /* PNMessageActionsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AFF23EA00EB001E72AF /* PNMessageActionsAPICallBuilderTest.m */; }; A53D0B0223EA00EB001E72AF /* PNMessageActionsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0AFF23EA00EB001E72AF /* PNMessageActionsAPICallBuilderTest.m */; }; @@ -45,12 +45,12 @@ A53D0B1323EA0A07001E72AF /* PNMemberObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1223EA0A07001E72AF /* PNMemberObjectsTest.m */; }; A53D0B1423EA0A07001E72AF /* PNMemberObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1223EA0A07001E72AF /* PNMemberObjectsTest.m */; }; A53D0B1523EA0A07001E72AF /* PNMemberObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1223EA0A07001E72AF /* PNMemberObjectsTest.m */; }; - A53D0B1723EA0AB4001E72AF /* PNSpaceObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1623EA0AB4001E72AF /* PNSpaceObjectsTest.m */; }; - A53D0B1823EA0AB4001E72AF /* PNSpaceObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1623EA0AB4001E72AF /* PNSpaceObjectsTest.m */; }; - A53D0B1923EA0AB4001E72AF /* PNSpaceObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1623EA0AB4001E72AF /* PNSpaceObjectsTest.m */; }; - A53D0B1B23EA0C5C001E72AF /* PNUserObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1A23EA0C5C001E72AF /* PNUserObjectsTest.m */; }; - A53D0B1C23EA0C5C001E72AF /* PNUserObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1A23EA0C5C001E72AF /* PNUserObjectsTest.m */; }; - A53D0B1D23EA0C5C001E72AF /* PNUserObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1A23EA0C5C001E72AF /* PNUserObjectsTest.m */; }; + A53D0B1723EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1623EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m */; }; + A53D0B1823EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1623EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m */; }; + A53D0B1923EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1623EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m */; }; + A53D0B1B23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1A23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m */; }; + A53D0B1C23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1A23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m */; }; + A53D0B1D23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1A23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m */; }; A53D0B2023EA0DB7001E72AF /* PNMessageActionsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1F23EA0DB7001E72AF /* PNMessageActionsTest.m */; }; A53D0B2123EA0DB7001E72AF /* PNMessageActionsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1F23EA0DB7001E72AF /* PNMessageActionsTest.m */; }; A53D0B2223EA0DB7001E72AF /* PNMessageActionsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A53D0B1F23EA0DB7001E72AF /* PNMessageActionsTest.m */; }; @@ -72,14 +72,14 @@ A54E290323C16B3D0024714B /* PNMemberIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290123C16B3D0024714B /* PNMemberIntegrationTest.m */; }; A54E290423C16B3D0024714B /* PNMemberIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290123C16B3D0024714B /* PNMemberIntegrationTest.m */; }; A54E290523C16B3D0024714B /* PNMemberIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290123C16B3D0024714B /* PNMemberIntegrationTest.m */; }; - A54E290723C286090024714B /* PNSpaceIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290623C286090024714B /* PNSpaceIntegrationTest.m */; }; - A54E290823C286090024714B /* PNSpaceIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290623C286090024714B /* PNSpaceIntegrationTest.m */; }; - A54E290923C286090024714B /* PNSpaceIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290623C286090024714B /* PNSpaceIntegrationTest.m */; }; - A54E290A23C286090024714B /* PNSpaceIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290623C286090024714B /* PNSpaceIntegrationTest.m */; }; - A54E290C23C2992A0024714B /* PNUserIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290B23C2992A0024714B /* PNUserIntegrationTest.m */; }; - A54E290D23C2992A0024714B /* PNUserIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290B23C2992A0024714B /* PNUserIntegrationTest.m */; }; - A54E290E23C2992A0024714B /* PNUserIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290B23C2992A0024714B /* PNUserIntegrationTest.m */; }; - A54E290F23C2992A0024714B /* PNUserIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290B23C2992A0024714B /* PNUserIntegrationTest.m */; }; + A54E290723C286090024714B /* PNChannelMetadataIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290623C286090024714B /* PNChannelMetadataIntegrationTest.m */; }; + A54E290823C286090024714B /* PNChannelMetadataIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290623C286090024714B /* PNChannelMetadataIntegrationTest.m */; }; + A54E290923C286090024714B /* PNChannelMetadataIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290623C286090024714B /* PNChannelMetadataIntegrationTest.m */; }; + A54E290A23C286090024714B /* PNChannelMetadataIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290623C286090024714B /* PNChannelMetadataIntegrationTest.m */; }; + A54E290C23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290B23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m */; }; + A54E290D23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290B23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m */; }; + A54E290E23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290B23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m */; }; + A54E290F23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A54E290B23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m */; }; A59ECFDD23BB571200E84300 /* PNSignalTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A59ECFDC23BB571200E84300 /* PNSignalTest.m */; }; A59ECFDE23BB571200E84300 /* PNSignalTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A59ECFDC23BB571200E84300 /* PNSignalTest.m */; }; A59ECFDF23BB571200E84300 /* PNSignalTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A59ECFDC23BB571200E84300 /* PNSignalTest.m */; }; @@ -142,6 +142,9 @@ A5DB1E9E23B412E7009B1B23 /* PNPublishIntegrationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A5DB1E9B23B412E7009B1B23 /* PNPublishIntegrationTests.m */; }; A5DB1E9F23B412E7009B1B23 /* PNPublishIntegrationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A5DB1E9B23B412E7009B1B23 /* PNPublishIntegrationTests.m */; }; A5DB1EA023B41476009B1B23 /* tests-configuration.json in Resources */ = {isa = PBXBuildFile; fileRef = A529271823B1855A00FF46DD /* tests-configuration.json */; }; + A5F8E9DC2476D47A007F79AB /* PNObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5F8E9DA2476D46D007F79AB /* PNObjectsAPICallBuilderTest.m */; }; + A5F8E9DD2476D47C007F79AB /* PNObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5F8E9DA2476D46D007F79AB /* PNObjectsAPICallBuilderTest.m */; }; + A5F8E9DE2476D47D007F79AB /* PNObjectsAPICallBuilderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A5F8E9DA2476D46D007F79AB /* PNObjectsAPICallBuilderTest.m */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -158,23 +161,23 @@ A529271823B1855A00FF46DD /* tests-configuration.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = "tests-configuration.json"; sourceTree = ""; }; A53D0AED23E9BF60001E72AF /* PNMembershipsObjectsAPICallBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMembershipsObjectsAPICallBuilderTest.m; sourceTree = ""; }; A53D0AF123E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMembersObjectsAPICallBuilderTest.m; sourceTree = ""; }; - A53D0AF523E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNSpaceObjectsAPICallBuilderTest.m; sourceTree = ""; }; - A53D0AF923E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNUserObjectsAPICallBuilderTest.m; sourceTree = ""; }; + A53D0AF523E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNChannelMetadataAPICallBuilderTest.m; sourceTree = ""; }; + A53D0AF923E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNUUIDMetadataAPICallBuilderTest.m; sourceTree = ""; }; A53D0AFF23EA00EB001E72AF /* PNMessageActionsAPICallBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMessageActionsAPICallBuilderTest.m; sourceTree = ""; }; A53D0B0423EA063A001E72AF /* PNSignalAPIBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNSignalAPIBuilderTest.m; sourceTree = ""; }; A53D0B0923EA070A001E72AF /* PNMessageCountAPICallBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMessageCountAPICallBuilderTest.m; sourceTree = ""; }; A53D0B0E23EA07E5001E72AF /* PNMembershipObjectsTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMembershipObjectsTest.m; sourceTree = ""; }; A53D0B1223EA0A07001E72AF /* PNMemberObjectsTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMemberObjectsTest.m; sourceTree = ""; }; - A53D0B1623EA0AB4001E72AF /* PNSpaceObjectsTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNSpaceObjectsTest.m; sourceTree = ""; }; - A53D0B1A23EA0C5C001E72AF /* PNUserObjectsTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNUserObjectsTest.m; sourceTree = ""; }; + A53D0B1623EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNChannelMetadataObjectsTest.m; sourceTree = ""; }; + A53D0B1A23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNUUIDMetadataObjectsTest.m; sourceTree = ""; }; A53D0B1F23EA0DB7001E72AF /* PNMessageActionsTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMessageActionsTest.m; sourceTree = ""; }; A53D0B2523EA0EAD001E72AF /* PNMessageCountTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMessageCountTest.m; sourceTree = ""; }; A53D0B2A23EA0FEF001E72AF /* PNNotificationPayloadBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNNotificationPayloadBuilderTest.m; sourceTree = ""; }; A54185DC23B9565000FBA26A /* PNPushNotificationsIntegrationTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNPushNotificationsIntegrationTests.m; sourceTree = ""; }; A54E28FC23C089730024714B /* PNMembershipIntegrationTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMembershipIntegrationTest.m; sourceTree = ""; }; A54E290123C16B3D0024714B /* PNMemberIntegrationTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMemberIntegrationTest.m; sourceTree = ""; }; - A54E290623C286090024714B /* PNSpaceIntegrationTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNSpaceIntegrationTest.m; sourceTree = ""; }; - A54E290B23C2992A0024714B /* PNUserIntegrationTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNUserIntegrationTest.m; sourceTree = ""; }; + A54E290623C286090024714B /* PNChannelMetadataIntegrationTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNChannelMetadataIntegrationTest.m; sourceTree = ""; }; + A54E290B23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNUUIDMetadataIntegrationTest.m; sourceTree = ""; }; A59ECFDC23BB571200E84300 /* PNSignalTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNSignalTest.m; sourceTree = ""; }; A59ECFE323BB5B1900E84300 /* PNHistoryIntegrationTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNHistoryIntegrationTests.m; sourceTree = ""; }; A59ECFE923BD5E8F00E84300 /* PNMessageActionsIntegrationTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNMessageActionsIntegrationTest.m; sourceTree = ""; }; @@ -192,6 +195,7 @@ A5DB1E9123B2D212009B1B23 /* NSInvocation+PNTest.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSInvocation+PNTest.h"; sourceTree = ""; }; A5DB1E9223B2D212009B1B23 /* NSInvocation+PNTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSInvocation+PNTest.m"; sourceTree = ""; }; A5DB1E9B23B412E7009B1B23 /* PNPublishIntegrationTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNPublishIntegrationTests.m; sourceTree = ""; }; + A5F8E9DA2476D46D007F79AB /* PNObjectsAPICallBuilderTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PNObjectsAPICallBuilderTest.m; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -326,8 +330,9 @@ children = ( A53D0AED23E9BF60001E72AF /* PNMembershipsObjectsAPICallBuilderTest.m */, A53D0AF123E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m */, - A53D0AF523E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m */, - A53D0AF923E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m */, + A53D0AF523E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m */, + A53D0AF923E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m */, + A5F8E9DA2476D46D007F79AB /* PNObjectsAPICallBuilderTest.m */, ); path = Objects; sourceTree = ""; @@ -369,8 +374,8 @@ children = ( A53D0B0E23EA07E5001E72AF /* PNMembershipObjectsTest.m */, A53D0B1223EA0A07001E72AF /* PNMemberObjectsTest.m */, - A53D0B1623EA0AB4001E72AF /* PNSpaceObjectsTest.m */, - A53D0B1A23EA0C5C001E72AF /* PNUserObjectsTest.m */, + A53D0B1623EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m */, + A53D0B1A23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m */, ); path = Objects; sourceTree = ""; @@ -412,8 +417,8 @@ children = ( A54E28FC23C089730024714B /* PNMembershipIntegrationTest.m */, A54E290123C16B3D0024714B /* PNMemberIntegrationTest.m */, - A54E290623C286090024714B /* PNSpaceIntegrationTest.m */, - A54E290B23C2992A0024714B /* PNUserIntegrationTest.m */, + A54E290623C286090024714B /* PNChannelMetadataIntegrationTest.m */, + A54E290B23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m */, ); path = Objects; sourceTree = ""; @@ -788,11 +793,11 @@ files = ( A5BB312323DCF4570015525A /* PNPresenceStateIntegrationTest.m in Sources */, A5BDE10223C35939000E7895 /* PNPresenceIntegrationTest.m in Sources */, - A54E290823C286090024714B /* PNSpaceIntegrationTest.m in Sources */, + A54E290823C286090024714B /* PNChannelMetadataIntegrationTest.m in Sources */, A5BB312D23DE33310015525A /* PNTimeIntegrationTest.m in Sources */, A5BBD01D23BAB7F60089AD06 /* PNChannelGroupIntegrationTests.m in Sources */, A5DB1E9D23B412E7009B1B23 /* PNPublishIntegrationTests.m in Sources */, - A54E290D23C2992A0024714B /* PNUserIntegrationTest.m in Sources */, + A54E290D23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m in Sources */, A54E28FE23C089730024714B /* PNMembershipIntegrationTest.m in Sources */, A59ECFE523BB5B1900E84300 /* PNHistoryIntegrationTests.m in Sources */, A5A905F323B571E8006D22BA /* NSString+PNTest.m in Sources */, @@ -811,22 +816,23 @@ files = ( A53D0B1023EA07E5001E72AF /* PNMembershipObjectsTest.m in Sources */, A53D0B2C23EA0FEF001E72AF /* PNNotificationPayloadBuilderTest.m in Sources */, - A53D0AFB23E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m in Sources */, + A53D0AFB23E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m in Sources */, A5DB1E9623B2D212009B1B23 /* NSInvocation+PNTest.m in Sources */, A59ECFDE23BB571200E84300 /* PNSignalTest.m in Sources */, A53D0B0123EA00EB001E72AF /* PNMessageActionsAPICallBuilderTest.m in Sources */, A53D0B2123EA0DB7001E72AF /* PNMessageActionsTest.m in Sources */, + A5F8E9DD2476D47C007F79AB /* PNObjectsAPICallBuilderTest.m in Sources */, A53D0B2723EA0EAD001E72AF /* PNMessageCountTest.m in Sources */, A53D0B0623EA063A001E72AF /* PNSignalAPIBuilderTest.m in Sources */, - A53D0B1C23EA0C5C001E72AF /* PNUserObjectsTest.m in Sources */, + A53D0B1C23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m in Sources */, A53D0AEF23E9BF60001E72AF /* PNMembershipsObjectsAPICallBuilderTest.m in Sources */, A53D0B0B23EA070A001E72AF /* PNMessageCountAPICallBuilderTest.m in Sources */, A5A905F423B571E8006D22BA /* NSString+PNTest.m in Sources */, A529271323B181FE00FF46DD /* PNRecordableTestCase.m in Sources */, A53D0B1423EA0A07001E72AF /* PNMemberObjectsTest.m in Sources */, - A53D0AF723E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m in Sources */, + A53D0AF723E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m in Sources */, A53D0AF323E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m in Sources */, - A53D0B1823EA0AB4001E72AF /* PNSpaceObjectsTest.m in Sources */, + A53D0B1823EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -836,11 +842,11 @@ files = ( A5BB312223DCF4570015525A /* PNPresenceStateIntegrationTest.m in Sources */, A5BDE10123C35939000E7895 /* PNPresenceIntegrationTest.m in Sources */, - A54E290723C286090024714B /* PNSpaceIntegrationTest.m in Sources */, + A54E290723C286090024714B /* PNChannelMetadataIntegrationTest.m in Sources */, A5BB312C23DE33310015525A /* PNTimeIntegrationTest.m in Sources */, A5BBD01C23BAB7F60089AD06 /* PNChannelGroupIntegrationTests.m in Sources */, A5DB1E9C23B412E7009B1B23 /* PNPublishIntegrationTests.m in Sources */, - A54E290C23C2992A0024714B /* PNUserIntegrationTest.m in Sources */, + A54E290C23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m in Sources */, A54E28FD23C089730024714B /* PNMembershipIntegrationTest.m in Sources */, A59ECFE423BB5B1900E84300 /* PNHistoryIntegrationTests.m in Sources */, A5A905F123B571E8006D22BA /* NSString+PNTest.m in Sources */, @@ -859,22 +865,23 @@ files = ( A53D0B0F23EA07E5001E72AF /* PNMembershipObjectsTest.m in Sources */, A53D0B2B23EA0FEF001E72AF /* PNNotificationPayloadBuilderTest.m in Sources */, - A53D0AFA23E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m in Sources */, + A53D0AFA23E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m in Sources */, A5DB1E9423B2D212009B1B23 /* NSInvocation+PNTest.m in Sources */, A59ECFDD23BB571200E84300 /* PNSignalTest.m in Sources */, A53D0B0023EA00EB001E72AF /* PNMessageActionsAPICallBuilderTest.m in Sources */, A53D0B2023EA0DB7001E72AF /* PNMessageActionsTest.m in Sources */, + A5F8E9DC2476D47A007F79AB /* PNObjectsAPICallBuilderTest.m in Sources */, A53D0B2623EA0EAD001E72AF /* PNMessageCountTest.m in Sources */, A53D0B0523EA063A001E72AF /* PNSignalAPIBuilderTest.m in Sources */, - A53D0B1B23EA0C5C001E72AF /* PNUserObjectsTest.m in Sources */, + A53D0B1B23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m in Sources */, A53D0AEE23E9BF60001E72AF /* PNMembershipsObjectsAPICallBuilderTest.m in Sources */, A53D0B0A23EA070A001E72AF /* PNMessageCountAPICallBuilderTest.m in Sources */, A5A905F223B571E8006D22BA /* NSString+PNTest.m in Sources */, A529271123B181FE00FF46DD /* PNRecordableTestCase.m in Sources */, A53D0B1323EA0A07001E72AF /* PNMemberObjectsTest.m in Sources */, - A53D0AF623E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m in Sources */, + A53D0AF623E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m in Sources */, A53D0AF223E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m in Sources */, - A53D0B1723EA0AB4001E72AF /* PNSpaceObjectsTest.m in Sources */, + A53D0B1723EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -884,22 +891,23 @@ files = ( A53D0B1123EA07E5001E72AF /* PNMembershipObjectsTest.m in Sources */, A53D0B2D23EA0FEF001E72AF /* PNNotificationPayloadBuilderTest.m in Sources */, - A53D0AFC23E9FBE4001E72AF /* PNUserObjectsAPICallBuilderTest.m in Sources */, + A53D0AFC23E9FBE4001E72AF /* PNUUIDMetadataAPICallBuilderTest.m in Sources */, A5DB1E9A23B2D212009B1B23 /* NSInvocation+PNTest.m in Sources */, A59ECFDF23BB571200E84300 /* PNSignalTest.m in Sources */, A53D0B0223EA00EB001E72AF /* PNMessageActionsAPICallBuilderTest.m in Sources */, A53D0B2223EA0DB7001E72AF /* PNMessageActionsTest.m in Sources */, + A5F8E9DE2476D47D007F79AB /* PNObjectsAPICallBuilderTest.m in Sources */, A53D0B2823EA0EAD001E72AF /* PNMessageCountTest.m in Sources */, A53D0B0723EA063A001E72AF /* PNSignalAPIBuilderTest.m in Sources */, - A53D0B1D23EA0C5C001E72AF /* PNUserObjectsTest.m in Sources */, + A53D0B1D23EA0C5C001E72AF /* PNUUIDMetadataObjectsTest.m in Sources */, A53D0AF023E9BF60001E72AF /* PNMembershipsObjectsAPICallBuilderTest.m in Sources */, A53D0B0C23EA070A001E72AF /* PNMessageCountAPICallBuilderTest.m in Sources */, A5A905F723B571E8006D22BA /* NSString+PNTest.m in Sources */, A529271723B181FE00FF46DD /* PNRecordableTestCase.m in Sources */, A53D0B1523EA0A07001E72AF /* PNMemberObjectsTest.m in Sources */, - A53D0AF823E9F7D7001E72AF /* PNSpaceObjectsAPICallBuilderTest.m in Sources */, + A53D0AF823E9F7D7001E72AF /* PNChannelMetadataAPICallBuilderTest.m in Sources */, A53D0AF423E9F42B001E72AF /* PNMembersObjectsAPICallBuilderTest.m in Sources */, - A53D0B1923EA0AB4001E72AF /* PNSpaceObjectsTest.m in Sources */, + A53D0B1923EA0AB4001E72AF /* PNChannelMetadataObjectsTest.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -909,11 +917,11 @@ files = ( A5BB312423DCF4570015525A /* PNPresenceStateIntegrationTest.m in Sources */, A5BDE10323C35939000E7895 /* PNPresenceIntegrationTest.m in Sources */, - A54E290923C286090024714B /* PNSpaceIntegrationTest.m in Sources */, + A54E290923C286090024714B /* PNChannelMetadataIntegrationTest.m in Sources */, A5BB312E23DE33310015525A /* PNTimeIntegrationTest.m in Sources */, A5BBD01E23BAB7F60089AD06 /* PNChannelGroupIntegrationTests.m in Sources */, A5DB1E9E23B412E7009B1B23 /* PNPublishIntegrationTests.m in Sources */, - A54E290E23C2992A0024714B /* PNUserIntegrationTest.m in Sources */, + A54E290E23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m in Sources */, A54E28FF23C089730024714B /* PNMembershipIntegrationTest.m in Sources */, A59ECFE623BB5B1900E84300 /* PNHistoryIntegrationTests.m in Sources */, A5A905F523B571E8006D22BA /* NSString+PNTest.m in Sources */, @@ -932,11 +940,11 @@ files = ( A5BB312523DCF4570015525A /* PNPresenceStateIntegrationTest.m in Sources */, A5BDE10423C35939000E7895 /* PNPresenceIntegrationTest.m in Sources */, - A54E290A23C286090024714B /* PNSpaceIntegrationTest.m in Sources */, + A54E290A23C286090024714B /* PNChannelMetadataIntegrationTest.m in Sources */, A5BB312F23DE33310015525A /* PNTimeIntegrationTest.m in Sources */, A5BBD01F23BAB7F60089AD06 /* PNChannelGroupIntegrationTests.m in Sources */, A5DB1E9F23B412E7009B1B23 /* PNPublishIntegrationTests.m in Sources */, - A54E290F23C2992A0024714B /* PNUserIntegrationTest.m in Sources */, + A54E290F23C2992A0024714B /* PNUUIDMetadataIntegrationTest.m in Sources */, A54E290023C089730024714B /* PNMembershipIntegrationTest.m in Sources */, A59ECFE723BB5B1900E84300 /* PNHistoryIntegrationTests.m in Sources */, A5A905F623B571E8006D22BA /* NSString+PNTest.m in Sources */, diff --git a/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchAllChannelsMetadataAndReceiveResultWithExpectedOperation.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchAllChannelsMetadataAndReceiveResultWithExpectedOperation.json new file mode 100644 index 000000000..68edaf837 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchAllChannelsMetadataAndReceiveResultWithExpectedOperation.json @@ -0,0 +1,852 @@ +[ + { + "id" : "035D0859-76AF-404C-B85C-E2CF1E7F7D13", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "035D0859-76AF-404C-B85C-E2CF1E7F7D13", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:37:41 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "035D0859-76AF-404C-B85C-E2CF1E7F7D13", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "035D0859-76AF-404C-B85C-E2CF1E7F7D13", + "type" : 4 + }, + { + "id" : "71A5F829-C7C1-4182-8B35-2C0979F0AD85", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "71A5F829-C7C1-4182-8B35-2C0979F0AD85", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:37:41 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "71A5F829-C7C1-4182-8B35-2C0979F0AD85", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "71A5F829-C7C1-4182-8B35-2C0979F0AD85", + "type" : 4 + }, + { + "id" : "3B74BBEA-A674-492A-8EF6-0BAEB44F7603", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3B74BBEA-A674-492A-8EF6-0BAEB44F7603", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:37:41 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "3B74BBEA-A674-492A-8EF6-0BAEB44F7603", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNzo0MS40OTg1NTZaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "3B74BBEA-A674-492A-8EF6-0BAEB44F7603", + "type" : 4 + }, + { + "id" : "933B2661-2B92-4B26-9FEB-6F16A11F48EE", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "933B2661-2B92-4B26-9FEB-6F16A11F48EE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:37:41 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "933B2661-2B92-4B26-9FEB-6F16A11F48EE", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNzo0MS43MjUyMzVaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "933B2661-2B92-4B26-9FEB-6F16A11F48EE", + "type" : 4 + }, + { + "id" : "F69C3AB0-5658-4DAF-8249-67EA614E476A", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "F69C3AB0-5658-4DAF-8249-67EA614E476A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:37:41 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "F69C3AB0-5658-4DAF-8249-67EA614E476A", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6Mzc6NDEuOTQ3NTAxWiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" + }, + "type" : 2 + }, + { + "id" : "F69C3AB0-5658-4DAF-8249-67EA614E476A", + "type" : 4 + }, + { + "id" : "5735F678-CCE9-46D7-9B06-084BAFC7913F", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5735F678-CCE9-46D7-9B06-084BAFC7913F", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:37:42 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "5735F678-CCE9-46D7-9B06-084BAFC7913F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6Mzc6NDIuMTY5OTkzWiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "5735F678-CCE9-46D7-9B06-084BAFC7913F", + "type" : 4 + }, + { + "id" : "54D36A4D-DF55-484C-8719-02907BB33580", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "54D36A4D-DF55-484C-8719-02907BB33580", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:37:42 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "254", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "54D36A4D-DF55-484C-8719-02907BB33580", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNzo0Mi4zOTE0OTdaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" + }, + "type" : 2 + }, + { + "id" : "54D36A4D-DF55-484C-8719-02907BB33580", + "type" : 4 + }, + { + "id" : "6E8EE608-9BA1-435D-A582-51E34F794FD7", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "119", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU25vd2ZsYWtlIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "6E8EE608-9BA1-435D-A582-51E34F794FD7", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:37:42 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "6E8EE608-9BA1-435D-A582-51E34F794FD7", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJTbm93Zmxha2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM3OjQyLjYxMjEzNloiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifX0=" + }, + "type" : 2 + }, + { + "id" : "6E8EE608-9BA1-435D-A582-51E34F794FD7", + "type" : 4 + }, + { + "id" : "8AD9206E-21B6-4BB0-ABBD-E68CFAF71613", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8AD9206E-21B6-4BB0-ABBD-E68CFAF71613", + "data" : { + "status" : 404, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:37:43 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "8AD9206E-21B6-4BB0-ABBD-E68CFAF71613", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM3OjQxLjcyNTIzNVoiLCJlVGFnIjoiQWJXSW5JZUcwdXlvMGdFIn0seyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM3OjQyLjYxMjEzNloiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifSx7ImlkIjoiTWlkbmlnaHQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ik1pZG5pZ2h0IiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM3OjQyLjE2OTk5M1oiLCJlVGFnIjoiQWFTSnlzR2Fvc3pxSFEifSx7ImlkIjoiV3lubi1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiV3lubiIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNzo0Mi4zOTE0OTdaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In0seyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNzo0MS45NDc1MDFaIiwiZVRhZyI6IkFhVGsrN09Sek5haDBnRSJ9LHsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM3OjQxLjQ5ODU1NloiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifV0sIm5leHQiOiJOZyJ9" + }, + "type" : 2 + }, + { + "id" : "8AD9206E-21B6-4BB0-ABBD-E68CFAF71613", + "type" : 4 + }, + { + "id" : "8AD9206E-21B6-4BB0-ABBD-E68CFAF71616", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8AD9206E-21B6-4BB0-ABBD-E68CFAF71616", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:37:43 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "8AD9206E-21B6-4BB0-ABBD-E68CFAF71616", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM3OjQxLjcyNTIzNVoiLCJlVGFnIjoiQWJXSW5JZUcwdXlvMGdFIn0seyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM3OjQyLjYxMjEzNloiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifSx7ImlkIjoiTWlkbmlnaHQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ik1pZG5pZ2h0IiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM3OjQyLjE2OTk5M1oiLCJlVGFnIjoiQWFTSnlzR2Fvc3pxSFEifSx7ImlkIjoiV3lubi1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiV3lubiIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNzo0Mi4zOTE0OTdaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In0seyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNzo0MS45NDc1MDFaIiwiZVRhZyI6IkFhVGsrN09Sek5haDBnRSJ9LHsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM3OjQxLjQ5ODU1NloiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifV0sIm5leHQiOiJOZyJ9" + }, + "type" : 2 + }, + { + "id" : "8AD9206E-21B6-4BB0-ABBD-E68CFAF71616", + "type" : 4 + }, + { + "id" : "7A3E0831-2DFA-4402-8ACC-F6C4BBABB4AE", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7A3E0831-2DFA-4402-8ACC-F6C4BBABB4AE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:37:44 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "7A3E0831-2DFA-4402-8ACC-F6C4BBABB4AE", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "7A3E0831-2DFA-4402-8ACC-F6C4BBABB4AE", + "type" : 4 + }, + { + "id" : "54A2F8CE-7B8E-4457-8C28-BFDD102D2070", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "54A2F8CE-7B8E-4457-8C28-BFDD102D2070", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:37:44 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "54A2F8CE-7B8E-4457-8C28-BFDD102D2070", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "54A2F8CE-7B8E-4457-8C28-BFDD102D2070", + "type" : 4 + }, + { + "id" : "2027296E-1FF9-45B3-8C9E-CC4952F2E449", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "2027296E-1FF9-45B3-8C9E-CC4952F2E449", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:37:44 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "2027296E-1FF9-45B3-8C9E-CC4952F2E449", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "2027296E-1FF9-45B3-8C9E-CC4952F2E449", + "type" : 4 + }, + { + "id" : "3DC2EB23-A108-47BF-AE6A-ED76B85964CE", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3DC2EB23-A108-47BF-AE6A-ED76B85964CE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:37:44 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "3DC2EB23-A108-47BF-AE6A-ED76B85964CE", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "3DC2EB23-A108-47BF-AE6A-ED76B85964CE", + "type" : 4 + }, + { + "id" : "5E4F4585-7E3A-4DA2-8258-38D37646C341", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5E4F4585-7E3A-4DA2-8258-38D37646C341", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:37:44 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "5E4F4585-7E3A-4DA2-8258-38D37646C341", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "5E4F4585-7E3A-4DA2-8258-38D37646C341", + "type" : 4 + }, + { + "id" : "C2DA8802-A623-454D-B1FF-07DFEE9025F2", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "C2DA8802-A623-454D-B1FF-07DFEE9025F2", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:37:45 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "C2DA8802-A623-454D-B1FF-07DFEE9025F2", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "C2DA8802-A623-454D-B1FF-07DFEE9025F2", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchSortedSpacesWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchAllChannelsMetadataWhenLimitItSet.json similarity index 53% rename from Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchSortedSpacesWhenSortIsSet.json rename to Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchAllChannelsMetadataWhenLimitItSet.json index 45b3cb7c0..5ebed95e9 100644 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchSortedSpacesWhenSortIsSet.json +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchAllChannelsMetadataWhenLimitItSet.json @@ -1,6 +1,6 @@ [ { - "id" : "ED9945D9-E943-4C42-B9E8-D2A4A5EE59A6", + "id" : "E9AA018C-86F8-4666-A709-A1A4A0AC8AA1", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -16,19 +16,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "ED9945D9-E943-4C42-B9E8-D2A4A5EE59A6", + "id" : "E9AA018C-86F8-4666-A709-A1A4A0AC8AA1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:20:33 GMT", + "Date" : "Sun, 24 May 2020 08:43:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "ED9945D9-E943-4C42-B9E8-D2A4A5EE59A6", + "id" : "E9AA018C-86F8-4666-A709-A1A4A0AC8AA1", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "ED9945D9-E943-4C42-B9E8-D2A4A5EE59A6", + "id" : "E9AA018C-86F8-4666-A709-A1A4A0AC8AA1", "type" : 4 }, { - "id" : "CDAD66AA-9FFB-475E-BEA6-F3826AFE8E3F", + "id" : "03203D46-3209-4306-B605-7E72D9923B34", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -66,19 +66,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CDAD66AA-9FFB-475E-BEA6-F3826AFE8E3F", + "id" : "03203D46-3209-4306-B605-7E72D9923B34", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:20:33 GMT", + "Date" : "Sun, 24 May 2020 08:43:56 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "CDAD66AA-9FFB-475E-BEA6-F3826AFE8E3F", + "id" : "03203D46-3209-4306-B605-7E72D9923B34", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "CDAD66AA-9FFB-475E-BEA6-F3826AFE8E3F", + "id" : "03203D46-3209-4306-B605-7E72D9923B34", "type" : 4 }, { - "id" : "C23AEF2C-E250-4E24-BE0E-C2CB35C750DC", + "id" : "A17F3EA2-FF20-4E9B-A81A-BBEF287312C5", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -112,33 +112,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C23AEF2C-E250-4E24-BE0E-C2CB35C750DC", + "id" : "A17F3EA2-FF20-4E9B-A81A-BBEF287312C5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:20:34 GMT", + "Date" : "Sun, 24 May 2020 08:43:56 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "C23AEF2C-E250-4E24-BE0E-C2CB35C750DC", + "id" : "A17F3EA2-FF20-4E9B-A81A-BBEF287312C5", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToyMDozMy44MjU0NzNaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MjA6MzMuODI1NDczWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Mzo1Ni41NTIxM1oiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifX0=" }, "type" : 2 }, { - "id" : "C23AEF2C-E250-4E24-BE0E-C2CB35C750DC", + "id" : "A17F3EA2-FF20-4E9B-A81A-BBEF287312C5", "type" : 4 }, { - "id" : "44C1857B-004E-4716-9E2D-4009747B7396", + "id" : "E5F836E1-EE27-4BA0-B882-67AC617D6A9D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -170,33 +170,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "44C1857B-004E-4716-9E2D-4009747B7396", + "id" : "E5F836E1-EE27-4BA0-B882-67AC617D6A9D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:20:34 GMT", + "Date" : "Sun, 24 May 2020 08:43:56 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "44C1857B-004E-4716-9E2D-4009747B7396", + "id" : "E5F836E1-EE27-4BA0-B882-67AC617D6A9D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToyMDozNC40MTUwOThaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MjA6MzQuNDE1MDk4WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Mzo1Ni43NzM4MDZaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "44C1857B-004E-4716-9E2D-4009747B7396", + "id" : "E5F836E1-EE27-4BA0-B882-67AC617D6A9D", "type" : 4 }, { - "id" : "FE6637CD-2222-4742-BC71-FCB2673229E6", + "id" : "B12CB79E-FECB-4547-BFEE-DAA4FE781A0E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -228,33 +228,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FE6637CD-2222-4742-BC71-FCB2673229E6", + "id" : "B12CB79E-FECB-4547-BFEE-DAA4FE781A0E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:20:35 GMT", + "Date" : "Sun, 24 May 2020 08:43:57 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "FE6637CD-2222-4742-BC71-FCB2673229E6", + "id" : "B12CB79E-FECB-4547-BFEE-DAA4FE781A0E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MjA6MzUuMDI4OTI3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjIwOjM1LjAyODkyN1oiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDM6NTcuMDg4Mzk0WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" }, "type" : 2 }, { - "id" : "FE6637CD-2222-4742-BC71-FCB2673229E6", + "id" : "B12CB79E-FECB-4547-BFEE-DAA4FE781A0E", "type" : 4 }, { - "id" : "F0BD3689-1F51-44F4-8154-71DED75E385A", + "id" : "CD669B65-F36F-4758-868C-F574581B91CB", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -286,33 +286,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F0BD3689-1F51-44F4-8154-71DED75E385A", + "id" : "CD669B65-F36F-4758-868C-F574581B91CB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:20:36 GMT", + "Date" : "Sun, 24 May 2020 08:43:57 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "F0BD3689-1F51-44F4-8154-71DED75E385A", + "id" : "CD669B65-F36F-4758-868C-F574581B91CB", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MjA6MzUuNjA3MDk3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjIwOjM1LjYwNzA5N1oiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDM6NTcuMzEwMjU3WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" }, "type" : 2 }, { - "id" : "F0BD3689-1F51-44F4-8154-71DED75E385A", + "id" : "CD669B65-F36F-4758-868C-F574581B91CB", "type" : 4 }, { - "id" : "F20516BC-0569-421D-9E52-6F613D258065", + "id" : "CB368B83-5EFD-473A-832E-BFC9AE8FB7B8", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -344,55 +344,53 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "143", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F20516BC-0569-421D-9E52-6F613D258065", + "id" : "CB368B83-5EFD-473A-832E-BFC9AE8FB7B8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:43:57 GMT", "Content-Type" : "application\/json", + "Content-Length" : "254", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:20:36 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "F20516BC-0569-421D-9E52-6F613D258065", + "id" : "CB368B83-5EFD-473A-832E-BFC9AE8FB7B8", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToyMDozNi4yNTYzMjRaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MjA6MzYuMjU2MzI0WiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Mzo1Ny41OTk0MTRaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" }, "type" : 2 }, { - "id" : "F20516BC-0569-421D-9E52-6F613D258065", + "id" : "CB368B83-5EFD-473A-832E-BFC9AE8FB7B8", "type" : 4 }, { - "id" : "CA2E8CB5-C11E-4246-984E-E49AFFC3A814", + "id" : "3D34A023-4E8D-444F-BC0D-C8553B3C8A2D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -402,33 +400,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "163", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU25vd2ZsYWtlIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CA2E8CB5-C11E-4246-984E-E49AFFC3A814", + "id" : "3D34A023-4E8D-444F-BC0D-C8553B3C8A2D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:20:37 GMT", + "Date" : "Sun, 24 May 2020 08:43:57 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,19 +434,19 @@ "type" : 1 }, { - "id" : "CA2E8CB5-C11E-4246-984E-E49AFFC3A814", + "id" : "3D34A023-4E8D-444F-BC0D-C8553B3C8A2D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjIwOjM2LjgzMzk3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjIwOjM2LjgzMzk3WiIsImVUYWciOiJBWWZPNjkzQmo4S1lZQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJTbm93Zmxha2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQzOjU3Ljk1NDQxN1oiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifX0=" }, "type" : 2 }, { - "id" : "CA2E8CB5-C11E-4246-984E-E49AFFC3A814", + "id" : "3D34A023-4E8D-444F-BC0D-C8553B3C8A2D", "type" : 4 }, { - "id" : "3F1E0A2A-E2EE-4193-82F8-27C94A6C8554", + "id" : "25600B70-8D1F-46A3-9AA0-969DBE4DB472", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -464,23 +462,23 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?sort=name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii" }, "type" : 0 }, { - "id" : "3F1E0A2A-E2EE-4193-82F8-27C94A6C8554", + "id" : "25600B70-8D1F-46A3-9AA0-969DBE4DB472", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?sort=name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:20:38 GMT", + "Date" : "Sun, 24 May 2020 08:43:59 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -488,19 +486,19 @@ "type" : 1 }, { - "id" : "3F1E0A2A-E2EE-4193-82F8-27C94A6C8554", + "id" : "25600B70-8D1F-46A3-9AA0-969DBE4DB472", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJXeW5uLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiV3lubiIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToyMDozNi4yNTYzMjRaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MjA6MzYuMjU2MzI0WiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNvbHN0aWNlIiwiZGVzY3JpcHRpb24iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjIwOjM1LjAyODkyN1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToyMDozNS4wMjg5MjdaIiwiZVRhZyI6IkFjdUJ4THEweE1PYW93RSJ9LHsiaWQiOiJTbm93Zmxha2Utc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJTbm93Zmxha2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MjA6MzYuODMzOTdaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MjA6MzYuODMzOTdaIiwiZVRhZyI6IkFZZk82OTNCajhLWVlBIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MjA6MzUuNjA3MDk3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjIwOjM1LjYwNzA5N1oiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjIwOjM0LjQxNTA5OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToyMDozNC40MTUwOThaIiwiZVRhZyI6IkFackY2NGI5aU55bUl3In0seyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjIwOjMzLjgyNTQ3M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToyMDozMy44MjU0NzNaIiwiZVRhZyI6IkFjV2o5T1RRd01hbXBRRSJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik5nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDM6NTYuNTUyMTNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn0seyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDM6NTcuMDg4Mzk0WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifV0sInRvdGFsQ291bnQiOjYsIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "3F1E0A2A-E2EE-4193-82F8-27C94A6C8554", + "id" : "25600B70-8D1F-46A3-9AA0-969DBE4DB472", "type" : 4 }, { - "id" : "A349C8B8-EF85-4441-BFA5-4BE57B65ABCF", + "id" : "90DE2E66-F097-46BD-B9ED-55FDCB629F44", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -516,19 +514,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A349C8B8-EF85-4441-BFA5-4BE57B65ABCF", + "id" : "90DE2E66-F097-46BD-B9ED-55FDCB629F44", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:20:39 GMT", + "Date" : "Sun, 24 May 2020 08:43:59 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -538,7 +536,7 @@ "type" : 1 }, { - "id" : "A349C8B8-EF85-4441-BFA5-4BE57B65ABCF", + "id" : "90DE2E66-F097-46BD-B9ED-55FDCB629F44", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -546,11 +544,11 @@ "type" : 2 }, { - "id" : "A349C8B8-EF85-4441-BFA5-4BE57B65ABCF", + "id" : "90DE2E66-F097-46BD-B9ED-55FDCB629F44", "type" : 4 }, { - "id" : "46513D79-1AEF-45FD-A4FD-39E36BBB9463", + "id" : "F2AA6628-2B28-4713-9DF3-EFAEE139E65C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -566,19 +564,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "46513D79-1AEF-45FD-A4FD-39E36BBB9463", + "id" : "F2AA6628-2B28-4713-9DF3-EFAEE139E65C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:20:39 GMT", + "Date" : "Sun, 24 May 2020 08:43:59 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -588,7 +586,7 @@ "type" : 1 }, { - "id" : "46513D79-1AEF-45FD-A4FD-39E36BBB9463", + "id" : "F2AA6628-2B28-4713-9DF3-EFAEE139E65C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -596,11 +594,11 @@ "type" : 2 }, { - "id" : "46513D79-1AEF-45FD-A4FD-39E36BBB9463", + "id" : "F2AA6628-2B28-4713-9DF3-EFAEE139E65C", "type" : 4 }, { - "id" : "FBB86C1D-C25E-4C4A-BE4D-6ED475DE1EF2", + "id" : "75CBC3B2-AEFC-4F19-9974-77962145877E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -616,19 +614,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FBB86C1D-C25E-4C4A-BE4D-6ED475DE1EF2", + "id" : "75CBC3B2-AEFC-4F19-9974-77962145877E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:20:40 GMT", + "Date" : "Sun, 24 May 2020 08:43:59 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -638,7 +636,7 @@ "type" : 1 }, { - "id" : "FBB86C1D-C25E-4C4A-BE4D-6ED475DE1EF2", + "id" : "75CBC3B2-AEFC-4F19-9974-77962145877E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -646,11 +644,11 @@ "type" : 2 }, { - "id" : "FBB86C1D-C25E-4C4A-BE4D-6ED475DE1EF2", + "id" : "75CBC3B2-AEFC-4F19-9974-77962145877E", "type" : 4 }, { - "id" : "8B5B4185-ABCB-4A53-8679-179B9F2A2EBE", + "id" : "97CF646F-266D-4F64-BF6E-DD3693815378", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -666,19 +664,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8B5B4185-ABCB-4A53-8679-179B9F2A2EBE", + "id" : "97CF646F-266D-4F64-BF6E-DD3693815378", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:20:41 GMT", + "Date" : "Sun, 24 May 2020 08:44:00 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -688,7 +686,7 @@ "type" : 1 }, { - "id" : "8B5B4185-ABCB-4A53-8679-179B9F2A2EBE", + "id" : "97CF646F-266D-4F64-BF6E-DD3693815378", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -696,11 +694,11 @@ "type" : 2 }, { - "id" : "8B5B4185-ABCB-4A53-8679-179B9F2A2EBE", + "id" : "97CF646F-266D-4F64-BF6E-DD3693815378", "type" : 4 }, { - "id" : "19F4FC9F-D0CA-484C-ACC2-36DA60D92127", + "id" : "A24920DC-4AE6-452D-86E1-B59E2C50D34E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -716,19 +714,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "19F4FC9F-D0CA-484C-ACC2-36DA60D92127", + "id" : "A24920DC-4AE6-452D-86E1-B59E2C50D34E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:20:41 GMT", + "Date" : "Sun, 24 May 2020 08:44:00 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -738,7 +736,7 @@ "type" : 1 }, { - "id" : "19F4FC9F-D0CA-484C-ACC2-36DA60D92127", + "id" : "A24920DC-4AE6-452D-86E1-B59E2C50D34E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -746,11 +744,11 @@ "type" : 2 }, { - "id" : "19F4FC9F-D0CA-484C-ACC2-36DA60D92127", + "id" : "A24920DC-4AE6-452D-86E1-B59E2C50D34E", "type" : 4 }, { - "id" : "F0B11486-2A37-4750-BAE5-0C9B30867B88", + "id" : "77D7A4D7-A5FB-451E-B879-D8CCA1D7A6C1", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -766,19 +764,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F0B11486-2A37-4750-BAE5-0C9B30867B88", + "id" : "77D7A4D7-A5FB-451E-B879-D8CCA1D7A6C1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:20:42 GMT", + "Date" : "Sun, 24 May 2020 08:44:00 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -788,7 +786,7 @@ "type" : 1 }, { - "id" : "F0B11486-2A37-4750-BAE5-0C9B30867B88", + "id" : "77D7A4D7-A5FB-451E-B879-D8CCA1D7A6C1", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -796,7 +794,7 @@ "type" : 2 }, { - "id" : "F0B11486-2A37-4750-BAE5-0C9B30867B88", + "id" : "77D7A4D7-A5FB-451E-B879-D8CCA1D7A6C1", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchSpaceAndReceiveResultWithExpectedOperation.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchChannelMetadataAndReceiveResultWithExpectedOperation.json similarity index 55% rename from Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchSpaceAndReceiveResultWithExpectedOperation.json rename to Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchChannelMetadataAndReceiveResultWithExpectedOperation.json index b0bb69ddb..261fbc769 100644 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchSpaceAndReceiveResultWithExpectedOperation.json +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchChannelMetadataAndReceiveResultWithExpectedOperation.json @@ -1,6 +1,6 @@ [ { - "id" : "2E0A134A-175E-400F-9CA0-C22BCCEBEF2F", + "id" : "580F2891-4719-48FD-912D-E00B42D91641", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2E0A134A-175E-400F-9CA0-C22BCCEBEF2F", + "id" : "580F2891-4719-48FD-912D-E00B42D91641", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:09 GMT", + "Date" : "Sun, 24 May 2020 08:44:02 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "2E0A134A-175E-400F-9CA0-C22BCCEBEF2F", + "id" : "580F2891-4719-48FD-912D-E00B42D91641", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "2E0A134A-175E-400F-9CA0-C22BCCEBEF2F", + "id" : "580F2891-4719-48FD-912D-E00B42D91641", "type" : 4 }, { - "id" : "B8DF54EB-06D2-4FB2-BB23-FE50CC826E51", + "id" : "0BCC425E-113F-4784-9A71-08CCC79542B2", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B8DF54EB-06D2-4FB2-BB23-FE50CC826E51", + "id" : "0BCC425E-113F-4784-9A71-08CCC79542B2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:10 GMT", + "Date" : "Sun, 24 May 2020 08:44:02 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "B8DF54EB-06D2-4FB2-BB23-FE50CC826E51", + "id" : "0BCC425E-113F-4784-9A71-08CCC79542B2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "B8DF54EB-06D2-4FB2-BB23-FE50CC826E51", + "id" : "0BCC425E-113F-4784-9A71-08CCC79542B2", "type" : 4 }, { - "id" : "6E3FD707-C2DC-4930-B8CE-48DB6720BBF5", + "id" : "9B18ACB9-5D60-49F2-8541-0744CC94A00F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6E3FD707-C2DC-4930-B8CE-48DB6720BBF5", + "id" : "9B18ACB9-5D60-49F2-8541-0744CC94A00F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:10 GMT", + "Date" : "Sun, 24 May 2020 08:44:03 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,19 +146,19 @@ "type" : 1 }, { - "id" : "6E3FD707-C2DC-4930-B8CE-48DB6720BBF5", + "id" : "9B18ACB9-5D60-49F2-8541-0744CC94A00F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODoxMC4xNzAzNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODoxMC4xNzAzNloiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDowMy4wMjY5NDNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "6E3FD707-C2DC-4930-B8CE-48DB6720BBF5", + "id" : "9B18ACB9-5D60-49F2-8541-0744CC94A00F", "type" : 4 }, { - "id" : "34AEDFBD-F900-4636-B0A1-DA750CCA771D", + "id" : "0D719CB9-604A-4DD2-AEBC-474B635BD3A6", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -167,30 +167,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "34AEDFBD-F900-4636-B0A1-DA750CCA771D", + "id" : "0D719CB9-604A-4DD2-AEBC-474B635BD3A6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:11 GMT", + "Date" : "Sun, 24 May 2020 08:44:04 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -198,19 +198,19 @@ "type" : 1 }, { - "id" : "34AEDFBD-F900-4636-B0A1-DA750CCA771D", + "id" : "0D719CB9-604A-4DD2-AEBC-474B635BD3A6", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODoxMC4xNzAzNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODoxMC4xNzAzNloiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDowMy4wMjY5NDNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "34AEDFBD-F900-4636-B0A1-DA750CCA771D", + "id" : "0D719CB9-604A-4DD2-AEBC-474B635BD3A6", "type" : 4 }, { - "id" : "2383A041-C765-4870-AB78-25CEBC3E2A10", + "id" : "EACAC510-A041-4DA2-BE0E-565ABACD6CEE", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -219,26 +219,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2383A041-C765-4870-AB78-25CEBC3E2A10", + "id" : "EACAC510-A041-4DA2-BE0E-565ABACD6CEE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:12 GMT", + "Date" : "Sun, 24 May 2020 08:44:04 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -248,7 +248,7 @@ "type" : 1 }, { - "id" : "2383A041-C765-4870-AB78-25CEBC3E2A10", + "id" : "EACAC510-A041-4DA2-BE0E-565ABACD6CEE", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -256,7 +256,7 @@ "type" : 2 }, { - "id" : "2383A041-C765-4870-AB78-25CEBC3E2A10", + "id" : "EACAC510-A041-4DA2-BE0E-565ABACD6CEE", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchFilteredSpacesWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchFilteredChannelsMetadataWhenFilterIsSet.json similarity index 51% rename from Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchFilteredSpacesWhenFilterIsSet.json rename to Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchFilteredChannelsMetadataWhenFilterIsSet.json index 63f756343..93c175ca7 100644 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchFilteredSpacesWhenFilterIsSet.json +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchFilteredChannelsMetadataWhenFilterIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "83777902-04DF-43B2-8DAC-E7E397217623", + "id" : "40EA10DD-47E7-4EAE-A2F5-B97EB1B3A0B2", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "83777902-04DF-43B2-8DAC-E7E397217623", + "id" : "40EA10DD-47E7-4EAE-A2F5-B97EB1B3A0B2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:47 GMT", + "Date" : "Sun, 24 May 2020 08:44:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "83777902-04DF-43B2-8DAC-E7E397217623", + "id" : "40EA10DD-47E7-4EAE-A2F5-B97EB1B3A0B2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "83777902-04DF-43B2-8DAC-E7E397217623", + "id" : "40EA10DD-47E7-4EAE-A2F5-B97EB1B3A0B2", "type" : 4 }, { - "id" : "DB528B92-ED1F-4468-9A9D-4D09DDF4378C", + "id" : "11F0DA54-20CF-45F9-A4A0-94E44A7F6C01", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DB528B92-ED1F-4468-9A9D-4D09DDF4378C", + "id" : "11F0DA54-20CF-45F9-A4A0-94E44A7F6C01", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:48 GMT", + "Date" : "Sun, 24 May 2020 08:44:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "DB528B92-ED1F-4468-9A9D-4D09DDF4378C", + "id" : "11F0DA54-20CF-45F9-A4A0-94E44A7F6C01", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "DB528B92-ED1F-4468-9A9D-4D09DDF4378C", + "id" : "11F0DA54-20CF-45F9-A4A0-94E44A7F6C01", "type" : 4 }, { - "id" : "5D45EEB2-4042-4F2C-9BF1-EC29F171B71D", + "id" : "2CAACB9A-6DF0-4862-9659-85DBC4AAEF37", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5D45EEB2-4042-4F2C-9BF1-EC29F171B71D", + "id" : "2CAACB9A-6DF0-4862-9659-85DBC4AAEF37", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:48 GMT", + "Date" : "Sun, 24 May 2020 08:44:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "5D45EEB2-4042-4F2C-9BF1-EC29F171B71D", + "id" : "2CAACB9A-6DF0-4862-9659-85DBC4AAEF37", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzo0OC4zMjI5ODdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NDguMzIyOTg3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDowNy4wNDU4NzRaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "5D45EEB2-4042-4F2C-9BF1-EC29F171B71D", + "id" : "2CAACB9A-6DF0-4862-9659-85DBC4AAEF37", "type" : 4 }, { - "id" : "9704C53C-5571-4FE0-9DA1-703B7AF724FA", + "id" : "5C1A5FBF-438A-4557-9E1D-C8E65AF482BA", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9704C53C-5571-4FE0-9DA1-703B7AF724FA", + "id" : "5C1A5FBF-438A-4557-9E1D-C8E65AF482BA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:49 GMT", + "Date" : "Sun, 24 May 2020 08:44:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "9704C53C-5571-4FE0-9DA1-703B7AF724FA", + "id" : "5C1A5FBF-438A-4557-9E1D-C8E65AF482BA", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzo0OC45MDU5NjlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NDguOTA1OTY5WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDowNy4yNjQzMDdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "9704C53C-5571-4FE0-9DA1-703B7AF724FA", + "id" : "5C1A5FBF-438A-4557-9E1D-C8E65AF482BA", "type" : 4 }, { - "id" : "1B29E33B-07CD-47A0-9E54-57E2C8BA191C", + "id" : "254E0A49-A2C1-4405-846C-A7DB0D77CC55", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1B29E33B-07CD-47A0-9E54-57E2C8BA191C", + "id" : "254E0A49-A2C1-4405-846C-A7DB0D77CC55", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:50 GMT", + "Date" : "Sun, 24 May 2020 08:44:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "1B29E33B-07CD-47A0-9E54-57E2C8BA191C", + "id" : "254E0A49-A2C1-4405-846C-A7DB0D77CC55", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NDkuNTc4MzA4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI3OjQ5LjU3ODMwOFoiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MDcuNDg1MzczWiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" }, "type" : 2 }, { - "id" : "1B29E33B-07CD-47A0-9E54-57E2C8BA191C", + "id" : "254E0A49-A2C1-4405-846C-A7DB0D77CC55", "type" : 4 }, { - "id" : "BF19A80C-C2C9-48CF-A99B-3BCB041EFF8A", + "id" : "20A46DB1-CA23-445F-AA73-03E3184C5F42", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BF19A80C-C2C9-48CF-A99B-3BCB041EFF8A", + "id" : "20A46DB1-CA23-445F-AA73-03E3184C5F42", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:50 GMT", + "Date" : "Sun, 24 May 2020 08:44:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "BF19A80C-C2C9-48CF-A99B-3BCB041EFF8A", + "id" : "20A46DB1-CA23-445F-AA73-03E3184C5F42", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NTAuMTkwMzYyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI3OjUwLjE5MDM2MloiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MDcuNzA4Mjg0WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" }, "type" : 2 }, { - "id" : "BF19A80C-C2C9-48CF-A99B-3BCB041EFF8A", + "id" : "20A46DB1-CA23-445F-AA73-03E3184C5F42", "type" : 4 }, { - "id" : "036B89E0-DDEE-439C-A3B3-5BB54DC06854", + "id" : "9454F43A-5F81-45BA-BC91-86491AC24C9E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,57 +342,55 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "143", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "036B89E0-DDEE-439C-A3B3-5BB54DC06854", + "id" : "9454F43A-5F81-45BA-BC91-86491AC24C9E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:44:07 GMT", "Content-Type" : "application\/json", + "Content-Length" : "254", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:51 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "036B89E0-DDEE-439C-A3B3-5BB54DC06854", + "id" : "9454F43A-5F81-45BA-BC91-86491AC24C9E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzo1MC43NzQxNDlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NTAuNzc0MTQ5WiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDowNy45Mjk0ODZaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" }, "type" : 2 }, { - "id" : "036B89E0-DDEE-439C-A3B3-5BB54DC06854", + "id" : "9454F43A-5F81-45BA-BC91-86491AC24C9E", "type" : 4 }, { - "id" : "99E895A3-0B4D-4290-8609-7BD5093CC9C3", + "id" : "3EB7E5D9-8B80-4C92-BA3C-35889DDBD5F1", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +398,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "163", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU25vd2ZsYWtlIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "99E895A3-0B4D-4290-8609-7BD5093CC9C3", + "id" : "3EB7E5D9-8B80-4C92-BA3C-35889DDBD5F1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:51 GMT", + "Date" : "Sun, 24 May 2020 08:44:08 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,19 +434,19 @@ "type" : 1 }, { - "id" : "99E895A3-0B4D-4290-8609-7BD5093CC9C3", + "id" : "3EB7E5D9-8B80-4C92-BA3C-35889DDBD5F1", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI3OjUxLjM1NTEyOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzo1MS4zNTUxMjhaIiwiZVRhZyI6IkFZZk82OTNCajhLWVlBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJTbm93Zmxha2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjA4LjE0ODE2N1oiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifX0=" }, "type" : 2 }, { - "id" : "99E895A3-0B4D-4290-8609-7BD5093CC9C3", + "id" : "3EB7E5D9-8B80-4C92-BA3C-35889DDBD5F1", "type" : 4 }, { - "id" : "CCADB1BE-DCDF-4129-860C-C3F0BA14BB42", + "id" : "53C0C7AF-B434-40CA-B505-01690F24E0FC", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -457,30 +455,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?filter=updated%20%3E=%20'2020-02-07T06:27:50.190Z'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?filter=updated%20%3E=%20'2020-05-24T08:44:07.708Z'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "CCADB1BE-DCDF-4129-860C-C3F0BA14BB42", + "id" : "53C0C7AF-B434-40CA-B505-01690F24E0FC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?filter=updated%20%3E=%20'2020-02-07T06:27:50.190Z'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?filter=updated%20%3E=%20'2020-05-24T08:44:07.708Z'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:53 GMT", + "Date" : "Sun, 24 May 2020 08:44:09 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -488,19 +486,19 @@ "type" : 1 }, { - "id" : "CCADB1BE-DCDF-4129-860C-C3F0BA14BB42", + "id" : "53C0C7AF-B434-40CA-B505-01690F24E0FC", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJNaWRuaWdodC1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6Ik1pZG5pZ2h0IiwiZGVzY3JpcHRpb24iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI3OjUwLjE5MDM2MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzo1MC4xOTAzNjJaIiwiZVRhZyI6IkFaSEY0N1hGMmFPaXBBRSJ9LHsiaWQiOiJXeW5uLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiV3lubiIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzo1MC43NzQxNDlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NTAuNzc0MTQ5WiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9LHsiaWQiOiJTbm93Zmxha2Utc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJTbm93Zmxha2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NTEuMzU1MTI4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI3OjUxLjM1NTEyOFoiLCJlVGFnIjoiQVlmTzY5M0JqOEtZWUEifV0sInRvdGFsQ291bnQiOjMsIm5leHQiOiJNdyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MDcuNzA4Mjg0WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9LHsiaWQiOiJXeW5uLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjA3LjkyOTQ4NloiLCJlVGFnIjoiQWUyemhwTEUwS2lSRHcifSx7ImlkIjoiU25vd2ZsYWtlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTbm93Zmxha2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MDguMTQ4MTY3WiIsImVUYWciOiJBWmZOZ1pHNGw1cnZNQSJ9XSwidG90YWxDb3VudCI6MywibmV4dCI6Ik13In0=" }, "type" : 2 }, { - "id" : "CCADB1BE-DCDF-4129-860C-C3F0BA14BB42", + "id" : "53C0C7AF-B434-40CA-B505-01690F24E0FC", "type" : 4 }, { - "id" : "92F2AC75-7843-4934-BF5F-CD5BAEDFC7F5", + "id" : "3773C865-EE85-4598-BD82-D1685C459398", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -509,26 +507,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "92F2AC75-7843-4934-BF5F-CD5BAEDFC7F5", + "id" : "3773C865-EE85-4598-BD82-D1685C459398", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:53 GMT", + "Date" : "Sun, 24 May 2020 08:44:09 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -538,7 +536,7 @@ "type" : 1 }, { - "id" : "92F2AC75-7843-4934-BF5F-CD5BAEDFC7F5", + "id" : "3773C865-EE85-4598-BD82-D1685C459398", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -546,11 +544,11 @@ "type" : 2 }, { - "id" : "92F2AC75-7843-4934-BF5F-CD5BAEDFC7F5", + "id" : "3773C865-EE85-4598-BD82-D1685C459398", "type" : 4 }, { - "id" : "E371E1E2-E7D1-40A3-BFEE-C97E75DE530F", + "id" : "3175023F-90FB-48B5-A26D-2A7859C288F7", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -559,26 +557,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E371E1E2-E7D1-40A3-BFEE-C97E75DE530F", + "id" : "3175023F-90FB-48B5-A26D-2A7859C288F7", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:54 GMT", + "Date" : "Sun, 24 May 2020 08:44:09 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -588,7 +586,7 @@ "type" : 1 }, { - "id" : "E371E1E2-E7D1-40A3-BFEE-C97E75DE530F", + "id" : "3175023F-90FB-48B5-A26D-2A7859C288F7", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -596,11 +594,11 @@ "type" : 2 }, { - "id" : "E371E1E2-E7D1-40A3-BFEE-C97E75DE530F", + "id" : "3175023F-90FB-48B5-A26D-2A7859C288F7", "type" : 4 }, { - "id" : "542D9365-75FC-4D72-A14F-086945EB234C", + "id" : "42D5AE4A-5297-4EF8-8875-6053332BDCE9", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -609,26 +607,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "542D9365-75FC-4D72-A14F-086945EB234C", + "id" : "42D5AE4A-5297-4EF8-8875-6053332BDCE9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:55 GMT", + "Date" : "Sun, 24 May 2020 08:44:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -638,7 +636,7 @@ "type" : 1 }, { - "id" : "542D9365-75FC-4D72-A14F-086945EB234C", + "id" : "42D5AE4A-5297-4EF8-8875-6053332BDCE9", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -646,11 +644,11 @@ "type" : 2 }, { - "id" : "542D9365-75FC-4D72-A14F-086945EB234C", + "id" : "42D5AE4A-5297-4EF8-8875-6053332BDCE9", "type" : 4 }, { - "id" : "6467E1AE-921C-40BE-BF7F-4FEF77C42BF7", + "id" : "C464710E-C941-4985-9869-F78FD6133219", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -659,26 +657,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6467E1AE-921C-40BE-BF7F-4FEF77C42BF7", + "id" : "C464710E-C941-4985-9869-F78FD6133219", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:55 GMT", + "Date" : "Sun, 24 May 2020 08:44:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -688,7 +686,7 @@ "type" : 1 }, { - "id" : "6467E1AE-921C-40BE-BF7F-4FEF77C42BF7", + "id" : "C464710E-C941-4985-9869-F78FD6133219", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -696,11 +694,11 @@ "type" : 2 }, { - "id" : "6467E1AE-921C-40BE-BF7F-4FEF77C42BF7", + "id" : "C464710E-C941-4985-9869-F78FD6133219", "type" : 4 }, { - "id" : "2E8AA39C-4775-4452-BB6B-F7037A33A29E", + "id" : "83A3A39C-6A2E-4B00-B3F9-330A43CB7FCE", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -709,26 +707,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2E8AA39C-4775-4452-BB6B-F7037A33A29E", + "id" : "83A3A39C-6A2E-4B00-B3F9-330A43CB7FCE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:56 GMT", + "Date" : "Sun, 24 May 2020 08:44:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -738,7 +736,7 @@ "type" : 1 }, { - "id" : "2E8AA39C-4775-4452-BB6B-F7037A33A29E", + "id" : "83A3A39C-6A2E-4B00-B3F9-330A43CB7FCE", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -746,11 +744,11 @@ "type" : 2 }, { - "id" : "2E8AA39C-4775-4452-BB6B-F7037A33A29E", + "id" : "83A3A39C-6A2E-4B00-B3F9-330A43CB7FCE", "type" : 4 }, { - "id" : "1B501A4F-4618-4078-9EB0-3AEB027A5E6A", + "id" : "6AF355A3-088A-4DB7-B616-6CBA2874313C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -759,26 +757,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1B501A4F-4618-4078-9EB0-3AEB027A5E6A", + "id" : "6AF355A3-088A-4DB7-B616-6CBA2874313C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:56 GMT", + "Date" : "Sun, 24 May 2020 08:44:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -788,7 +786,7 @@ "type" : 1 }, { - "id" : "1B501A4F-4618-4078-9EB0-3AEB027A5E6A", + "id" : "6AF355A3-088A-4DB7-B616-6CBA2874313C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -796,7 +794,7 @@ "type" : 2 }, { - "id" : "1B501A4F-4618-4078-9EB0-3AEB027A5E6A", + "id" : "6AF355A3-088A-4DB7-B616-6CBA2874313C", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchNextSpacesPageWhenStartAndLimitIsSet.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchNextChannelsMetadataPageWhenStartAndLimitIsSet.json similarity index 50% rename from Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchNextSpacesPageWhenStartAndLimitIsSet.json rename to Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchNextChannelsMetadataPageWhenStartAndLimitIsSet.json index 3199465d1..76d3fff9c 100644 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchNextSpacesPageWhenStartAndLimitIsSet.json +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchNextChannelsMetadataPageWhenStartAndLimitIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "B9715819-BB4E-44B8-BEBA-7FCBD8E956B8", + "id" : "05F19810-C4BA-425E-8AD5-EFCDDDF19160", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B9715819-BB4E-44B8-BEBA-7FCBD8E956B8", + "id" : "05F19810-C4BA-425E-8AD5-EFCDDDF19160", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:58 GMT", + "Date" : "Sun, 24 May 2020 08:44:12 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "B9715819-BB4E-44B8-BEBA-7FCBD8E956B8", + "id" : "05F19810-C4BA-425E-8AD5-EFCDDDF19160", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "B9715819-BB4E-44B8-BEBA-7FCBD8E956B8", + "id" : "05F19810-C4BA-425E-8AD5-EFCDDDF19160", "type" : 4 }, { - "id" : "32F0A733-148F-4CD1-ADDB-9C5B14047AE7", + "id" : "AC9F74BC-992E-4328-ADD1-66227A4F1B3A", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "32F0A733-148F-4CD1-ADDB-9C5B14047AE7", + "id" : "AC9F74BC-992E-4328-ADD1-66227A4F1B3A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:59 GMT", + "Date" : "Sun, 24 May 2020 08:44:12 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "32F0A733-148F-4CD1-ADDB-9C5B14047AE7", + "id" : "AC9F74BC-992E-4328-ADD1-66227A4F1B3A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "32F0A733-148F-4CD1-ADDB-9C5B14047AE7", + "id" : "AC9F74BC-992E-4328-ADD1-66227A4F1B3A", "type" : 4 }, { - "id" : "FF579778-44BA-4E8D-B8B5-C2D5C1EC00A3", + "id" : "768B8E56-57FE-41F3-9433-619578D1474E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FF579778-44BA-4E8D-B8B5-C2D5C1EC00A3", + "id" : "768B8E56-57FE-41F3-9433-619578D1474E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:59 GMT", + "Date" : "Sun, 24 May 2020 08:44:13 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "FF579778-44BA-4E8D-B8B5-C2D5C1EC00A3", + "id" : "768B8E56-57FE-41F3-9433-619578D1474E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzo1OS4xMzYwODJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NTkuMTM2MDgyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDoxMy4yOTY2MTNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "FF579778-44BA-4E8D-B8B5-C2D5C1EC00A3", + "id" : "768B8E56-57FE-41F3-9433-619578D1474E", "type" : 4 }, { - "id" : "EF9EF0F7-5FC5-473C-8F55-8B342357BA03", + "id" : "E26D119F-FBCE-420A-8031-8B6673FBD231", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EF9EF0F7-5FC5-473C-8F55-8B342357BA03", + "id" : "E26D119F-FBCE-420A-8031-8B6673FBD231", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:00 GMT", + "Date" : "Sun, 24 May 2020 08:44:13 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "EF9EF0F7-5FC5-473C-8F55-8B342357BA03", + "id" : "E26D119F-FBCE-420A-8031-8B6673FBD231", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzo1OS43MTExNDlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NTkuNzExMTQ5WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDoxMy41MTg3OTNaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "EF9EF0F7-5FC5-473C-8F55-8B342357BA03", + "id" : "E26D119F-FBCE-420A-8031-8B6673FBD231", "type" : 4 }, { - "id" : "8DC44A6F-4709-41F5-9DB6-7A5F6B852AE3", + "id" : "82DD6C46-1071-4113-B5C1-E1284EC71F95", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8DC44A6F-4709-41F5-9DB6-7A5F6B852AE3", + "id" : "82DD6C46-1071-4113-B5C1-E1284EC71F95", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:00 GMT", + "Date" : "Sun, 24 May 2020 08:44:13 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "8DC44A6F-4709-41F5-9DB6-7A5F6B852AE3", + "id" : "82DD6C46-1071-4113-B5C1-E1284EC71F95", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjg6MDAuMjg3MDgyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI4OjAwLjI4NzA4MloiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MTMuODA4Mjg4WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" }, "type" : 2 }, { - "id" : "8DC44A6F-4709-41F5-9DB6-7A5F6B852AE3", + "id" : "82DD6C46-1071-4113-B5C1-E1284EC71F95", "type" : 4 }, { - "id" : "DE84A416-BB5E-4343-99FB-9FC61E292829", + "id" : "BB69E679-8634-4A87-A01A-EAC5A4568F45", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DE84A416-BB5E-4343-99FB-9FC61E292829", + "id" : "BB69E679-8634-4A87-A01A-EAC5A4568F45", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:01 GMT", + "Date" : "Sun, 24 May 2020 08:44:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "DE84A416-BB5E-4343-99FB-9FC61E292829", + "id" : "BB69E679-8634-4A87-A01A-EAC5A4568F45", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjg6MDAuODcxMTQzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI4OjAwLjg3MTE0M1oiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MTQuMTEzMDA0WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" }, "type" : 2 }, { - "id" : "DE84A416-BB5E-4343-99FB-9FC61E292829", + "id" : "BB69E679-8634-4A87-A01A-EAC5A4568F45", "type" : 4 }, { - "id" : "37D764A7-BF42-468C-9A07-0C49E535CC37", + "id" : "4458FCE9-C1B4-47CA-A2CD-8AA06D452F2E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,57 +342,55 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "143", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "37D764A7-BF42-468C-9A07-0C49E535CC37", + "id" : "4458FCE9-C1B4-47CA-A2CD-8AA06D452F2E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:44:14 GMT", "Content-Type" : "application\/json", + "Content-Length" : "254", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:01 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "37D764A7-BF42-468C-9A07-0C49E535CC37", + "id" : "4458FCE9-C1B4-47CA-A2CD-8AA06D452F2E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODowMS40NDgzMjRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjg6MDEuNDQ4MzI0WiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDoxNC40MTk1ODhaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" }, "type" : 2 }, { - "id" : "37D764A7-BF42-468C-9A07-0C49E535CC37", + "id" : "4458FCE9-C1B4-47CA-A2CD-8AA06D452F2E", "type" : 4 }, { - "id" : "5B5296C7-BED0-4577-88F5-44DF84BB3F71", + "id" : "5AC36093-005E-434E-A3CA-13043CF1C7BB", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +398,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "163", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU25vd2ZsYWtlIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5B5296C7-BED0-4577-88F5-44DF84BB3F71", + "id" : "5AC36093-005E-434E-A3CA-13043CF1C7BB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:02 GMT", + "Date" : "Sun, 24 May 2020 08:44:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,19 +434,19 @@ "type" : 1 }, { - "id" : "5B5296C7-BED0-4577-88F5-44DF84BB3F71", + "id" : "5AC36093-005E-434E-A3CA-13043CF1C7BB", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI4OjAyLjAzNzA1MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODowMi4wMzcwNTJaIiwiZVRhZyI6IkFZZk82OTNCajhLWVlBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJTbm93Zmxha2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjE0LjczMTQyN1oiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifX0=" }, "type" : 2 }, { - "id" : "5B5296C7-BED0-4577-88F5-44DF84BB3F71", + "id" : "5AC36093-005E-434E-A3CA-13043CF1C7BB", "type" : 4 }, { - "id" : "B39698D5-3838-41B0-B2D0-8AF4FCE0AB7C", + "id" : "5B7BB512-F99A-4CA5-8CF5-C7D36E804E3F", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -457,30 +455,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=4&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?count=1&limit=4&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "B39698D5-3838-41B0-B2D0-8AF4FCE0AB7C", + "id" : "5B7BB512-F99A-4CA5-8CF5-C7D36E804E3F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=4&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?count=1&limit=4&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:03 GMT", + "Date" : "Sun, 24 May 2020 08:44:16 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -488,19 +486,19 @@ "type" : 1 }, { - "id" : "B39698D5-3838-41B0-B2D0-8AF4FCE0AB7C", + "id" : "5B7BB512-F99A-4CA5-8CF5-C7D36E804E3F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzo1OS4xMzYwODJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NTkuMTM2MDgyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6NTkuNzExMTQ5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI3OjU5LjcxMTE0OVoiLCJlVGFnIjoiQVpyRjY0YjlpTnltSXcifSx7ImlkIjoiU29sc3RpY2Utc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODowMC4yODcwODJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjg6MDAuMjg3MDgyWiIsImVUYWciOiJBY3VCeExxMHhNT2Fvd0UifSx7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODowMC44NzExNDNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjg6MDAuODcxMTQzWiIsImVUYWciOiJBWkhGNDdYRjJhT2lwQUUifV0sInRvdGFsQ291bnQiOjYsIm5leHQiOiJOQSJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTbm93Zmxha2UtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDoxNC43MzE0MjdaIiwiZVRhZyI6IkFaZk5nWkc0bDVydk1BIn0seyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MTMuMjk2NjEzWiIsImVUYWciOiJBWTJCNnFISXhlVCtMZyJ9LHsiaWQiOiJXeW5uLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjE0LjQxOTU4OFoiLCJlVGFnIjoiQWUyemhwTEUwS2lSRHcifSx7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDoxMy41MTg3OTNaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik5BIn0=" }, "type" : 2 }, { - "id" : "B39698D5-3838-41B0-B2D0-8AF4FCE0AB7C", + "id" : "5B7BB512-F99A-4CA5-8CF5-C7D36E804E3F", "type" : 4 }, { - "id" : "358AE918-466F-4FB2-80C1-72461ED467DF", + "id" : "D06395DA-E587-411D-951F-31ADFE52D741", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -509,30 +507,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100" }, "type" : 0 }, { - "id" : "358AE918-466F-4FB2-80C1-72461ED467DF", + "id" : "D06395DA-E587-411D-951F-31ADFE52D741", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:04 GMT", + "Date" : "Sun, 24 May 2020 08:44:16 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -540,19 +538,19 @@ "type" : 1 }, { - "id" : "358AE918-466F-4FB2-80C1-72461ED467DF", + "id" : "D06395DA-E587-411D-951F-31ADFE52D741", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJXeW5uLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiV3lubiIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODowMS40NDgzMjRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjg6MDEuNDQ4MzI0WiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9LHsiaWQiOiJTbm93Zmxha2Utc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJTbm93Zmxha2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjg6MDIuMDM3MDUyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI4OjAyLjAzNzA1MloiLCJlVGFnIjoiQVlmTzY5M0JqOEtZWUEifV0sInRvdGFsQ291bnQiOjYsIm5leHQiOiJOZyIsInByZXYiOiJOQSJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MTQuMTEzMDA0WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9LHsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MTMuODA4Mjg4WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifV0sInRvdGFsQ291bnQiOjYsIm5leHQiOiJOZyIsInByZXYiOiJOQSJ9" }, "type" : 2 }, { - "id" : "358AE918-466F-4FB2-80C1-72461ED467DF", + "id" : "D06395DA-E587-411D-951F-31ADFE52D741", "type" : 4 }, { - "id" : "068154F1-9CEA-4F9B-94E7-0BE72F65902F", + "id" : "2029EE98-E5FF-4C37-949C-A2A4847941A2", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -561,26 +559,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "068154F1-9CEA-4F9B-94E7-0BE72F65902F", + "id" : "2029EE98-E5FF-4C37-949C-A2A4847941A2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:04 GMT", + "Date" : "Sun, 24 May 2020 08:44:16 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -590,7 +588,7 @@ "type" : 1 }, { - "id" : "068154F1-9CEA-4F9B-94E7-0BE72F65902F", + "id" : "2029EE98-E5FF-4C37-949C-A2A4847941A2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -598,11 +596,11 @@ "type" : 2 }, { - "id" : "068154F1-9CEA-4F9B-94E7-0BE72F65902F", + "id" : "2029EE98-E5FF-4C37-949C-A2A4847941A2", "type" : 4 }, { - "id" : "6B531E3D-7747-42C5-8D23-4239F4DEEC24", + "id" : "8D78B1F5-7884-4DF9-B58E-CD7EBC803D29", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -611,26 +609,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6B531E3D-7747-42C5-8D23-4239F4DEEC24", + "id" : "8D78B1F5-7884-4DF9-B58E-CD7EBC803D29", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:05 GMT", + "Date" : "Sun, 24 May 2020 08:44:16 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -640,7 +638,7 @@ "type" : 1 }, { - "id" : "6B531E3D-7747-42C5-8D23-4239F4DEEC24", + "id" : "8D78B1F5-7884-4DF9-B58E-CD7EBC803D29", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -648,11 +646,11 @@ "type" : 2 }, { - "id" : "6B531E3D-7747-42C5-8D23-4239F4DEEC24", + "id" : "8D78B1F5-7884-4DF9-B58E-CD7EBC803D29", "type" : 4 }, { - "id" : "778BF8F6-40CB-46C4-BDAF-E600716C537B", + "id" : "D3DD1A0E-5C5A-4438-81DA-5648D03DB2F1", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -661,26 +659,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "778BF8F6-40CB-46C4-BDAF-E600716C537B", + "id" : "D3DD1A0E-5C5A-4438-81DA-5648D03DB2F1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:06 GMT", + "Date" : "Sun, 24 May 2020 08:44:16 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -690,7 +688,7 @@ "type" : 1 }, { - "id" : "778BF8F6-40CB-46C4-BDAF-E600716C537B", + "id" : "D3DD1A0E-5C5A-4438-81DA-5648D03DB2F1", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -698,11 +696,11 @@ "type" : 2 }, { - "id" : "778BF8F6-40CB-46C4-BDAF-E600716C537B", + "id" : "D3DD1A0E-5C5A-4438-81DA-5648D03DB2F1", "type" : 4 }, { - "id" : "7C38CFE8-CAF7-437F-8A94-7D7486EDEA25", + "id" : "FB50E6BB-45AE-4247-9A8C-C0D5C9F25C10", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -711,26 +709,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7C38CFE8-CAF7-437F-8A94-7D7486EDEA25", + "id" : "FB50E6BB-45AE-4247-9A8C-C0D5C9F25C10", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:06 GMT", + "Date" : "Sun, 24 May 2020 08:44:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -740,7 +738,7 @@ "type" : 1 }, { - "id" : "7C38CFE8-CAF7-437F-8A94-7D7486EDEA25", + "id" : "FB50E6BB-45AE-4247-9A8C-C0D5C9F25C10", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -748,11 +746,11 @@ "type" : 2 }, { - "id" : "7C38CFE8-CAF7-437F-8A94-7D7486EDEA25", + "id" : "FB50E6BB-45AE-4247-9A8C-C0D5C9F25C10", "type" : 4 }, { - "id" : "E346B9B8-0804-4019-8E8C-67634D4A2698", + "id" : "ADC3804C-EB59-4757-AA69-1E739C8554B5", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -761,26 +759,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E346B9B8-0804-4019-8E8C-67634D4A2698", + "id" : "ADC3804C-EB59-4757-AA69-1E739C8554B5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:07 GMT", + "Date" : "Sun, 24 May 2020 08:44:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -790,7 +788,7 @@ "type" : 1 }, { - "id" : "E346B9B8-0804-4019-8E8C-67634D4A2698", + "id" : "ADC3804C-EB59-4757-AA69-1E739C8554B5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -798,11 +796,11 @@ "type" : 2 }, { - "id" : "E346B9B8-0804-4019-8E8C-67634D4A2698", + "id" : "ADC3804C-EB59-4757-AA69-1E739C8554B5", "type" : 4 }, { - "id" : "23BA9C9E-E9F0-4CB8-8754-08E34E399F2B", + "id" : "9F3C2B55-1D61-47AB-B9ED-97A9F0BE4ACC", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -811,26 +809,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "23BA9C9E-E9F0-4CB8-8754-08E34E399F2B", + "id" : "9F3C2B55-1D61-47AB-B9ED-97A9F0BE4ACC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:07 GMT", + "Date" : "Sun, 24 May 2020 08:44:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -840,7 +838,7 @@ "type" : 1 }, { - "id" : "23BA9C9E-E9F0-4CB8-8754-08E34E399F2B", + "id" : "9F3C2B55-1D61-47AB-B9ED-97A9F0BE4ACC", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -848,7 +846,7 @@ "type" : 2 }, { - "id" : "23BA9C9E-E9F0-4CB8-8754-08E34E399F2B", + "id" : "9F3C2B55-1D61-47AB-B9ED-97A9F0BE4ACC", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchAllSpacesWhenLimitItSet.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchSortedChannelsMetadataWhenSortIsSet.json similarity index 51% rename from Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchAllSpacesWhenLimitItSet.json rename to Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchSortedChannelsMetadataWhenSortIsSet.json index 1a2861f84..61cd67e50 100644 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchAllSpacesWhenLimitItSet.json +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldFetchSortedChannelsMetadataWhenSortIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "A8B07D69-7726-4AA3-A768-96783F3BEFBE", + "id" : "343DDF4F-0EE3-411D-A408-1F5D8BB33FD2", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A8B07D69-7726-4AA3-A768-96783F3BEFBE", + "id" : "343DDF4F-0EE3-411D-A408-1F5D8BB33FD2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:36 GMT", + "Date" : "Sun, 24 May 2020 08:44:19 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "A8B07D69-7726-4AA3-A768-96783F3BEFBE", + "id" : "343DDF4F-0EE3-411D-A408-1F5D8BB33FD2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "A8B07D69-7726-4AA3-A768-96783F3BEFBE", + "id" : "343DDF4F-0EE3-411D-A408-1F5D8BB33FD2", "type" : 4 }, { - "id" : "97771E6A-8C40-4835-8D9E-24C3028FB74C", + "id" : "C130348F-7EC4-41DD-A799-E395D749D6C0", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "97771E6A-8C40-4835-8D9E-24C3028FB74C", + "id" : "C130348F-7EC4-41DD-A799-E395D749D6C0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:37 GMT", + "Date" : "Sun, 24 May 2020 08:44:19 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "97771E6A-8C40-4835-8D9E-24C3028FB74C", + "id" : "C130348F-7EC4-41DD-A799-E395D749D6C0", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "97771E6A-8C40-4835-8D9E-24C3028FB74C", + "id" : "C130348F-7EC4-41DD-A799-E395D749D6C0", "type" : 4 }, { - "id" : "03D794EE-1914-498B-84A4-50AA9229949B", + "id" : "4C2908E9-DF99-4381-AC80-E346021E748B", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "03D794EE-1914-498B-84A4-50AA9229949B", + "id" : "4C2908E9-DF99-4381-AC80-E346021E748B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:37 GMT", + "Date" : "Sun, 24 May 2020 08:44:20 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "03D794EE-1914-498B-84A4-50AA9229949B", + "id" : "4C2908E9-DF99-4381-AC80-E346021E748B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzozNy4xMzA1NTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MzcuMTMwNTU0WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDoyMC4wNDUzMzRaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "03D794EE-1914-498B-84A4-50AA9229949B", + "id" : "4C2908E9-DF99-4381-AC80-E346021E748B", "type" : 4 }, { - "id" : "B4A9A28C-C176-4071-8F8B-7A30EDC527CF", + "id" : "14BD862E-BFA1-4E35-B301-8CE749417E17", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B4A9A28C-C176-4071-8F8B-7A30EDC527CF", + "id" : "14BD862E-BFA1-4E35-B301-8CE749417E17", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:38 GMT", + "Date" : "Sun, 24 May 2020 08:44:20 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "B4A9A28C-C176-4071-8F8B-7A30EDC527CF", + "id" : "14BD862E-BFA1-4E35-B301-8CE749417E17", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzozNy44MDU2NjVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MzcuODA1NjY1WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDoyMC4yNjY0MTlaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "B4A9A28C-C176-4071-8F8B-7A30EDC527CF", + "id" : "14BD862E-BFA1-4E35-B301-8CE749417E17", "type" : 4 }, { - "id" : "E7467398-C630-4639-9610-8180C91A2D06", + "id" : "760795ED-CCE4-4200-80B5-1D6B2FCCE16A", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E7467398-C630-4639-9610-8180C91A2D06", + "id" : "760795ED-CCE4-4200-80B5-1D6B2FCCE16A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:38 GMT", + "Date" : "Sun, 24 May 2020 08:44:20 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "E7467398-C630-4639-9610-8180C91A2D06", + "id" : "760795ED-CCE4-4200-80B5-1D6B2FCCE16A", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MzguNDI0ODhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MzguNDI0ODhaIiwiZVRhZyI6IkFjdUJ4THEweE1PYW93RSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MjAuNDkwODFaIiwiZVRhZyI6IkFhVGsrN09Sek5haDBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "E7467398-C630-4639-9610-8180C91A2D06", + "id" : "760795ED-CCE4-4200-80B5-1D6B2FCCE16A", "type" : 4 }, { - "id" : "8A50A9C6-C43A-40AC-9148-541AF3B4EB17", + "id" : "C9645106-63A5-4F94-A56D-FED36B08F22C", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8A50A9C6-C43A-40AC-9148-541AF3B4EB17", + "id" : "C9645106-63A5-4F94-A56D-FED36B08F22C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:39 GMT", + "Date" : "Sun, 24 May 2020 08:44:20 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "8A50A9C6-C43A-40AC-9148-541AF3B4EB17", + "id" : "C9645106-63A5-4F94-A56D-FED36B08F22C", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MzkuMDkxOTY2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI3OjM5LjA5MTk2NloiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MjAuNzY4MzExWiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" }, "type" : 2 }, { - "id" : "8A50A9C6-C43A-40AC-9148-541AF3B4EB17", + "id" : "C9645106-63A5-4F94-A56D-FED36B08F22C", "type" : 4 }, { - "id" : "CE70CE56-D33D-4C81-BC93-9311BEFA70A9", + "id" : "E02747AE-A287-418D-A2C3-0EEDD5414D7F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,57 +342,55 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "143", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CE70CE56-D33D-4C81-BC93-9311BEFA70A9", + "id" : "E02747AE-A287-418D-A2C3-0EEDD5414D7F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:44:20 GMT", "Content-Type" : "application\/json", + "Content-Length" : "254", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:40 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "CE70CE56-D33D-4C81-BC93-9311BEFA70A9", + "id" : "E02747AE-A287-418D-A2C3-0EEDD5414D7F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzozOS43Nzk3NTVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MzkuNzc5NzU1WiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDoyMC45ODcwMzNaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" }, "type" : 2 }, { - "id" : "CE70CE56-D33D-4C81-BC93-9311BEFA70A9", + "id" : "E02747AE-A287-418D-A2C3-0EEDD5414D7F", "type" : 4 }, { - "id" : "20FFD926-CA7E-4CE4-B353-E7E9F6737885", + "id" : "5385EA05-EF74-46AD-90DB-BCCDDB6C26DE", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +398,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "163", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU25vd2ZsYWtlIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "20FFD926-CA7E-4CE4-B353-E7E9F6737885", + "id" : "5385EA05-EF74-46AD-90DB-BCCDDB6C26DE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:40 GMT", + "Date" : "Sun, 24 May 2020 08:44:21 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,19 +434,19 @@ "type" : 1 }, { - "id" : "20FFD926-CA7E-4CE4-B353-E7E9F6737885", + "id" : "5385EA05-EF74-46AD-90DB-BCCDDB6C26DE", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI3OjQwLjQ2ODgzNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzo0MC40Njg4MzVaIiwiZVRhZyI6IkFZZk82OTNCajhLWVlBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJTbm93Zmxha2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjIxLjI4MjEwN1oiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifX0=" }, "type" : 2 }, { - "id" : "20FFD926-CA7E-4CE4-B353-E7E9F6737885", + "id" : "5385EA05-EF74-46AD-90DB-BCCDDB6C26DE", "type" : 4 }, { - "id" : "F7F0F775-292C-47D1-919C-59D13FEA9D3F", + "id" : "24051449-135C-42A8-BA38-B9F8993933ED", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -457,30 +455,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?sort=name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "F7F0F775-292C-47D1-919C-59D13FEA9D3F", + "id" : "24051449-135C-42A8-BA38-B9F8993933ED", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?sort=name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:42 GMT", + "Date" : "Sun, 24 May 2020 08:44:22 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -488,19 +486,19 @@ "type" : 1 }, { - "id" : "F7F0F775-292C-47D1-919C-59D13FEA9D3F", + "id" : "24051449-135C-42A8-BA38-B9F8993933ED", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MzcuMTMwNTU0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI3OjM3LjEzMDU1NFoiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzozNy44MDU2NjVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MzcuODA1NjY1WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik1nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJXeW5uLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjIwLjk4NzAzM1oiLCJlVGFnIjoiQWUyemhwTEUwS2lSRHcifSx7ImlkIjoiU29sc3RpY2UtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IlNvbHN0aWNlIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjIwLjQ5MDgxWiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifSx7ImlkIjoiU25vd2ZsYWtlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTbm93Zmxha2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MjEuMjgyMTA3WiIsImVUYWciOiJBWmZOZ1pHNGw1cnZNQSJ9LHsiaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MjAuNzY4MzExWiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9LHsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjIwLjI2NjQxOVoiLCJlVGFnIjoiQWJXSW5JZUcwdXlvMGdFIn0seyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDQ6MjAuMDQ1MzM0WiIsImVUYWciOiJBWTJCNnFISXhlVCtMZyJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "F7F0F775-292C-47D1-919C-59D13FEA9D3F", + "id" : "24051449-135C-42A8-BA38-B9F8993933ED", "type" : 4 }, { - "id" : "AEC27A98-F4EC-4222-A536-22145001BEF7", + "id" : "CBD3909F-BED6-488D-860C-8EBFEB5D3DB6", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -509,26 +507,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "AEC27A98-F4EC-4222-A536-22145001BEF7", + "id" : "CBD3909F-BED6-488D-860C-8EBFEB5D3DB6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:42 GMT", + "Date" : "Sun, 24 May 2020 08:44:22 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -538,7 +536,7 @@ "type" : 1 }, { - "id" : "AEC27A98-F4EC-4222-A536-22145001BEF7", + "id" : "CBD3909F-BED6-488D-860C-8EBFEB5D3DB6", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -546,11 +544,11 @@ "type" : 2 }, { - "id" : "AEC27A98-F4EC-4222-A536-22145001BEF7", + "id" : "CBD3909F-BED6-488D-860C-8EBFEB5D3DB6", "type" : 4 }, { - "id" : "43962C6F-EC36-4E95-8927-F736F12A50ED", + "id" : "642D6C15-2A88-41F1-9D7D-C43B8724D068", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -559,26 +557,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "43962C6F-EC36-4E95-8927-F736F12A50ED", + "id" : "642D6C15-2A88-41F1-9D7D-C43B8724D068", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:43 GMT", + "Date" : "Sun, 24 May 2020 08:44:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -588,7 +586,7 @@ "type" : 1 }, { - "id" : "43962C6F-EC36-4E95-8927-F736F12A50ED", + "id" : "642D6C15-2A88-41F1-9D7D-C43B8724D068", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -596,11 +594,11 @@ "type" : 2 }, { - "id" : "43962C6F-EC36-4E95-8927-F736F12A50ED", + "id" : "642D6C15-2A88-41F1-9D7D-C43B8724D068", "type" : 4 }, { - "id" : "61ED07E5-2C7A-4A7E-8111-3389E2FE3704", + "id" : "80B52090-EC92-42C9-B281-36180FAA7DD2", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -609,26 +607,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "61ED07E5-2C7A-4A7E-8111-3389E2FE3704", + "id" : "80B52090-EC92-42C9-B281-36180FAA7DD2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:44 GMT", + "Date" : "Sun, 24 May 2020 08:44:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -638,7 +636,7 @@ "type" : 1 }, { - "id" : "61ED07E5-2C7A-4A7E-8111-3389E2FE3704", + "id" : "80B52090-EC92-42C9-B281-36180FAA7DD2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -646,11 +644,11 @@ "type" : 2 }, { - "id" : "61ED07E5-2C7A-4A7E-8111-3389E2FE3704", + "id" : "80B52090-EC92-42C9-B281-36180FAA7DD2", "type" : 4 }, { - "id" : "DC4ECF0A-9E2F-4FF4-A9AE-3A473F154A5A", + "id" : "E3ED05DE-6687-4667-9A7D-67827E8BE799", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -659,26 +657,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DC4ECF0A-9E2F-4FF4-A9AE-3A473F154A5A", + "id" : "E3ED05DE-6687-4667-9A7D-67827E8BE799", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:44 GMT", + "Date" : "Sun, 24 May 2020 08:44:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -688,7 +686,7 @@ "type" : 1 }, { - "id" : "DC4ECF0A-9E2F-4FF4-A9AE-3A473F154A5A", + "id" : "E3ED05DE-6687-4667-9A7D-67827E8BE799", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -696,11 +694,11 @@ "type" : 2 }, { - "id" : "DC4ECF0A-9E2F-4FF4-A9AE-3A473F154A5A", + "id" : "E3ED05DE-6687-4667-9A7D-67827E8BE799", "type" : 4 }, { - "id" : "715E10AC-472A-414B-A114-A93933DED1AB", + "id" : "4F5766DD-A9C6-4F76-815D-EAD2A37BDC91", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -709,26 +707,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "715E10AC-472A-414B-A114-A93933DED1AB", + "id" : "4F5766DD-A9C6-4F76-815D-EAD2A37BDC91", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:45 GMT", + "Date" : "Sun, 24 May 2020 08:44:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -738,7 +736,7 @@ "type" : 1 }, { - "id" : "715E10AC-472A-414B-A114-A93933DED1AB", + "id" : "4F5766DD-A9C6-4F76-815D-EAD2A37BDC91", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -746,11 +744,11 @@ "type" : 2 }, { - "id" : "715E10AC-472A-414B-A114-A93933DED1AB", + "id" : "4F5766DD-A9C6-4F76-815D-EAD2A37BDC91", "type" : 4 }, { - "id" : "FAC32D24-1314-4083-A3A4-0FF6CDF8CE01", + "id" : "A771D8E5-368D-43ED-98CD-5DF29A72B7E2", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -759,26 +757,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FAC32D24-1314-4083-A3A4-0FF6CDF8CE01", + "id" : "A771D8E5-368D-43ED-98CD-5DF29A72B7E2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:46 GMT", + "Date" : "Sun, 24 May 2020 08:44:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -788,7 +786,7 @@ "type" : 1 }, { - "id" : "FAC32D24-1314-4083-A3A4-0FF6CDF8CE01", + "id" : "A771D8E5-368D-43ED-98CD-5DF29A72B7E2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -796,7 +794,7 @@ "type" : 2 }, { - "id" : "FAC32D24-1314-4083-A3A4-0FF6CDF8CE01", + "id" : "A771D8E5-368D-43ED-98CD-5DF29A72B7E2", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotFetchSpaceWhenTargetSpaceNotExists.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldNotFetchChannelMetadataWhenTargetChannelDoesNotHaveMetadata.json similarity index 62% rename from Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotFetchSpaceWhenTargetSpaceNotExists.json rename to Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldNotFetchChannelMetadataWhenTargetChannelDoesNotHaveMetadata.json index cacfb26d7..90facb341 100644 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotFetchSpaceWhenTargetSpaceNotExists.json +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldNotFetchChannelMetadataWhenTargetChannelDoesNotHaveMetadata.json @@ -1,6 +1,6 @@ [ { - "id" : "B94260DA-145F-4F70-ADD9-764D4B9C227D", + "id" : "9E6486C9-9FCB-4F44-93DD-2A683B41C658", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B94260DA-145F-4F70-ADD9-764D4B9C227D", + "id" : "9E6486C9-9FCB-4F44-93DD-2A683B41C658", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:19 GMT", + "Date" : "Sun, 24 May 2020 08:44:25 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "B94260DA-145F-4F70-ADD9-764D4B9C227D", + "id" : "9E6486C9-9FCB-4F44-93DD-2A683B41C658", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "B94260DA-145F-4F70-ADD9-764D4B9C227D", + "id" : "9E6486C9-9FCB-4F44-93DD-2A683B41C658", "type" : 4 }, { - "id" : "01D95DAE-8955-4F21-B4B7-965DEF4415A6", + "id" : "0FF65E32-6602-4FED-976D-6B1BDCAF4A86", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "01D95DAE-8955-4F21-B4B7-965DEF4415A6", + "id" : "0FF65E32-6602-4FED-976D-6B1BDCAF4A86", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:19 GMT", + "Date" : "Sun, 24 May 2020 08:44:26 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "01D95DAE-8955-4F21-B4B7-965DEF4415A6", + "id" : "0FF65E32-6602-4FED-976D-6B1BDCAF4A86", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,11 +96,11 @@ "type" : 2 }, { - "id" : "01D95DAE-8955-4F21-B4B7-965DEF4415A6", + "id" : "0FF65E32-6602-4FED-976D-6B1BDCAF4A86", "type" : 4 }, { - "id" : "1F258154-04B8-44BC-99FF-0C07527AB130", + "id" : "F73E0174-48D5-48F8-B2EE-82ADE1CCC823", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -109,26 +109,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1F258154-04B8-44BC-99FF-0C07527AB130", + "id" : "F73E0174-48D5-48F8-B2EE-82ADE1CCC823", "data" : { "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:20 GMT", + "Date" : "Sun, 24 May 2020 08:44:26 GMT", "Content-Type" : "application\/json", "Content-Length" : "87", "Connection" : "keep-alive", @@ -138,7 +138,7 @@ "type" : 1 }, { - "id" : "1F258154-04B8-44BC-99FF-0C07527AB130", + "id" : "F73E0174-48D5-48F8-B2EE-82ADE1CCC823", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" @@ -146,11 +146,11 @@ "type" : 2 }, { - "id" : "1F258154-04B8-44BC-99FF-0C07527AB130", + "id" : "F73E0174-48D5-48F8-B2EE-82ADE1CCC823", "type" : 4 }, { - "id" : "10C019BD-27D1-424D-BB4D-F40A748A479B", + "id" : "50A77FAE-8BEB-4899-89FF-2DDA84D7C6F5", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -159,26 +159,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "10C019BD-27D1-424D-BB4D-F40A748A479B", + "id" : "50A77FAE-8BEB-4899-89FF-2DDA84D7C6F5", "data" : { "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:20 GMT", + "Date" : "Sun, 24 May 2020 08:44:26 GMT", "Content-Type" : "application\/json", "Content-Length" : "87", "Connection" : "keep-alive", @@ -188,7 +188,7 @@ "type" : 1 }, { - "id" : "10C019BD-27D1-424D-BB4D-F40A748A479B", + "id" : "50A77FAE-8BEB-4899-89FF-2DDA84D7C6F5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" @@ -196,7 +196,7 @@ "type" : 2 }, { - "id" : "10C019BD-27D1-424D-BB4D-F40A748A479B", + "id" : "50A77FAE-8BEB-4899-89FF-2DDA84D7C6F5", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldDeleteSpaceAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldRemoveChannelMetadataAndReceiveStatusWithExpectedOperationAndCategory.json similarity index 55% rename from Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldDeleteSpaceAndReceiveStatusWithExpectedOperationAndCategory.json rename to Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldRemoveChannelMetadataAndReceiveStatusWithExpectedOperationAndCategory.json index 02caa1795..81c071a8c 100644 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldDeleteSpaceAndReceiveStatusWithExpectedOperationAndCategory.json +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldRemoveChannelMetadataAndReceiveStatusWithExpectedOperationAndCategory.json @@ -1,6 +1,6 @@ [ { - "id" : "354CCE9E-61DE-49E2-A1AA-4099494FF75B", + "id" : "B5940655-F581-42CA-9BD0-6F8EF32EF118", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "354CCE9E-61DE-49E2-A1AA-4099494FF75B", + "id" : "B5940655-F581-42CA-9BD0-6F8EF32EF118", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:35:04 GMT", + "Date" : "Sun, 24 May 2020 08:36:47 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "354CCE9E-61DE-49E2-A1AA-4099494FF75B", + "id" : "B5940655-F581-42CA-9BD0-6F8EF32EF118", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "354CCE9E-61DE-49E2-A1AA-4099494FF75B", + "id" : "B5940655-F581-42CA-9BD0-6F8EF32EF118", "type" : 4 }, { - "id" : "270A47B1-E06B-45D4-AABB-2316F0A3D700", + "id" : "CE907948-E35E-40D6-90B3-DF6C57256C36", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "270A47B1-E06B-45D4-AABB-2316F0A3D700", + "id" : "CE907948-E35E-40D6-90B3-DF6C57256C36", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:35:04 GMT", + "Date" : "Sun, 24 May 2020 08:36:47 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "270A47B1-E06B-45D4-AABB-2316F0A3D700", + "id" : "CE907948-E35E-40D6-90B3-DF6C57256C36", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "270A47B1-E06B-45D4-AABB-2316F0A3D700", + "id" : "CE907948-E35E-40D6-90B3-DF6C57256C36", "type" : 4 }, { - "id" : "98A834C7-DD1A-46BA-A208-7105A566FA58", + "id" : "0E7AFA5E-9509-446C-AE11-F5B928DB1952", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "98A834C7-DD1A-46BA-A208-7105A566FA58", + "id" : "0E7AFA5E-9509-446C-AE11-F5B928DB1952", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:35:05 GMT", + "Date" : "Sun, 24 May 2020 08:36:47 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "98A834C7-DD1A-46BA-A208-7105A566FA58", + "id" : "0E7AFA5E-9509-446C-AE11-F5B928DB1952", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozNTowNS4xMDQ0OTVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MzU6MDUuMTA0NDk1WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNjo0Ny42NDAwMjlaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "98A834C7-DD1A-46BA-A208-7105A566FA58", + "id" : "0E7AFA5E-9509-446C-AE11-F5B928DB1952", "type" : 4 }, { - "id" : "E862283B-D91A-49D8-950F-B44D3EE5B0AD", + "id" : "6920DA09-C1AB-4C08-A81A-4B78B06E0465", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E862283B-D91A-49D8-950F-B44D3EE5B0AD", + "id" : "6920DA09-C1AB-4C08-A81A-4B78B06E0465", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:35:06 GMT", + "Date" : "Sun, 24 May 2020 08:36:47 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,19 +204,19 @@ "type" : 1 }, { - "id" : "E862283B-D91A-49D8-950F-B44D3EE5B0AD", + "id" : "6920DA09-C1AB-4C08-A81A-4B78B06E0465", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozNTowNS42ODUwMDhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MzU6MDUuNjg1MDA4WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNjo0Ny44NjEzNjdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "E862283B-D91A-49D8-950F-B44D3EE5B0AD", + "id" : "6920DA09-C1AB-4C08-A81A-4B78B06E0465", "type" : 4 }, { - "id" : "9CDAECC5-EBF7-4B76-8AC1-790039924435", + "id" : "D8E421B1-38C2-4996-8484-F3302447A220", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -225,26 +225,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9CDAECC5-EBF7-4B76-8AC1-790039924435", + "id" : "D8E421B1-38C2-4996-8484-F3302447A220", "data" : { "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:35:07 GMT", + "Date" : "Sun, 24 May 2020 08:36:49 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -254,7 +254,7 @@ "type" : 1 }, { - "id" : "9CDAECC5-EBF7-4B76-8AC1-790039924435", + "id" : "D8E421B1-38C2-4996-8484-F3302447A220", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -262,11 +262,11 @@ "type" : 2 }, { - "id" : "9CDAECC5-EBF7-4B76-8AC1-790039924435", + "id" : "D8E421B1-38C2-4996-8484-F3302447A220", "type" : 4 }, { - "id" : "9CDAECC5-EBF7-4B76-8AC1-790039924438", + "id" : "D8E421B1-38C2-4996-8484-F3302447A250", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -275,26 +275,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9CDAECC5-EBF7-4B76-8AC1-790039924438", + "id" : "D8E421B1-38C2-4996-8484-F3302447A250", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:35:07 GMT", + "Date" : "Sun, 24 May 2020 08:36:49 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -304,7 +304,7 @@ "type" : 1 }, { - "id" : "9CDAECC5-EBF7-4B76-8AC1-790039924438", + "id" : "D8E421B1-38C2-4996-8484-F3302447A250", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -312,11 +312,11 @@ "type" : 2 }, { - "id" : "9CDAECC5-EBF7-4B76-8AC1-790039924438", + "id" : "D8E421B1-38C2-4996-8484-F3302447A250", "type" : 4 }, { - "id" : "49E44EF9-3C9D-4BA2-9B36-17EA2A0D92B2", + "id" : "521E3E84-6EF4-45B1-A751-85A67F3D7CFC", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -325,28 +325,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "49E44EF9-3C9D-4BA2-9B36-17EA2A0D92B2", + "id" : "521E3E84-6EF4-45B1-A751-85A67F3D7CFC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:35:09 GMT", + "Date" : "Sun, 24 May 2020 08:36:50 GMT", "Content-Type" : "application\/json", - "Content-Length" : "238", + "Content-Length" : "201", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -354,19 +354,19 @@ "type" : 1 }, { - "id" : "49E44EF9-3C9D-4BA2-9B36-17EA2A0D92B2", + "id" : "521E3E84-6EF4-45B1-A751-85A67F3D7CFC", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozNTowNS42ODUwMDhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MzU6MDUuNjg1MDA4WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9XSwidG90YWxDb3VudCI6MSwibmV4dCI6Ik1RIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM2OjQ3Ljg2MTM2N1oiLCJlVGFnIjoiQWJXSW5JZUcwdXlvMGdFIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" }, "type" : 2 }, { - "id" : "49E44EF9-3C9D-4BA2-9B36-17EA2A0D92B2", + "id" : "521E3E84-6EF4-45B1-A751-85A67F3D7CFC", "type" : 4 }, { - "id" : "859F2EA1-6160-4ABC-A164-B335065FFB54", + "id" : "B2C40DCF-569C-41BC-AC8D-2890164D380F", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -375,26 +375,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "859F2EA1-6160-4ABC-A164-B335065FFB54", + "id" : "B2C40DCF-569C-41BC-AC8D-2890164D380F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:35:09 GMT", + "Date" : "Sun, 24 May 2020 08:36:50 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -404,7 +404,7 @@ "type" : 1 }, { - "id" : "859F2EA1-6160-4ABC-A164-B335065FFB54", + "id" : "B2C40DCF-569C-41BC-AC8D-2890164D380F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -412,7 +412,7 @@ "type" : 2 }, { - "id" : "859F2EA1-6160-4ABC-A164-B335065FFB54", + "id" : "B2C40DCF-569C-41BC-AC8D-2890164D380F", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldDeleteSpaceAndTriggerDeleteEventToSpaceChannel.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldRemoveChannelsMetadataAndTriggerDeleteEventToChannel.json similarity index 57% rename from Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldDeleteSpaceAndTriggerDeleteEventToSpaceChannel.json rename to Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldRemoveChannelsMetadataAndTriggerDeleteEventToChannel.json index 5f3f8f9e6..1b6492933 100644 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldDeleteSpaceAndTriggerDeleteEventToSpaceChannel.json +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldRemoveChannelsMetadataAndTriggerDeleteEventToChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "C672E94A-966E-478A-A578-1310F589C37E", + "id" : "97F6D550-D8F5-460B-81F0-9D05ACC11992", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C672E94A-966E-478A-A578-1310F589C37E", + "id" : "97F6D550-D8F5-460B-81F0-9D05ACC11992", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:03 GMT", + "Date" : "Sun, 24 May 2020 08:44:27 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "C672E94A-966E-478A-A578-1310F589C37E", + "id" : "97F6D550-D8F5-460B-81F0-9D05ACC11992", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "C672E94A-966E-478A-A578-1310F589C37E", + "id" : "97F6D550-D8F5-460B-81F0-9D05ACC11992", "type" : 4 }, { - "id" : "DA5704BB-4B70-41C7-AE69-891A5511E3D2", + "id" : "5B664F46-2327-4FEA-8D15-2D5318A56F8A", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DA5704BB-4B70-41C7-AE69-891A5511E3D2", + "id" : "5B664F46-2327-4FEA-8D15-2D5318A56F8A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:03 GMT", + "Date" : "Sun, 24 May 2020 08:44:27 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "DA5704BB-4B70-41C7-AE69-891A5511E3D2", + "id" : "5B664F46-2327-4FEA-8D15-2D5318A56F8A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "DA5704BB-4B70-41C7-AE69-891A5511E3D2", + "id" : "5B664F46-2327-4FEA-8D15-2D5318A56F8A", "type" : 4 }, { - "id" : "1B0E4B89-C7E4-4292-AE75-F509C436745D", + "id" : "2FEE2C21-76A3-4F8E-9E2D-0B94F78CB53E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1B0E4B89-C7E4-4292-AE75-F509C436745D", + "id" : "2FEE2C21-76A3-4F8E-9E2D-0B94F78CB53E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:04 GMT", + "Date" : "Sun, 24 May 2020 08:44:28 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "1B0E4B89-C7E4-4292-AE75-F509C436745D", + "id" : "2FEE2C21-76A3-4F8E-9E2D-0B94F78CB53E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzowNC4xMzc2MjdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MDQuMTM3NjI3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDoyOC4zOTYzNjNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "1B0E4B89-C7E4-4292-AE75-F509C436745D", + "id" : "2FEE2C21-76A3-4F8E-9E2D-0B94F78CB53E", "type" : 4 }, { - "id" : "5DAA0318-5F85-4995-8CCE-C8E0E2A5586A", + "id" : "493438F1-0642-4EFC-8681-7824537834CC", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5DAA0318-5F85-4995-8CCE-C8E0E2A5586A", + "id" : "493438F1-0642-4EFC-8681-7824537834CC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:27:05 GMT", + "Date" : "Sun, 24 May 2020 08:44:28 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,19 +204,19 @@ "type" : 1 }, { - "id" : "5DAA0318-5F85-4995-8CCE-C8E0E2A5586A", + "id" : "493438F1-0642-4EFC-8681-7824537834CC", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzowNC43MTY4NDJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MDQuNzE2ODQyWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NDoyOC42MjEzNTNaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "5DAA0318-5F85-4995-8CCE-C8E0E2A5586A", + "id" : "493438F1-0642-4EFC-8681-7824537834CC", "type" : 4 }, { - "id" : "E8BEA92A-47DD-434A-9010-A22EFB16518D", + "id" : "FC43947E-973C-4643-9926-EBA382C3F96E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -225,28 +225,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E8BEA92A-47DD-434A-9010-A22EFB16518D", + "id" : "FC43947E-973C-4643-9926-EBA382C3F96E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:27:06 GMT", + "Date" : "Sun, 24 May 2020 08:44:30 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -255,19 +255,19 @@ "type" : 1 }, { - "id" : "E8BEA92A-47DD-434A-9010-A22EFB16518D", + "id" : "FC43947E-973C-4643-9926-EBA382C3F96E", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2ODI2NDE2NDIxMyIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzA5ODY4NDAwMTA5MiIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "E8BEA92A-47DD-434A-9010-A22EFB16518D", + "id" : "FC43947E-973C-4643-9926-EBA382C3F96E", "type" : 4 }, { - "id" : "4AA48E78-034D-4623-9EBF-61F4556131E7", + "id" : "8DDAC531-8B13-4425-AF70-43C2D4A468BE", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -276,19 +276,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810568264164213&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903098684001092&tr=56" }, "type" : 0 }, { - "id" : "EF265DD0-6AB4-417E-8EFA-C5AF2FFAE422", + "id" : "E37252E4-0BD8-437A-80D5-03CF28296EE5", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -297,78 +297,78 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4AA48E78-034D-4623-9EBF-61F4556131E7", + "id" : "E37252E4-0BD8-437A-80D5-03CF28296EE5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810568264164213&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { - "Access-Control-Allow-Methods" : "GET", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:27:07 GMT", - "Content-Length" : "325", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:44:30 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "4AA48E78-034D-4623-9EBF-61F4556131E7", + "id" : "E37252E4-0BD8-437A-80D5-03CF28296EE5", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2ODI3MDk5NDE3OSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2ODI3MDk4NDY4MSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoiZGVsZXRlIiwidHlwZSI6InNwYWNlIiwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" }, "type" : 2 }, { - "id" : "4AA48E78-034D-4623-9EBF-61F4556131E7", + "id" : "E37252E4-0BD8-437A-80D5-03CF28296EE5", "type" : 4 }, { - "id" : "EF265DD0-6AB4-417E-8EFA-C5AF2FFAE422", + "id" : "8DDAC531-8B13-4425-AF70-43C2D4A468BE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903098684001092&tr=56", "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:07 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:44:30 GMT", + "Content-Length" : "331", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" } }, "type" : 1 }, { - "id" : "EF265DD0-6AB4-417E-8EFA-C5AF2FFAE422", + "id" : "8DDAC531-8B13-4425-AF70-43C2D4A468BE", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzA5ODcwMzE2MzA1NSIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzA5ODcwMzE3NjQ2NiIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJkZWxldGUiLCJ0eXBlIjoiY2hhbm5lbCIsImRhdGEiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fX1dfQ==" }, "type" : 2 }, { - "id" : "EF265DD0-6AB4-417E-8EFA-C5AF2FFAE422", + "id" : "8DDAC531-8B13-4425-AF70-43C2D4A468BE", "type" : 4 }, { - "id" : "E031146D-4E50-4D1D-92BE-73ADDCD8EDCE", + "id" : "0DC1BD06-E5F3-40A8-BF94-BAA8FE020A5D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -377,25 +377,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810568270994179&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903098703163055&tr=56" }, "type" : 0 }, { - "id" : "E031146D-4E50-4D1D-92BE-73ADDCD8EDCE", + "id" : "0DC1BD06-E5F3-40A8-BF94-BAA8FE020A5D", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810568270994179&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903098703163055&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810568270994179&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903098703163055&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -403,7 +403,7 @@ "type" : 3 }, { - "id" : "E72B42DF-BFAC-498C-BDC9-69CD87C6263F", + "id" : "B088BA18-1BBA-481F-9E6D-AA08F51234BB", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -412,30 +412,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E72B42DF-BFAC-498C-BDC9-69CD87C6263F", + "id" : "B088BA18-1BBA-481F-9E6D-AA08F51234BB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 06:27:07 GMT", + "Date" : "Sun, 24 May 2020 08:44:30 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -445,7 +445,7 @@ "type" : 1 }, { - "id" : "E72B42DF-BFAC-498C-BDC9-69CD87C6263F", + "id" : "B088BA18-1BBA-481F-9E6D-AA08F51234BB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -453,11 +453,11 @@ "type" : 2 }, { - "id" : "E72B42DF-BFAC-498C-BDC9-69CD87C6263F", + "id" : "B088BA18-1BBA-481F-9E6D-AA08F51234BB", "type" : 4 }, { - "id" : "F1945AF6-C07B-44BE-920D-94AA65CEF93B", + "id" : "CD16D222-2E39-4730-8CB1-7B543EDF9A14", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -466,28 +466,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100&uuid=serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=serhii" }, "type" : 0 }, { - "id" : "F1945AF6-C07B-44BE-920D-94AA65CEF93B", + "id" : "CD16D222-2E39-4730-8CB1-7B543EDF9A14", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100&uuid=serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:08 GMT", + "Date" : "Sun, 24 May 2020 08:44:32 GMT", "Content-Type" : "application\/json", - "Content-Length" : "238", + "Content-Length" : "201", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -495,19 +495,19 @@ "type" : 1 }, { - "id" : "F1945AF6-C07B-44BE-920D-94AA65CEF93B", + "id" : "CD16D222-2E39-4730-8CB1-7B543EDF9A14", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNzowNC43MTY4NDJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjc6MDQuNzE2ODQyWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9XSwidG90YWxDb3VudCI6MSwibmV4dCI6Ik1RIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjI4LjYyMTM1M1oiLCJlVGFnIjoiQWJXSW5JZUcwdXlvMGdFIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" }, "type" : 2 }, { - "id" : "F1945AF6-C07B-44BE-920D-94AA65CEF93B", + "id" : "CD16D222-2E39-4730-8CB1-7B543EDF9A14", "type" : 4 }, { - "id" : "4CF29758-AB38-41B8-9979-3E4FD3777BB3", + "id" : "095F932B-A621-4CC0-A0A8-6FA8739A043D", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -516,26 +516,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4CF29758-AB38-41B8-9979-3E4FD3777BB3", + "id" : "095F932B-A621-4CC0-A0A8-6FA8739A043D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:27:09 GMT", + "Date" : "Sun, 24 May 2020 08:44:32 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -545,7 +545,7 @@ "type" : 1 }, { - "id" : "4CF29758-AB38-41B8-9979-3E4FD3777BB3", + "id" : "095F932B-A621-4CC0-A0A8-6FA8739A043D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -553,7 +553,7 @@ "type" : 2 }, { - "id" : "4CF29758-AB38-41B8-9979-3E4FD3777BB3", + "id" : "095F932B-A621-4CC0-A0A8-6FA8739A043D", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldCreateSpaceAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlySpaceAndIdentifierIsSet.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldSetChannelMetadataAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlyChannelIsSet.json similarity index 58% rename from Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldCreateSpaceAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlySpaceAndIdentifierIsSet.json rename to Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldSetChannelMetadataAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlyChannelIsSet.json index cad79573a..ac82bb089 100644 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldCreateSpaceAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlySpaceAndIdentifierIsSet.json +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldSetChannelMetadataAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlyChannelIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "41C54EE9-C5E0-4E41-A726-28F01E62E5A3", + "id" : "4351C8E7-06EC-48FA-9F59-52703E87A29E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "41C54EE9-C5E0-4E41-A726-28F01E62E5A3", + "id" : "4351C8E7-06EC-48FA-9F59-52703E87A29E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:26:34 GMT", + "Date" : "Sun, 24 May 2020 08:44:34 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "41C54EE9-C5E0-4E41-A726-28F01E62E5A3", + "id" : "4351C8E7-06EC-48FA-9F59-52703E87A29E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "41C54EE9-C5E0-4E41-A726-28F01E62E5A3", + "id" : "4351C8E7-06EC-48FA-9F59-52703E87A29E", "type" : 4 }, { - "id" : "DD4CD745-79A5-4E32-BE5B-8790E74B09DF", + "id" : "4E01A40F-5283-4502-B86D-7430504B23DF", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DD4CD745-79A5-4E32-BE5B-8790E74B09DF", + "id" : "4E01A40F-5283-4502-B86D-7430504B23DF", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:26:34 GMT", + "Date" : "Sun, 24 May 2020 08:44:34 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "DD4CD745-79A5-4E32-BE5B-8790E74B09DF", + "id" : "4E01A40F-5283-4502-B86D-7430504B23DF", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "DD4CD745-79A5-4E32-BE5B-8790E74B09DF", + "id" : "4E01A40F-5283-4502-B86D-7430504B23DF", "type" : 4 }, { - "id" : "B72EE7C2-00CE-437F-A5D2-41BCCF12A5A9", + "id" : "4063C702-60B5-4F37-B047-052375E21DC1", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,33 +110,33 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "72", + "Content-Length" : "2", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6InRlc3Qtc3BhY2UiLCJuYW1lIjoidGVzdC1zcGFjZS1uYW1lIn0=" + "base64" : "e30=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B72EE7C2-00CE-437F-A5D2-41BCCF12A5A9", + "id" : "4063C702-60B5-4F37-B047-052375E21DC1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:26:35 GMT", + "Date" : "Sun, 24 May 2020 08:44:34 GMT", "Content-Type" : "application\/json", - "Content-Length" : "232", + "Content-Length" : "167", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -144,19 +144,19 @@ "type" : 1 }, { - "id" : "B72EE7C2-00CE-437F-A5D2-41BCCF12A5A9", + "id" : "4063C702-60B5-4F37-B047-052375E21DC1", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6InRlc3Qtc3BhY2UiLCJuYW1lIjoidGVzdC1zcGFjZS1uYW1lIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjY6MzQuNjA5OTI4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI2OjM0LjYwOTkyOFoiLCJlVGFnIjoiQWZDdDU4aS9yYzJ0M1FFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6InRlc3QtY2hhbm5lbCIsIm5hbWUiOm51bGwsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjM0LjY4NDI0MloiLCJlVGFnIjoiQWZhaDJxUzE5OWU3NFFFIn19" }, "type" : 2 }, { - "id" : "B72EE7C2-00CE-437F-A5D2-41BCCF12A5A9", + "id" : "4063C702-60B5-4F37-B047-052375E21DC1", "type" : 4 }, { - "id" : "46A622E6-3DEA-4F1D-9A13-2A1FDC65378A", + "id" : "8DF8E78C-8D28-4333-9132-C763BE3DADC5", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -165,26 +165,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "46A622E6-3DEA-4F1D-9A13-2A1FDC65378A", + "id" : "8DF8E78C-8D28-4333-9132-C763BE3DADC5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:26:35 GMT", + "Date" : "Sun, 24 May 2020 08:44:34 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -194,7 +194,7 @@ "type" : 1 }, { - "id" : "46A622E6-3DEA-4F1D-9A13-2A1FDC65378A", + "id" : "8DF8E78C-8D28-4333-9132-C763BE3DADC5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -202,7 +202,7 @@ "type" : 2 }, { - "id" : "46A622E6-3DEA-4F1D-9A13-2A1FDC65378A", + "id" : "8DF8E78C-8D28-4333-9132-C763BE3DADC5", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldUpdateUserAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldSetChannelMetadataWhenAdditionalInformationIsSet.json similarity index 52% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldUpdateUserAndReceiveStatusWithExpectedOperationAndCategory.json rename to Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldSetChannelMetadataWhenAdditionalInformationIsSet.json index b6c70805a..6d52716de 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldUpdateUserAndReceiveStatusWithExpectedOperationAndCategory.json +++ b/Tests/Support Files/Fixtures/PNChannelMetadataIntegrationTest.bundle/ItShouldSetChannelMetadataWhenAdditionalInformationIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "761E7B8F-2A22-4E49-BEE8-CACB2AD8E69D", + "id" : "5D56DE23-D288-4F0F-AF02-ADC84F206207", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "761E7B8F-2A22-4E49-BEE8-CACB2AD8E69D", + "id" : "5D56DE23-D288-4F0F-AF02-ADC84F206207", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:27 GMT", + "Date" : "Sun, 24 May 2020 08:44:36 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "761E7B8F-2A22-4E49-BEE8-CACB2AD8E69D", + "id" : "5D56DE23-D288-4F0F-AF02-ADC84F206207", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "761E7B8F-2A22-4E49-BEE8-CACB2AD8E69D", + "id" : "5D56DE23-D288-4F0F-AF02-ADC84F206207", "type" : 4 }, { - "id" : "CFE6893C-0CB2-4B89-B350-58E4363EB8A6", + "id" : "24259686-D376-4195-87F1-DC24E3C91905", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CFE6893C-0CB2-4B89-B350-58E4363EB8A6", + "id" : "24259686-D376-4195-87F1-DC24E3C91905", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:27 GMT", + "Date" : "Sun, 24 May 2020 08:44:37 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "CFE6893C-0CB2-4B89-B350-58E4363EB8A6", + "id" : "24259686-D376-4195-87F1-DC24E3C91905", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "CFE6893C-0CB2-4B89-B350-58E4363EB8A6", + "id" : "24259686-D376-4195-87F1-DC24E3C91905", "type" : 4 }, { - "id" : "C1E496E1-FE77-4CBE-AE98-6A2A693CB7CF", + "id" : "7A606020-86C2-4D77-8FA7-581767ABF793", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "240", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoidGVzdC1jaGFubmVsLW5hbWUiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoidGVzdC1jaGFubmVsLW5hbWUtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6InRlc3QtY2hhbm5lbC1uYW1lLWN1c3RvbS1kYXRhLTIifSwiZGVzY3JpcHRpb24iOiJ0ZXN0LWNoYW5uZWwtaW5mb3JtYXRpb24ifQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C1E496E1-FE77-4CBE-AE98-6A2A693CB7CF", + "id" : "7A606020-86C2-4D77-8FA7-581767ABF793", "data" : { - "status" : 200, + "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:27 GMT", + "Date" : "Sun, 24 May 2020 08:44:37 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,19 +146,19 @@ "type" : 1 }, { - "id" : "C1E496E1-FE77-4CBE-AE98-6A2A693CB7CF", + "id" : "7A606020-86C2-4D77-8FA7-581767ABF793", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjI3LjQzNTU4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjI3LjQzNTU4WiIsImVUYWciOiJBZVAyNjdmYXV2YkJQQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6InRlc3QtY2hhbm5lbCIsIm5hbWUiOiJ0ZXN0LWNoYW5uZWwtbmFtZSIsImRlc2NyaXB0aW9uIjoidGVzdC1jaGFubmVsLWluZm9ybWF0aW9uIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6InRlc3QtY2hhbm5lbC1uYW1lLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJ0ZXN0LWNoYW5uZWwtbmFtZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjM3LjM1MTYxNFoiLCJlVGFnIjoiQWFIcG91MzRocUNDL2dFIn19" }, "type" : 2 }, { - "id" : "C1E496E1-FE77-4CBE-AE98-6A2A693CB7CF", + "id" : "7A606020-86C2-4D77-8FA7-581767ABF793", "type" : 4 }, { - "id" : "6177316A-84BB-4129-9AFA-3AA24F5B7009", + "id" : "7A606020-86C2-4D77-8FA7-581767ABF791", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "84", + "Content-Length" : "240", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoidGVzdC1zcGFjZS1uYW1lIn0=" + "base64" : "eyJuYW1lIjoidGVzdC1jaGFubmVsLW5hbWUiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoidGVzdC1jaGFubmVsLW5hbWUtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6InRlc3QtY2hhbm5lbC1uYW1lLWN1c3RvbS1kYXRhLTIifSwiZGVzY3JpcHRpb24iOiJ0ZXN0LWNoYW5uZWwtaW5mb3JtYXRpb24ifQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6177316A-84BB-4129-9AFA-3AA24F5B7009", + "id" : "7A606020-86C2-4D77-8FA7-581767ABF791", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:29 GMT", + "Date" : "Sun, 24 May 2020 08:44:37 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,19 +204,19 @@ "type" : 1 }, { - "id" : "6177316A-84BB-4129-9AFA-3AA24F5B7009", + "id" : "7A606020-86C2-4D77-8FA7-581767ABF791", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoidGVzdC1zcGFjZS1uYW1lIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjI3LjQzNTU4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjI5LjI1OTMwOVoiLCJlVGFnIjoiQWYyMnJ2bVQ4Y2p3L3dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6InRlc3QtY2hhbm5lbCIsIm5hbWUiOiJ0ZXN0LWNoYW5uZWwtbmFtZSIsImRlc2NyaXB0aW9uIjoidGVzdC1jaGFubmVsLWluZm9ybWF0aW9uIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6InRlc3QtY2hhbm5lbC1uYW1lLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJ0ZXN0LWNoYW5uZWwtbmFtZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ0OjM3LjM1MTYxNFoiLCJlVGFnIjoiQWFIcG91MzRocUNDL2dFIn19" }, "type" : 2 }, { - "id" : "6177316A-84BB-4129-9AFA-3AA24F5B7009", + "id" : "7A606020-86C2-4D77-8FA7-581767ABF791", "type" : 4 }, { - "id" : "E87C5A82-FDF6-4080-A1AF-7A684993A65C", + "id" : "9D40DB03-7FC6-4A25-BF80-D2DA07A14E34", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -225,26 +225,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E87C5A82-FDF6-4080-A1AF-7A684993A65C", + "id" : "9D40DB03-7FC6-4A25-BF80-D2DA07A14E34", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/test-channel?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:30 GMT", + "Date" : "Sun, 24 May 2020 08:44:37 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -254,7 +254,7 @@ "type" : 1 }, { - "id" : "E87C5A82-FDF6-4080-A1AF-7A684993A65C", + "id" : "9D40DB03-7FC6-4A25-BF80-D2DA07A14E34", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -262,7 +262,7 @@ "type" : 2 }, { - "id" : "E87C5A82-FDF6-4080-A1AF-7A684993A65C", + "id" : "9D40DB03-7FC6-4A25-BF80-D2DA07A14E34", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnSortedUserInformationWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnSortedUserInformationWhenSortIsSet.json deleted file mode 100644 index 30f1283ee..000000000 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnSortedUserInformationWhenSortIsSet.json +++ /dev/null @@ -1,922 +0,0 @@ -[ - { - "id" : "CC433FE6-D2A3-4868-B292-2FD35A7D1CF4", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "CC433FE6-D2A3-4868-B292-2FD35A7D1CF4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:04:31 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "CC433FE6-D2A3-4868-B292-2FD35A7D1CF4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "CC433FE6-D2A3-4868-B292-2FD35A7D1CF4", - "type" : 4 - }, - { - "id" : "F0463E6E-8AE5-4489-9D2A-FE5E13F62598", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F0463E6E-8AE5-4489-9D2A-FE5E13F62598", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:04:31 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "F0463E6E-8AE5-4489-9D2A-FE5E13F62598", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "F0463E6E-8AE5-4489-9D2A-FE5E13F62598", - "type" : 4 - }, - { - "id" : "23C8F1E7-757D-4F5F-B72E-298949FC579A", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "23C8F1E7-757D-4F5F-B72E-298949FC579A", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:04:32 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "23C8F1E7-757D-4F5F-B72E-298949FC579A", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozMi4wNzkzMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozMi4wNzkzMVoiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn19" - }, - "type" : 2 - }, - { - "id" : "23C8F1E7-757D-4F5F-B72E-298949FC579A", - "type" : 4 - }, - { - "id" : "D2D53E8B-B732-41C8-A969-2E36950D166E", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "D2D53E8B-B732-41C8-A969-2E36950D166E", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:04:34 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "D2D53E8B-B732-41C8-A969-2E36950D166E", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjMzLjY5MzEwMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozMy42OTMxMDJaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "D2D53E8B-B732-41C8-A969-2E36950D166E", - "type" : 4 - }, - { - "id" : "80B34D8C-6549-4D69-B0A8-D94348D68F46", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "136", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "80B34D8C-6549-4D69-B0A8-D94348D68F46", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:04:34 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "80B34D8C-6549-4D69-B0A8-D94348D68F46", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM0LjI5NTY2OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozNC4yOTU2NjhaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" - }, - "type" : 2 - }, - { - "id" : "80B34D8C-6549-4D69-B0A8-D94348D68F46", - "type" : 4 - }, - { - "id" : "06FC7C4B-AE8E-4B58-96BE-C114C9D1EA8E", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "152", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "06FC7C4B-AE8E-4B58-96BE-C114C9D1EA8E", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:04:35 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "06FC7C4B-AE8E-4B58-96BE-C114C9D1EA8E", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozNC45MTQ4MzlaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzQuOTE0ODM5WiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "06FC7C4B-AE8E-4B58-96BE-C114C9D1EA8E", - "type" : 4 - }, - { - "id" : "6478061E-9138-448C-A69E-3B2EAFAE8564", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "140", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "6478061E-9138-448C-A69E-3B2EAFAE8564", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:04:36 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "6478061E-9138-448C-A69E-3B2EAFAE8564", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozNS41MjIyNzhaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzUuNTIyMjc4WiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "6478061E-9138-448C-A69E-3B2EAFAE8564", - "type" : 4 - }, - { - "id" : "31156542-478D-483B-882A-7C5DCABAA932", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "152", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "31156542-478D-483B-882A-7C5DCABAA932", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:04:36 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "31156542-478D-483B-882A-7C5DCABAA932", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozNi4xMzgxMzFaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzYuMTM4MTMxWiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifX0=" - }, - "type" : 2 - }, - { - "id" : "31156542-478D-483B-882A-7C5DCABAA932", - "type" : 4 - }, - { - "id" : "C5C83198-DB9E-4280-8D96-EB5221030718", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "236", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom,user&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C5C83198-DB9E-4280-8D96-EB5221030718", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom,user&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:04:41 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "C5C83198-DB9E-4280-8D96-EB5221030718", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJ1c2VyIjp7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJTZXJoaWkiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzMuNjkzMTAyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjMzLjY5MzEwMloiLCJlVGFnIjoiQWVQMjY3ZmF1dmJCUEEifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzguMTM5MjA0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM4LjEzOTIwNFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM0LjI5NTY2OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozNC4yOTU2NjhaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM4LjgzNDA4M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozOC44MzQwODNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJ1c2VyIjp7ImlkIjoiRWFybGluZS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozNC45MTQ4MzlaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzQuOTE0ODM5WiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzkuNTI5MDI1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM5LjUyOTAyNVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiR2xlbi11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsInVzZXIiOnsiaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM1LjUyMjI3OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozNS41MjIyNzhaIiwiZVRhZyI6IkFmLzV3TVNoM3JlSWRBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjQwLjIyNDgxNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDo0MC4yMjQ4MTZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJ1c2VyIjp7ImlkIjoiTmljb2xhcy11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiTmljb2xhcyIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozNi4xMzgxMzFaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzYuMTM4MTMxWiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6NDAuOTE5ODAxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjQwLjkxOTgwMVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOUSJ9" - }, - "type" : 2 - }, - { - "id" : "C5C83198-DB9E-4280-8D96-EB5221030718", - "type" : 4 - }, - { - "id" : "6CCF0B75-F758-4C90-B72B-B09C5E4816D3", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "58", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?sort=user.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii" - }, - "type" : 0 - }, - { - "id" : "6CCF0B75-F758-4C90-B72B-B09C5E4816D3", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?sort=user.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:04:44 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "6CCF0B75-F758-4C90-B72B-B09C5E4816D3", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJOaWNvbGFzLXVzZXItaWRlbnRpZmllciIsInVzZXIiOnsiaWQiOiJOaWNvbGFzLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJOaWNvbGFzIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEiLCJ1c2VyLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzYuMTM4MTMxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM2LjEzODEzMVoiLCJlVGFnIjoiQWRpSmwvejRzT2FOK2dFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjQwLjkxOTgwMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDo0MC45MTk4MDFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJ1c2VyIjp7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJLaW0iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IktpbS1jdXN0b20tZGF0YS0xIiwidXNlci1jdXN0b20yIjoiS2ltLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzQuMjk1NjY4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM0LjI5NTY2OFoiLCJlVGFnIjoiQWJqTHkvTE52N0hWTncifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzguODM0MDgzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM4LjgzNDA4M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiR2xlbi11c2VyLWlkZW50aWZpZXIiLCJ1c2VyIjp7ImlkIjoiR2xlbi11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiR2xlbiIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIiwidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM1LjUyMjI3OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozNS41MjIyNzhaIiwiZVRhZyI6IkFmLzV3TVNoM3JlSWRBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjQwLjIyNDgxNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDo0MC4yMjQ4MTZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowNDozNC45MTQ4MzlaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzQuOTE0ODM5WiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDQ6MzkuNTI5MDI1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjA0OjM5LjUyOTAyNVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjQsIm5leHQiOiJOQSJ9" - }, - "type" : 2 - }, - { - "id" : "6CCF0B75-F758-4C90-B72B-B09C5E4816D3", - "type" : 4 - }, - { - "id" : "64CCF060-A51B-4355-A4BB-DA13782C4733", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "193", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJOaWNvbGFzLXVzZXItaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "64CCF060-A51B-4355-A4BB-DA13782C4733", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:04:46 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "64CCF060-A51B-4355-A4BB-DA13782C4733", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "64CCF060-A51B-4355-A4BB-DA13782C4733", - "type" : 4 - }, - { - "id" : "7C773C36-9222-4FCE-BACC-2B55E04AE64F", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "7C773C36-9222-4FCE-BACC-2B55E04AE64F", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:04:47 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "7C773C36-9222-4FCE-BACC-2B55E04AE64F", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "7C773C36-9222-4FCE-BACC-2B55E04AE64F", - "type" : 4 - }, - { - "id" : "D768A70A-2598-4AD8-9D8C-E7A023A6427D", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "D768A70A-2598-4AD8-9D8C-E7A023A6427D", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:04:47 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "D768A70A-2598-4AD8-9D8C-E7A023A6427D", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "D768A70A-2598-4AD8-9D8C-E7A023A6427D", - "type" : 4 - }, - { - "id" : "7042207B-ECDB-48C6-8F8B-37E0B24B1F0E", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "7042207B-ECDB-48C6-8F8B-37E0B24B1F0E", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:04:48 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "7042207B-ECDB-48C6-8F8B-37E0B24B1F0E", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "7042207B-ECDB-48C6-8F8B-37E0B24B1F0E", - "type" : 4 - }, - { - "id" : "9FC852B1-900E-4984-9436-A15DF2789736", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "9FC852B1-900E-4984-9436-A15DF2789736", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:04:49 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "9FC852B1-900E-4984-9436-A15DF2789736", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "9FC852B1-900E-4984-9436-A15DF2789736", - "type" : 4 - }, - { - "id" : "1D861413-1D5E-4A98-B743-A85295233063", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "1D861413-1D5E-4A98-B743-A85295233063", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:04:50 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "1D861413-1D5E-4A98-B743-A85295233063", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "1D861413-1D5E-4A98-B743-A85295233063", - "type" : 4 - }, - { - "id" : "4116E709-B1A3-49ED-8798-EBD0DB7EC24C", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "4116E709-B1A3-49ED-8798-EBD0DB7EC24C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:04:52 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "4116E709-B1A3-49ED-8798-EBD0DB7EC24C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "4116E709-B1A3-49ED-8798-EBD0DB7EC24C", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchFilteredMembersWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchFilteredMembersWhenFilterIsSet.json index 2857431a3..ff52e894e 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchFilteredMembersWhenFilterIsSet.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchFilteredMembersWhenFilterIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "84F35F6A-752C-413E-94EE-9A95E630D67A", + "id" : "EC294A07-DD68-4902-97F8-E3F5B07AC8CE", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "84F35F6A-752C-413E-94EE-9A95E630D67A", + "id" : "EC294A07-DD68-4902-97F8-E3F5B07AC8CE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:40 GMT", + "Date" : "Sun, 24 May 2020 08:45:34 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "84F35F6A-752C-413E-94EE-9A95E630D67A", + "id" : "EC294A07-DD68-4902-97F8-E3F5B07AC8CE", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "84F35F6A-752C-413E-94EE-9A95E630D67A", + "id" : "EC294A07-DD68-4902-97F8-E3F5B07AC8CE", "type" : 4 }, { - "id" : "1C1D4FCA-6636-4D7D-9B06-395841336049", + "id" : "FC13CA65-E831-4F79-AA43-B5C9597AEADD", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1C1D4FCA-6636-4D7D-9B06-395841336049", + "id" : "FC13CA65-E831-4F79-AA43-B5C9597AEADD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:40 GMT", + "Date" : "Sun, 24 May 2020 08:45:34 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "1C1D4FCA-6636-4D7D-9B06-395841336049", + "id" : "FC13CA65-E831-4F79-AA43-B5C9597AEADD", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "1C1D4FCA-6636-4D7D-9B06-395841336049", + "id" : "FC13CA65-E831-4F79-AA43-B5C9597AEADD", "type" : 4 }, { - "id" : "CF0FE6BB-6456-42BC-964B-AF57DE50D648", + "id" : "F8C3CCAD-5648-44CE-BF16-CC1B7A59BAD0", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CF0FE6BB-6456-42BC-964B-AF57DE50D648", + "id" : "F8C3CCAD-5648-44CE-BF16-CC1B7A59BAD0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:41 GMT", + "Date" : "Sun, 24 May 2020 08:45:34 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "CF0FE6BB-6456-42BC-964B-AF57DE50D648", + "id" : "F8C3CCAD-5648-44CE-BF16-CC1B7A59BAD0", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0MC45NjEwNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0MC45NjEwNVoiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTozNC41MDcyNDJaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "CF0FE6BB-6456-42BC-964B-AF57DE50D648", + "id" : "F8C3CCAD-5648-44CE-BF16-CC1B7A59BAD0", "type" : 4 }, { - "id" : "DEF25E35-7096-404E-A53C-071ABD6FCF56", + "id" : "1DAFE573-B6B1-4615-8430-D74C40E77359", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DEF25E35-7096-404E-A53C-071ABD6FCF56", + "id" : "1DAFE573-B6B1-4615-8430-D74C40E77359", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:43 GMT", + "Date" : "Sun, 24 May 2020 08:45:35 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "DEF25E35-7096-404E-A53C-071ABD6FCF56", + "id" : "1DAFE573-B6B1-4615-8430-D74C40E77359", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjQyLjYyMDQwOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0Mi42MjA0MDhaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ1OjM1Ljk0NDUzNloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "DEF25E35-7096-404E-A53C-071ABD6FCF56", + "id" : "1DAFE573-B6B1-4615-8430-D74C40E77359", "type" : 4 }, { - "id" : "18FC5C97-CCC3-47E6-85A9-985ED38EE0A9", + "id" : "55A9E009-4939-4877-9DEE-FA9BA63B9A53", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "18FC5C97-CCC3-47E6-85A9-985ED38EE0A9", + "id" : "55A9E009-4939-4877-9DEE-FA9BA63B9A53", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:43 GMT", + "Date" : "Sun, 24 May 2020 08:45:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "18FC5C97-CCC3-47E6-85A9-985ED38EE0A9", + "id" : "55A9E009-4939-4877-9DEE-FA9BA63B9A53", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjQzLjIwMDMwOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0My4yMDAzMDhaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ1OjM2LjE2NDk5OVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "18FC5C97-CCC3-47E6-85A9-985ED38EE0A9", + "id" : "55A9E009-4939-4877-9DEE-FA9BA63B9A53", "type" : 4 }, { - "id" : "DEB997DF-3754-432B-AACE-323115EEA80F", + "id" : "8B5DB335-0D95-4F62-BD25-90FBA3AACF59", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DEB997DF-3754-432B-AACE-323115EEA80F", + "id" : "8B5DB335-0D95-4F62-BD25-90FBA3AACF59", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:44 GMT", + "Date" : "Sun, 24 May 2020 08:45:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "DEB997DF-3754-432B-AACE-323115EEA80F", + "id" : "8B5DB335-0D95-4F62-BD25-90FBA3AACF59", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0My43Nzk4MjJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6NDMuNzc5ODIyWiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTozNi4zODg1NzdaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "DEB997DF-3754-432B-AACE-323115EEA80F", + "id" : "8B5DB335-0D95-4F62-BD25-90FBA3AACF59", "type" : 4 }, { - "id" : "54F92A82-70FE-42A7-ABD5-29789A3810F8", + "id" : "725C59A1-0DB1-4DFA-A91C-4602E9F4DC12", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "54F92A82-70FE-42A7-ABD5-29789A3810F8", + "id" : "725C59A1-0DB1-4DFA-A91C-4602E9F4DC12", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:44 GMT", + "Date" : "Sun, 24 May 2020 08:45:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,21 +378,21 @@ "type" : 1 }, { - "id" : "54F92A82-70FE-42A7-ABD5-29789A3810F8", + "id" : "725C59A1-0DB1-4DFA-A91C-4602E9F4DC12", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0NC4zNTUyNTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6NDQuMzU1MjU5WiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTozNi42MTI5MTdaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "54F92A82-70FE-42A7-ABD5-29789A3810F8", + "id" : "725C59A1-0DB1-4DFA-A91C-4602E9F4DC12", "type" : 4 }, { - "id" : "9D9B8446-0D71-400A-892E-9170B5448B46", + "id" : "CBEBC67B-9532-421F-BFDD-657B81D5508D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +400,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9D9B8446-0D71-400A-892E-9170B5448B46", + "id" : "CBEBC67B-9532-421F-BFDD-657B81D5508D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:45 GMT", + "Date" : "Sun, 24 May 2020 08:45:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,21 +436,21 @@ "type" : 1 }, { - "id" : "9D9B8446-0D71-400A-892E-9170B5448B46", + "id" : "CBEBC67B-9532-421F-BFDD-657B81D5508D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0NC45NjEyOVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0NC45NjEyOVoiLCJlVGFnIjoiQWRpSmwvejRzT2FOK2dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTozNi44MzQ4MzlaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9fQ==" }, "type" : 2 }, { - "id" : "9D9B8446-0D71-400A-892E-9170B5448B46", + "id" : "CBEBC67B-9532-421F-BFDD-657B81D5508D", "type" : 4 }, { - "id" : "39D248EA-983F-4CF9-9D21-B45FB08BD3C7", + "id" : "1E27F96E-FC8A-47FB-B494-EC4DE974DC35", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -458,35 +458,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2hhbm5vbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "39D248EA-983F-4CF9-9D21-B45FB08BD3C7", + "id" : "1E27F96E-FC8A-47FB-B494-EC4DE974DC35", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:46 GMT", + "Date" : "Sun, 24 May 2020 08:45:37 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -494,19 +494,19 @@ "type" : 1 }, { - "id" : "39D248EA-983F-4CF9-9D21-B45FB08BD3C7", + "id" : "1E27F96E-FC8A-47FB-B494-EC4DE974DC35", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0NS41Mzk5NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0NS41Mzk5NVoiLCJlVGFnIjoiQWRHeGhzTy8wdmlXVEEifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTozNy4wNTUyMzdaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9fQ==" }, "type" : 2 }, { - "id" : "39D248EA-983F-4CF9-9D21-B45FB08BD3C7", + "id" : "1E27F96E-FC8A-47FB-B494-EC4DE974DC35", "type" : 4 }, { - "id" : "3BBCAF6C-C627-4EE9-A310-BF1405E90620", + "id" : "555A9756-7E93-43CF-8499-6A0D8D481A01", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -516,35 +516,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "283", + "Content-Length" : "337", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiR2xlbi11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiTmljb2xhcy11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3BBCAF6C-C627-4EE9-A310-BF1405E90620", + "id" : "555A9756-7E93-43CF-8499-6A0D8D481A01", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:51 GMT", + "Date" : "Sun, 24 May 2020 08:45:38 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -552,19 +552,19 @@ "type" : 1 }, { - "id" : "3BBCAF6C-C627-4EE9-A310-BF1405E90620", + "id" : "555A9756-7E93-43CF-8499-6A0D8D481A01", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0Ny41NDIzMjFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6NDcuNTQyMzIxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0OC4yNDA0MDhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6NDguMjQwNDA4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6NDguOTM4NTQzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjQ4LjkzODU0M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiR2xlbi11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjQ5LjYzNjQxOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0OS42MzY0MThaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo1MC4zMzQ0NThaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6NTAuMzM0NDU4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTaGFubm9uLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6NTEuMDMyNTQ3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjUxLjAzMjU0N1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDU6MzguNDE3NDIxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDU6MzguMzk0MTM5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTozOC40MDAzOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ1OjM4LjQxMTkwMloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJTaGFubm9uLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ1OjM4LjQyMjc5OFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDU6MzguNDA2MTQ3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "3BBCAF6C-C627-4EE9-A310-BF1405E90620", + "id" : "555A9756-7E93-43CF-8499-6A0D8D481A01", "type" : 4 }, { - "id" : "098A8A17-1D08-4E59-B103-2DA17ABA0B6B", + "id" : "93E1034D-0F08-4324-808D-F95532D5FB88", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -573,28 +573,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?filter=user.name%20like%20'Gl*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'Gl*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "098A8A17-1D08-4E59-B103-2DA17ABA0B6B", + "id" : "93E1034D-0F08-4324-808D-F95532D5FB88", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?filter=user.name%20like%20'Gl*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'Gl*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:53 GMT", + "Date" : "Sun, 24 May 2020 08:45:39 GMT", "Content-Type" : "application\/json", - "Content-Length" : "198", + "Content-Length" : "167", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -602,19 +602,19 @@ "type" : 1 }, { - "id" : "098A8A17-1D08-4E59-B103-2DA17ABA0B6B", + "id" : "93E1034D-0F08-4324-808D-F95532D5FB88", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjQ5LjYzNjQxOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODo0OS42MzY0MThaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ1OjM4LjQxMTkwMloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjEsIm5leHQiOiJNUSJ9" }, "type" : 2 }, { - "id" : "098A8A17-1D08-4E59-B103-2DA17ABA0B6B", + "id" : "93E1034D-0F08-4324-808D-F95532D5FB88", "type" : 4 }, { - "id" : "5C209B29-48FB-4367-87BA-4CEC14FCE889", + "id" : "E6CFE8D7-433A-49C1-93B2-F5DFAAD07599", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -624,31 +624,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "286", + "Content-Length" : "340", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5C209B29-48FB-4367-87BA-4CEC14FCE889", + "id" : "E6CFE8D7-433A-49C1-93B2-F5DFAAD07599", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:55 GMT", + "Date" : "Sun, 24 May 2020 08:45:40 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -658,7 +658,7 @@ "type" : 1 }, { - "id" : "5C209B29-48FB-4367-87BA-4CEC14FCE889", + "id" : "E6CFE8D7-433A-49C1-93B2-F5DFAAD07599", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -666,11 +666,11 @@ "type" : 2 }, { - "id" : "5C209B29-48FB-4367-87BA-4CEC14FCE889", + "id" : "E6CFE8D7-433A-49C1-93B2-F5DFAAD07599", "type" : 4 }, { - "id" : "3BEF7EC1-DB53-47DA-B2AC-2652D8B625F9", + "id" : "725EEC6D-0458-447B-901A-A31D2E207AC0", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -679,26 +679,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3BEF7EC1-DB53-47DA-B2AC-2652D8B625F9", + "id" : "725EEC6D-0458-447B-901A-A31D2E207AC0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:56 GMT", + "Date" : "Sun, 24 May 2020 08:45:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -708,7 +708,7 @@ "type" : 1 }, { - "id" : "3BEF7EC1-DB53-47DA-B2AC-2652D8B625F9", + "id" : "725EEC6D-0458-447B-901A-A31D2E207AC0", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -716,11 +716,11 @@ "type" : 2 }, { - "id" : "3BEF7EC1-DB53-47DA-B2AC-2652D8B625F9", + "id" : "725EEC6D-0458-447B-901A-A31D2E207AC0", "type" : 4 }, { - "id" : "B1FCB441-35A0-44E3-AE9D-9CEAD065C4A6", + "id" : "9CFD9B71-7784-4ACE-9FA6-D42CB8095249", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -729,26 +729,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B1FCB441-35A0-44E3-AE9D-9CEAD065C4A6", + "id" : "9CFD9B71-7784-4ACE-9FA6-D42CB8095249", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:57 GMT", + "Date" : "Sun, 24 May 2020 08:45:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -758,7 +758,7 @@ "type" : 1 }, { - "id" : "B1FCB441-35A0-44E3-AE9D-9CEAD065C4A6", + "id" : "9CFD9B71-7784-4ACE-9FA6-D42CB8095249", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -766,11 +766,11 @@ "type" : 2 }, { - "id" : "B1FCB441-35A0-44E3-AE9D-9CEAD065C4A6", + "id" : "9CFD9B71-7784-4ACE-9FA6-D42CB8095249", "type" : 4 }, { - "id" : "39ACCB6D-BFFD-4975-AF7C-19811497C367", + "id" : "C669BDFA-A35C-426E-B4CF-C94B5E1B10E5", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -779,26 +779,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "39ACCB6D-BFFD-4975-AF7C-19811497C367", + "id" : "C669BDFA-A35C-426E-B4CF-C94B5E1B10E5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:58 GMT", + "Date" : "Sun, 24 May 2020 08:45:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -808,7 +808,7 @@ "type" : 1 }, { - "id" : "39ACCB6D-BFFD-4975-AF7C-19811497C367", + "id" : "C669BDFA-A35C-426E-B4CF-C94B5E1B10E5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -816,11 +816,11 @@ "type" : 2 }, { - "id" : "39ACCB6D-BFFD-4975-AF7C-19811497C367", + "id" : "C669BDFA-A35C-426E-B4CF-C94B5E1B10E5", "type" : 4 }, { - "id" : "64AD196D-6605-4D16-BF83-291349750810", + "id" : "4C6E6815-6765-44A2-841D-FD35769F1911", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -829,26 +829,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "64AD196D-6605-4D16-BF83-291349750810", + "id" : "4C6E6815-6765-44A2-841D-FD35769F1911", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:59 GMT", + "Date" : "Sun, 24 May 2020 08:45:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -858,7 +858,7 @@ "type" : 1 }, { - "id" : "64AD196D-6605-4D16-BF83-291349750810", + "id" : "4C6E6815-6765-44A2-841D-FD35769F1911", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -866,11 +866,11 @@ "type" : 2 }, { - "id" : "64AD196D-6605-4D16-BF83-291349750810", + "id" : "4C6E6815-6765-44A2-841D-FD35769F1911", "type" : 4 }, { - "id" : "3705FBC4-EF67-4493-A275-819AFE56ECA4", + "id" : "598AC5DF-D774-4135-BE08-CA2F7F751B32", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -879,26 +879,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3705FBC4-EF67-4493-A275-819AFE56ECA4", + "id" : "598AC5DF-D774-4135-BE08-CA2F7F751B32", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:00 GMT", + "Date" : "Sun, 24 May 2020 08:45:42 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -908,7 +908,7 @@ "type" : 1 }, { - "id" : "3705FBC4-EF67-4493-A275-819AFE56ECA4", + "id" : "598AC5DF-D774-4135-BE08-CA2F7F751B32", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -916,11 +916,11 @@ "type" : 2 }, { - "id" : "3705FBC4-EF67-4493-A275-819AFE56ECA4", + "id" : "598AC5DF-D774-4135-BE08-CA2F7F751B32", "type" : 4 }, { - "id" : "16CE7862-AE43-4A14-95DD-93D3AF35D665", + "id" : "3CA13CC4-C511-4F57-8DFB-94C1D0850F56", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -929,26 +929,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "16CE7862-AE43-4A14-95DD-93D3AF35D665", + "id" : "3CA13CC4-C511-4F57-8DFB-94C1D0850F56", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:01 GMT", + "Date" : "Sun, 24 May 2020 08:45:42 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -958,7 +958,7 @@ "type" : 1 }, { - "id" : "16CE7862-AE43-4A14-95DD-93D3AF35D665", + "id" : "3CA13CC4-C511-4F57-8DFB-94C1D0850F56", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -966,11 +966,11 @@ "type" : 2 }, { - "id" : "16CE7862-AE43-4A14-95DD-93D3AF35D665", + "id" : "3CA13CC4-C511-4F57-8DFB-94C1D0850F56", "type" : 4 }, { - "id" : "99279AF8-5636-48C1-9ECF-D5DC89C6CF8B", + "id" : "9F93D046-90B4-4F9D-BD23-F5B7BD892FC8", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -979,26 +979,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "99279AF8-5636-48C1-9ECF-D5DC89C6CF8B", + "id" : "9F93D046-90B4-4F9D-BD23-F5B7BD892FC8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:02 GMT", + "Date" : "Sun, 24 May 2020 08:45:43 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1008,7 +1008,7 @@ "type" : 1 }, { - "id" : "99279AF8-5636-48C1-9ECF-D5DC89C6CF8B", + "id" : "9F93D046-90B4-4F9D-BD23-F5B7BD892FC8", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1016,7 +1016,7 @@ "type" : 2 }, { - "id" : "99279AF8-5636-48C1-9ECF-D5DC89C6CF8B", + "id" : "9F93D046-90B4-4F9D-BD23-F5B7BD892FC8", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchMembersAndReceiveResultWithExpectedOperation.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchMembersAndReceiveResultWithExpectedOperation.json index fd1d64b0b..f91b0b595 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchMembersAndReceiveResultWithExpectedOperation.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchMembersAndReceiveResultWithExpectedOperation.json @@ -1,6 +1,6 @@ [ { - "id" : "567A21CF-9047-4F73-9827-5B7CB3969129", + "id" : "174848FB-89BC-4941-8BD6-6E9F82FEB875", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "567A21CF-9047-4F73-9827-5B7CB3969129", + "id" : "174848FB-89BC-4941-8BD6-6E9F82FEB875", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:04 GMT", + "Date" : "Sun, 24 May 2020 08:32:22 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "567A21CF-9047-4F73-9827-5B7CB3969129", + "id" : "174848FB-89BC-4941-8BD6-6E9F82FEB875", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "567A21CF-9047-4F73-9827-5B7CB3969129", + "id" : "174848FB-89BC-4941-8BD6-6E9F82FEB875", "type" : 4 }, { - "id" : "04C63190-FD0A-45AF-AD13-F28E7E5963AE", + "id" : "EA5B1F8A-506F-4281-8CC6-EAF6A3F5BFF5", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "04C63190-FD0A-45AF-AD13-F28E7E5963AE", + "id" : "EA5B1F8A-506F-4281-8CC6-EAF6A3F5BFF5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:05 GMT", + "Date" : "Sun, 24 May 2020 08:32:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "04C63190-FD0A-45AF-AD13-F28E7E5963AE", + "id" : "EA5B1F8A-506F-4281-8CC6-EAF6A3F5BFF5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "04C63190-FD0A-45AF-AD13-F28E7E5963AE", + "id" : "EA5B1F8A-506F-4281-8CC6-EAF6A3F5BFF5", "type" : 4 }, { - "id" : "37FF9200-106D-40D1-B164-985E5C262F03", + "id" : "D1B80665-CE3A-4C6C-8EA6-64BD562A2FF0", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "37FF9200-106D-40D1-B164-985E5C262F03", + "id" : "D1B80665-CE3A-4C6C-8EA6-64BD562A2FF0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:05 GMT", + "Date" : "Sun, 24 May 2020 08:32:23 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "37FF9200-106D-40D1-B164-985E5C262F03", + "id" : "D1B80665-CE3A-4C6C-8EA6-64BD562A2FF0", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTowNS4xNzU4MzFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MDUuMTc1ODMxWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyMy4zOTgxNjhaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "37FF9200-106D-40D1-B164-985E5C262F03", + "id" : "D1B80665-CE3A-4C6C-8EA6-64BD562A2FF0", "type" : 4 }, { - "id" : "F20B8F1D-BDE8-460F-AB8A-EC4324D56AA2", + "id" : "1476881B-38EC-41E1-B67E-BA3364C9AEAB", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F20B8F1D-BDE8-460F-AB8A-EC4324D56AA2", + "id" : "1476881B-38EC-41E1-B67E-BA3364C9AEAB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:07 GMT", + "Date" : "Sun, 24 May 2020 08:32:24 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "F20B8F1D-BDE8-460F-AB8A-EC4324D56AA2", + "id" : "1476881B-38EC-41E1-B67E-BA3364C9AEAB", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjA2Ljc3NzQ1NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTowNi43Nzc0NTVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMyOjI0LjYzODA2OFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "F20B8F1D-BDE8-460F-AB8A-EC4324D56AA2", + "id" : "1476881B-38EC-41E1-B67E-BA3364C9AEAB", "type" : 4 }, { - "id" : "BD8D0220-22F4-46E8-A1BE-B51F6164C79B", + "id" : "4AFAE43E-0ADA-4A89-9BA2-0D61CDBF0E30", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BD8D0220-22F4-46E8-A1BE-B51F6164C79B", + "id" : "4AFAE43E-0ADA-4A89-9BA2-0D61CDBF0E30", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:07 GMT", + "Date" : "Sun, 24 May 2020 08:32:24 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "BD8D0220-22F4-46E8-A1BE-B51F6164C79B", + "id" : "4AFAE43E-0ADA-4A89-9BA2-0D61CDBF0E30", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjA3LjM1Nzg4M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTowNy4zNTc4ODNaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMyOjI0Ljg1OTU3MVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "BD8D0220-22F4-46E8-A1BE-B51F6164C79B", + "id" : "4AFAE43E-0ADA-4A89-9BA2-0D61CDBF0E30", "type" : 4 }, { - "id" : "8A0CB2EA-D458-4CB5-B6E8-743697919783", + "id" : "BAE31982-A494-4BEC-A834-132AB92A9D9E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8A0CB2EA-D458-4CB5-B6E8-743697919783", + "id" : "BAE31982-A494-4BEC-A834-132AB92A9D9E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:08 GMT", + "Date" : "Sun, 24 May 2020 08:32:25 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "8A0CB2EA-D458-4CB5-B6E8-743697919783", + "id" : "BAE31982-A494-4BEC-A834-132AB92A9D9E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTowOC4wMDE1ODZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MDguMDAxNTg2WiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyNS4wODEyNTRaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "8A0CB2EA-D458-4CB5-B6E8-743697919783", + "id" : "BAE31982-A494-4BEC-A834-132AB92A9D9E", "type" : 4 }, { - "id" : "07EB5F29-142C-4AA6-BB13-486199AA2A1F", + "id" : "EDA5460A-24D1-4EAF-98AC-912353A435F8", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "07EB5F29-142C-4AA6-BB13-486199AA2A1F", + "id" : "EDA5460A-24D1-4EAF-98AC-912353A435F8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:09 GMT", + "Date" : "Sun, 24 May 2020 08:32:25 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,21 +378,21 @@ "type" : 1 }, { - "id" : "07EB5F29-142C-4AA6-BB13-486199AA2A1F", + "id" : "EDA5460A-24D1-4EAF-98AC-912353A435F8", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTowOC41ODAxNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTowOC41ODAxNloiLCJlVGFnIjoiQWYvNXdNU2gzcmVJZEEifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyNS4zMDAwNzlaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "07EB5F29-142C-4AA6-BB13-486199AA2A1F", + "id" : "EDA5460A-24D1-4EAF-98AC-912353A435F8", "type" : 4 }, { - "id" : "CAB4C3C0-70D0-40F7-AAC8-A2834E907065", + "id" : "A2EE50D4-69DF-437E-B768-BC817A35169E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +400,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CAB4C3C0-70D0-40F7-AAC8-A2834E907065", + "id" : "A2EE50D4-69DF-437E-B768-BC817A35169E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:09 GMT", + "Date" : "Sun, 24 May 2020 08:32:25 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,21 +436,21 @@ "type" : 1 }, { - "id" : "CAB4C3C0-70D0-40F7-AAC8-A2834E907065", + "id" : "A2EE50D4-69DF-437E-B768-BC817A35169E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTowOS4xNTY2NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTowOS4xNTY2NVoiLCJlVGFnIjoiQWRpSmwvejRzT2FOK2dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyNS41MjA3ODlaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9fQ==" }, "type" : 2 }, { - "id" : "CAB4C3C0-70D0-40F7-AAC8-A2834E907065", + "id" : "A2EE50D4-69DF-437E-B768-BC817A35169E", "type" : 4 }, { - "id" : "5027D2A2-A818-49A7-B3B5-7DC7773848F1", + "id" : "67CD42E3-65E1-4F87-8D9E-88CBA20B2A24", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -458,35 +458,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2hhbm5vbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5027D2A2-A818-49A7-B3B5-7DC7773848F1", + "id" : "67CD42E3-65E1-4F87-8D9E-88CBA20B2A24", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:10 GMT", + "Date" : "Sun, 24 May 2020 08:32:25 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -494,19 +494,19 @@ "type" : 1 }, { - "id" : "5027D2A2-A818-49A7-B3B5-7DC7773848F1", + "id" : "67CD42E3-65E1-4F87-8D9E-88CBA20B2A24", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTowOS43NDQ2ODRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MDkuNzQ0Njg0WiIsImVUYWciOiJBZEd4aHNPLzB2aVdUQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyNS43NDI2MjFaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9fQ==" }, "type" : 2 }, { - "id" : "5027D2A2-A818-49A7-B3B5-7DC7773848F1", + "id" : "67CD42E3-65E1-4F87-8D9E-88CBA20B2A24", "type" : 4 }, { - "id" : "9FA117C2-60CE-446A-96FE-31E579281C65", + "id" : "2CBB3375-F8AB-4C4D-A87C-F97A5A975060", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -516,35 +516,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "283", + "Content-Length" : "337", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiR2xlbi11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiTmljb2xhcy11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9FA117C2-60CE-446A-96FE-31E579281C65", + "id" : "2CBB3375-F8AB-4C4D-A87C-F97A5A975060", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:16 GMT", + "Date" : "Sun, 24 May 2020 08:32:27 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -552,19 +552,19 @@ "type" : 1 }, { - "id" : "9FA117C2-60CE-446A-96FE-31E579281C65", + "id" : "2CBB3375-F8AB-4C4D-A87C-F97A5A975060", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOToxMS43OTYxODNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTEuNzk2MTgzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOToxMi40OTg1ODVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTIuNDk4NTg1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTMuMjAwNTFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTMuMjAwNTFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOToxMy45MDI0MjJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTMuOTAyNDIyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJOaWNvbGFzLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTQuNjA0NTk5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjE0LjYwNDU5OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiU2hhbm5vbi11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjE1LjMwNjUxOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOToxNS4zMDY1MThaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTmcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzI6MjYuOTkzMzI4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzI6MjYuOTk4ODY1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyNi45ODI0MTlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyNy4wMDQ2NjNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMyOjI2Ljk4NzcyOVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMyOjI2Ljk3NjgzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "9FA117C2-60CE-446A-96FE-31E579281C65", + "id" : "2CBB3375-F8AB-4C4D-A87C-F97A5A975060", "type" : 4 }, { - "id" : "EBEFF159-DE94-4983-A51B-FEBD10765400", + "id" : "1A3E461B-5B13-40D7-8C62-C9DC94C3D0A3", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -573,30 +573,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EBEFF159-DE94-4983-A51B-FEBD10765400", + "id" : "1A3E461B-5B13-40D7-8C62-C9DC94C3D0A3", "data" : { "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:17 GMT", + "Date" : "Sun, 24 May 2020 08:32:28 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -604,19 +604,19 @@ "type" : 1 }, { - "id" : "EBEFF159-DE94-4983-A51B-FEBD10765400", + "id" : "1A3E461B-5B13-40D7-8C62-C9DC94C3D0A3", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTEuNzk2MTgzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjExLjc5NjE4M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjEyLjQ5ODU4NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOToxMi40OTg1ODVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTMuMjAwNTFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTMuMjAwNTFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTMuOTAyNDIyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjEzLjkwMjQyMloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiTmljb2xhcy11c2VyLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOToxNC42MDQ1OTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTQuNjA0NTk5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTaGFubm9uLXVzZXItaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjE1LjMwNjUxOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOToxNS4zMDY1MThaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTmcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMyOjI2Ljk5MzMyOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJOaWNvbGFzLXV1aWQtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyNi45OTg4NjVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyNi45ODI0MTlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzI6MjcuMDA0NjYzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzI6MjYuOTg3NzI5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMyOjI2Ljk3NjgzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "EBEFF159-DE94-4983-A51B-FEBD10765400", + "id" : "1A3E461B-5B13-40D7-8C62-C9DC94C3D0A3", "type" : 4 }, { - "id" : "EBEFF159-DE94-4983-A51B-FEBD10765401", + "id" : "1A3E461B-5B13-40D7-8C62-C9DC94C3D013", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -625,30 +625,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EBEFF159-DE94-4983-A51B-FEBD10765401", + "id" : "1A3E461B-5B13-40D7-8C62-C9DC94C3D013", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:17 GMT", + "Date" : "Sun, 24 May 2020 08:32:28 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -656,19 +656,19 @@ "type" : 1 }, { - "id" : "EBEFF159-DE94-4983-A51B-FEBD10765401", + "id" : "1A3E461B-5B13-40D7-8C62-C9DC94C3D013", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTEuNzk2MTgzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjExLjc5NjE4M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjEyLjQ5ODU4NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOToxMi40OTg1ODVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTMuMjAwNTFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTMuMjAwNTFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTMuOTAyNDIyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjEzLjkwMjQyMloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiTmljb2xhcy11c2VyLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOToxNC42MDQ1OTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6MTQuNjA0NTk5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTaGFubm9uLXVzZXItaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjE1LjMwNjUxOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOToxNS4zMDY1MThaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTmcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMyOjI2Ljk5MzMyOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJOaWNvbGFzLXV1aWQtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyNi45OTg4NjVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMjoyNi45ODI0MTlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzI6MjcuMDA0NjYzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzI6MjYuOTg3NzI5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMyOjI2Ljk3NjgzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "EBEFF159-DE94-4983-A51B-FEBD10765401", + "id" : "1A3E461B-5B13-40D7-8C62-C9DC94C3D013", "type" : 4 }, { - "id" : "C9E98ACD-EA6D-4682-B822-9E2E31F27000", + "id" : "ED3061A7-DCD5-42E6-A580-81D2BF1CF8A3", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -678,31 +678,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "286", + "Content-Length" : "340", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C9E98ACD-EA6D-4682-B822-9E2E31F27000", + "id" : "ED3061A7-DCD5-42E6-A580-81D2BF1CF8A3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:34 GMT", + "Date" : "Sun, 24 May 2020 08:32:29 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -712,7 +712,7 @@ "type" : 1 }, { - "id" : "C9E98ACD-EA6D-4682-B822-9E2E31F27000", + "id" : "ED3061A7-DCD5-42E6-A580-81D2BF1CF8A3", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -720,11 +720,11 @@ "type" : 2 }, { - "id" : "C9E98ACD-EA6D-4682-B822-9E2E31F27000", + "id" : "ED3061A7-DCD5-42E6-A580-81D2BF1CF8A3", "type" : 4 }, { - "id" : "DB0BE808-BB96-43AB-BF88-663E509D367A", + "id" : "70666901-24D4-4503-B04B-BC5BBF14D80C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -733,26 +733,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DB0BE808-BB96-43AB-BF88-663E509D367A", + "id" : "70666901-24D4-4503-B04B-BC5BBF14D80C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:35 GMT", + "Date" : "Sun, 24 May 2020 08:32:29 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -762,7 +762,7 @@ "type" : 1 }, { - "id" : "DB0BE808-BB96-43AB-BF88-663E509D367A", + "id" : "70666901-24D4-4503-B04B-BC5BBF14D80C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -770,11 +770,11 @@ "type" : 2 }, { - "id" : "DB0BE808-BB96-43AB-BF88-663E509D367A", + "id" : "70666901-24D4-4503-B04B-BC5BBF14D80C", "type" : 4 }, { - "id" : "F63A7A19-B49E-4E9B-8261-005454BE0B43", + "id" : "F86FEC5C-C848-4357-BA15-823EF54F511B", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -783,26 +783,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F63A7A19-B49E-4E9B-8261-005454BE0B43", + "id" : "F86FEC5C-C848-4357-BA15-823EF54F511B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:36 GMT", + "Date" : "Sun, 24 May 2020 08:32:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -812,7 +812,7 @@ "type" : 1 }, { - "id" : "F63A7A19-B49E-4E9B-8261-005454BE0B43", + "id" : "F86FEC5C-C848-4357-BA15-823EF54F511B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -820,11 +820,11 @@ "type" : 2 }, { - "id" : "F63A7A19-B49E-4E9B-8261-005454BE0B43", + "id" : "F86FEC5C-C848-4357-BA15-823EF54F511B", "type" : 4 }, { - "id" : "76BE6014-3D9F-4859-8B12-B063424B844F", + "id" : "5A2BA29C-DD86-43FB-8BA6-CA8B525E6353", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -833,26 +833,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "76BE6014-3D9F-4859-8B12-B063424B844F", + "id" : "5A2BA29C-DD86-43FB-8BA6-CA8B525E6353", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:37 GMT", + "Date" : "Sun, 24 May 2020 08:32:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -862,7 +862,7 @@ "type" : 1 }, { - "id" : "76BE6014-3D9F-4859-8B12-B063424B844F", + "id" : "5A2BA29C-DD86-43FB-8BA6-CA8B525E6353", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -870,11 +870,11 @@ "type" : 2 }, { - "id" : "76BE6014-3D9F-4859-8B12-B063424B844F", + "id" : "5A2BA29C-DD86-43FB-8BA6-CA8B525E6353", "type" : 4 }, { - "id" : "EA4BC3AA-2E3E-4B9F-B39E-2A5188035439", + "id" : "6FDA55CC-294F-4BBD-A464-8F3ABF8693E6", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -883,26 +883,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EA4BC3AA-2E3E-4B9F-B39E-2A5188035439", + "id" : "6FDA55CC-294F-4BBD-A464-8F3ABF8693E6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:38 GMT", + "Date" : "Sun, 24 May 2020 08:32:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -912,7 +912,7 @@ "type" : 1 }, { - "id" : "EA4BC3AA-2E3E-4B9F-B39E-2A5188035439", + "id" : "6FDA55CC-294F-4BBD-A464-8F3ABF8693E6", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -920,11 +920,11 @@ "type" : 2 }, { - "id" : "EA4BC3AA-2E3E-4B9F-B39E-2A5188035439", + "id" : "6FDA55CC-294F-4BBD-A464-8F3ABF8693E6", "type" : 4 }, { - "id" : "646B0BCA-AE53-47AE-8CA7-08FC3F9E130D", + "id" : "24CF1E31-63D9-49C9-B3CB-A702D648661D", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -933,26 +933,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "646B0BCA-AE53-47AE-8CA7-08FC3F9E130D", + "id" : "24CF1E31-63D9-49C9-B3CB-A702D648661D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:39 GMT", + "Date" : "Sun, 24 May 2020 08:32:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -962,7 +962,7 @@ "type" : 1 }, { - "id" : "646B0BCA-AE53-47AE-8CA7-08FC3F9E130D", + "id" : "24CF1E31-63D9-49C9-B3CB-A702D648661D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -970,11 +970,11 @@ "type" : 2 }, { - "id" : "646B0BCA-AE53-47AE-8CA7-08FC3F9E130D", + "id" : "24CF1E31-63D9-49C9-B3CB-A702D648661D", "type" : 4 }, { - "id" : "F6334F70-0BEB-444A-974C-691AA073A636", + "id" : "9CD45ADF-4F12-412D-B688-7BE0839BE8D6", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -983,26 +983,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F6334F70-0BEB-444A-974C-691AA073A636", + "id" : "9CD45ADF-4F12-412D-B688-7BE0839BE8D6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:40 GMT", + "Date" : "Sun, 24 May 2020 08:32:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1012,7 +1012,7 @@ "type" : 1 }, { - "id" : "F6334F70-0BEB-444A-974C-691AA073A636", + "id" : "9CD45ADF-4F12-412D-B688-7BE0839BE8D6", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1020,11 +1020,11 @@ "type" : 2 }, { - "id" : "F6334F70-0BEB-444A-974C-691AA073A636", + "id" : "9CD45ADF-4F12-412D-B688-7BE0839BE8D6", "type" : 4 }, { - "id" : "09F76509-2AF2-4D10-9AB3-DA42C19053D9", + "id" : "6EA26643-42E7-44C8-B430-7D1635BEC038", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -1033,26 +1033,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "09F76509-2AF2-4D10-9AB3-DA42C19053D9", + "id" : "6EA26643-42E7-44C8-B430-7D1635BEC038", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:41 GMT", + "Date" : "Sun, 24 May 2020 08:32:32 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1062,7 +1062,7 @@ "type" : 1 }, { - "id" : "09F76509-2AF2-4D10-9AB3-DA42C19053D9", + "id" : "6EA26643-42E7-44C8-B430-7D1635BEC038", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1070,7 +1070,7 @@ "type" : 2 }, { - "id" : "09F76509-2AF2-4D10-9AB3-DA42C19053D9", + "id" : "6EA26643-42E7-44C8-B430-7D1635BEC038", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchMembersWhenLimitIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchMembersWhenLimitIsSet.json index 4324562c5..503869387 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchMembersWhenLimitIsSet.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchMembersWhenLimitIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "62EB2004-902D-42E5-A1DA-583753CF80C9", + "id" : "6B0EFC50-C5BB-4602-BE5B-FB1EA0EE61B4", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "62EB2004-902D-42E5-A1DA-583753CF80C9", + "id" : "6B0EFC50-C5BB-4602-BE5B-FB1EA0EE61B4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:43 GMT", + "Date" : "Sun, 24 May 2020 08:45:46 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "62EB2004-902D-42E5-A1DA-583753CF80C9", + "id" : "6B0EFC50-C5BB-4602-BE5B-FB1EA0EE61B4", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "62EB2004-902D-42E5-A1DA-583753CF80C9", + "id" : "6B0EFC50-C5BB-4602-BE5B-FB1EA0EE61B4", "type" : 4 }, { - "id" : "9A417821-7914-467D-A066-F1C3B142EC5B", + "id" : "11965139-5473-4A77-9666-0274FE2B9D70", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9A417821-7914-467D-A066-F1C3B142EC5B", + "id" : "11965139-5473-4A77-9666-0274FE2B9D70", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:43 GMT", + "Date" : "Sun, 24 May 2020 08:45:46 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "9A417821-7914-467D-A066-F1C3B142EC5B", + "id" : "11965139-5473-4A77-9666-0274FE2B9D70", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "9A417821-7914-467D-A066-F1C3B142EC5B", + "id" : "11965139-5473-4A77-9666-0274FE2B9D70", "type" : 4 }, { - "id" : "159185B1-2CB3-423D-97E3-4836768C910E", + "id" : "27C9DF03-D4F2-4ADC-A0D7-3D1E98285716", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "159185B1-2CB3-423D-97E3-4836768C910E", + "id" : "27C9DF03-D4F2-4ADC-A0D7-3D1E98285716", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:44 GMT", + "Date" : "Sun, 24 May 2020 08:45:46 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "159185B1-2CB3-423D-97E3-4836768C910E", + "id" : "27C9DF03-D4F2-4ADC-A0D7-3D1E98285716", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo0NC4wNjg2NjRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6NDQuMDY4NjY0WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTo0Ni43ODQ5NDVaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "159185B1-2CB3-423D-97E3-4836768C910E", + "id" : "27C9DF03-D4F2-4ADC-A0D7-3D1E98285716", "type" : 4 }, { - "id" : "C602D19F-64F5-4732-8114-6D4E3A04BDF8", + "id" : "AA92983F-843B-44FE-9ABA-22B894A04A55", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C602D19F-64F5-4732-8114-6D4E3A04BDF8", + "id" : "AA92983F-843B-44FE-9ABA-22B894A04A55", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:46 GMT", + "Date" : "Sun, 24 May 2020 08:45:48 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "C602D19F-64F5-4732-8114-6D4E3A04BDF8", + "id" : "AA92983F-843B-44FE-9ABA-22B894A04A55", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjQ1LjcwMDU2OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo0NS43MDA1NjlaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ1OjQ4LjEyMTAxWiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9fQ==" }, "type" : 2 }, { - "id" : "C602D19F-64F5-4732-8114-6D4E3A04BDF8", + "id" : "AA92983F-843B-44FE-9ABA-22B894A04A55", "type" : 4 }, { - "id" : "5A1B06B7-7D9C-4BA0-8388-19B15A7B4D36", + "id" : "0B9A2963-FF56-481C-948B-5DA7192E8753", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5A1B06B7-7D9C-4BA0-8388-19B15A7B4D36", + "id" : "0B9A2963-FF56-481C-948B-5DA7192E8753", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:46 GMT", + "Date" : "Sun, 24 May 2020 08:45:48 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "5A1B06B7-7D9C-4BA0-8388-19B15A7B4D36", + "id" : "0B9A2963-FF56-481C-948B-5DA7192E8753", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjQ2LjMwNjIxNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo0Ni4zMDYyMTZaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ1OjQ4LjM0NTQxMloiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "5A1B06B7-7D9C-4BA0-8388-19B15A7B4D36", + "id" : "0B9A2963-FF56-481C-948B-5DA7192E8753", "type" : 4 }, { - "id" : "E7017462-9653-42BF-8326-11FFEC27656D", + "id" : "B70402CB-4A5F-425B-A8A0-A65A331675DE", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E7017462-9653-42BF-8326-11FFEC27656D", + "id" : "B70402CB-4A5F-425B-A8A0-A65A331675DE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:47 GMT", + "Date" : "Sun, 24 May 2020 08:45:48 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "E7017462-9653-42BF-8326-11FFEC27656D", + "id" : "B70402CB-4A5F-425B-A8A0-A65A331675DE", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo0Ni45MTg2OTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6NDYuOTE4Njk5WiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTo0OC41NzAxNDhaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "E7017462-9653-42BF-8326-11FFEC27656D", + "id" : "B70402CB-4A5F-425B-A8A0-A65A331675DE", "type" : 4 }, { - "id" : "229071AE-3FDA-4707-9F2D-B06D53B094DE", + "id" : "C8CDC6E9-4DC7-4E89-807B-9FE5BCAF3046", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "229071AE-3FDA-4707-9F2D-B06D53B094DE", + "id" : "C8CDC6E9-4DC7-4E89-807B-9FE5BCAF3046", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:48 GMT", + "Date" : "Sun, 24 May 2020 08:45:48 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,21 +378,21 @@ "type" : 1 }, { - "id" : "229071AE-3FDA-4707-9F2D-B06D53B094DE", + "id" : "C8CDC6E9-4DC7-4E89-807B-9FE5BCAF3046", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo0Ny41MzU3ODFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6NDcuNTM1NzgxWiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTo0OC44MTAyNTNaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "229071AE-3FDA-4707-9F2D-B06D53B094DE", + "id" : "C8CDC6E9-4DC7-4E89-807B-9FE5BCAF3046", "type" : 4 }, { - "id" : "75A14004-0B00-49DC-9CBD-521DB868FB20", + "id" : "50AAA79B-A95B-47D7-8F2C-C10FEA141882", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +400,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "75A14004-0B00-49DC-9CBD-521DB868FB20", + "id" : "50AAA79B-A95B-47D7-8F2C-C10FEA141882", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:48 GMT", + "Date" : "Sun, 24 May 2020 08:45:49 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,21 +436,21 @@ "type" : 1 }, { - "id" : "75A14004-0B00-49DC-9CBD-521DB868FB20", + "id" : "50AAA79B-A95B-47D7-8F2C-C10FEA141882", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo0OC4xNDg5NThaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6NDguMTQ4OTU4WiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTo0OS4wNDcyMThaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9fQ==" }, "type" : 2 }, { - "id" : "75A14004-0B00-49DC-9CBD-521DB868FB20", + "id" : "50AAA79B-A95B-47D7-8F2C-C10FEA141882", "type" : 4 }, { - "id" : "83F91744-5F20-458D-8191-25D7D5E2F62D", + "id" : "073835F7-271F-49B0-A599-BCB62A59606F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -458,35 +458,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2hhbm5vbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "83F91744-5F20-458D-8191-25D7D5E2F62D", + "id" : "073835F7-271F-49B0-A599-BCB62A59606F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:49 GMT", + "Date" : "Sun, 24 May 2020 08:45:49 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -494,19 +494,19 @@ "type" : 1 }, { - "id" : "83F91744-5F20-458D-8191-25D7D5E2F62D", + "id" : "073835F7-271F-49B0-A599-BCB62A59606F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo0OC43NjQ0MDJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6NDguNzY0NDAyWiIsImVUYWciOiJBZEd4aHNPLzB2aVdUQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTo0OS4zNDczMjdaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9fQ==" }, "type" : 2 }, { - "id" : "83F91744-5F20-458D-8191-25D7D5E2F62D", + "id" : "073835F7-271F-49B0-A599-BCB62A59606F", "type" : 4 }, { - "id" : "9588D340-A32B-49F5-A661-15D558AB129F", + "id" : "9DE84E1D-6855-4C97-A7B8-CA184F26C1AD", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -516,35 +516,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "450", + "Content-Length" : "504", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn19LHsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJOaWNvbGFzLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJTaGFubm9uLXVzZXItaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7ImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJLaW0tdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJjdXN0b20iOnsidXVpZC1tZW1iZXItY3VzdG9tIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIn19XX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9588D340-A32B-49F5-A661-15D558AB129F", + "id" : "9DE84E1D-6855-4C97-A7B8-CA184F26C1AD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:55 GMT", + "Date" : "Sun, 24 May 2020 08:45:50 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -552,19 +552,19 @@ "type" : 1 }, { - "id" : "9588D340-A32B-49F5-A661-15D558AB129F", + "id" : "9DE84E1D-6855-4C97-A7B8-CA184F26C1AD", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyLWN1c3RvbSI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo1MC43OTQxOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo1MC43OTQxOFoiLCJlVGFnIjoiQWUrdjQ0U3B2cUNqaXdFIn0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjUxLjQ5NjQ3N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo1MS40OTY0NzdaIiwiZVRhZyI6IkFZT256YnJwKzVuRGRRIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo1Mi4zMzkzNTVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6NTIuMzM5MzU1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6NTMuMDQxNDEzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjUzLjA0MTQxM1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiTmljb2xhcy11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjUzLjc0NDM0MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo1My43NDQzNDFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo1NC40NDY4MDdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzk6NTQuNDQ2ODA3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDU6NTAuNjc3OTQyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDU6NTAuNjk5MzAyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDU6NTAuNjk0MTI5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyLWN1c3RvbSI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTo1MC42ODg2MjZaIiwiZVRhZyI6IkFZbUh5c0dudnFHaENBIn0seyJ1dWlkIjp7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTo1MC43MDQ3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyLWN1c3RvbSI6IktpbS11dWlkLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTo1MC42ODM0NzlaIiwiZVRhZyI6IkFjZlZyN2FHM003ajVRRSJ9XSwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "9588D340-A32B-49F5-A661-15D558AB129F", + "id" : "9DE84E1D-6855-4C97-A7B8-CA184F26C1AD", "type" : 4 }, { - "id" : "AD6DDF78-5695-4C0A-933D-6B5152A05C63", + "id" : "770D3955-495A-4C6B-812F-65A6F81621CF", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -573,30 +573,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii" }, "type" : 0 }, { - "id" : "AD6DDF78-5695-4C0A-933D-6B5152A05C63", + "id" : "770D3955-495A-4C6B-812F-65A6F81621CF", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:39:56 GMT", + "Date" : "Sun, 24 May 2020 08:45:52 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -604,19 +604,19 @@ "type" : 1 }, { - "id" : "AD6DDF78-5695-4C0A-933D-6B5152A05C63", + "id" : "770D3955-495A-4C6B-812F-65A6F81621CF", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyLWN1c3RvbSI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo1MC43OTQxOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo1MC43OTQxOFoiLCJlVGFnIjoiQWUrdjQ0U3B2cUNqaXdFIn0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM5OjUxLjQ5NjQ3N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozOTo1MS40OTY0NzdaIiwiZVRhZyI6IkFZT256YnJwKzVuRGRRIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTWcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDU6NTAuNjc3OTQyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDU6NTAuNjk5MzAyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "AD6DDF78-5695-4C0A-933D-6B5152A05C63", + "id" : "770D3955-495A-4C6B-812F-65A6F81621CF", "type" : 4 }, { - "id" : "0472C0C8-1F14-4073-8E07-A82E65EE0845", + "id" : "4BF3B5EE-022C-49C1-82ED-9F696EF6CEAA", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -626,31 +626,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "286", + "Content-Length" : "340", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJOaWNvbGFzLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0472C0C8-1F14-4073-8E07-A82E65EE0845", + "id" : "4BF3B5EE-022C-49C1-82ED-9F696EF6CEAA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:58 GMT", + "Date" : "Sun, 24 May 2020 08:45:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -660,7 +660,7 @@ "type" : 1 }, { - "id" : "0472C0C8-1F14-4073-8E07-A82E65EE0845", + "id" : "4BF3B5EE-022C-49C1-82ED-9F696EF6CEAA", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -668,11 +668,11 @@ "type" : 2 }, { - "id" : "0472C0C8-1F14-4073-8E07-A82E65EE0845", + "id" : "4BF3B5EE-022C-49C1-82ED-9F696EF6CEAA", "type" : 4 }, { - "id" : "41708A07-D2EB-49E5-8DC6-3F6027A3BC15", + "id" : "90D4F132-35D0-499E-95FC-98A9F7EC3B3E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -681,26 +681,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "41708A07-D2EB-49E5-8DC6-3F6027A3BC15", + "id" : "90D4F132-35D0-499E-95FC-98A9F7EC3B3E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:39:59 GMT", + "Date" : "Sun, 24 May 2020 08:45:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -710,7 +710,7 @@ "type" : 1 }, { - "id" : "41708A07-D2EB-49E5-8DC6-3F6027A3BC15", + "id" : "90D4F132-35D0-499E-95FC-98A9F7EC3B3E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -718,11 +718,11 @@ "type" : 2 }, { - "id" : "41708A07-D2EB-49E5-8DC6-3F6027A3BC15", + "id" : "90D4F132-35D0-499E-95FC-98A9F7EC3B3E", "type" : 4 }, { - "id" : "43DEF1D6-2248-441D-9433-012B4E3418A0", + "id" : "7CBFA18C-046A-41ED-A740-D0BB8BDB0686", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -731,26 +731,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "43DEF1D6-2248-441D-9433-012B4E3418A0", + "id" : "7CBFA18C-046A-41ED-A740-D0BB8BDB0686", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:00 GMT", + "Date" : "Sun, 24 May 2020 08:45:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -760,7 +760,7 @@ "type" : 1 }, { - "id" : "43DEF1D6-2248-441D-9433-012B4E3418A0", + "id" : "7CBFA18C-046A-41ED-A740-D0BB8BDB0686", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -768,11 +768,11 @@ "type" : 2 }, { - "id" : "43DEF1D6-2248-441D-9433-012B4E3418A0", + "id" : "7CBFA18C-046A-41ED-A740-D0BB8BDB0686", "type" : 4 }, { - "id" : "655CFD97-571C-44A8-AEEC-37225625ADBF", + "id" : "4DE6C817-417E-4DF7-BCA8-A031A7E63C1B", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -781,26 +781,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "655CFD97-571C-44A8-AEEC-37225625ADBF", + "id" : "4DE6C817-417E-4DF7-BCA8-A031A7E63C1B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:01 GMT", + "Date" : "Sun, 24 May 2020 08:45:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -810,7 +810,7 @@ "type" : 1 }, { - "id" : "655CFD97-571C-44A8-AEEC-37225625ADBF", + "id" : "4DE6C817-417E-4DF7-BCA8-A031A7E63C1B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -818,11 +818,11 @@ "type" : 2 }, { - "id" : "655CFD97-571C-44A8-AEEC-37225625ADBF", + "id" : "4DE6C817-417E-4DF7-BCA8-A031A7E63C1B", "type" : 4 }, { - "id" : "C4E7B157-6C4B-4F2A-8B79-14A0CE67EB2E", + "id" : "23FE5D73-2E3F-47CE-8455-A84E89BB8FCF", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -831,26 +831,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C4E7B157-6C4B-4F2A-8B79-14A0CE67EB2E", + "id" : "23FE5D73-2E3F-47CE-8455-A84E89BB8FCF", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:02 GMT", + "Date" : "Sun, 24 May 2020 08:45:54 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -860,7 +860,7 @@ "type" : 1 }, { - "id" : "C4E7B157-6C4B-4F2A-8B79-14A0CE67EB2E", + "id" : "23FE5D73-2E3F-47CE-8455-A84E89BB8FCF", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -868,11 +868,11 @@ "type" : 2 }, { - "id" : "C4E7B157-6C4B-4F2A-8B79-14A0CE67EB2E", + "id" : "23FE5D73-2E3F-47CE-8455-A84E89BB8FCF", "type" : 4 }, { - "id" : "C91A0704-CF60-4DB3-82BE-6D7577AD2F9C", + "id" : "D7C88EA4-5A17-4B5E-9D14-13E96AA490AB", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -881,26 +881,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C91A0704-CF60-4DB3-82BE-6D7577AD2F9C", + "id" : "D7C88EA4-5A17-4B5E-9D14-13E96AA490AB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:03 GMT", + "Date" : "Sun, 24 May 2020 08:45:54 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -910,7 +910,7 @@ "type" : 1 }, { - "id" : "C91A0704-CF60-4DB3-82BE-6D7577AD2F9C", + "id" : "D7C88EA4-5A17-4B5E-9D14-13E96AA490AB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -918,11 +918,11 @@ "type" : 2 }, { - "id" : "C91A0704-CF60-4DB3-82BE-6D7577AD2F9C", + "id" : "D7C88EA4-5A17-4B5E-9D14-13E96AA490AB", "type" : 4 }, { - "id" : "49DCE858-2AB1-4B4D-93E9-9E7CFA3AC59B", + "id" : "3505CFA0-D138-4882-BEB7-E749BA09FC6C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -931,26 +931,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "49DCE858-2AB1-4B4D-93E9-9E7CFA3AC59B", + "id" : "3505CFA0-D138-4882-BEB7-E749BA09FC6C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:04 GMT", + "Date" : "Sun, 24 May 2020 08:45:54 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -960,7 +960,7 @@ "type" : 1 }, { - "id" : "49DCE858-2AB1-4B4D-93E9-9E7CFA3AC59B", + "id" : "3505CFA0-D138-4882-BEB7-E749BA09FC6C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -968,11 +968,11 @@ "type" : 2 }, { - "id" : "49DCE858-2AB1-4B4D-93E9-9E7CFA3AC59B", + "id" : "3505CFA0-D138-4882-BEB7-E749BA09FC6C", "type" : 4 }, { - "id" : "ADD29F50-F9AE-4FBC-B5C3-F38F7F39EB19", + "id" : "B78342EC-136D-451C-A253-D984C9174BD5", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -981,26 +981,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "ADD29F50-F9AE-4FBC-B5C3-F38F7F39EB19", + "id" : "B78342EC-136D-451C-A253-D984C9174BD5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:06 GMT", + "Date" : "Sun, 24 May 2020 08:45:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1010,7 +1010,7 @@ "type" : 1 }, { - "id" : "ADD29F50-F9AE-4FBC-B5C3-F38F7F39EB19", + "id" : "B78342EC-136D-451C-A253-D984C9174BD5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1018,7 +1018,7 @@ "type" : 2 }, { - "id" : "ADD29F50-F9AE-4FBC-B5C3-F38F7F39EB19", + "id" : "B78342EC-136D-451C-A253-D984C9174BD5", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchNextMembershipPageWhenStartAndLimitIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchNextMembershipPageWhenStartAndLimitIsSet.json index c5ca225ba..8a833d543 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchNextMembershipPageWhenStartAndLimitIsSet.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchNextMembershipPageWhenStartAndLimitIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "E1C05FF8-7DE0-4651-9EDA-97732E4261DB", + "id" : "56ABB325-7109-4CFF-82BD-5CA528CC977F", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E1C05FF8-7DE0-4651-9EDA-97732E4261DB", + "id" : "56ABB325-7109-4CFF-82BD-5CA528CC977F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:08 GMT", + "Date" : "Sun, 24 May 2020 08:45:57 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "E1C05FF8-7DE0-4651-9EDA-97732E4261DB", + "id" : "56ABB325-7109-4CFF-82BD-5CA528CC977F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "E1C05FF8-7DE0-4651-9EDA-97732E4261DB", + "id" : "56ABB325-7109-4CFF-82BD-5CA528CC977F", "type" : 4 }, { - "id" : "5EEE5A79-222F-4814-AD9E-D170C487C24A", + "id" : "01A37889-86C3-4B9C-AACE-BF60DA8C4DBB", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5EEE5A79-222F-4814-AD9E-D170C487C24A", + "id" : "01A37889-86C3-4B9C-AACE-BF60DA8C4DBB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:08 GMT", + "Date" : "Sun, 24 May 2020 08:45:58 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "5EEE5A79-222F-4814-AD9E-D170C487C24A", + "id" : "01A37889-86C3-4B9C-AACE-BF60DA8C4DBB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "5EEE5A79-222F-4814-AD9E-D170C487C24A", + "id" : "01A37889-86C3-4B9C-AACE-BF60DA8C4DBB", "type" : 4 }, { - "id" : "1DE84929-DFBA-4659-8F55-62EEF5F4BA55", + "id" : "FFFACE53-66D3-4A70-BAFE-6E516B75901F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1DE84929-DFBA-4659-8F55-62EEF5F4BA55", + "id" : "FFFACE53-66D3-4A70-BAFE-6E516B75901F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:09 GMT", + "Date" : "Sun, 24 May 2020 08:45:58 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "1DE84929-DFBA-4659-8F55-62EEF5F4BA55", + "id" : "FFFACE53-66D3-4A70-BAFE-6E516B75901F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDowOC44MzUxNTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MDguODM1MTUyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NTo1OC40OTM0MTdaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "1DE84929-DFBA-4659-8F55-62EEF5F4BA55", + "id" : "FFFACE53-66D3-4A70-BAFE-6E516B75901F", "type" : 4 }, { - "id" : "9A7B1435-7BAD-48CF-B39D-B92892CBD23B", + "id" : "1767FE33-82FF-47DE-91B1-C63E3AA30A8F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9A7B1435-7BAD-48CF-B39D-B92892CBD23B", + "id" : "1767FE33-82FF-47DE-91B1-C63E3AA30A8F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:10 GMT", + "Date" : "Sun, 24 May 2020 08:45:59 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "9A7B1435-7BAD-48CF-B39D-B92892CBD23B", + "id" : "1767FE33-82FF-47DE-91B1-C63E3AA30A8F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjEwLjQ0ODg4NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxMC40NDg4ODRaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ1OjU5LjczOTQ3WiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9fQ==" }, "type" : 2 }, { - "id" : "9A7B1435-7BAD-48CF-B39D-B92892CBD23B", + "id" : "1767FE33-82FF-47DE-91B1-C63E3AA30A8F", "type" : 4 }, { - "id" : "00B7B72A-DEB2-4439-9508-0B1D140311C4", + "id" : "744C1983-E3A5-4EF8-BB71-E0B080AA528F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "00B7B72A-DEB2-4439-9508-0B1D140311C4", + "id" : "744C1983-E3A5-4EF8-BB71-E0B080AA528F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:11 GMT", + "Date" : "Sun, 24 May 2020 08:45:59 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "00B7B72A-DEB2-4439-9508-0B1D140311C4", + "id" : "744C1983-E3A5-4EF8-BB71-E0B080AA528F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjExLjA0OTk2N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxMS4wNDk5NjdaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ1OjU5Ljk2NjQzMloiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "00B7B72A-DEB2-4439-9508-0B1D140311C4", + "id" : "744C1983-E3A5-4EF8-BB71-E0B080AA528F", "type" : 4 }, { - "id" : "9D833A77-C499-4006-AF4B-E3A68ACB1D52", + "id" : "2FBFFBFA-004A-4132-BE79-A795291BDF23", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9D833A77-C499-4006-AF4B-E3A68ACB1D52", + "id" : "2FBFFBFA-004A-4132-BE79-A795291BDF23", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:12 GMT", + "Date" : "Sun, 24 May 2020 08:46:00 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "9D833A77-C499-4006-AF4B-E3A68ACB1D52", + "id" : "2FBFFBFA-004A-4132-BE79-A795291BDF23", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxMS43MDY3NTNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTEuNzA2NzUzWiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjowMC4xODc1OTNaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "9D833A77-C499-4006-AF4B-E3A68ACB1D52", + "id" : "2FBFFBFA-004A-4132-BE79-A795291BDF23", "type" : 4 }, { - "id" : "C8E460FC-82F5-4DBF-8AA0-1D12446CF1E9", + "id" : "F2389D8E-8164-47E1-AF90-FEBC570590BD", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C8E460FC-82F5-4DBF-8AA0-1D12446CF1E9", + "id" : "F2389D8E-8164-47E1-AF90-FEBC570590BD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:12 GMT", + "Date" : "Sun, 24 May 2020 08:46:00 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,21 +378,21 @@ "type" : 1 }, { - "id" : "C8E460FC-82F5-4DBF-8AA0-1D12446CF1E9", + "id" : "F2389D8E-8164-47E1-AF90-FEBC570590BD", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxMi4zMTIyMzhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTIuMzEyMjM4WiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjowMC41MDk1NjRaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "C8E460FC-82F5-4DBF-8AA0-1D12446CF1E9", + "id" : "F2389D8E-8164-47E1-AF90-FEBC570590BD", "type" : 4 }, { - "id" : "F256C093-584C-4CAD-8ED8-9730F6953379", + "id" : "6884554B-2115-4A5F-9CBE-E4B301591156", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +400,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F256C093-584C-4CAD-8ED8-9730F6953379", + "id" : "6884554B-2115-4A5F-9CBE-E4B301591156", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:13 GMT", + "Date" : "Sun, 24 May 2020 08:46:00 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,21 +436,21 @@ "type" : 1 }, { - "id" : "F256C093-584C-4CAD-8ED8-9730F6953379", + "id" : "6884554B-2115-4A5F-9CBE-E4B301591156", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxMi44OTAyNzNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTIuODkwMjczWiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjowMC44MTYwOTlaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9fQ==" }, "type" : 2 }, { - "id" : "F256C093-584C-4CAD-8ED8-9730F6953379", + "id" : "6884554B-2115-4A5F-9CBE-E4B301591156", "type" : 4 }, { - "id" : "1B293439-5451-4F2A-B301-C6FC017FC9C2", + "id" : "A3819A46-1115-48F2-B3CA-52C8FA07B4BA", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -458,35 +458,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2hhbm5vbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1B293439-5451-4F2A-B301-C6FC017FC9C2", + "id" : "A3819A46-1115-48F2-B3CA-52C8FA07B4BA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:13 GMT", + "Date" : "Sun, 24 May 2020 08:46:01 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -494,19 +494,19 @@ "type" : 1 }, { - "id" : "1B293439-5451-4F2A-B301-C6FC017FC9C2", + "id" : "A3819A46-1115-48F2-B3CA-52C8FA07B4BA", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxMy40NzM0OTNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTMuNDczNDkzWiIsImVUYWciOiJBZEd4aHNPLzB2aVdUQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjowMS4xMjMyMjlaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9fQ==" }, "type" : 2 }, { - "id" : "1B293439-5451-4F2A-B301-C6FC017FC9C2", + "id" : "A3819A46-1115-48F2-B3CA-52C8FA07B4BA", "type" : 4 }, { - "id" : "E88DB76A-86E7-48A7-B88C-8F83F14F62CF", + "id" : "B7B3B516-E7FA-46C7-B513-FB8BD64ACCB7", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -516,35 +516,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "283", + "Content-Length" : "337", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiR2xlbi11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiTmljb2xhcy11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E88DB76A-86E7-48A7-B88C-8F83F14F62CF", + "id" : "B7B3B516-E7FA-46C7-B513-FB8BD64ACCB7", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:19 GMT", + "Date" : "Sun, 24 May 2020 08:46:02 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -552,19 +552,19 @@ "type" : 1 }, { - "id" : "E88DB76A-86E7-48A7-B88C-8F83F14F62CF", + "id" : "B7B3B516-E7FA-46C7-B513-FB8BD64ACCB7", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxNS40NzI5ODZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTUuNDcyOTg2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxNi4xNjgzNjVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTYuMTY4MzY1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTYuODYzNTc2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjE2Ljg2MzU3NloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiR2xlbi11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjE3LjU1ODY2N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxNy41NTg2NjdaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxOC4yNTM5MDJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTguMjUzOTAyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTaGFubm9uLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTguOTQ5MDEzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjE4Ljk0OTAxM1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MDIuNDY2OTkzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MDIuNTA0MDQ0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MDIuNTE1NDg5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjowMi40OTA2NzlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjAyLjQ3ODcxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MDIuNTMwMTEzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "E88DB76A-86E7-48A7-B88C-8F83F14F62CF", + "id" : "B7B3B516-E7FA-46C7-B513-FB8BD64ACCB7", "type" : 4 }, { - "id" : "EEC3D2D3-4C99-46A9-ACE3-A152CC8E6BCC", + "id" : "DCD996F5-E56B-4EFF-BA6D-B5DAB31D5E9E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -573,30 +573,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=4&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?count=1&limit=4&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "EEC3D2D3-4C99-46A9-ACE3-A152CC8E6BCC", + "id" : "DCD996F5-E56B-4EFF-BA6D-B5DAB31D5E9E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=4&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?count=1&limit=4&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:21 GMT", + "Date" : "Sun, 24 May 2020 08:46:03 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -604,19 +604,19 @@ "type" : 1 }, { - "id" : "EEC3D2D3-4C99-46A9-ACE3-A152CC8E6BCC", + "id" : "DCD996F5-E56B-4EFF-BA6D-B5DAB31D5E9E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTUuNDcyOTg2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjE1LjQ3Mjk4NloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjE2LjE2ODM2NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxNi4xNjgzNjVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTYuODYzNTc2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjE2Ljg2MzU3NloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiR2xlbi11c2VyLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxNy41NTg2NjdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTcuNTU4NjY3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik5BIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjAyLjQ2Njk5M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjowMi41MDQwNDRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiTmljb2xhcy11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MDIuNTE1NDg5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MDIuNDkwNjc5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik5BIn0=" }, "type" : 2 }, { - "id" : "EEC3D2D3-4C99-46A9-ACE3-A152CC8E6BCC", + "id" : "DCD996F5-E56B-4EFF-BA6D-B5DAB31D5E9E", "type" : 4 }, { - "id" : "5515FCBB-C8BA-4638-9C66-3A41B1C1D03F", + "id" : "1FF5D704-113C-4732-8482-B3DBDC727881", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -625,30 +625,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100" }, "type" : 0 }, { - "id" : "5515FCBB-C8BA-4638-9C66-3A41B1C1D03F", + "id" : "1FF5D704-113C-4732-8482-B3DBDC727881", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:21 GMT", + "Date" : "Sun, 24 May 2020 08:46:03 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -656,19 +656,19 @@ "type" : 1 }, { - "id" : "5515FCBB-C8BA-4638-9C66-3A41B1C1D03F", + "id" : "1FF5D704-113C-4732-8482-B3DBDC727881", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJOaWNvbGFzLXVzZXItaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjE4LjI1MzkwMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDoxOC4yNTM5MDJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MTguOTQ5MDEzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjE4Ljk0OTAxM1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjYsIm5leHQiOiJOZyIsInByZXYiOiJOQSJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MDIuNDc4NzFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MDIuNTMwMTEzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik5nIiwicHJldiI6Ik5BIn0=" }, "type" : 2 }, { - "id" : "5515FCBB-C8BA-4638-9C66-3A41B1C1D03F", + "id" : "1FF5D704-113C-4732-8482-B3DBDC727881", "type" : 4 }, { - "id" : "086C2763-7550-4349-864E-E0243EA3F69F", + "id" : "858E6C24-29E2-4E4B-A5B4-24DC8C4AD753", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -678,31 +678,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "286", + "Content-Length" : "340", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJOaWNvbGFzLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "086C2763-7550-4349-864E-E0243EA3F69F", + "id" : "858E6C24-29E2-4E4B-A5B4-24DC8C4AD753", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:24 GMT", + "Date" : "Sun, 24 May 2020 08:46:05 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -712,7 +712,7 @@ "type" : 1 }, { - "id" : "086C2763-7550-4349-864E-E0243EA3F69F", + "id" : "858E6C24-29E2-4E4B-A5B4-24DC8C4AD753", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -720,11 +720,11 @@ "type" : 2 }, { - "id" : "086C2763-7550-4349-864E-E0243EA3F69F", + "id" : "858E6C24-29E2-4E4B-A5B4-24DC8C4AD753", "type" : 4 }, { - "id" : "3EA76467-671E-4E32-AD99-1D09203BF374", + "id" : "A098DC87-FA80-4371-95AA-E67918531209", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -733,26 +733,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3EA76467-671E-4E32-AD99-1D09203BF374", + "id" : "A098DC87-FA80-4371-95AA-E67918531209", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:25 GMT", + "Date" : "Sun, 24 May 2020 08:46:05 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -762,7 +762,7 @@ "type" : 1 }, { - "id" : "3EA76467-671E-4E32-AD99-1D09203BF374", + "id" : "A098DC87-FA80-4371-95AA-E67918531209", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -770,11 +770,11 @@ "type" : 2 }, { - "id" : "3EA76467-671E-4E32-AD99-1D09203BF374", + "id" : "A098DC87-FA80-4371-95AA-E67918531209", "type" : 4 }, { - "id" : "D54A7BFF-59E4-488B-AE2E-C50098BAFCCE", + "id" : "DFDFCB6D-6534-4F3C-BD33-053A58D2ABEC", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -783,26 +783,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D54A7BFF-59E4-488B-AE2E-C50098BAFCCE", + "id" : "DFDFCB6D-6534-4F3C-BD33-053A58D2ABEC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:26 GMT", + "Date" : "Sun, 24 May 2020 08:46:05 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -812,7 +812,7 @@ "type" : 1 }, { - "id" : "D54A7BFF-59E4-488B-AE2E-C50098BAFCCE", + "id" : "DFDFCB6D-6534-4F3C-BD33-053A58D2ABEC", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -820,11 +820,11 @@ "type" : 2 }, { - "id" : "D54A7BFF-59E4-488B-AE2E-C50098BAFCCE", + "id" : "DFDFCB6D-6534-4F3C-BD33-053A58D2ABEC", "type" : 4 }, { - "id" : "C638E999-049C-4ECC-8D8C-17789B033406", + "id" : "12E56F1F-2808-4E3A-861F-74A00E86A51B", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -833,26 +833,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C638E999-049C-4ECC-8D8C-17789B033406", + "id" : "12E56F1F-2808-4E3A-861F-74A00E86A51B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:26 GMT", + "Date" : "Sun, 24 May 2020 08:46:05 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -862,7 +862,7 @@ "type" : 1 }, { - "id" : "C638E999-049C-4ECC-8D8C-17789B033406", + "id" : "12E56F1F-2808-4E3A-861F-74A00E86A51B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -870,11 +870,11 @@ "type" : 2 }, { - "id" : "C638E999-049C-4ECC-8D8C-17789B033406", + "id" : "12E56F1F-2808-4E3A-861F-74A00E86A51B", "type" : 4 }, { - "id" : "8C96DFA8-3F9D-455F-8F80-C727608CDC8C", + "id" : "A198AE89-362A-4C28-8677-31E271A1468B", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -883,26 +883,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8C96DFA8-3F9D-455F-8F80-C727608CDC8C", + "id" : "A198AE89-362A-4C28-8677-31E271A1468B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:27 GMT", + "Date" : "Sun, 24 May 2020 08:46:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -912,7 +912,7 @@ "type" : 1 }, { - "id" : "8C96DFA8-3F9D-455F-8F80-C727608CDC8C", + "id" : "A198AE89-362A-4C28-8677-31E271A1468B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -920,11 +920,11 @@ "type" : 2 }, { - "id" : "8C96DFA8-3F9D-455F-8F80-C727608CDC8C", + "id" : "A198AE89-362A-4C28-8677-31E271A1468B", "type" : 4 }, { - "id" : "CD876E2F-B35B-4FDE-B8A6-82BE442C4F53", + "id" : "6820DE54-7BAB-4B4D-9D94-64AA41C0890A", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -933,26 +933,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CD876E2F-B35B-4FDE-B8A6-82BE442C4F53", + "id" : "6820DE54-7BAB-4B4D-9D94-64AA41C0890A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:28 GMT", + "Date" : "Sun, 24 May 2020 08:46:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -962,7 +962,7 @@ "type" : 1 }, { - "id" : "CD876E2F-B35B-4FDE-B8A6-82BE442C4F53", + "id" : "6820DE54-7BAB-4B4D-9D94-64AA41C0890A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -970,11 +970,11 @@ "type" : 2 }, { - "id" : "CD876E2F-B35B-4FDE-B8A6-82BE442C4F53", + "id" : "6820DE54-7BAB-4B4D-9D94-64AA41C0890A", "type" : 4 }, { - "id" : "FA728351-D61A-4AF3-AAB4-06700FEC3A40", + "id" : "D2D40DB9-A3B7-4962-8C67-DA7391BDCBBF", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -983,26 +983,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FA728351-D61A-4AF3-AAB4-06700FEC3A40", + "id" : "D2D40DB9-A3B7-4962-8C67-DA7391BDCBBF", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:29 GMT", + "Date" : "Sun, 24 May 2020 08:46:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1012,7 +1012,7 @@ "type" : 1 }, { - "id" : "FA728351-D61A-4AF3-AAB4-06700FEC3A40", + "id" : "D2D40DB9-A3B7-4962-8C67-DA7391BDCBBF", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1020,11 +1020,11 @@ "type" : 2 }, { - "id" : "FA728351-D61A-4AF3-AAB4-06700FEC3A40", + "id" : "D2D40DB9-A3B7-4962-8C67-DA7391BDCBBF", "type" : 4 }, { - "id" : "0A56ABF3-DEB5-41AA-B3D4-A4E547DA6416", + "id" : "F760DE3E-DA39-4669-8655-053D034164CD", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -1033,26 +1033,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0A56ABF3-DEB5-41AA-B3D4-A4E547DA6416", + "id" : "F760DE3E-DA39-4669-8655-053D034164CD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:31 GMT", + "Date" : "Sun, 24 May 2020 08:46:08 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1062,7 +1062,7 @@ "type" : 1 }, { - "id" : "0A56ABF3-DEB5-41AA-B3D4-A4E547DA6416", + "id" : "F760DE3E-DA39-4669-8655-053D034164CD", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1070,7 +1070,7 @@ "type" : 2 }, { - "id" : "0A56ABF3-DEB5-41AA-B3D4-A4E547DA6416", + "id" : "F760DE3E-DA39-4669-8655-053D034164CD", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchOrderedMembersWhenOrderIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchOrderedMembersWhenOrderIsSet.json index 51f80be50..f295fe70c 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchOrderedMembersWhenOrderIsSet.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldFetchOrderedMembersWhenOrderIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "4DBEB55A-1D6A-4AAC-86E4-42CDE1F120E3", + "id" : "D9BBDC97-0A0A-4A4D-A5DB-E66A99020457", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -16,19 +16,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4DBEB55A-1D6A-4AAC-86E4-42CDE1F120E3", + "id" : "D9BBDC97-0A0A-4A4D-A5DB-E66A99020457", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:10:51 GMT", + "Date" : "Sun, 24 May 2020 08:46:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "4DBEB55A-1D6A-4AAC-86E4-42CDE1F120E3", + "id" : "D9BBDC97-0A0A-4A4D-A5DB-E66A99020457", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "4DBEB55A-1D6A-4AAC-86E4-42CDE1F120E3", + "id" : "D9BBDC97-0A0A-4A4D-A5DB-E66A99020457", "type" : 4 }, { - "id" : "DDA0E24D-D3C3-4ED4-B9BF-27658F286611", + "id" : "75A4D3C6-3B99-42CC-B2A9-A42E42A0EBCC", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -66,19 +66,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DDA0E24D-D3C3-4ED4-B9BF-27658F286611", + "id" : "75A4D3C6-3B99-42CC-B2A9-A42E42A0EBCC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:10:51 GMT", + "Date" : "Sun, 24 May 2020 08:46:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "DDA0E24D-D3C3-4ED4-B9BF-27658F286611", + "id" : "75A4D3C6-3B99-42CC-B2A9-A42E42A0EBCC", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "DDA0E24D-D3C3-4ED4-B9BF-27658F286611", + "id" : "75A4D3C6-3B99-42CC-B2A9-A42E42A0EBCC", "type" : 4 }, { - "id" : "80B4D14F-B7DA-467C-BD96-262095AA9439", + "id" : "F694F161-2EAA-4653-81AB-6486BA193BE2", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -112,33 +112,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "80B4D14F-B7DA-467C-BD96-262095AA9439", + "id" : "F694F161-2EAA-4653-81AB-6486BA193BE2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:10:52 GMT", + "Date" : "Sun, 24 May 2020 08:46:10 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "80B4D14F-B7DA-467C-BD96-262095AA9439", + "id" : "F694F161-2EAA-4653-81AB-6486BA193BE2", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1Mi4wNzM4NzJaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTIuMDczODcyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxMC43NTQxMDNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "80B4D14F-B7DA-467C-BD96-262095AA9439", + "id" : "F694F161-2EAA-4653-81AB-6486BA193BE2", "type" : 4 }, { - "id" : "BCE37C0D-8589-4A6F-A65A-970FEB01D79B", + "id" : "66FCC806-C2D5-4FA4-BC96-47F1368DA50D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -170,33 +170,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BCE37C0D-8589-4A6F-A65A-970FEB01D79B", + "id" : "66FCC806-C2D5-4FA4-BC96-47F1368DA50D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:10:54 GMT", + "Date" : "Sun, 24 May 2020 08:46:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "BCE37C0D-8589-4A6F-A65A-970FEB01D79B", + "id" : "66FCC806-C2D5-4FA4-BC96-47F1368DA50D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjUzLjY3MTc2MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1My42NzE3NjJaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjEyLjA5NjY4OVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "BCE37C0D-8589-4A6F-A65A-970FEB01D79B", + "id" : "66FCC806-C2D5-4FA4-BC96-47F1368DA50D", "type" : 4 }, { - "id" : "96E4385F-ED54-4AD0-8728-A0DE005A94D5", + "id" : "B8EEEB07-D63B-461E-8ED6-6A9DECCCD22F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -228,33 +228,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "96E4385F-ED54-4AD0-8728-A0DE005A94D5", + "id" : "B8EEEB07-D63B-461E-8ED6-6A9DECCCD22F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:10:54 GMT", + "Date" : "Sun, 24 May 2020 08:46:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "96E4385F-ED54-4AD0-8728-A0DE005A94D5", + "id" : "B8EEEB07-D63B-461E-8ED6-6A9DECCCD22F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU0LjI0OTEyMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NC4yNDkxMjJaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjEyLjM4ODY2N1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "96E4385F-ED54-4AD0-8728-A0DE005A94D5", + "id" : "B8EEEB07-D63B-461E-8ED6-6A9DECCCD22F", "type" : 4 }, { - "id" : "00E83680-8D23-4063-90B2-8D52B313B790", + "id" : "B94962EA-DF2F-4692-9556-FE4D2A0CFFB2", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -286,33 +286,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "00E83680-8D23-4063-90B2-8D52B313B790", + "id" : "B94962EA-DF2F-4692-9556-FE4D2A0CFFB2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:10:55 GMT", + "Date" : "Sun, 24 May 2020 08:46:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "00E83680-8D23-4063-90B2-8D52B313B790", + "id" : "B94962EA-DF2F-4692-9556-FE4D2A0CFFB2", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NC44MjgxMTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTQuODI4MTEyWiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxMi43MDE3NTZaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "00E83680-8D23-4063-90B2-8D52B313B790", + "id" : "B94962EA-DF2F-4692-9556-FE4D2A0CFFB2", "type" : 4 }, { - "id" : "D4474079-52A3-4F90-8557-14AEF2C932A5", + "id" : "D86F5B7E-5CF7-4E5C-AB92-A81E9504C50A", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -344,33 +344,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D4474079-52A3-4F90-8557-14AEF2C932A5", + "id" : "D86F5B7E-5CF7-4E5C-AB92-A81E9504C50A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:10:55 GMT", + "Date" : "Sun, 24 May 2020 08:46:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,21 +378,21 @@ "type" : 1 }, { - "id" : "D4474079-52A3-4F90-8557-14AEF2C932A5", + "id" : "D86F5B7E-5CF7-4E5C-AB92-A81E9504C50A", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NS40MDYyMTdaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTUuNDA2MjE3WiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxMi45MjQwMTVaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "D4474079-52A3-4F90-8557-14AEF2C932A5", + "id" : "D86F5B7E-5CF7-4E5C-AB92-A81E9504C50A", "type" : 4 }, { - "id" : "9BE086BC-36D5-471B-8747-B70B8D13AD0E", + "id" : "ECFA2BA7-7EFA-443B-91F5-A06A7E73656B", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -402,33 +402,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9BE086BC-36D5-471B-8747-B70B8D13AD0E", + "id" : "ECFA2BA7-7EFA-443B-91F5-A06A7E73656B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:10:56 GMT", + "Date" : "Sun, 24 May 2020 08:46:13 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,21 +436,21 @@ "type" : 1 }, { - "id" : "9BE086BC-36D5-471B-8747-B70B8D13AD0E", + "id" : "ECFA2BA7-7EFA-443B-91F5-A06A7E73656B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NS45ODYzNTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTUuOTg2MzU5WiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxMy4xNTQxOTNaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9fQ==" }, "type" : 2 }, { - "id" : "9BE086BC-36D5-471B-8747-B70B8D13AD0E", + "id" : "ECFA2BA7-7EFA-443B-91F5-A06A7E73656B", "type" : 4 }, { - "id" : "F84A2966-C935-4653-9E6E-D9FCEB5BB9E6", + "id" : "E710CE33-ED94-4083-A9FD-4746143ADC84", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -460,33 +460,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2hhbm5vbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F84A2966-C935-4653-9E6E-D9FCEB5BB9E6", + "id" : "E710CE33-ED94-4083-A9FD-4746143ADC84", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:10:57 GMT", + "Date" : "Sun, 24 May 2020 08:46:13 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -494,19 +494,19 @@ "type" : 1 }, { - "id" : "F84A2966-C935-4653-9E6E-D9FCEB5BB9E6", + "id" : "E710CE33-ED94-4083-A9FD-4746143ADC84", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1Ni41NjM0NTVaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTYuNTYzNDU1WiIsImVUYWciOiJBZEd4aHNPLzB2aVdUQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxMy40MTUzOTFaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9fQ==" }, "type" : 2 }, { - "id" : "F84A2966-C935-4653-9E6E-D9FCEB5BB9E6", + "id" : "E710CE33-ED94-4083-A9FD-4746143ADC84", "type" : 4 }, { - "id" : "296DED13-A917-4D37-A2DB-06D1E09E7017", + "id" : "2A924005-66D7-428F-8907-49EE9A8A9EEB", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -518,33 +518,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "283", + "Content-Length" : "337", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiR2xlbi11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiTmljb2xhcy11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom,user&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "296DED13-A917-4D37-A2DB-06D1E09E7017", + "id" : "2A924005-66D7-428F-8907-49EE9A8A9EEB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom,user&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:11:02 GMT", + "Date" : "Sun, 24 May 2020 08:46:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -552,19 +552,19 @@ "type" : 1 }, { - "id" : "296DED13-A917-4D37-A2DB-06D1E09E7017", + "id" : "2A924005-66D7-428F-8907-49EE9A8A9EEB", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJ1c2VyIjp7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJTZXJoaWkiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTMuNjcxNzYyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjUzLjY3MTc2MloiLCJlVGFnIjoiQWVQMjY3ZmF1dmJCUEEifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTguNTU3NTY0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU4LjU1NzU2NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU0LjI0OTEyMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NC4yNDkxMjJaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU5LjI1MzQwOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1OS4yNTM0MDhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJ1c2VyIjp7ImlkIjoiRWFybGluZS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NC44MjgxMTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTQuODI4MTEyWiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTkuOTQ5NjAyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU5Ljk0OTYwMloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiR2xlbi11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsInVzZXIiOnsiaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU1LjQwNjIxN1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NS40MDYyMTdaIiwiZVRhZyI6IkFmLzV3TVNoM3JlSWRBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjExOjAwLjY0NTYxOVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMTowMC42NDU2MTlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJ1c2VyIjp7ImlkIjoiTmljb2xhcy11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiTmljb2xhcyIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NS45ODYzNTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTUuOTg2MzU5WiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTE6MDEuMzQxODI3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjExOjAxLjM0MTgyN1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiU2hhbm5vbi11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsInVzZXIiOnsiaWQiOiJTaGFubm9uLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJTaGFubm9uIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU2LjU2MzQ1NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1Ni41NjM0NTVaIiwiZVRhZyI6IkFkR3hoc08vMHZpV1RBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjExOjAyLjAzNzY5MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMTowMi4wMzc2OTJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTmcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MTMuNDE1MzkxWiIsImVUYWciOiJBWWZ3dXErdSs0QzAxZ0UifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxNC42OTgyMjZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJTZXJoaWkiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MTIuMDk2Njg5WiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjE0LjY3NjA3NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJOaWNvbGFzLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJOaWNvbGFzIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjEzLjE1NDE5M1oiLCJlVGFnIjoiQWNXb3ZjMmMxNVQ5MFFFIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MTQuNjkyODQ4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjEyLjM4ODY2N1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxNC42ODE0NjRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxMi43MDE3NTZaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MTQuNjcwMzk3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MTIuOTI0MDE1WiIsImVUYWciOiJBZktEMnZmTTI2VzUvUUUifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxNC42ODczOVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOZyJ9" }, "type" : 2 }, { - "id" : "296DED13-A917-4D37-A2DB-06D1E09E7017", + "id" : "2A924005-66D7-428F-8907-49EE9A8A9EEB", "type" : 4 }, { - "id" : "1EF58ACA-73E9-4C50-A058-C41600335191", + "id" : "1FB194EE-8AAE-463F-B4F0-64742FFBC557", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -580,23 +580,23 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?sort=user.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom,user&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?sort=uuid.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii" }, "type" : 0 }, { - "id" : "1EF58ACA-73E9-4C50-A058-C41600335191", + "id" : "1FB194EE-8AAE-463F-B4F0-64742FFBC557", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?sort=user.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom,user&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?sort=uuid.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:11:04 GMT", + "Date" : "Sun, 24 May 2020 08:46:16 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -604,19 +604,19 @@ "type" : 1 }, { - "id" : "1EF58ACA-73E9-4C50-A058-C41600335191", + "id" : "1FB194EE-8AAE-463F-B4F0-64742FFBC557", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTaGFubm9uLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwidXNlciI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTYuNTYzNDU1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU2LjU2MzQ1NVoiLCJlVGFnIjoiQWRHeGhzTy8wdmlXVEEifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTE6MDIuMDM3NjkyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjExOjAyLjAzNzY5MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwidXNlciI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjUzLjY3MTc2MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1My42NzE3NjJaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU4LjU1NzU2NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1OC41NTc1NjRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJ1c2VyIjp7ImlkIjoiTmljb2xhcy11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiTmljb2xhcyIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NS45ODYzNTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTUuOTg2MzU5WiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTE6MDEuMzQxODI3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjExOjAxLjM0MTgyN1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU0LjI0OTEyMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NC4yNDkxMjJaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU5LjI1MzQwOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1OS4yNTM0MDhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJ1c2VyIjp7ImlkIjoiR2xlbi11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiR2xlbiIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1NS40MDYyMTdaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTUuNDA2MjE3WiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMTowMC42NDU2MTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTE6MDAuNjQ1NjE5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwidXNlciI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTA6NTQuODI4MTEyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU0LjgyODExMloiLCJlVGFnIjoiQWQ2YnpybmNyS1czclFFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEwOjU5Ljk0OTYwMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMDo1OS45NDk2MDJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTmcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxMy40MTUzOTFaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxNC42OTgyMjZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJTZXJoaWkiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNlcmhpaS1jdXN0b20tZGF0YS0xIiwidXVpZC1jdXN0b20yIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MTIuMDk2Njg5WiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxNC42NzYwNzRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiTmljb2xhcy11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiTmljb2xhcyIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXVpZC1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIiwidXVpZC1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjEzLjE1NDE5M1oiLCJlVGFnIjoiQWNXb3ZjMmMxNVQ5MFFFIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjE0LjY5Mjg0OFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEiLCJ1dWlkLWN1c3RvbTIiOiJLaW0tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoxMi4zODg2NjdaIiwiZVRhZyI6IkFaRytqYy9oL3FtSFdRIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjE0LjY4MTQ2NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEiLCJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MTIuOTI0MDE1WiIsImVUYWciOiJBZktEMnZmTTI2VzUvUUUifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MTQuNjg3MzlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXVpZC1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIiwidXVpZC1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjEyLjcwMTc1NloiLCJlVGFnIjoiQWFtdHFiakRxYnU4Y0EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MTQuNjcwMzk3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "1EF58ACA-73E9-4C50-A058-C41600335191", + "id" : "1FB194EE-8AAE-463F-B4F0-64742FFBC557", "type" : 4 }, { - "id" : "864057F0-1A73-4AB1-9C2D-8EBA953C521C", + "id" : "7FFE21A4-A49D-4482-9E39-DDD84187DB94", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -628,29 +628,29 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "286", + "Content-Length" : "340", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJOaWNvbGFzLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTaGFubm9uLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiR2xlbi11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "864057F0-1A73-4AB1-9C2D-8EBA953C521C", + "id" : "7FFE21A4-A49D-4482-9E39-DDD84187DB94", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:11:06 GMT", + "Date" : "Sun, 24 May 2020 08:46:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -660,7 +660,7 @@ "type" : 1 }, { - "id" : "864057F0-1A73-4AB1-9C2D-8EBA953C521C", + "id" : "7FFE21A4-A49D-4482-9E39-DDD84187DB94", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -668,11 +668,11 @@ "type" : 2 }, { - "id" : "864057F0-1A73-4AB1-9C2D-8EBA953C521C", + "id" : "7FFE21A4-A49D-4482-9E39-DDD84187DB94", "type" : 4 }, { - "id" : "597CC42F-815D-417D-98B5-9937243551EF", + "id" : "02FA881D-7826-464A-8800-0AF47FD29E25", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -688,19 +688,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "597CC42F-815D-417D-98B5-9937243551EF", + "id" : "02FA881D-7826-464A-8800-0AF47FD29E25", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:11:07 GMT", + "Date" : "Sun, 24 May 2020 08:46:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -710,7 +710,7 @@ "type" : 1 }, { - "id" : "597CC42F-815D-417D-98B5-9937243551EF", + "id" : "02FA881D-7826-464A-8800-0AF47FD29E25", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -718,11 +718,11 @@ "type" : 2 }, { - "id" : "597CC42F-815D-417D-98B5-9937243551EF", + "id" : "02FA881D-7826-464A-8800-0AF47FD29E25", "type" : 4 }, { - "id" : "DA3505DC-7BDB-4281-B3F9-DDB9650DA02F", + "id" : "F9306EAE-5346-42F7-96BA-4BDE3CD8CCBE", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -738,19 +738,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DA3505DC-7BDB-4281-B3F9-DDB9650DA02F", + "id" : "F9306EAE-5346-42F7-96BA-4BDE3CD8CCBE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:11:08 GMT", + "Date" : "Sun, 24 May 2020 08:46:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -760,7 +760,7 @@ "type" : 1 }, { - "id" : "DA3505DC-7BDB-4281-B3F9-DDB9650DA02F", + "id" : "F9306EAE-5346-42F7-96BA-4BDE3CD8CCBE", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -768,11 +768,11 @@ "type" : 2 }, { - "id" : "DA3505DC-7BDB-4281-B3F9-DDB9650DA02F", + "id" : "F9306EAE-5346-42F7-96BA-4BDE3CD8CCBE", "type" : 4 }, { - "id" : "3D7A0FCF-DAE5-4784-AA10-44EE2B6F3E2D", + "id" : "7C2CB517-5FAB-4E22-AB11-35BA975AAD24", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -788,19 +788,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3D7A0FCF-DAE5-4784-AA10-44EE2B6F3E2D", + "id" : "7C2CB517-5FAB-4E22-AB11-35BA975AAD24", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:11:09 GMT", + "Date" : "Sun, 24 May 2020 08:46:18 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -810,7 +810,7 @@ "type" : 1 }, { - "id" : "3D7A0FCF-DAE5-4784-AA10-44EE2B6F3E2D", + "id" : "7C2CB517-5FAB-4E22-AB11-35BA975AAD24", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -818,11 +818,11 @@ "type" : 2 }, { - "id" : "3D7A0FCF-DAE5-4784-AA10-44EE2B6F3E2D", + "id" : "7C2CB517-5FAB-4E22-AB11-35BA975AAD24", "type" : 4 }, { - "id" : "FAEB54FF-273B-43B8-A95C-F1BE053BAB98", + "id" : "ED3F1F9A-E32B-4DA1-B8EF-53FC25C0B75F", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -838,19 +838,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FAEB54FF-273B-43B8-A95C-F1BE053BAB98", + "id" : "ED3F1F9A-E32B-4DA1-B8EF-53FC25C0B75F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:11:10 GMT", + "Date" : "Sun, 24 May 2020 08:46:18 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -860,7 +860,7 @@ "type" : 1 }, { - "id" : "FAEB54FF-273B-43B8-A95C-F1BE053BAB98", + "id" : "ED3F1F9A-E32B-4DA1-B8EF-53FC25C0B75F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -868,11 +868,11 @@ "type" : 2 }, { - "id" : "FAEB54FF-273B-43B8-A95C-F1BE053BAB98", + "id" : "ED3F1F9A-E32B-4DA1-B8EF-53FC25C0B75F", "type" : 4 }, { - "id" : "3145CA5F-4666-47B3-BE01-FA04DB68AAB1", + "id" : "A532DE54-6EB4-4FBC-9D3F-8A5ABC26AF50", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -888,19 +888,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3145CA5F-4666-47B3-BE01-FA04DB68AAB1", + "id" : "A532DE54-6EB4-4FBC-9D3F-8A5ABC26AF50", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:11:11 GMT", + "Date" : "Sun, 24 May 2020 08:46:18 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -910,7 +910,7 @@ "type" : 1 }, { - "id" : "3145CA5F-4666-47B3-BE01-FA04DB68AAB1", + "id" : "A532DE54-6EB4-4FBC-9D3F-8A5ABC26AF50", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -918,11 +918,11 @@ "type" : 2 }, { - "id" : "3145CA5F-4666-47B3-BE01-FA04DB68AAB1", + "id" : "A532DE54-6EB4-4FBC-9D3F-8A5ABC26AF50", "type" : 4 }, { - "id" : "7A783E6D-063A-4696-A099-1662F3D25252", + "id" : "D6B1D40A-82CB-4875-9BE2-2F0669607647", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -938,19 +938,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7A783E6D-063A-4696-A099-1662F3D25252", + "id" : "D6B1D40A-82CB-4875-9BE2-2F0669607647", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:11:12 GMT", + "Date" : "Sun, 24 May 2020 08:46:18 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -960,7 +960,7 @@ "type" : 1 }, { - "id" : "7A783E6D-063A-4696-A099-1662F3D25252", + "id" : "D6B1D40A-82CB-4875-9BE2-2F0669607647", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -968,11 +968,11 @@ "type" : 2 }, { - "id" : "7A783E6D-063A-4696-A099-1662F3D25252", + "id" : "D6B1D40A-82CB-4875-9BE2-2F0669607647", "type" : 4 }, { - "id" : "3235E084-A073-4431-AA3A-9344F712B9F9", + "id" : "35BB0EA9-F563-483D-8145-1946AE3E70B2", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -988,19 +988,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3235E084-A073-4431-AA3A-9344F712B9F9", + "id" : "35BB0EA9-F563-483D-8145-1946AE3E70B2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:11:13 GMT", + "Date" : "Sun, 24 May 2020 08:46:19 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1010,7 +1010,7 @@ "type" : 1 }, { - "id" : "3235E084-A073-4431-AA3A-9344F712B9F9", + "id" : "35BB0EA9-F563-483D-8145-1946AE3E70B2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1018,7 +1018,7 @@ "type" : 2 }, { - "id" : "3235E084-A073-4431-AA3A-9344F712B9F9", + "id" : "35BB0EA9-F563-483D-8145-1946AE3E70B2", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotAddMembersWhenSpaceAlreadyHasTargetUsersAsMembers.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotAddMembersWhenSpaceAlreadyHasTargetUsersAsMembers.json deleted file mode 100644 index 6d1770177..000000000 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotAddMembersWhenSpaceAlreadyHasTargetUsersAsMembers.json +++ /dev/null @@ -1,704 +0,0 @@ -[ - { - "id" : "8D040FE0-DAE0-4DCE-898C-CA6F760D901C", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "8D040FE0-DAE0-4DCE-898C-CA6F760D901C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:33 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "8D040FE0-DAE0-4DCE-898C-CA6F760D901C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "8D040FE0-DAE0-4DCE-898C-CA6F760D901C", - "type" : 4 - }, - { - "id" : "10EA7F49-4D17-4483-80E7-2F1114AFF629", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "10EA7F49-4D17-4483-80E7-2F1114AFF629", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:33 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "10EA7F49-4D17-4483-80E7-2F1114AFF629", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "10EA7F49-4D17-4483-80E7-2F1114AFF629", - "type" : 4 - }, - { - "id" : "8B8117F6-5FB9-4462-B3AF-DDBC2038FDA6", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "8B8117F6-5FB9-4462-B3AF-DDBC2038FDA6", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:34 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "8B8117F6-5FB9-4462-B3AF-DDBC2038FDA6", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDozMy42NTYxMjlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MzMuNjU2MTI5WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "8B8117F6-5FB9-4462-B3AF-DDBC2038FDA6", - "type" : 4 - }, - { - "id" : "A8F25D4A-8409-4E87-8C3C-A54ECB23A0E1", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A8F25D4A-8409-4E87-8C3C-A54ECB23A0E1", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:35 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "A8F25D4A-8409-4E87-8C3C-A54ECB23A0E1", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjM1LjI2NjQzN1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDozNS4yNjY0MzdaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "A8F25D4A-8409-4E87-8C3C-A54ECB23A0E1", - "type" : 4 - }, - { - "id" : "BCAB7561-124D-4FB5-8ED6-4449B4111FAD", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "136", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "BCAB7561-124D-4FB5-8ED6-4449B4111FAD", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:36 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "BCAB7561-124D-4FB5-8ED6-4449B4111FAD", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjM1Ljg2NDQ5NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDozNS44NjQ0OTVaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" - }, - "type" : 2 - }, - { - "id" : "BCAB7561-124D-4FB5-8ED6-4449B4111FAD", - "type" : 4 - }, - { - "id" : "787DC3D6-9174-475A-82B8-1A943D8A443C", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "98", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "787DC3D6-9174-475A-82B8-1A943D8A443C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:39 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "787DC3D6-9174-475A-82B8-1A943D8A443C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjM1LjI2NjQzN1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDozNS4yNjY0MzdaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjM3Ljk0NTc2OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDozNy45NDU3NjlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJ1c2VyIjp7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJLaW0iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IktpbS1jdXN0b20tZGF0YS0xIiwidXNlci1jdXN0b20yIjoiS2ltLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MzUuODY0NDk1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjM1Ljg2NDQ5NVoiLCJlVGFnIjoiQWJqTHkvTE52N0hWTncifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MzguNjQwNTUyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjM4LjY0MDU1MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" - }, - "type" : 2 - }, - { - "id" : "787DC3D6-9174-475A-82B8-1A943D8A443C", - "type" : 4 - }, - { - "id" : "A615B9C8-382B-4478-A12D-30CA704D05A7", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "55", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A615B9C8-382B-4478-A12D-30CA704D05A7", - "data" : { - "status" : 400, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:40 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "193", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "A615B9C8-382B-4478-A12D-30CA704D05A7", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwMCwiZXJyb3IiOnsibWVzc2FnZSI6IkludmFsaWQgcmVxdWVzdCBpbnB1dC4iLCJzb3VyY2UiOiJvYmplY3RzIiwiZGV0YWlscyI6W3sibWVzc2FnZSI6IlVzZXIgd2l0aCBzcGVjaWZpZWQgaWQgaXMgYWxyZWFkeSBhIG1lbWJlci4iLCJsb2NhdGlvbiI6ImFkZFswXS5pZCIsImxvY2F0aW9uVHlwZSI6ImJvZHkifV19fQ==" - }, - "type" : 2 - }, - { - "id" : "A615B9C8-382B-4478-A12D-30CA704D05A7", - "type" : 4 - }, - { - "id" : "EC3871EB-CBF3-423C-B1BD-37DDC97E621B", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "55", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "EC3871EB-CBF3-423C-B1BD-37DDC97E621B", - "data" : { - "status" : 400, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:40 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "193", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "EC3871EB-CBF3-423C-B1BD-37DDC97E621B", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwMCwiZXJyb3IiOnsibWVzc2FnZSI6IkludmFsaWQgcmVxdWVzdCBpbnB1dC4iLCJzb3VyY2UiOiJvYmplY3RzIiwiZGV0YWlscyI6W3sibWVzc2FnZSI6IlVzZXIgd2l0aCBzcGVjaWZpZWQgaWQgaXMgYWxyZWFkeSBhIG1lbWJlci4iLCJsb2NhdGlvbiI6ImFkZFswXS5pZCIsImxvY2F0aW9uVHlwZSI6ImJvZHkifV19fQ==" - }, - "type" : 2 - }, - { - "id" : "EC3871EB-CBF3-423C-B1BD-37DDC97E621B", - "type" : 4 - }, - { - "id" : "C21F8B3D-A6FF-4A45-8E88-DD0041FE02A0", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C21F8B3D-A6FF-4A45-8E88-DD0041FE02A0", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:41 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "C21F8B3D-A6FF-4A45-8E88-DD0041FE02A0", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6MzcuOTQ1NzY5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjM3Ljk0NTc2OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjM4LjY0MDU1MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDozOC42NDA1NTJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" - }, - "type" : 2 - }, - { - "id" : "C21F8B3D-A6FF-4A45-8E88-DD0041FE02A0", - "type" : 4 - }, - { - "id" : "158AFC8C-5800-46CC-BC29-678A902A34D9", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "101", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "158AFC8C-5800-46CC-BC29-678A902A34D9", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:43 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "158AFC8C-5800-46CC-BC29-678A902A34D9", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "158AFC8C-5800-46CC-BC29-678A902A34D9", - "type" : 4 - }, - { - "id" : "822CA113-8D3D-4DB7-8936-1D6D2744992F", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "822CA113-8D3D-4DB7-8936-1D6D2744992F", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:44 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "822CA113-8D3D-4DB7-8936-1D6D2744992F", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "822CA113-8D3D-4DB7-8936-1D6D2744992F", - "type" : 4 - }, - { - "id" : "A461D59E-571C-423F-B652-0683481B1B2F", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A461D59E-571C-423F-B652-0683481B1B2F", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:45 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "A461D59E-571C-423F-B652-0683481B1B2F", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "A461D59E-571C-423F-B652-0683481B1B2F", - "type" : 4 - }, - { - "id" : "A9CE2FA3-A27B-46C1-B422-FA98C8A6726F", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A9CE2FA3-A27B-46C1-B422-FA98C8A6726F", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:47 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "A9CE2FA3-A27B-46C1-B422-FA98C8A6726F", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "A9CE2FA3-A27B-46C1-B422-FA98C8A6726F", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotFetchMembersWhenSpaceObjectNotExists.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotFetchMembersWhenSpaceObjectNotExists.json deleted file mode 100644 index 7cee8609a..000000000 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotFetchMembersWhenSpaceObjectNotExists.json +++ /dev/null @@ -1,202 +0,0 @@ -[ - { - "id" : "09A3C509-CCF1-411E-947F-401087BA6873", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "09A3C509-CCF1-411E-947F-401087BA6873", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:49 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "09A3C509-CCF1-411E-947F-401087BA6873", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "09A3C509-CCF1-411E-947F-401087BA6873", - "type" : 4 - }, - { - "id" : "F5310B1D-0E34-4A9F-9A2E-2E0AC39A1EBC", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F5310B1D-0E34-4A9F-9A2E-2E0AC39A1EBC", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:49 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "F5310B1D-0E34-4A9F-9A2E-2E0AC39A1EBC", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "F5310B1D-0E34-4A9F-9A2E-2E0AC39A1EBC", - "type" : 4 - }, - { - "id" : "FC26E9D7-A71C-4D4D-A6B0-FE332761A085", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/not-existing-space\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "FC26E9D7-A71C-4D4D-A6B0-FE332761A085", - "data" : { - "status" : 404, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/not-existing-space\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:49 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "87", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "FC26E9D7-A71C-4D4D-A6B0-FE332761A085", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "FC26E9D7-A71C-4D4D-A6B0-FE332761A085", - "type" : 4 - }, - { - "id" : "5F1E8073-CE19-4803-827C-9BD2A1A092D9", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/not-existing-space\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "5F1E8073-CE19-4803-827C-9BD2A1A092D9", - "data" : { - "status" : 404, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/not-existing-space\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:49 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "87", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "5F1E8073-CE19-4803-827C-9BD2A1A092D9", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "5F1E8073-CE19-4803-827C-9BD2A1A092D9", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotUpdateMembersWhenSpaceNotHaveSpecifiedUsersAsMembers.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotUpdateMembersWhenSpaceNotHaveSpecifiedUsersAsMembers.json deleted file mode 100644 index 93b8d7219..000000000 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldNotUpdateMembersWhenSpaceNotHaveSpecifiedUsersAsMembers.json +++ /dev/null @@ -1,482 +0,0 @@ -[ - { - "id" : "9CFC3CBD-BD25-46C7-BE2E-F129096ECD5A", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "9CFC3CBD-BD25-46C7-BE2E-F129096ECD5A", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:50 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "9CFC3CBD-BD25-46C7-BE2E-F129096ECD5A", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "9CFC3CBD-BD25-46C7-BE2E-F129096ECD5A", - "type" : 4 - }, - { - "id" : "D5991AD4-0AC9-4E16-8ED7-3E34C97AEEBA", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "D5991AD4-0AC9-4E16-8ED7-3E34C97AEEBA", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:50 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "D5991AD4-0AC9-4E16-8ED7-3E34C97AEEBA", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "D5991AD4-0AC9-4E16-8ED7-3E34C97AEEBA", - "type" : 4 - }, - { - "id" : "519B5251-AD2C-4A84-8D7B-817780484A1A", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "519B5251-AD2C-4A84-8D7B-817780484A1A", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:51 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "519B5251-AD2C-4A84-8D7B-817780484A1A", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDo1MS4wODczNzlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDA6NTEuMDg3Mzc5WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "519B5251-AD2C-4A84-8D7B-817780484A1A", - "type" : 4 - }, - { - "id" : "89383AFE-DCD1-406E-8F85-E659DCD37917", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "89383AFE-DCD1-406E-8F85-E659DCD37917", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:53 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "89383AFE-DCD1-406E-8F85-E659DCD37917", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjUyLjc2MTU1OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDo1Mi43NjE1NThaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "89383AFE-DCD1-406E-8F85-E659DCD37917", - "type" : 4 - }, - { - "id" : "17B6B0D7-D8A4-4F6A-909B-5E28AD3E0514", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "136", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "17B6B0D7-D8A4-4F6A-909B-5E28AD3E0514", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:40:53 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "17B6B0D7-D8A4-4F6A-909B-5E28AD3E0514", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQwOjUzLjM3NTA0N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MDo1My4zNzUwNDdaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" - }, - "type" : 2 - }, - { - "id" : "17B6B0D7-D8A4-4F6A-909B-5E28AD3E0514", - "type" : 4 - }, - { - "id" : "45BAD1A9-847A-44B2-9DDF-8ECBE5765FE9", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "268", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn19XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "45BAD1A9-847A-44B2-9DDF-8ECBE5765FE9", - "data" : { - "status" : 400, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:56 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "314", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "45BAD1A9-847A-44B2-9DDF-8ECBE5765FE9", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwMCwiZXJyb3IiOnsibWVzc2FnZSI6IkludmFsaWQgcmVxdWVzdCBpbnB1dC4iLCJzb3VyY2UiOiJvYmplY3RzIiwiZGV0YWlscyI6W3sibWVzc2FnZSI6IlVzZXIgd2l0aCBzcGVjaWZpZWQgaWQgaXMgbm90IGFuIGV4aXN0aW5nIG1lbWJlci4iLCJsb2NhdGlvbiI6InVwZGF0ZVswXS5pZCIsImxvY2F0aW9uVHlwZSI6ImJvZHkifSx7Im1lc3NhZ2UiOiJVc2VyIHdpdGggc3BlY2lmaWVkIGlkIGlzIG5vdCBhbiBleGlzdGluZyBtZW1iZXIuIiwibG9jYXRpb24iOiJ1cGRhdGVbMV0uaWQiLCJsb2NhdGlvblR5cGUiOiJib2R5In1dfX0=" - }, - "type" : 2 - }, - { - "id" : "45BAD1A9-847A-44B2-9DDF-8ECBE5765FE9", - "type" : 4 - }, - { - "id" : "0DC71164-0F3D-4334-8979-C91FC6BFD273", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "0DC71164-0F3D-4334-8979-C91FC6BFD273", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:56 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "0DC71164-0F3D-4334-8979-C91FC6BFD273", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "0DC71164-0F3D-4334-8979-C91FC6BFD273", - "type" : 4 - }, - { - "id" : "EC33FAF6-2E10-4559-BCCB-068DAA6086B4", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "EC33FAF6-2E10-4559-BCCB-068DAA6086B4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:57 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "EC33FAF6-2E10-4559-BCCB-068DAA6086B4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "EC33FAF6-2E10-4559-BCCB-068DAA6086B4", - "type" : 4 - }, - { - "id" : "4114F39A-218D-480D-AE11-A5A26B68D525", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "4114F39A-218D-480D-AE11-A5A26B68D525", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:40:59 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "4114F39A-218D-480D-AE11-A5A26B68D525", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "4114F39A-218D-480D-AE11-A5A26B68D525", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReceiveStatusWithExpectedOperationAndCategory.json new file mode 100644 index 000000000..fac71cfb9 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReceiveStatusWithExpectedOperationAndCategory.json @@ -0,0 +1,652 @@ +[ + { + "id" : "0F23EF5C-C582-4394-8AF5-FA3CF46451E1", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "0F23EF5C-C582-4394-8AF5-FA3CF46451E1", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:30:00 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "0F23EF5C-C582-4394-8AF5-FA3CF46451E1", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "0F23EF5C-C582-4394-8AF5-FA3CF46451E1", + "type" : 4 + }, + { + "id" : "9873AC2C-B0FF-4302-8986-054A44E31E06", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "9873AC2C-B0FF-4302-8986-054A44E31E06", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:30:00 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "9873AC2C-B0FF-4302-8986-054A44E31E06", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "9873AC2C-B0FF-4302-8986-054A44E31E06", + "type" : 4 + }, + { + "id" : "0030CCEE-93FA-4478-9BCB-3AC7AEC4D8E5", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "0030CCEE-93FA-4478-9BCB-3AC7AEC4D8E5", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:30:00 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "0030CCEE-93FA-4478-9BCB-3AC7AEC4D8E5", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMDowMC42MTU0OTdaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "0030CCEE-93FA-4478-9BCB-3AC7AEC4D8E5", + "type" : 4 + }, + { + "id" : "8E6EC632-6CE4-42B0-944D-1A91CA72B5ED", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8E6EC632-6CE4-42B0-944D-1A91CA72B5ED", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:30:01 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "8E6EC632-6CE4-42B0-944D-1A91CA72B5ED", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMwOjAxLjg1NDYxWiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "8E6EC632-6CE4-42B0-944D-1A91CA72B5ED", + "type" : 4 + }, + { + "id" : "776C1D8B-E2DD-4BF8-9676-E7787B5D7DE4", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "776C1D8B-E2DD-4BF8-9676-E7787B5D7DE4", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:30:02 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "776C1D8B-E2DD-4BF8-9676-E7787B5D7DE4", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMwOjAyLjA3NjU0NloiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "776C1D8B-E2DD-4BF8-9676-E7787B5D7DE4", + "type" : 4 + }, + { + "id" : "70C2356C-76FB-47FF-B71A-2163110C9F21", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "70C2356C-76FB-47FF-B71A-2163110C9F21", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:30:03 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "70C2356C-76FB-47FF-B71A-2163110C9F21", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMDowMy4zMTE3ODhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMwOjAzLjMyNDI4MVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "70C2356C-76FB-47FF-B71A-2163110C9F21", + "type" : 4 + }, + { + "id" : "FD1B7656-9AD8-4F33-BA28-33011E279E02", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "67", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "FD1B7656-9AD8-4F33-BA28-33011E279E02", + "data" : { + "status" : 404, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:30:04 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "165", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "FD1B7656-9AD8-4F33-BA28-33011E279E02", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMDowMy4zMjQyODFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTVEifQ==" + }, + "type" : 2 + }, + { + "id" : "FD1B7656-9AD8-4F33-BA28-33011E279E02", + "type" : 4 + }, + { + "id" : "FD1B7656-9AD8-4F33-BA28-33011E279E01", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "67", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "FD1B7656-9AD8-4F33-BA28-33011E279E01", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:30:04 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "165", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "FD1B7656-9AD8-4F33-BA28-33011E279E01", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMDowMy4zMjQyODFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTVEifQ==" + }, + "type" : 2 + }, + { + "id" : "FD1B7656-9AD8-4F33-BA28-33011E279E01", + "type" : 4 + }, + { + "id" : "98AC409B-447A-4286-B3EA-745CABCB856B", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "64", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "98AC409B-447A-4286-B3EA-745CABCB856B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:30:05 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "98AC409B-447A-4286-B3EA-745CABCB856B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "98AC409B-447A-4286-B3EA-745CABCB856B", + "type" : 4 + }, + { + "id" : "806F8385-F41A-4B7D-8473-CAB706A95054", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "806F8385-F41A-4B7D-8473-CAB706A95054", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:30:06 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "806F8385-F41A-4B7D-8473-CAB706A95054", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "806F8385-F41A-4B7D-8473-CAB706A95054", + "type" : 4 + }, + { + "id" : "ED5ACF76-78F0-4191-8A4C-7B0D26B1ABF1", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "ED5ACF76-78F0-4191-8A4C-7B0D26B1ABF1", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:30:06 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "ED5ACF76-78F0-4191-8A4C-7B0D26B1ABF1", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "ED5ACF76-78F0-4191-8A4C-7B0D26B1ABF1", + "type" : 4 + }, + { + "id" : "432D4B66-D859-4016-B173-56F479B9E7A7", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "432D4B66-D859-4016-B173-56F479B9E7A7", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:30:07 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "432D4B66-D859-4016-B173-56F479B9E7A7", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "432D4B66-D859-4016-B173-56F479B9E7A7", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnFilteredMembersInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnFilteredMembersInformationWhenFilterIsSet.json new file mode 100644 index 000000000..3a045bd61 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnFilteredMembersInformationWhenFilterIsSet.json @@ -0,0 +1,598 @@ +[ + { + "id" : "4DA352C0-2AF1-44DD-9C1C-0924B46B6CB2", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "4DA352C0-2AF1-44DD-9C1C-0924B46B6CB2", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:22 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "4DA352C0-2AF1-44DD-9C1C-0924B46B6CB2", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "4DA352C0-2AF1-44DD-9C1C-0924B46B6CB2", + "type" : 4 + }, + { + "id" : "1A6988E2-61E8-4FD6-9776-8A5510B42031", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "1A6988E2-61E8-4FD6-9776-8A5510B42031", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:22 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "1A6988E2-61E8-4FD6-9776-8A5510B42031", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "1A6988E2-61E8-4FD6-9776-8A5510B42031", + "type" : 4 + }, + { + "id" : "CEF2DD94-E45A-4070-831A-E5E2DC3D9619", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "CEF2DD94-E45A-4070-831A-E5E2DC3D9619", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:22 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "CEF2DD94-E45A-4070-831A-E5E2DC3D9619", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoyMi41MzQ3NDNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "CEF2DD94-E45A-4070-831A-E5E2DC3D9619", + "type" : 4 + }, + { + "id" : "35F666B2-F0C9-4F4E-BF93-0AF1F44A0723", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "35F666B2-F0C9-4F4E-BF93-0AF1F44A0723", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:23 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "35F666B2-F0C9-4F4E-BF93-0AF1F44A0723", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjIzLjg2MzY3M1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "35F666B2-F0C9-4F4E-BF93-0AF1F44A0723", + "type" : 4 + }, + { + "id" : "4FC736F0-30FC-40D4-9976-E08DFC6F5F9D", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "4FC736F0-30FC-40D4-9976-E08DFC6F5F9D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:24 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "4FC736F0-30FC-40D4-9976-E08DFC6F5F9D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjI0LjE2NDM2OVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "4FC736F0-30FC-40D4-9976-E08DFC6F5F9D", + "type" : 4 + }, + { + "id" : "182AA513-9E9F-4D1E-9502-6856D9272699", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "182AA513-9E9F-4D1E-9502-6856D9272699", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:25 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "182AA513-9E9F-4D1E-9502-6856D9272699", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjoyNS40MTI4MjJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjI1LjQxODA2NVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "182AA513-9E9F-4D1E-9502-6856D9272699", + "type" : 4 + }, + { + "id" : "C46B130F-8F55-4813-9133-C8EBA09DFB52", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "67", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "C46B130F-8F55-4813-9133-C8EBA09DFB52", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:26 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "C46B130F-8F55-4813-9133-C8EBA09DFB52", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjI0LjE2NDM2OVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MjUuNDE4MDY1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6MSwibmV4dCI6Ik1RIn0=" + }, + "type" : 2 + }, + { + "id" : "C46B130F-8F55-4813-9133-C8EBA09DFB52", + "type" : 4 + }, + { + "id" : "AA986649-B8E5-445E-94F8-9E5E2C23881F", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "64", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "AA986649-B8E5-445E-94F8-9E5E2C23881F", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:27 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "AA986649-B8E5-445E-94F8-9E5E2C23881F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "AA986649-B8E5-445E-94F8-9E5E2C23881F", + "type" : 4 + }, + { + "id" : "7857EED6-3827-4E2A-96AE-C8FA003AFA5B", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7857EED6-3827-4E2A-96AE-C8FA003AFA5B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:28 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "7857EED6-3827-4E2A-96AE-C8FA003AFA5B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "7857EED6-3827-4E2A-96AE-C8FA003AFA5B", + "type" : 4 + }, + { + "id" : "0394B91F-89B2-442E-8CE5-0C0954B92BA0", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "0394B91F-89B2-442E-8CE5-0C0954B92BA0", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:28 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "0394B91F-89B2-442E-8CE5-0C0954B92BA0", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "0394B91F-89B2-442E-8CE5-0C0954B92BA0", + "type" : 4 + }, + { + "id" : "9E391AFB-B8FB-4407-B934-9D7BB42CD377", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "9E391AFB-B8FB-4407-B934-9D7BB42CD377", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:29 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "9E391AFB-B8FB-4407-B934-9D7BB42CD377", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "9E391AFB-B8FB-4407-B934-9D7BB42CD377", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnMemberInformationWhenIncludeFlagIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnMemberInformationWhenIncludeFlagIsSet.json new file mode 100644 index 000000000..06bb12dd8 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnMemberInformationWhenIncludeFlagIsSet.json @@ -0,0 +1,598 @@ +[ + { + "id" : "056E2304-D27F-45CC-B486-FF95E1DED586", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "056E2304-D27F-45CC-B486-FF95E1DED586", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:31 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "056E2304-D27F-45CC-B486-FF95E1DED586", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "056E2304-D27F-45CC-B486-FF95E1DED586", + "type" : 4 + }, + { + "id" : "EBC047E9-D146-485D-967D-6FD10B0CC976", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "EBC047E9-D146-485D-967D-6FD10B0CC976", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:31 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "EBC047E9-D146-485D-967D-6FD10B0CC976", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "EBC047E9-D146-485D-967D-6FD10B0CC976", + "type" : 4 + }, + { + "id" : "CC769F63-F297-4FA9-A3EE-A92B8A79D6A7", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "CC769F63-F297-4FA9-A3EE-A92B8A79D6A7", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:32 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "CC769F63-F297-4FA9-A3EE-A92B8A79D6A7", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjozMi4yMTk1MDlaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "CC769F63-F297-4FA9-A3EE-A92B8A79D6A7", + "type" : 4 + }, + { + "id" : "DBFF43A3-F867-450F-85E8-C95724C2F7D8", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "DBFF43A3-F867-450F-85E8-C95724C2F7D8", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:33 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "DBFF43A3-F867-450F-85E8-C95724C2F7D8", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjMzLjQ2NjM1OVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "DBFF43A3-F867-450F-85E8-C95724C2F7D8", + "type" : 4 + }, + { + "id" : "B43A3813-A57E-42B5-952A-042E5746C151", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "B43A3813-A57E-42B5-952A-042E5746C151", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:33 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "B43A3813-A57E-42B5-952A-042E5746C151", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjMzLjY4OTAyOVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "B43A3813-A57E-42B5-952A-042E5746C151", + "type" : 4 + }, + { + "id" : "594CC0D0-EDAA-4121-8630-53FC6ACDF53B", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "594CC0D0-EDAA-4121-8630-53FC6ACDF53B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:34 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "594CC0D0-EDAA-4121-8630-53FC6ACDF53B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NjozNC45MjkyNDVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjM0LjkzNDkxNloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "594CC0D0-EDAA-4121-8630-53FC6ACDF53B", + "type" : 4 + }, + { + "id" : "17A9D72C-C8E3-44C8-AAB9-B9BE557E5405", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "67", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "17A9D72C-C8E3-44C8-AAB9-B9BE557E5405", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:36 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "17A9D72C-C8E3-44C8-AAB9-B9BE557E5405", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjMzLjY4OTAyOVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6MzQuOTM0OTE2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" + }, + "type" : 2 + }, + { + "id" : "17A9D72C-C8E3-44C8-AAB9-B9BE557E5405", + "type" : 4 + }, + { + "id" : "96AA7231-5214-46A0-8CF7-F10A9883EEEF", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "64", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "96AA7231-5214-46A0-8CF7-F10A9883EEEF", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:37 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "96AA7231-5214-46A0-8CF7-F10A9883EEEF", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "96AA7231-5214-46A0-8CF7-F10A9883EEEF", + "type" : 4 + }, + { + "id" : "99B40C2A-5CE8-4A29-BBF3-92095D0D9E82", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "99B40C2A-5CE8-4A29-BBF3-92095D0D9E82", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:37 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "99B40C2A-5CE8-4A29-BBF3-92095D0D9E82", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "99B40C2A-5CE8-4A29-BBF3-92095D0D9E82", + "type" : 4 + }, + { + "id" : "00E00A0E-2E2D-4F76-831E-CF42E85601A5", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "00E00A0E-2E2D-4F76-831E-CF42E85601A5", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:37 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "00E00A0E-2E2D-4F76-831E-CF42E85601A5", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "00E00A0E-2E2D-4F76-831E-CF42E85601A5", + "type" : 4 + }, + { + "id" : "3FF792CA-9157-422A-B9E1-4C797847C522", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3FF792CA-9157-422A-B9E1-4C797847C522", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:39 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "3FF792CA-9157-422A-B9E1-4C797847C522", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "3FF792CA-9157-422A-B9E1-4C797847C522", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnSortedMembersInformationWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnSortedMembersInformationWhenSortIsSet.json new file mode 100644 index 000000000..0443fba2d --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndReturnSortedMembersInformationWhenSortIsSet.json @@ -0,0 +1,922 @@ +[ + { + "id" : "21A6EA52-8F43-4874-BC2B-FA8F080523A3", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "21A6EA52-8F43-4874-BC2B-FA8F080523A3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:41 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "21A6EA52-8F43-4874-BC2B-FA8F080523A3", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "21A6EA52-8F43-4874-BC2B-FA8F080523A3", + "type" : 4 + }, + { + "id" : "0AE92413-F710-48BB-8CF8-CC58FA7134A8", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "0AE92413-F710-48BB-8CF8-CC58FA7134A8", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:41 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "0AE92413-F710-48BB-8CF8-CC58FA7134A8", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "0AE92413-F710-48BB-8CF8-CC58FA7134A8", + "type" : 4 + }, + { + "id" : "23B53104-5389-4543-AF03-FD268FED6B7D", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "23B53104-5389-4543-AF03-FD268FED6B7D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:41 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "23B53104-5389-4543-AF03-FD268FED6B7D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo0MS42NjA1MjVaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "23B53104-5389-4543-AF03-FD268FED6B7D", + "type" : 4 + }, + { + "id" : "6EBC80F7-4DE6-4EE2-AEA2-B98F72747656", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "6EBC80F7-4DE6-4EE2-AEA2-B98F72747656", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:42 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "6EBC80F7-4DE6-4EE2-AEA2-B98F72747656", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjQyLjkxMDc1N1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "6EBC80F7-4DE6-4EE2-AEA2-B98F72747656", + "type" : 4 + }, + { + "id" : "CB71C6EE-5216-4120-876C-4BECBDF270F3", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "CB71C6EE-5216-4120-876C-4BECBDF270F3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:43 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "CB71C6EE-5216-4120-876C-4BECBDF270F3", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjQzLjEzMjA3NVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "CB71C6EE-5216-4120-876C-4BECBDF270F3", + "type" : 4 + }, + { + "id" : "BD47C9D1-472A-49F1-B9CE-8E32297D9EFF", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "107", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "BD47C9D1-472A-49F1-B9CE-8E32297D9EFF", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:43 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "BD47C9D1-472A-49F1-B9CE-8E32297D9EFF", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo0My4zNTI2NjlaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" + }, + "type" : 2 + }, + { + "id" : "BD47C9D1-472A-49F1-B9CE-8E32297D9EFF", + "type" : 4 + }, + { + "id" : "1A689BF5-A1D8-44D3-9616-5C07CAC92CFB", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "98", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "1A689BF5-A1D8-44D3-9616-5C07CAC92CFB", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:43 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "1A689BF5-A1D8-44D3-9616-5C07CAC92CFB", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo0My41NzE1OTVaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "1A689BF5-A1D8-44D3-9616-5C07CAC92CFB", + "type" : 4 + }, + { + "id" : "7E87E48E-BB30-4287-B75A-7F690A31C74E", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "107", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7E87E48E-BB30-4287-B75A-7F690A31C74E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:43 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "7E87E48E-BB30-4287-B75A-7F690A31C74E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo0My43OTIxNVoiLCJlVGFnIjoiQWNXb3ZjMmMxNVQ5MFFFIn19" + }, + "type" : 2 + }, + { + "id" : "7E87E48E-BB30-4287-B75A-7F690A31C74E", + "type" : 4 + }, + { + "id" : "D9D86CC9-DAC9-425F-B39E-B924E5461689", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "281", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiR2xlbi11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiTmljb2xhcy11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D9D86CC9-DAC9-425F-B39E-B924E5461689", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:45 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "D9D86CC9-DAC9-425F-B39E-B924E5461689", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6NDMuNzkyMTVaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjQ1LjExMDE0OFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo0My4xMzIwNzVaIiwiZVRhZyI6IkFaRytqYy9oL3FtSFdRIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6NDUuMDgzMzE3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6NDMuMzUyNjY5WiIsImVUYWciOiJBYW10cWJqRHFidThjQSJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjQ1LjA1Mjg2NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjQzLjU3MTU5NVoiLCJlVGFnIjoiQWZLRDJ2Zk0yNlc1L1FFIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6NDUuMDk3NzE0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjQyLjkxMDc1N1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo0NS4wNjg2MjlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTlEifQ==" + }, + "type" : 2 + }, + { + "id" : "D9D86CC9-DAC9-425F-B39E-B924E5461689", + "type" : 4 + }, + { + "id" : "68F0C7DF-D977-46CF-95F4-56C205847256", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "67", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?sort=uuid.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "68F0C7DF-D977-46CF-95F4-56C205847256", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?sort=uuid.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:46 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "68F0C7DF-D977-46CF-95F4-56C205847256", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo0My43OTIxNVoiLCJlVGFnIjoiQWNXb3ZjMmMxNVQ5MFFFIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjQ1LjExMDE0OFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEiLCJ1dWlkLWN1c3RvbTIiOiJLaW0tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo0My4xMzIwNzVaIiwiZVRhZyI6IkFaRytqYy9oL3FtSFdRIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjQ1LjA4MzMxN1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEiLCJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6NDMuNTcxNTk1WiIsImVUYWciOiJBZktEMnZmTTI2VzUvUUUifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDY6NDUuMDk3NzE0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo0My4zNTI2NjlaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjQ1LjA1Mjg2NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjQsIm5leHQiOiJOQSJ9" + }, + "type" : 2 + }, + { + "id" : "68F0C7DF-D977-46CF-95F4-56C205847256", + "type" : 4 + }, + { + "id" : "F2B59920-91BD-4831-993D-3ADA4A2C9AA6", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "229", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJOaWNvbGFzLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "F2B59920-91BD-4831-993D-3ADA4A2C9AA6", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:47 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "F2B59920-91BD-4831-993D-3ADA4A2C9AA6", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "F2B59920-91BD-4831-993D-3ADA4A2C9AA6", + "type" : 4 + }, + { + "id" : "949E5909-61B3-463A-9DCC-880EEE5983DB", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "949E5909-61B3-463A-9DCC-880EEE5983DB", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:47 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "949E5909-61B3-463A-9DCC-880EEE5983DB", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "949E5909-61B3-463A-9DCC-880EEE5983DB", + "type" : 4 + }, + { + "id" : "CA50309B-FBB8-43E8-B239-E74F995BF22A", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "CA50309B-FBB8-43E8-B239-E74F995BF22A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:48 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "CA50309B-FBB8-43E8-B239-E74F995BF22A", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "CA50309B-FBB8-43E8-B239-E74F995BF22A", + "type" : 4 + }, + { + "id" : "90363B8E-F60E-4DC5-A68E-2CFA3DF7810D", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "90363B8E-F60E-4DC5-A68E-2CFA3DF7810D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:48 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "90363B8E-F60E-4DC5-A68E-2CFA3DF7810D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "90363B8E-F60E-4DC5-A68E-2CFA3DF7810D", + "type" : 4 + }, + { + "id" : "A4F623D5-DBA6-46F8-8E38-A60361B718F0", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "A4F623D5-DBA6-46F8-8E38-A60361B718F0", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:48 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "A4F623D5-DBA6-46F8-8E38-A60361B718F0", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "A4F623D5-DBA6-46F8-8E38-A60361B718F0", + "type" : 4 + }, + { + "id" : "40B7D520-C8A2-43EF-8319-AADEDB2B4A6A", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "40B7D520-C8A2-43EF-8319-AADEDB2B4A6A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:48 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "40B7D520-C8A2-43EF-8319-AADEDB2B4A6A", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "40B7D520-C8A2-43EF-8319-AADEDB2B4A6A", + "type" : 4 + }, + { + "id" : "D876E0C0-48E6-434C-A27C-159A6587EC75", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D876E0C0-48E6-434C-A27C-159A6587EC75", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:50 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "D876E0C0-48E6-434C-A27C-159A6587EC75", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "D876E0C0-48E6-434C-A27C-159A6587EC75", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndTriggerDeleteEventOnChannel.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndTriggerDeleteEventOnChannel.json new file mode 100644 index 000000000..9d2876702 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndTriggerDeleteEventOnChannel.json @@ -0,0 +1,782 @@ +[ + { + "id" : "2C569477-99DE-49D2-8CAE-05DCAFF7E19A", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "2C569477-99DE-49D2-8CAE-05DCAFF7E19A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:52 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "2C569477-99DE-49D2-8CAE-05DCAFF7E19A", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "2C569477-99DE-49D2-8CAE-05DCAFF7E19A", + "type" : 4 + }, + { + "id" : "AD1E0E48-8112-4D5E-AE84-309A6CD4E267", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "AD1E0E48-8112-4D5E-AE84-309A6CD4E267", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:52 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "AD1E0E48-8112-4D5E-AE84-309A6CD4E267", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "AD1E0E48-8112-4D5E-AE84-309A6CD4E267", + "type" : 4 + }, + { + "id" : "7623C572-C5B2-4017-8262-1C6FD900921B", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7623C572-C5B2-4017-8262-1C6FD900921B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:52 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "7623C572-C5B2-4017-8262-1C6FD900921B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo1Mi45MDM4NDdaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "7623C572-C5B2-4017-8262-1C6FD900921B", + "type" : 4 + }, + { + "id" : "8B63B79D-6D32-4380-8A96-B4763C5DA00D", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8B63B79D-6D32-4380-8A96-B4763C5DA00D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:54 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "8B63B79D-6D32-4380-8A96-B4763C5DA00D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjU0LjE1MjM5OVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "8B63B79D-6D32-4380-8A96-B4763C5DA00D", + "type" : 4 + }, + { + "id" : "EFA4FC8C-B241-4750-B37F-9BACD7A9F89D", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "EFA4FC8C-B241-4750-B37F-9BACD7A9F89D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:54 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "EFA4FC8C-B241-4750-B37F-9BACD7A9F89D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjU0LjM4MDE2M1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "EFA4FC8C-B241-4750-B37F-9BACD7A9F89D", + "type" : 4 + }, + { + "id" : "0118BB88-4978-42D3-88DD-0ED4812C9A33", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "0118BB88-4978-42D3-88DD-0ED4812C9A33", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:46:55 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "0118BB88-4978-42D3-88DD-0ED4812C9A33", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Njo1NS42MzIwNjdaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ2OjU1LjYzNzIyM1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "0118BB88-4978-42D3-88DD-0ED4812C9A33", + "type" : 4 + }, + { + "id" : "416E073C-6472-4E6B-8F3E-C09455279F8A", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "416E073C-6472-4E6B-8F3E-C09455279F8A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:46:57 GMT", + "Content-Length" : "45", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "416E073C-6472-4E6B-8F3E-C09455279F8A", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMDE1NjQwNjIzMCIsInIiOjU2fSwibSI6W119" + }, + "type" : 2 + }, + { + "id" : "416E073C-6472-4E6B-8F3E-C09455279F8A", + "type" : 4 + }, + { + "id" : "01906A69-3C20-4C8F-84D5-571D10ABBCD3", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100156406230&tr=56" + }, + "type" : 0 + }, + { + "id" : "0AC8231E-BC54-42FF-92D3-949CC409A7B6", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "119", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "01906A69-3C20-4C8F-84D5-571D10ABBCD3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100156406230&tr=56", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:46:57 GMT", + "Content-Length" : "399", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "0AC8231E-BC54-42FF-92D3-949CC409A7B6", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:57 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "01906A69-3C20-4C8F-84D5-571D10ABBCD3", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMDE3MzE0MTUwMiIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMDE3MzE1NTA2NiIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJkZWxldGUiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" + }, + "type" : 2 + }, + { + "id" : "0AC8231E-BC54-42FF-92D3-949CC409A7B6", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "0AC8231E-BC54-42FF-92D3-949CC409A7B6", + "type" : 4 + }, + { + "id" : "01906A69-3C20-4C8F-84D5-571D10ABBCD3", + "type" : 4 + }, + { + "id" : "FD28DA1B-69AC-42E6-98C9-369CB4706E0A", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100173141502&tr=56" + }, + "type" : 0 + }, + { + "id" : "FD28DA1B-69AC-42E6-98C9-369CB4706E0A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100173141502&tr=56", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:46:57 GMT", + "Content-Length" : "396", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "FD28DA1B-69AC-42E6-98C9-369CB4706E0A", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMDE3MzE2ODUzMSIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMDE3MzE4MTc3MyIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJkZWxldGUiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sInV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" + }, + "type" : 2 + }, + { + "id" : "FD28DA1B-69AC-42E6-98C9-369CB4706E0A", + "type" : 4 + }, + { + "id" : "128023D7-7077-4E79-B04E-B01C740E4A74", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100173168531&tr=56" + }, + "type" : 0 + }, + { + "id" : "128023D7-7077-4E79-B04E-B01C740E4A74", + "data" : { + "code" : -999, + "info" : { + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100173168531&tr=56", + "NSLocalizedDescription" : "cancelled", + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100173168531&tr=56" + }, + "cls" : "NSError", + "domain" : "NSURLErrorDomain" + }, + "type" : 3 + }, + { + "id" : "F700CA2F-D3C5-481B-B623-89E711A10640", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "F700CA2F-D3C5-481B-B623-89E711A10640", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Server" : "Pubnub Presence", + "Access-Control-Allow-Origin" : "*", + "Age" : "0", + "Date" : "Sun, 24 May 2020 08:46:58 GMT", + "Accept-Ranges" : "bytes", + "Content-Length" : "74", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "F700CA2F-D3C5-481B-B623-89E711A10640", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" + }, + "type" : 2 + }, + { + "id" : "F700CA2F-D3C5-481B-B623-89E711A10640", + "type" : 4 + }, + { + "id" : "2399E8FC-F73C-48C5-85CE-8264853FE57E", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "2399E8FC-F73C-48C5-85CE-8264853FE57E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:58 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "2399E8FC-F73C-48C5-85CE-8264853FE57E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "2399E8FC-F73C-48C5-85CE-8264853FE57E", + "type" : 4 + }, + { + "id" : "5FD4E16E-1904-4EBE-8B31-C05D774DF3C6", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5FD4E16E-1904-4EBE-8B31-C05D774DF3C6", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:46:58 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "5FD4E16E-1904-4EBE-8B31-C05D774DF3C6", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "5FD4E16E-1904-4EBE-8B31-C05D774DF3C6", + "type" : 4 + }, + { + "id" : "AFF4B985-A951-4299-A2DF-7435851EF6F4", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "AFF4B985-A951-4299-A2DF-7435851EF6F4", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:00 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "AFF4B985-A951-4299-A2DF-7435851EF6F4", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "AFF4B985-A951-4299-A2DF-7435851EF6F4", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndTriggerDeleteEventOnUserChannel.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndTriggerDeleteEventOnUUIDChannel.json similarity index 55% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndTriggerDeleteEventOnUserChannel.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndTriggerDeleteEventOnUUIDChannel.json index b2841fcec..4842c0993 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndTriggerDeleteEventOnUserChannel.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersAndTriggerDeleteEventOnUUIDChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "A6B6142A-1C44-45B5-BACC-1FFC044AD03B", + "id" : "BEE79665-2C9B-45BB-AB66-54A022CE3E98", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A6B6142A-1C44-45B5-BACC-1FFC044AD03B", + "id" : "BEE79665-2C9B-45BB-AB66-54A022CE3E98", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:25 GMT", + "Date" : "Sun, 24 May 2020 08:47:02 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "A6B6142A-1C44-45B5-BACC-1FFC044AD03B", + "id" : "BEE79665-2C9B-45BB-AB66-54A022CE3E98", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "A6B6142A-1C44-45B5-BACC-1FFC044AD03B", + "id" : "BEE79665-2C9B-45BB-AB66-54A022CE3E98", "type" : 4 }, { - "id" : "197CF2AC-4EC2-4321-BE3B-EDE49E5D086A", + "id" : "75BDF4DB-C5A8-4677-8214-08CDB306D17F", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "197CF2AC-4EC2-4321-BE3B-EDE49E5D086A", + "id" : "75BDF4DB-C5A8-4677-8214-08CDB306D17F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:26 GMT", + "Date" : "Sun, 24 May 2020 08:47:02 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "197CF2AC-4EC2-4321-BE3B-EDE49E5D086A", + "id" : "75BDF4DB-C5A8-4677-8214-08CDB306D17F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "197CF2AC-4EC2-4321-BE3B-EDE49E5D086A", + "id" : "75BDF4DB-C5A8-4677-8214-08CDB306D17F", "type" : 4 }, { - "id" : "F4039E4F-F90B-4BC5-ADD9-1D23CC7FEB27", + "id" : "18FA3FA1-1707-4FBD-A08F-ECBFE6A172EB", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F4039E4F-F90B-4BC5-ADD9-1D23CC7FEB27", + "id" : "18FA3FA1-1707-4FBD-A08F-ECBFE6A172EB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:26 GMT", + "Date" : "Sun, 24 May 2020 08:47:02 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "F4039E4F-F90B-4BC5-ADD9-1D23CC7FEB27", + "id" : "18FA3FA1-1707-4FBD-A08F-ECBFE6A172EB", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODoyNi40NjQxMzlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6MjYuNDY0MTM5WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzowMi44MDg5NzFaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "F4039E4F-F90B-4BC5-ADD9-1D23CC7FEB27", + "id" : "18FA3FA1-1707-4FBD-A08F-ECBFE6A172EB", "type" : 4 }, { - "id" : "BCB6F446-57BD-4A9F-A8EA-B1E7FADECE37", + "id" : "95BF7CFF-F777-4BB1-9C69-BE68BDB760A3", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BCB6F446-57BD-4A9F-A8EA-B1E7FADECE37", + "id" : "95BF7CFF-F777-4BB1-9C69-BE68BDB760A3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:28 GMT", + "Date" : "Sun, 24 May 2020 08:47:04 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "BCB6F446-57BD-4A9F-A8EA-B1E7FADECE37", + "id" : "95BF7CFF-F777-4BB1-9C69-BE68BDB760A3", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjI4LjE3MTk3NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODoyOC4xNzE5NzVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjA0LjA0NzA5OVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "BCB6F446-57BD-4A9F-A8EA-B1E7FADECE37", + "id" : "95BF7CFF-F777-4BB1-9C69-BE68BDB760A3", "type" : 4 }, { - "id" : "449389CB-FD2D-46D5-A6CB-E41B1374C524", + "id" : "BB9F4704-0857-4712-9A36-8586F1AF45A5", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "449389CB-FD2D-46D5-A6CB-E41B1374C524", + "id" : "BB9F4704-0857-4712-9A36-8586F1AF45A5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:29 GMT", + "Date" : "Sun, 24 May 2020 08:47:04 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "449389CB-FD2D-46D5-A6CB-E41B1374C524", + "id" : "BB9F4704-0857-4712-9A36-8586F1AF45A5", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjI4Ljc4NTg4MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODoyOC43ODU4ODFaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjA0LjI3MDA5MVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "449389CB-FD2D-46D5-A6CB-E41B1374C524", + "id" : "BB9F4704-0857-4712-9A36-8586F1AF45A5", "type" : 4 }, { - "id" : "C49693B9-7E61-41A2-A275-5E5F5ADA2151", + "id" : "472DED11-EF02-4B21-91B0-9B890ABEB111", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C49693B9-7E61-41A2-A275-5E5F5ADA2151", + "id" : "472DED11-EF02-4B21-91B0-9B890ABEB111", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:32 GMT", + "Date" : "Sun, 24 May 2020 08:47:05 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "C49693B9-7E61-41A2-A275-5E5F5ADA2151", + "id" : "472DED11-EF02-4B21-91B0-9B890ABEB111", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODozMC44MjA4NzJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6MzAuODIwODcyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODozMS41MTkwMjVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6MzEuNTE5MDI1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzowNS41Mjk5NzVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjA1LjU0MTMxOVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "C49693B9-7E61-41A2-A275-5E5F5ADA2151", + "id" : "472DED11-EF02-4B21-91B0-9B890ABEB111", "type" : 4 }, { - "id" : "9C5582AA-E9B4-4177-9316-82D7409E0897", + "id" : "02956038-B24D-4558-961C-110A4FDBD051", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +341,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9C5582AA-E9B4-4177-9316-82D7409E0897", + "id" : "02956038-B24D-4558-961C-110A4FDBD051", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:38:33 GMT", + "Date" : "Sun, 24 May 2020 08:47:07 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +371,19 @@ "type" : 1 }, { - "id" : "9C5582AA-E9B4-4177-9316-82D7409E0897", + "id" : "02956038-B24D-4558-961C-110A4FDBD051", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NTExNDQ1MjgyNSIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMDI1NTMzNTk2NyIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "9C5582AA-E9B4-4177-9316-82D7409E0897", + "id" : "02956038-B24D-4558-961C-110A4FDBD051", "type" : 4 }, { - "id" : "2BA5A6B4-BE28-453B-9C1C-1E7D36C3B8D3", + "id" : "DE082D9F-BBF0-433E-A7E5-4138D55974E0", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,19 +392,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810395114452825&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100255335967&tr=56" }, "type" : 0 }, { - "id" : "5A66E324-5601-4EEF-A1EC-4C8EA611DEBD", + "id" : "30659BA0-35CE-47CA-B1BD-F5E3E3DF3579", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -414,34 +414,51 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "101", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2BA5A6B4-BE28-453B-9C1C-1E7D36C3B8D3", + "id" : "30659BA0-35CE-47CA-B1BD-F5E3E3DF3579", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:07 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "DE082D9F-BBF0-433E-A7E5-4138D55974E0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810395114452825&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100255335967&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:38:34 GMT", - "Content-Length" : "381", + "Date" : "Sun, 24 May 2020 08:47:07 GMT", + "Content-Length" : "395", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -449,19 +466,31 @@ "type" : 1 }, { - "id" : "2BA5A6B4-BE28-453B-9C1C-1E7D36C3B8D3", + "id" : "30659BA0-35CE-47CA-B1BD-F5E3E3DF3579", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NTE0NTY5MDM5NyIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5NTE0NTY4MzIwOSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJzcGFjZUlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwidXNlcklkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" }, "type" : 2 }, { - "id" : "2BA5A6B4-BE28-453B-9C1C-1E7D36C3B8D3", + "id" : "30659BA0-35CE-47CA-B1BD-F5E3E3DF3579", "type" : 4 }, { - "id" : "7A9B66B5-7BCD-44EA-89E1-F1A302659181", + "id" : "DE082D9F-BBF0-433E-A7E5-4138D55974E0", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMDI3MzE0MjAyMiIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMDI3MzE1NTE2MyIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX19fV19" + }, + "type" : 2 + }, + { + "id" : "DE082D9F-BBF0-433E-A7E5-4138D55974E0", + "type" : 4 + }, + { + "id" : "7E9923B3-641D-40F4-A6FA-2D52904405CB", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -470,25 +499,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810395145690397&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100273142022&tr=56" }, "type" : 0 }, { - "id" : "7A9B66B5-7BCD-44EA-89E1-F1A302659181", + "id" : "7E9923B3-641D-40F4-A6FA-2D52904405CB", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810395145690397&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100273142022&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810395145690397&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100273142022&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -496,7 +525,7 @@ "type" : 3 }, { - "id" : "072A78F5-BC42-495D-B338-1AF2B10708AD", + "id" : "21B26CC0-17AD-4F8B-871C-CBB5F58EF223", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -505,59 +534,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5A66E324-5601-4EEF-A1EC-4C8EA611DEBD", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:34 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "5A66E324-5601-4EEF-A1EC-4C8EA611DEBD", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "5A66E324-5601-4EEF-A1EC-4C8EA611DEBD", - "type" : 4 - }, - { - "id" : "072A78F5-BC42-495D-B338-1AF2B10708AD", + "id" : "21B26CC0-17AD-4F8B-871C-CBB5F58EF223", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 01:38:34 GMT", + "Date" : "Sun, 24 May 2020 08:47:07 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -567,7 +567,7 @@ "type" : 1 }, { - "id" : "072A78F5-BC42-495D-B338-1AF2B10708AD", + "id" : "21B26CC0-17AD-4F8B-871C-CBB5F58EF223", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -575,11 +575,11 @@ "type" : 2 }, { - "id" : "072A78F5-BC42-495D-B338-1AF2B10708AD", + "id" : "21B26CC0-17AD-4F8B-871C-CBB5F58EF223", "type" : 4 }, { - "id" : "23574BBD-87EA-4108-877E-8D8E4F3D9579", + "id" : "02CB2171-5414-452E-AC40-43C0A158B797", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -588,26 +588,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "23574BBD-87EA-4108-877E-8D8E4F3D9579", + "id" : "02CB2171-5414-452E-AC40-43C0A158B797", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:35 GMT", + "Date" : "Sun, 24 May 2020 08:47:08 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -617,7 +617,7 @@ "type" : 1 }, { - "id" : "23574BBD-87EA-4108-877E-8D8E4F3D9579", + "id" : "02CB2171-5414-452E-AC40-43C0A158B797", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -625,11 +625,11 @@ "type" : 2 }, { - "id" : "23574BBD-87EA-4108-877E-8D8E4F3D9579", + "id" : "02CB2171-5414-452E-AC40-43C0A158B797", "type" : 4 }, { - "id" : "74D368BA-8218-46F9-9CD4-D81775FF4031", + "id" : "00A3D4B2-3C8A-4A48-B87D-D37304858DEC", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -638,26 +638,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "74D368BA-8218-46F9-9CD4-D81775FF4031", + "id" : "00A3D4B2-3C8A-4A48-B87D-D37304858DEC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:36 GMT", + "Date" : "Sun, 24 May 2020 08:47:08 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -667,7 +667,7 @@ "type" : 1 }, { - "id" : "74D368BA-8218-46F9-9CD4-D81775FF4031", + "id" : "00A3D4B2-3C8A-4A48-B87D-D37304858DEC", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -675,11 +675,11 @@ "type" : 2 }, { - "id" : "74D368BA-8218-46F9-9CD4-D81775FF4031", + "id" : "00A3D4B2-3C8A-4A48-B87D-D37304858DEC", "type" : 4 }, { - "id" : "E4F69DBC-AFDA-4965-8B30-ABD588EF690B", + "id" : "52DA1799-55EF-4933-9AA6-CCE155A070BB", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -688,26 +688,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E4F69DBC-AFDA-4965-8B30-ABD588EF690B", + "id" : "52DA1799-55EF-4933-9AA6-CCE155A070BB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:38 GMT", + "Date" : "Sun, 24 May 2020 08:47:09 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -717,7 +717,7 @@ "type" : 1 }, { - "id" : "E4F69DBC-AFDA-4965-8B30-ABD588EF690B", + "id" : "52DA1799-55EF-4933-9AA6-CCE155A070BB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -725,7 +725,7 @@ "type" : 2 }, { - "id" : "E4F69DBC-AFDA-4965-8B30-ABD588EF690B", + "id" : "52DA1799-55EF-4933-9AA6-CCE155A070BB", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json new file mode 100644 index 000000000..350d92553 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json @@ -0,0 +1,652 @@ +[ + { + "id" : "971433C9-6D2D-4F55-A897-B8AB2B5D4CF6", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "971433C9-6D2D-4F55-A897-B8AB2B5D4CF6", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:31:17 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "971433C9-6D2D-4F55-A897-B8AB2B5D4CF6", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "971433C9-6D2D-4F55-A897-B8AB2B5D4CF6", + "type" : 4 + }, + { + "id" : "FBC7E429-B2EC-4643-8EE9-4214DB5A783C", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "FBC7E429-B2EC-4643-8EE9-4214DB5A783C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:31:18 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "FBC7E429-B2EC-4643-8EE9-4214DB5A783C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "FBC7E429-B2EC-4643-8EE9-4214DB5A783C", + "type" : 4 + }, + { + "id" : "F58666D6-058F-4BEA-BF60-C0391A0C31B4", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "F58666D6-058F-4BEA-BF60-C0391A0C31B4", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:31:18 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "F58666D6-058F-4BEA-BF60-C0391A0C31B4", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMToxOC40MTczOThaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "F58666D6-058F-4BEA-BF60-C0391A0C31B4", + "type" : 4 + }, + { + "id" : "5CA000B3-8191-4E8D-AAF5-6CA741D67666", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5CA000B3-8191-4E8D-AAF5-6CA741D67666", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:31:19 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "5CA000B3-8191-4E8D-AAF5-6CA741D67666", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMxOjE5Ljc0NDk4WiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "5CA000B3-8191-4E8D-AAF5-6CA741D67666", + "type" : 4 + }, + { + "id" : "E8F45B8D-6313-4CBD-BF85-5472D67A6036", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "E8F45B8D-6313-4CBD-BF85-5472D67A6036", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:31:19 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "E8F45B8D-6313-4CBD-BF85-5472D67A6036", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMxOjE5Ljk2NjM1M1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "E8F45B8D-6313-4CBD-BF85-5472D67A6036", + "type" : 4 + }, + { + "id" : "5AB03EBD-D48E-4869-BA01-8023D024A14E", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5AB03EBD-D48E-4869-BA01-8023D024A14E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:31:21 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "5AB03EBD-D48E-4869-BA01-8023D024A14E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMToyMS4yODI1MThaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjMxOjIxLjI3NzE3NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "5AB03EBD-D48E-4869-BA01-8023D024A14E", + "type" : 4 + }, + { + "id" : "9E653280-F9E0-4381-B43A-5DC4B09D9969", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "67", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "9E653280-F9E0-4381-B43A-5DC4B09D9969", + "data" : { + "status" : 404, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:31:22 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "165", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "9E653280-F9E0-4381-B43A-5DC4B09D9969", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMToyMS4yODI1MThaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTVEifQ==" + }, + "type" : 2 + }, + { + "id" : "9E653280-F9E0-4381-B43A-5DC4B09D9969", + "type" : 4 + }, + { + "id" : "9E653280-F9E0-4381-B43A-5DC4B09D9919", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "67", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "9E653280-F9E0-4381-B43A-5DC4B09D9919", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:31:22 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "165", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "9E653280-F9E0-4381-B43A-5DC4B09D9919", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozMToyMS4yODI1MThaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTVEifQ==" + }, + "type" : 2 + }, + { + "id" : "9E653280-F9E0-4381-B43A-5DC4B09D9919", + "type" : 4 + }, + { + "id" : "DC935117-5FCA-4DA3-A3DB-EE5B7A92A51D", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "64", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "DC935117-5FCA-4DA3-A3DB-EE5B7A92A51D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:31:23 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "DC935117-5FCA-4DA3-A3DB-EE5B7A92A51D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "DC935117-5FCA-4DA3-A3DB-EE5B7A92A51D", + "type" : 4 + }, + { + "id" : "F37FACA7-A089-4FBE-8F40-41A4FFEEAEF2", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "F37FACA7-A089-4FBE-8F40-41A4FFEEAEF2", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:31:24 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "F37FACA7-A089-4FBE-8F40-41A4FFEEAEF2", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "F37FACA7-A089-4FBE-8F40-41A4FFEEAEF2", + "type" : 4 + }, + { + "id" : "540944A0-38C3-4783-B168-131FCDC18CF0", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "540944A0-38C3-4783-B168-131FCDC18CF0", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:31:24 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "540944A0-38C3-4783-B168-131FCDC18CF0", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "540944A0-38C3-4783-B168-131FCDC18CF0", + "type" : 4 + }, + { + "id" : "0050A15C-431C-4EF7-8D45-5BBD519D502D", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "0050A15C-431C-4EF7-8D45-5BBD519D502D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:31:25 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "0050A15C-431C-4EF7-8D45-5BBD519D502D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "0050A15C-431C-4EF7-8D45-5BBD519D502D", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnFilteredMembersInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnFilteredMembersInformationWhenFilterIsSet.json new file mode 100644 index 000000000..12e66e252 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnFilteredMembersInformationWhenFilterIsSet.json @@ -0,0 +1,598 @@ +[ + { + "id" : "B65EB987-88E0-48A4-B8E5-26AC8A366B29", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "B65EB987-88E0-48A4-B8E5-26AC8A366B29", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:11 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "B65EB987-88E0-48A4-B8E5-26AC8A366B29", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "B65EB987-88E0-48A4-B8E5-26AC8A366B29", + "type" : 4 + }, + { + "id" : "8A55B818-1CB6-4D79-9793-4EFB32218E7D", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8A55B818-1CB6-4D79-9793-4EFB32218E7D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:11 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "8A55B818-1CB6-4D79-9793-4EFB32218E7D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "8A55B818-1CB6-4D79-9793-4EFB32218E7D", + "type" : 4 + }, + { + "id" : "97518DBE-672A-4280-A11D-A83A8C0DA2E5", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "97518DBE-672A-4280-A11D-A83A8C0DA2E5", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:12 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "97518DBE-672A-4280-A11D-A83A8C0DA2E5", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzoxMi4xMTQ4MzRaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "97518DBE-672A-4280-A11D-A83A8C0DA2E5", + "type" : 4 + }, + { + "id" : "C11E4943-5281-4BBE-8948-F427D09F5568", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "C11E4943-5281-4BBE-8948-F427D09F5568", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:13 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "C11E4943-5281-4BBE-8948-F427D09F5568", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjEzLjM2OTU5OFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "C11E4943-5281-4BBE-8948-F427D09F5568", + "type" : 4 + }, + { + "id" : "AD936B58-5F83-4795-BEDA-42792763E272", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "AD936B58-5F83-4795-BEDA-42792763E272", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:13 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "AD936B58-5F83-4795-BEDA-42792763E272", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjEzLjYwNTU5NVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "AD936B58-5F83-4795-BEDA-42792763E272", + "type" : 4 + }, + { + "id" : "00271803-210A-43C6-9B64-61196B3476A3", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "00271803-210A-43C6-9B64-61196B3476A3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:14 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "00271803-210A-43C6-9B64-61196B3476A3", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzoxNC44NTAxNTNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjE0Ljg0NDU2M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "00271803-210A-43C6-9B64-61196B3476A3", + "type" : 4 + }, + { + "id" : "C299D8D6-9323-4C83-AC66-22E8701AA431", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "67", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "C299D8D6-9323-4C83-AC66-22E8701AA431", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:16 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "C299D8D6-9323-4C83-AC66-22E8701AA431", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjEzLjYwNTU5NVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDc6MTQuODUwMTUzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6MSwibmV4dCI6Ik1RIn0=" + }, + "type" : 2 + }, + { + "id" : "C299D8D6-9323-4C83-AC66-22E8701AA431", + "type" : 4 + }, + { + "id" : "2CF1845C-E9B2-4CFD-8237-7D4535A4172E", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "64", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "2CF1845C-E9B2-4CFD-8237-7D4535A4172E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:17 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "2CF1845C-E9B2-4CFD-8237-7D4535A4172E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "2CF1845C-E9B2-4CFD-8237-7D4535A4172E", + "type" : 4 + }, + { + "id" : "AC02FD94-FEBE-4991-9548-2305ABBD0F57", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "AC02FD94-FEBE-4991-9548-2305ABBD0F57", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:17 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "AC02FD94-FEBE-4991-9548-2305ABBD0F57", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "AC02FD94-FEBE-4991-9548-2305ABBD0F57", + "type" : 4 + }, + { + "id" : "E865F472-D984-4098-9DC8-98FDCE1A89BB", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "E865F472-D984-4098-9DC8-98FDCE1A89BB", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:18 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "E865F472-D984-4098-9DC8-98FDCE1A89BB", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "E865F472-D984-4098-9DC8-98FDCE1A89BB", + "type" : 4 + }, + { + "id" : "8DB542E9-725D-4128-94C5-142FCD889374", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8DB542E9-725D-4128-94C5-142FCD889374", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:19 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "8DB542E9-725D-4128-94C5-142FCD889374", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "8DB542E9-725D-4128-94C5-142FCD889374", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnMemberInformationWhenIncludeFlagIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnMemberInformationWhenIncludeFlagIsSet.json new file mode 100644 index 000000000..91a8fc533 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnMemberInformationWhenIncludeFlagIsSet.json @@ -0,0 +1,598 @@ +[ + { + "id" : "B5DC5355-2322-4D8B-925A-02C9B20BF376", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "B5DC5355-2322-4D8B-925A-02C9B20BF376", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:21 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "B5DC5355-2322-4D8B-925A-02C9B20BF376", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "B5DC5355-2322-4D8B-925A-02C9B20BF376", + "type" : 4 + }, + { + "id" : "D910CADE-61AF-4D34-B567-24A9D82FD837", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D910CADE-61AF-4D34-B567-24A9D82FD837", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:21 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "D910CADE-61AF-4D34-B567-24A9D82FD837", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "D910CADE-61AF-4D34-B567-24A9D82FD837", + "type" : 4 + }, + { + "id" : "CA1058CC-89FF-4C4D-814A-9B929F696A52", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "CA1058CC-89FF-4C4D-814A-9B929F696A52", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:21 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "CA1058CC-89FF-4C4D-814A-9B929F696A52", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzoyMS42ODgyNDNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "CA1058CC-89FF-4C4D-814A-9B929F696A52", + "type" : 4 + }, + { + "id" : "A530DEB3-4653-415B-9F83-2460284EB47A", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "A530DEB3-4653-415B-9F83-2460284EB47A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:22 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "A530DEB3-4653-415B-9F83-2460284EB47A", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjIyLjkyODQ5NloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "A530DEB3-4653-415B-9F83-2460284EB47A", + "type" : 4 + }, + { + "id" : "C5662D02-5B02-4E37-A788-20362DDC0861", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "C5662D02-5B02-4E37-A788-20362DDC0861", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:23 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "C5662D02-5B02-4E37-A788-20362DDC0861", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjIzLjE1MjM3N1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "C5662D02-5B02-4E37-A788-20362DDC0861", + "type" : 4 + }, + { + "id" : "477D0078-260B-41C4-B85A-C21DA26DD228", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "477D0078-260B-41C4-B85A-C21DA26DD228", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:24 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "477D0078-260B-41C4-B85A-C21DA26DD228", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzoyNC4zOTgxNDJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjI0LjM5Mjk3OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "477D0078-260B-41C4-B85A-C21DA26DD228", + "type" : 4 + }, + { + "id" : "ACD45F0D-B3A2-44E2-8266-8E0353CCBF28", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "67", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "ACD45F0D-B3A2-44E2-8266-8E0353CCBF28", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:25 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "ACD45F0D-B3A2-44E2-8266-8E0353CCBF28", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjIzLjE1MjM3N1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDc6MjQuMzk4MTQyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" + }, + "type" : 2 + }, + { + "id" : "ACD45F0D-B3A2-44E2-8266-8E0353CCBF28", + "type" : 4 + }, + { + "id" : "487A2650-AE23-4B50-AD22-9D1A427748F0", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "64", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "487A2650-AE23-4B50-AD22-9D1A427748F0", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:26 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "487A2650-AE23-4B50-AD22-9D1A427748F0", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "487A2650-AE23-4B50-AD22-9D1A427748F0", + "type" : 4 + }, + { + "id" : "DAF9C53E-B744-4222-845D-0BA21A33C540", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "DAF9C53E-B744-4222-845D-0BA21A33C540", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:27 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "DAF9C53E-B744-4222-845D-0BA21A33C540", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "DAF9C53E-B744-4222-845D-0BA21A33C540", + "type" : 4 + }, + { + "id" : "9F41F5AF-EA28-4A7A-95F5-5777BE42DCAC", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "9F41F5AF-EA28-4A7A-95F5-5777BE42DCAC", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:27 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "9F41F5AF-EA28-4A7A-95F5-5777BE42DCAC", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "9F41F5AF-EA28-4A7A-95F5-5777BE42DCAC", + "type" : 4 + }, + { + "id" : "2FDF25AF-C401-4890-A416-CCB9732EE7F3", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "2FDF25AF-C401-4890-A416-CCB9732EE7F3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:28 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "2FDF25AF-C401-4890-A416-CCB9732EE7F3", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "2FDF25AF-C401-4890-A416-CCB9732EE7F3", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnSortedMembersInformationWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnSortedMembersInformationWhenSortIsSet.json new file mode 100644 index 000000000..3159566c9 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndReturnSortedMembersInformationWhenSortIsSet.json @@ -0,0 +1,922 @@ +[ + { + "id" : "62A91EB8-D181-4A7C-8807-62E171D70A91", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "62A91EB8-D181-4A7C-8807-62E171D70A91", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:30 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "62A91EB8-D181-4A7C-8807-62E171D70A91", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "62A91EB8-D181-4A7C-8807-62E171D70A91", + "type" : 4 + }, + { + "id" : "CB9A92B1-B104-4DAE-AC51-2F1E112D6A5F", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "CB9A92B1-B104-4DAE-AC51-2F1E112D6A5F", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:30 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "CB9A92B1-B104-4DAE-AC51-2F1E112D6A5F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "CB9A92B1-B104-4DAE-AC51-2F1E112D6A5F", + "type" : 4 + }, + { + "id" : "8F410229-7600-415E-A47F-E48E64662DBC", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8F410229-7600-415E-A47F-E48E64662DBC", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:30 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "8F410229-7600-415E-A47F-E48E64662DBC", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozMC45NTg2MjdaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "8F410229-7600-415E-A47F-E48E64662DBC", + "type" : 4 + }, + { + "id" : "AE8E7C33-8A6D-4464-8FBB-726D99CC8E68", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "AE8E7C33-8A6D-4464-8FBB-726D99CC8E68", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:32 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "AE8E7C33-8A6D-4464-8FBB-726D99CC8E68", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjMyLjIxMDM4NVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "AE8E7C33-8A6D-4464-8FBB-726D99CC8E68", + "type" : 4 + }, + { + "id" : "2ECD7734-DB03-4A21-8015-DE51BAF6C0C1", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "2ECD7734-DB03-4A21-8015-DE51BAF6C0C1", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:32 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "2ECD7734-DB03-4A21-8015-DE51BAF6C0C1", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjMyLjQzNjA1MVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "2ECD7734-DB03-4A21-8015-DE51BAF6C0C1", + "type" : 4 + }, + { + "id" : "5451100A-CC32-4D92-8460-7517C383CC06", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "107", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5451100A-CC32-4D92-8460-7517C383CC06", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:32 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "5451100A-CC32-4D92-8460-7517C383CC06", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozMi42NjQzNjFaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" + }, + "type" : 2 + }, + { + "id" : "5451100A-CC32-4D92-8460-7517C383CC06", + "type" : 4 + }, + { + "id" : "444C3D55-994C-42D6-9806-3A780C8FCE4E", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "98", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "444C3D55-994C-42D6-9806-3A780C8FCE4E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:32 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "444C3D55-994C-42D6-9806-3A780C8FCE4E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozMi45NzcxNDVaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "444C3D55-994C-42D6-9806-3A780C8FCE4E", + "type" : 4 + }, + { + "id" : "EAEE335A-8ABD-41D7-AA79-6E1B435585D7", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "107", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "EAEE335A-8ABD-41D7-AA79-6E1B435585D7", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:33 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "EAEE335A-8ABD-41D7-AA79-6E1B435585D7", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozMy4yODU1MDNaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "EAEE335A-8ABD-41D7-AA79-6E1B435585D7", + "type" : 4 + }, + { + "id" : "0DF0F7CB-C165-4672-A0F1-68A45E9D1D75", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "281", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiR2xlbi11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiTmljb2xhcy11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "0DF0F7CB-C165-4672-A0F1-68A45E9D1D75", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:34 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "0DF0F7CB-C165-4672-A0F1-68A45E9D1D75", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDc6MzIuOTc3MTQ1WiIsImVUYWciOiJBZktEMnZmTTI2VzUvUUUifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozNC42MzYxNzNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozMi42NjQzNjFaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDc6MzQuNjE5Mzc0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjMyLjIxMDM4NVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozNC42MjUwMloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozMi40MzYwNTFaIiwiZVRhZyI6IkFaRytqYy9oL3FtSFdRIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDc6MzQuNjMwNTYyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDc6MzMuMjg1NTAzWiIsImVUYWciOiJBY1dvdmMyYzE1VDkwUUUifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozNC42NDE0MjZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTlEifQ==" + }, + "type" : 2 + }, + { + "id" : "0DF0F7CB-C165-4672-A0F1-68A45E9D1D75", + "type" : 4 + }, + { + "id" : "3D13522D-4F4B-4FC1-BE01-5CFF66F32DFC", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "67", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?sort=uuid.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "3D13522D-4F4B-4FC1-BE01-5CFF66F32DFC", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?sort=uuid.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:35 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "3D13522D-4F4B-4FC1-BE01-5CFF66F32DFC", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozMy4yODU1MDNaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozNC42NDE0MjZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJLaW0iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IktpbS1jdXN0b20tZGF0YS0xIiwidXVpZC1jdXN0b20yIjoiS2ltLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDc6MzIuNDM2MDUxWiIsImVUYWciOiJBWkcramMvaC9xbUhXUSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozNC42MzA1NjJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiR2xlbi11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiR2xlbiIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXVpZC1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIiwidXVpZC1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjMyLjk3NzE0NVoiLCJlVGFnIjoiQWZLRDJ2Zk0yNlc1L1FFIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjM0LjYzNjE3M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJFYXJsaW5lIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEiLCJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDc6MzIuNjY0MzYxWiIsImVUYWciOiJBYW10cWJqRHFidThjQSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0NzozNC42MTkzNzRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50Ijo0LCJuZXh0IjoiTkEifQ==" + }, + "type" : 2 + }, + { + "id" : "3D13522D-4F4B-4FC1-BE01-5CFF66F32DFC", + "type" : 4 + }, + { + "id" : "81B76F12-8B12-4376-AD92-DBDA34080A22", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "229", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "81B76F12-8B12-4376-AD92-DBDA34080A22", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:37 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "81B76F12-8B12-4376-AD92-DBDA34080A22", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "81B76F12-8B12-4376-AD92-DBDA34080A22", + "type" : 4 + }, + { + "id" : "F1B8DE38-5C04-4FF9-A1D0-6EE8273E47D9", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "F1B8DE38-5C04-4FF9-A1D0-6EE8273E47D9", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:37 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "F1B8DE38-5C04-4FF9-A1D0-6EE8273E47D9", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "F1B8DE38-5C04-4FF9-A1D0-6EE8273E47D9", + "type" : 4 + }, + { + "id" : "9D6CF8B1-330B-4AC1-B90E-83BCB96012C7", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "9D6CF8B1-330B-4AC1-B90E-83BCB96012C7", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:37 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "9D6CF8B1-330B-4AC1-B90E-83BCB96012C7", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "9D6CF8B1-330B-4AC1-B90E-83BCB96012C7", + "type" : 4 + }, + { + "id" : "33E1B062-EC41-4DB8-8F50-087DF84947F5", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "33E1B062-EC41-4DB8-8F50-087DF84947F5", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:38 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "33E1B062-EC41-4DB8-8F50-087DF84947F5", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "33E1B062-EC41-4DB8-8F50-087DF84947F5", + "type" : 4 + }, + { + "id" : "88B6875D-3058-44CD-918C-0C079A8BC7A6", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "88B6875D-3058-44CD-918C-0C079A8BC7A6", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:38 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "88B6875D-3058-44CD-918C-0C079A8BC7A6", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "88B6875D-3058-44CD-918C-0C079A8BC7A6", + "type" : 4 + }, + { + "id" : "A0428945-306E-41B3-8EAD-A608DE612F22", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "A0428945-306E-41B3-8EAD-A608DE612F22", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:38 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "A0428945-306E-41B3-8EAD-A608DE612F22", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "A0428945-306E-41B3-8EAD-A608DE612F22", + "type" : 4 + }, + { + "id" : "C990C54A-D245-46B5-873C-7F9120945F25", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "C990C54A-D245-46B5-873C-7F9120945F25", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:39 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "C990C54A-D245-46B5-873C-7F9120945F25", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "C990C54A-D245-46B5-873C-7F9120945F25", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndTriggerDeleteEventOnSpaceChannel.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndTriggerDeleteEventOnChannel.json similarity index 55% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndTriggerDeleteEventOnSpaceChannel.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndTriggerDeleteEventOnChannel.json index d9e1d3c06..5b64840af 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndTriggerDeleteEventOnSpaceChannel.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndTriggerDeleteEventOnChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "E609AFAC-2A7A-4AD2-9CE5-7F121AB6C9ED", + "id" : "FA2FAE23-7F14-433D-B093-80239DA67B73", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E609AFAC-2A7A-4AD2-9CE5-7F121AB6C9ED", + "id" : "FA2FAE23-7F14-433D-B093-80239DA67B73", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:11 GMT", + "Date" : "Sun, 24 May 2020 08:47:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "E609AFAC-2A7A-4AD2-9CE5-7F121AB6C9ED", + "id" : "FA2FAE23-7F14-433D-B093-80239DA67B73", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "E609AFAC-2A7A-4AD2-9CE5-7F121AB6C9ED", + "id" : "FA2FAE23-7F14-433D-B093-80239DA67B73", "type" : 4 }, { - "id" : "E2D983B3-8909-4D67-A1C3-2B4EC699FAEC", + "id" : "A5CC5318-B91A-43B8-86C4-E65F814DD9AC", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E2D983B3-8909-4D67-A1C3-2B4EC699FAEC", + "id" : "A5CC5318-B91A-43B8-86C4-E65F814DD9AC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:11 GMT", + "Date" : "Sun, 24 May 2020 08:47:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "E2D983B3-8909-4D67-A1C3-2B4EC699FAEC", + "id" : "A5CC5318-B91A-43B8-86C4-E65F814DD9AC", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "E2D983B3-8909-4D67-A1C3-2B4EC699FAEC", + "id" : "A5CC5318-B91A-43B8-86C4-E65F814DD9AC", "type" : 4 }, { - "id" : "107081E6-10F2-4670-8FE1-4B440BB114F5", + "id" : "37C89D66-58D3-491A-B885-817D6A0BEC65", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "107081E6-10F2-4670-8FE1-4B440BB114F5", + "id" : "37C89D66-58D3-491A-B885-817D6A0BEC65", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:12 GMT", + "Date" : "Sun, 24 May 2020 08:47:42 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "107081E6-10F2-4670-8FE1-4B440BB114F5", + "id" : "37C89D66-58D3-491A-B885-817D6A0BEC65", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODoxMi4wMjE0MzJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6MTIuMDIxNDMyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Nzo0Mi4zNTA0MzZaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "107081E6-10F2-4670-8FE1-4B440BB114F5", + "id" : "37C89D66-58D3-491A-B885-817D6A0BEC65", "type" : 4 }, { - "id" : "E8F016C8-6804-4433-9621-0F98A83704D3", + "id" : "7FFEEE7E-8EE9-45DF-B3B0-CBF19E85B182", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E8F016C8-6804-4433-9621-0F98A83704D3", + "id" : "7FFEEE7E-8EE9-45DF-B3B0-CBF19E85B182", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:14 GMT", + "Date" : "Sun, 24 May 2020 08:47:43 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "E8F016C8-6804-4433-9621-0F98A83704D3", + "id" : "7FFEEE7E-8EE9-45DF-B3B0-CBF19E85B182", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjEzLjYzNzE1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjEzLjYzNzE1WiIsImVUYWciOiJBZVAyNjdmYXV2YkJQQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjQzLjU5ODg1NloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "E8F016C8-6804-4433-9621-0F98A83704D3", + "id" : "7FFEEE7E-8EE9-45DF-B3B0-CBF19E85B182", "type" : 4 }, { - "id" : "0C0286E3-0695-4C13-97EA-BCFE82284895", + "id" : "14E1AB44-2325-40E2-953D-25B98373A2CA", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0C0286E3-0695-4C13-97EA-BCFE82284895", + "id" : "14E1AB44-2325-40E2-953D-25B98373A2CA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:14 GMT", + "Date" : "Sun, 24 May 2020 08:47:43 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "0C0286E3-0695-4C13-97EA-BCFE82284895", + "id" : "14E1AB44-2325-40E2-953D-25B98373A2CA", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjE0LjI0MDczOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODoxNC4yNDA3MzhaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjQzLjgyMTU4MVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "0C0286E3-0695-4C13-97EA-BCFE82284895", + "id" : "14E1AB44-2325-40E2-953D-25B98373A2CA", "type" : 4 }, { - "id" : "DE4E49A2-3205-465F-A3B2-461F0C7B4922", + "id" : "A09C5DBD-AF01-4654-95D0-25272FC5B780", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DE4E49A2-3205-465F-A3B2-461F0C7B4922", + "id" : "A09C5DBD-AF01-4654-95D0-25272FC5B780", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:17 GMT", + "Date" : "Sun, 24 May 2020 08:47:45 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "DE4E49A2-3205-465F-A3B2-461F0C7B4922", + "id" : "A09C5DBD-AF01-4654-95D0-25272FC5B780", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODoxNi4yODgzMjlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6MTYuMjg4MzI5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODoxNi45OTA3MTFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6MTYuOTkwNzExWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Nzo0NS4wNzE3MzNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjQ1LjA4NjA5MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "DE4E49A2-3205-465F-A3B2-461F0C7B4922", + "id" : "A09C5DBD-AF01-4654-95D0-25272FC5B780", "type" : 4 }, { - "id" : "0439B1D5-75A7-4B84-83E8-9266B3FED6BF", + "id" : "9EF01634-E1BC-4E75-8124-FCF044E3A603", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +341,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0439B1D5-75A7-4B84-83E8-9266B3FED6BF", + "id" : "9EF01634-E1BC-4E75-8124-FCF044E3A603", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:38:19 GMT", + "Date" : "Sun, 24 May 2020 08:47:46 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +371,19 @@ "type" : 1 }, { - "id" : "0439B1D5-75A7-4B84-83E8-9266B3FED6BF", + "id" : "9EF01634-E1BC-4E75-8124-FCF044E3A603", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NDk3NjA5MzkwNiIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMDY1MDkxMTA3MiIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "0439B1D5-75A7-4B84-83E8-9266B3FED6BF", + "id" : "9EF01634-E1BC-4E75-8124-FCF044E3A603", "type" : 4 }, { - "id" : "B0FC7422-45FE-4964-A553-6DDFECD6A6A2", + "id" : "32A32FDF-6DAD-400D-8417-253AB9EFCB75", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,19 +392,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394976093906&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100650911072&tr=56" }, "type" : 0 }, { - "id" : "E1AB254C-4F37-4C03-A348-BA28F3F6DD57", + "id" : "B67F3762-F260-42E8-9654-11A73DE4BF96", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -414,34 +414,63 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "101", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B0FC7422-45FE-4964-A553-6DDFECD6A6A2", + "id" : "B67F3762-F260-42E8-9654-11A73DE4BF96", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394976093906&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:46 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "B67F3762-F260-42E8-9654-11A73DE4BF96", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "B67F3762-F260-42E8-9654-11A73DE4BF96", + "type" : 4 + }, + { + "id" : "32A32FDF-6DAD-400D-8417-253AB9EFCB75", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100650911072&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:38:20 GMT", - "Content-Length" : "383", + "Date" : "Sun, 24 May 2020 08:47:46 GMT", + "Content-Length" : "399", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -449,19 +478,19 @@ "type" : 1 }, { - "id" : "B0FC7422-45FE-4964-A553-6DDFECD6A6A2", + "id" : "32A32FDF-6DAD-400D-8417-253AB9EFCB75", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NTAwMDY3NDgzMCIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5NTAwMDY1MTkyOCIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoiZGVsZXRlIiwidHlwZSI6Im1lbWJlcnNoaXAiLCJkYXRhIjp7InNwYWNlSWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJ1c2VySWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIn19fV19" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMDY2NzYyMjUzOSIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMDY2NzYzNjE4MCIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJkZWxldGUiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" }, "type" : 2 }, { - "id" : "B0FC7422-45FE-4964-A553-6DDFECD6A6A2", + "id" : "32A32FDF-6DAD-400D-8417-253AB9EFCB75", "type" : 4 }, { - "id" : "E2B867C3-4C76-4C04-807B-59171FD1B910", + "id" : "8A6D3E9D-29D7-4D76-9947-1F3EF0CB5107", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -470,29 +499,29 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810395000674830&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100667622539&tr=56" }, "type" : 0 }, { - "id" : "E2B867C3-4C76-4C04-807B-59171FD1B910", + "id" : "8A6D3E9D-29D7-4D76-9947-1F3EF0CB5107", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810395000674830&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100667622539&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:38:20 GMT", - "Content-Length" : "380", + "Date" : "Sun, 24 May 2020 08:47:46 GMT", + "Content-Length" : "396", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -500,19 +529,19 @@ "type" : 1 }, { - "id" : "E2B867C3-4C76-4C04-807B-59171FD1B910", + "id" : "8A6D3E9D-29D7-4D76-9947-1F3EF0CB5107", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NTAwMDY4NjY1NCIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5NTAwMDY2MzE2NyIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoiZGVsZXRlIiwidHlwZSI6Im1lbWJlcnNoaXAiLCJkYXRhIjp7InNwYWNlSWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJ1c2VySWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn19fV19" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMDY2NzY0NzkzNCIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMDY2NzY2MTMyNiIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJkZWxldGUiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sInV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" }, "type" : 2 }, { - "id" : "E2B867C3-4C76-4C04-807B-59171FD1B910", + "id" : "8A6D3E9D-29D7-4D76-9947-1F3EF0CB5107", "type" : 4 }, { - "id" : "1627AA5B-863F-4613-BA81-5EBEFA3832F1", + "id" : "59AFB195-6F9B-4A78-8D22-7EE03C12ADC4", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -521,25 +550,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810395000686654&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100667647934&tr=56" }, "type" : 0 }, { - "id" : "1627AA5B-863F-4613-BA81-5EBEFA3832F1", + "id" : "59AFB195-6F9B-4A78-8D22-7EE03C12ADC4", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810395000686654&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100667647934&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810395000686654&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100667647934&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -547,7 +576,7 @@ "type" : 3 }, { - "id" : "70018A09-FEA3-4087-A134-55EB15E25DB9", + "id" : "33E3BB04-DECD-4F8B-9357-21A5388C3B6E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -556,59 +585,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E1AB254C-4F37-4C03-A348-BA28F3F6DD57", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:20 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "E1AB254C-4F37-4C03-A348-BA28F3F6DD57", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "E1AB254C-4F37-4C03-A348-BA28F3F6DD57", - "type" : 4 - }, - { - "id" : "70018A09-FEA3-4087-A134-55EB15E25DB9", + "id" : "33E3BB04-DECD-4F8B-9357-21A5388C3B6E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 01:38:20 GMT", + "Date" : "Sun, 24 May 2020 08:47:47 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -618,7 +618,7 @@ "type" : 1 }, { - "id" : "70018A09-FEA3-4087-A134-55EB15E25DB9", + "id" : "33E3BB04-DECD-4F8B-9357-21A5388C3B6E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -626,11 +626,11 @@ "type" : 2 }, { - "id" : "70018A09-FEA3-4087-A134-55EB15E25DB9", + "id" : "33E3BB04-DECD-4F8B-9357-21A5388C3B6E", "type" : 4 }, { - "id" : "2764BF34-760E-4A56-BD33-3489D45AF298", + "id" : "96066488-6D28-4BF5-B183-15D923EE7F74", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -639,26 +639,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2764BF34-760E-4A56-BD33-3489D45AF298", + "id" : "96066488-6D28-4BF5-B183-15D923EE7F74", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:21 GMT", + "Date" : "Sun, 24 May 2020 08:47:47 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -668,7 +668,7 @@ "type" : 1 }, { - "id" : "2764BF34-760E-4A56-BD33-3489D45AF298", + "id" : "96066488-6D28-4BF5-B183-15D923EE7F74", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -676,11 +676,11 @@ "type" : 2 }, { - "id" : "2764BF34-760E-4A56-BD33-3489D45AF298", + "id" : "96066488-6D28-4BF5-B183-15D923EE7F74", "type" : 4 }, { - "id" : "32B53E8E-B1AC-46C8-8B1B-851F298794CC", + "id" : "3B2C6157-F3BE-4BA7-A459-D65FAA60A1F5", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -689,26 +689,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "32B53E8E-B1AC-46C8-8B1B-851F298794CC", + "id" : "3B2C6157-F3BE-4BA7-A459-D65FAA60A1F5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:22 GMT", + "Date" : "Sun, 24 May 2020 08:47:47 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -718,7 +718,7 @@ "type" : 1 }, { - "id" : "32B53E8E-B1AC-46C8-8B1B-851F298794CC", + "id" : "3B2C6157-F3BE-4BA7-A459-D65FAA60A1F5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -726,11 +726,11 @@ "type" : 2 }, { - "id" : "32B53E8E-B1AC-46C8-8B1B-851F298794CC", + "id" : "3B2C6157-F3BE-4BA7-A459-D65FAA60A1F5", "type" : 4 }, { - "id" : "FD9EFDBB-D7AB-4F47-BF90-51E4964F70EA", + "id" : "A3F1B2A8-8D73-4034-A029-C6B493496BF8", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -739,26 +739,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FD9EFDBB-D7AB-4F47-BF90-51E4964F70EA", + "id" : "A3F1B2A8-8D73-4034-A029-C6B493496BF8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:23 GMT", + "Date" : "Sun, 24 May 2020 08:47:49 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -768,7 +768,7 @@ "type" : 1 }, { - "id" : "FD9EFDBB-D7AB-4F47-BF90-51E4964F70EA", + "id" : "A3F1B2A8-8D73-4034-A029-C6B493496BF8", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -776,7 +776,7 @@ "type" : 2 }, { - "id" : "FD9EFDBB-D7AB-4F47-BF90-51E4964F70EA", + "id" : "A3F1B2A8-8D73-4034-A029-C6B493496BF8", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndTriggerCreateEventOnUserChannel.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndTriggerDeleteEventOnUUIDChannel.json similarity index 51% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndTriggerCreateEventOnUserChannel.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndTriggerDeleteEventOnUUIDChannel.json index c275b3d3b..3325f7702 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndTriggerCreateEventOnUserChannel.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldRemoveMembersUsingManageAndTriggerDeleteEventOnUUIDChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "BB57F8B7-2199-4DA5-862C-2AA74EE22E87", + "id" : "FE4E5AEB-1D15-4811-A144-4943A2CCC4D8", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BB57F8B7-2199-4DA5-862C-2AA74EE22E87", + "id" : "FE4E5AEB-1D15-4811-A144-4943A2CCC4D8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:57 GMT", + "Date" : "Sun, 24 May 2020 08:47:51 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "BB57F8B7-2199-4DA5-862C-2AA74EE22E87", + "id" : "FE4E5AEB-1D15-4811-A144-4943A2CCC4D8", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "BB57F8B7-2199-4DA5-862C-2AA74EE22E87", + "id" : "FE4E5AEB-1D15-4811-A144-4943A2CCC4D8", "type" : 4 }, { - "id" : "CF9BF9DB-0156-41F6-B17E-64E81A18E776", + "id" : "EEA6890D-5C34-40C4-BAF6-53C4C03D1A7A", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CF9BF9DB-0156-41F6-B17E-64E81A18E776", + "id" : "EEA6890D-5C34-40C4-BAF6-53C4C03D1A7A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:57 GMT", + "Date" : "Sun, 24 May 2020 08:47:51 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "CF9BF9DB-0156-41F6-B17E-64E81A18E776", + "id" : "EEA6890D-5C34-40C4-BAF6-53C4C03D1A7A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,71 @@ "type" : 2 }, { - "id" : "CF9BF9DB-0156-41F6-B17E-64E81A18E776", + "id" : "EEA6890D-5C34-40C4-BAF6-53C4C03D1A7A", "type" : 4 }, { - "id" : "F45E9839-FC43-4FB5-A462-1B31DD234083", + "id" : "3DCAC42C-22CB-446B-8F5B-24313A3FA6E3", "data" : { - "method" : "post", + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3DCAC42C-22CB-446B-8F5B-24313A3FA6E3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:47:51 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "3DCAC42C-22CB-446B-8F5B-24313A3FA6E3", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Nzo1MS44MjA0MzhaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "3DCAC42C-22CB-446B-8F5B-24313A3FA6E3", + "type" : 4 + }, + { + "id" : "B3D7C720-5331-46E4-9DF7-F65A0E042032", + "data" : { + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F45E9839-FC43-4FB5-A462-1B31DD234083", + "id" : "B3D7C720-5331-46E4-9DF7-F65A0E042032", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:58 GMT", + "Date" : "Sun, 24 May 2020 08:47:53 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +204,21 @@ "type" : 1 }, { - "id" : "F45E9839-FC43-4FB5-A462-1B31DD234083", + "id" : "B3D7C720-5331-46E4-9DF7-F65A0E042032", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo1OC4wODg0NzhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6NTguMDg4NDc4WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjUzLjA0OTE4NFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "F45E9839-FC43-4FB5-A462-1B31DD234083", + "id" : "B3D7C720-5331-46E4-9DF7-F65A0E042032", "type" : 4 }, { - "id" : "6A8935CB-A1EE-4B17-BDF1-A6C5BB805015", + "id" : "FBB84BA9-C51E-42D5-97E8-2865EC1AB717", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6A8935CB-A1EE-4B17-BDF1-A6C5BB805015", + "id" : "FBB84BA9-C51E-42D5-97E8-2865EC1AB717", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:00 GMT", + "Date" : "Sun, 24 May 2020 08:47:53 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +262,21 @@ "type" : 1 }, { - "id" : "6A8935CB-A1EE-4B17-BDF1-A6C5BB805015", + "id" : "FBB84BA9-C51E-42D5-97E8-2865EC1AB717", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjU5LjcxMDcyNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo1OS43MTA3MjVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjUzLjM1NTM1M1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "6A8935CB-A1EE-4B17-BDF1-A6C5BB805015", + "id" : "FBB84BA9-C51E-42D5-97E8-2865EC1AB717", "type" : 4 }, { - "id" : "887051AE-7ACF-4958-B271-38B71FAEB80E", + "id" : "8367DE30-95A8-4CF8-B4FE-A22DBBC41397", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "887051AE-7ACF-4958-B271-38B71FAEB80E", + "id" : "8367DE30-95A8-4CF8-B4FE-A22DBBC41397", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:00 GMT", + "Date" : "Sun, 24 May 2020 08:47:54 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +320,19 @@ "type" : 1 }, { - "id" : "887051AE-7ACF-4958-B271-38B71FAEB80E", + "id" : "8367DE30-95A8-4CF8-B4FE-A22DBBC41397", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjAwLjI5ODU3M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzowMC4yOTg1NzNaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0Nzo1NC42OTQ3NTdaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ3OjU0LjcwMDUxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "887051AE-7ACF-4958-B271-38B71FAEB80E", + "id" : "8367DE30-95A8-4CF8-B4FE-A22DBBC41397", "type" : 4 }, { - "id" : "53D338F5-72A3-42B0-AE16-5EB8E45BFE1E", + "id" : "59948052-61C7-4575-9095-7703D193AC0E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -283,28 +341,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "53D338F5-72A3-42B0-AE16-5EB8E45BFE1E", + "id" : "59948052-61C7-4575-9095-7703D193AC0E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:37:02 GMT", + "Date" : "Sun, 24 May 2020 08:47:56 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -313,19 +371,19 @@ "type" : 1 }, { - "id" : "53D338F5-72A3-42B0-AE16-5EB8E45BFE1E", + "id" : "59948052-61C7-4575-9095-7703D193AC0E", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NDIxOTk5NDY4NyIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMDc0Njk3MTI3NSIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "53D338F5-72A3-42B0-AE16-5EB8E45BFE1E", + "id" : "59948052-61C7-4575-9095-7703D193AC0E", "type" : 4 }, { - "id" : "59747AF6-78D8-40CE-9108-D1E1FE696853", + "id" : "75B3E9BC-A61B-4192-BA94-E3780D151B88", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -334,19 +392,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394219994687&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100746971275&tr=56" }, "type" : 0 }, { - "id" : "C9BE7370-55A9-488F-9C5C-A3B0432C2AA4", + "id" : "D4A405A2-2D6A-41EF-A5E0-8FF7D6BA2262", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -356,34 +414,34 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "59747AF6-78D8-40CE-9108-D1E1FE696853", + "id" : "75B3E9BC-A61B-4192-BA94-E3780D151B88", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394219994687&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100746971275&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:37:03 GMT", - "Content-Length" : "505", + "Date" : "Sun, 24 May 2020 08:47:56 GMT", + "Content-Length" : "395", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -391,19 +449,48 @@ "type" : 1 }, { - "id" : "59747AF6-78D8-40CE-9108-D1E1FE696853", + "id" : "D4A405A2-2D6A-41EF-A5E0-8FF7D6BA2262", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:47:56 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "75B3E9BC-A61B-4192-BA94-E3780D151B88", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMDc2NDkwMzcyMiIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMDc2NDkxNjQxNiIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX19fV19" + }, + "type" : 2 + }, + { + "id" : "D4A405A2-2D6A-41EF-A5E0-8FF7D6BA2262", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NDIzMzA0NTExNSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5NDIzMzAzODI4NiIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6ImNyZWF0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzowMi42OTI4ODMwNTRaIiwiY3VzdG9tIjpudWxsLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEiLCJzcGFjZUlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzc6MDIuNjkyODgzMDU0WiIsInVzZXJJZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIifX19XX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" }, "type" : 2 }, { - "id" : "59747AF6-78D8-40CE-9108-D1E1FE696853", + "id" : "D4A405A2-2D6A-41EF-A5E0-8FF7D6BA2262", + "type" : 4 + }, + { + "id" : "75B3E9BC-A61B-4192-BA94-E3780D151B88", "type" : 4 }, { - "id" : "C007C44D-C90F-4B0E-88BA-26CA1DCB1E2F", + "id" : "CFA8ECF2-F5BE-470E-9269-F9D17AA25532", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -412,25 +499,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394233045115&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100764903722&tr=56" }, "type" : 0 }, { - "id" : "C007C44D-C90F-4B0E-88BA-26CA1DCB1E2F", + "id" : "CFA8ECF2-F5BE-470E-9269-F9D17AA25532", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394233045115&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100764903722&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394233045115&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903100764903722&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -438,7 +525,7 @@ "type" : 3 }, { - "id" : "2F5B4791-C617-4E77-BDCB-90BB8E480937", + "id" : "B8C70338-A4EC-45DF-B33D-8F5E8E53C9EF", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -447,30 +534,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2F5B4791-C617-4E77-BDCB-90BB8E480937", + "id" : "B8C70338-A4EC-45DF-B33D-8F5E8E53C9EF", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 01:37:03 GMT", + "Date" : "Sun, 24 May 2020 08:47:57 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -480,7 +567,7 @@ "type" : 1 }, { - "id" : "2F5B4791-C617-4E77-BDCB-90BB8E480937", + "id" : "B8C70338-A4EC-45DF-B33D-8F5E8E53C9EF", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -488,11 +575,11 @@ "type" : 2 }, { - "id" : "2F5B4791-C617-4E77-BDCB-90BB8E480937", + "id" : "B8C70338-A4EC-45DF-B33D-8F5E8E53C9EF", "type" : 4 }, { - "id" : "700B1DBF-E941-4BD7-90CD-FA811FD38CAD", + "id" : "A2F26BB3-EBA0-4CB2-8A60-935B7829B2DB", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -501,57 +588,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C9BE7370-55A9-488F-9C5C-A3B0432C2AA4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:04 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "C9BE7370-55A9-488F-9C5C-A3B0432C2AA4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjU5LjcxMDcyNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo1OS43MTA3MjVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjAyLjY5Mjg4M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzowMi42OTI4ODNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJ1c2VyIjp7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJLaW0iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IktpbS1jdXN0b20tZGF0YS0xIiwidXNlci1jdXN0b20yIjoiS2ltLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzc6MDAuMjk4NTczWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjAwLjI5ODU3M1oiLCJlVGFnIjoiQWJqTHkvTE52N0hWTncifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzc6MDMuMzg4MTI5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjAzLjM4ODEyOVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" - }, - "type" : 2 - }, - { - "id" : "C9BE7370-55A9-488F-9C5C-A3B0432C2AA4", - "type" : 4 - }, - { - "id" : "700B1DBF-E941-4BD7-90CD-FA811FD38CAD", + "id" : "A2F26BB3-EBA0-4CB2-8A60-935B7829B2DB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:04 GMT", + "Date" : "Sun, 24 May 2020 08:47:57 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -561,7 +617,7 @@ "type" : 1 }, { - "id" : "700B1DBF-E941-4BD7-90CD-FA811FD38CAD", + "id" : "A2F26BB3-EBA0-4CB2-8A60-935B7829B2DB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -569,11 +625,11 @@ "type" : 2 }, { - "id" : "700B1DBF-E941-4BD7-90CD-FA811FD38CAD", + "id" : "A2F26BB3-EBA0-4CB2-8A60-935B7829B2DB", "type" : 4 }, { - "id" : "35E480A6-B80A-4EAA-A238-4E4C2B4DEFDF", + "id" : "4639E6EF-BF69-4F54-BBDE-9B119849449C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -582,26 +638,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "35E480A6-B80A-4EAA-A238-4E4C2B4DEFDF", + "id" : "4639E6EF-BF69-4F54-BBDE-9B119849449C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:05 GMT", + "Date" : "Sun, 24 May 2020 08:47:57 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -611,7 +667,7 @@ "type" : 1 }, { - "id" : "35E480A6-B80A-4EAA-A238-4E4C2B4DEFDF", + "id" : "4639E6EF-BF69-4F54-BBDE-9B119849449C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -619,11 +675,11 @@ "type" : 2 }, { - "id" : "35E480A6-B80A-4EAA-A238-4E4C2B4DEFDF", + "id" : "4639E6EF-BF69-4F54-BBDE-9B119849449C", "type" : 4 }, { - "id" : "9ADDE596-8A40-4548-8182-A3B6B567AD5E", + "id" : "0149C6E4-D5CE-492E-BF36-862508E87507", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -632,26 +688,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9ADDE596-8A40-4548-8182-A3B6B567AD5E", + "id" : "0149C6E4-D5CE-492E-BF36-862508E87507", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:07 GMT", + "Date" : "Sun, 24 May 2020 08:47:58 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -661,7 +717,7 @@ "type" : 1 }, { - "id" : "9ADDE596-8A40-4548-8182-A3B6B567AD5E", + "id" : "0149C6E4-D5CE-492E-BF36-862508E87507", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -669,7 +725,7 @@ "type" : 2 }, { - "id" : "9ADDE596-8A40-4548-8182-A3B6B567AD5E", + "id" : "0149C6E4-D5CE-492E-BF36-862508E87507", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReceiveStatusWithExpectedOperationAndCategory.json new file mode 100644 index 000000000..74d8dc3ec --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReceiveStatusWithExpectedOperationAndCategory.json @@ -0,0 +1,540 @@ +[ + { + "id" : "4F8CB2C3-8872-4FE4-B861-D372D905675F", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "4F8CB2C3-8872-4FE4-B861-D372D905675F", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:00 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "4F8CB2C3-8872-4FE4-B861-D372D905675F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "4F8CB2C3-8872-4FE4-B861-D372D905675F", + "type" : 4 + }, + { + "id" : "40E3868D-9059-4EBA-9612-8C0EED7B74FD", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "40E3868D-9059-4EBA-9612-8C0EED7B74FD", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:01 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "40E3868D-9059-4EBA-9612-8C0EED7B74FD", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "40E3868D-9059-4EBA-9612-8C0EED7B74FD", + "type" : 4 + }, + { + "id" : "6E2FAC55-B268-4A7B-99CB-9446C4DB18FA", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "6E2FAC55-B268-4A7B-99CB-9446C4DB18FA", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:48:01 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "6E2FAC55-B268-4A7B-99CB-9446C4DB18FA", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODowMS4zNzg4WiIsImVUYWciOiJBWTJCNnFISXhlVCtMZyJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "6E2FAC55-B268-4A7B-99CB-9446C4DB18FA", + "type" : 4 + }, + { + "id" : "6FFB45CF-AB6A-47AF-8832-68B9EC65C9C3", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "6FFB45CF-AB6A-47AF-8832-68B9EC65C9C3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:48:02 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "6FFB45CF-AB6A-47AF-8832-68B9EC65C9C3", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjAyLjYyODI1WiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "6FFB45CF-AB6A-47AF-8832-68B9EC65C9C3", + "type" : 4 + }, + { + "id" : "83172FCA-481D-4F5F-AEF5-2A4D47921DC1", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "83172FCA-481D-4F5F-AEF5-2A4D47921DC1", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:48:02 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "83172FCA-481D-4F5F-AEF5-2A4D47921DC1", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjAyLjg1MzE3WiIsImVUYWciOiJBWkcramMvaC9xbUhXUSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "83172FCA-481D-4F5F-AEF5-2A4D47921DC1", + "type" : 4 + }, + { + "id" : "E980CC76-10B4-4D7D-80E5-CE2B863D0742", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "283", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJLaW0tdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJjdXN0b20iOnsidXVpZC1tZW1iZXItY3VzdG9tIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "E980CC76-10B4-4D7D-80E5-CE2B863D0742", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:48:04 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "E980CC76-10B4-4D7D-80E5-CE2B863D0742", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyLWN1c3RvbSI6IktpbS11dWlkLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODowNC4wODY3OTJaIiwiZVRhZyI6IkFjM1F1djNTcm8raHFnRSJ9LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyLWN1c3RvbSI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODowNC4wOTI1NloiLCJlVGFnIjoiQWZ1ZTM2NkRuYWJyT3cifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "E980CC76-10B4-4D7D-80E5-CE2B863D0742", + "type" : 4 + }, + { + "id" : "09A3C856-9292-4B2A-BA22-C48D2CBC4BD3", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "119", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "09A3C856-9292-4B2A-BA22-C48D2CBC4BD3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:05 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "09A3C856-9292-4B2A-BA22-C48D2CBC4BD3", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "09A3C856-9292-4B2A-BA22-C48D2CBC4BD3", + "type" : 4 + }, + { + "id" : "157FB31B-A809-47A0-BB83-B4746D72B3B7", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "157FB31B-A809-47A0-BB83-B4746D72B3B7", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:05 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "157FB31B-A809-47A0-BB83-B4746D72B3B7", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "157FB31B-A809-47A0-BB83-B4746D72B3B7", + "type" : 4 + }, + { + "id" : "FAC5BA0A-9394-4682-B291-80DB823DE393", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "FAC5BA0A-9394-4682-B291-80DB823DE393", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:05 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "FAC5BA0A-9394-4682-B291-80DB823DE393", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "FAC5BA0A-9394-4682-B291-80DB823DE393", + "type" : 4 + }, + { + "id" : "656CBA24-0166-43E9-9124-9501D82EE0D4", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "656CBA24-0166-43E9-9124-9501D82EE0D4", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:07 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "656CBA24-0166-43E9-9124-9501D82EE0D4", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "656CBA24-0166-43E9-9124-9501D82EE0D4", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnFilteredMembersInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnFilteredMembersInformationWhenFilterIsSet.json new file mode 100644 index 000000000..db4bf2b27 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnFilteredMembersInformationWhenFilterIsSet.json @@ -0,0 +1,598 @@ +[ + { + "id" : "868A7F73-B36C-4E71-A788-B3366179BA72", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "868A7F73-B36C-4E71-A788-B3366179BA72", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:09 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "868A7F73-B36C-4E71-A788-B3366179BA72", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "868A7F73-B36C-4E71-A788-B3366179BA72", + "type" : 4 + }, + { + "id" : "EF2EBCA8-B9C5-44E7-B8D4-28E367033F10", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "EF2EBCA8-B9C5-44E7-B8D4-28E367033F10", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:09 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "EF2EBCA8-B9C5-44E7-B8D4-28E367033F10", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "EF2EBCA8-B9C5-44E7-B8D4-28E367033F10", + "type" : 4 + }, + { + "id" : "49110D41-7C44-42C4-9623-B577B6D252CC", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "49110D41-7C44-42C4-9623-B577B6D252CC", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:48:09 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "49110D41-7C44-42C4-9623-B577B6D252CC", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODowOS41NDkwNThaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "49110D41-7C44-42C4-9623-B577B6D252CC", + "type" : 4 + }, + { + "id" : "E5B40D09-8F11-44A9-B3E3-6AF5251D3BF2", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "E5B40D09-8F11-44A9-B3E3-6AF5251D3BF2", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:48:10 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "E5B40D09-8F11-44A9-B3E3-6AF5251D3BF2", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjEwLjgwMzc3MloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "E5B40D09-8F11-44A9-B3E3-6AF5251D3BF2", + "type" : 4 + }, + { + "id" : "9EE1687D-CF07-4447-92F9-BF471ED78A23", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "9EE1687D-CF07-4447-92F9-BF471ED78A23", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:48:11 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "9EE1687D-CF07-4447-92F9-BF471ED78A23", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjExLjAyODc2NVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "9EE1687D-CF07-4447-92F9-BF471ED78A23", + "type" : 4 + }, + { + "id" : "9EEA37F4-84C3-498F-85C8-1FA917193967", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "9EEA37F4-84C3-498F-85C8-1FA917193967", + "data" : { + "status" : 404, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:48:12 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "9EEA37F4-84C3-498F-85C8-1FA917193967", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjExLjAyODc2NVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MTIuMzA2MDE2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6MSwibmV4dCI6Ik1RIn0=" + }, + "type" : 2 + }, + { + "id" : "9EEA37F4-84C3-498F-85C8-1FA917193967", + "type" : 4 + }, + { + "id" : "9EEA37F4-84C3-498F-85C8-1FA917193917", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "9EEA37F4-84C3-498F-85C8-1FA917193917", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:48:12 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "9EEA37F4-84C3-498F-85C8-1FA917193917", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjExLjAyODc2NVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MTIuMzA2MDE2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6MSwibmV4dCI6Ik1RIn0=" + }, + "type" : 2 + }, + { + "id" : "9EEA37F4-84C3-498F-85C8-1FA917193917", + "type" : 4 + }, + { + "id" : "E9C8244A-FF73-419B-AE53-313B324D3982", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "64", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "E9C8244A-FF73-419B-AE53-313B324D3982", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:13 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "154", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "E9C8244A-FF73-419B-AE53-313B324D3982", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MTIuMjk1MzgyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" + }, + "type" : 2 + }, + { + "id" : "E9C8244A-FF73-419B-AE53-313B324D3982", + "type" : 4 + }, + { + "id" : "BC1D8E9F-913A-4F03-877E-B515405BFC88", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "BC1D8E9F-913A-4F03-877E-B515405BFC88", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:13 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "BC1D8E9F-913A-4F03-877E-B515405BFC88", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "BC1D8E9F-913A-4F03-877E-B515405BFC88", + "type" : 4 + }, + { + "id" : "4B5BEA9B-E7AA-48B3-8A24-2C7BDF88247D", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "4B5BEA9B-E7AA-48B3-8A24-2C7BDF88247D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:14 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "4B5BEA9B-E7AA-48B3-8A24-2C7BDF88247D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "4B5BEA9B-E7AA-48B3-8A24-2C7BDF88247D", + "type" : 4 + }, + { + "id" : "A6F2949D-3022-4FE9-B1C3-4456ADE12EC9", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "A6F2949D-3022-4FE9-B1C3-4456ADE12EC9", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:48:15 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "A6F2949D-3022-4FE9-B1C3-4456ADE12EC9", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "A6F2949D-3022-4FE9-B1C3-4456ADE12EC9", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnSortedSpacesInformationWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnMemberInformationWhenIncludeFlagIsSet.json similarity index 54% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnSortedSpacesInformationWhenSortIsSet.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnMemberInformationWhenIncludeFlagIsSet.json index 0e1ac88ad..2b2ab0d3b 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnSortedSpacesInformationWhenSortIsSet.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnMemberInformationWhenIncludeFlagIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "9026FFFD-2EC0-4A1A-9B84-4F2DA74891B2", + "id" : "B2D1EFE2-A6B6-48AB-AA01-92D1463AF80E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -16,19 +16,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9026FFFD-2EC0-4A1A-9B84-4F2DA74891B2", + "id" : "B2D1EFE2-A6B6-48AB-AA01-92D1463AF80E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:42 GMT", + "Date" : "Sun, 24 May 2020 08:48:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "9026FFFD-2EC0-4A1A-9B84-4F2DA74891B2", + "id" : "B2D1EFE2-A6B6-48AB-AA01-92D1463AF80E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "9026FFFD-2EC0-4A1A-9B84-4F2DA74891B2", + "id" : "B2D1EFE2-A6B6-48AB-AA01-92D1463AF80E", "type" : 4 }, { - "id" : "000BFEEA-932C-4A5C-89E7-FBD04C7BFEDC", + "id" : "DD5132C2-5ADD-44F3-B6E9-9D7077F6D664", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -66,19 +66,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "000BFEEA-932C-4A5C-89E7-FBD04C7BFEDC", + "id" : "DD5132C2-5ADD-44F3-B6E9-9D7077F6D664", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:42 GMT", + "Date" : "Sun, 24 May 2020 08:48:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "000BFEEA-932C-4A5C-89E7-FBD04C7BFEDC", + "id" : "DD5132C2-5ADD-44F3-B6E9-9D7077F6D664", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "000BFEEA-932C-4A5C-89E7-FBD04C7BFEDC", + "id" : "DD5132C2-5ADD-44F3-B6E9-9D7077F6D664", "type" : 4 }, { - "id" : "BD22EA64-6E3C-4395-A123-370CE4607841", + "id" : "ED6C5D4F-7E2E-413A-B782-CED6E0358A1F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -112,33 +112,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BD22EA64-6E3C-4395-A123-370CE4607841", + "id" : "ED6C5D4F-7E2E-413A-B782-CED6E0358A1F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:43 GMT", + "Date" : "Sun, 24 May 2020 08:48:17 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "BD22EA64-6E3C-4395-A123-370CE4607841", + "id" : "ED6C5D4F-7E2E-413A-B782-CED6E0358A1F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo0Mi41NTI1MDlaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NDIuNTUyNTA5WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODoxNy44Mjk2NThaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "BD22EA64-6E3C-4395-A123-370CE4607841", + "id" : "ED6C5D4F-7E2E-413A-B782-CED6E0358A1F", "type" : 4 }, { - "id" : "20FBFF57-C15A-4C56-988C-0722DA69117D", + "id" : "03B86FCF-B190-4E9A-8652-355EC557E7FA", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -170,33 +170,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "20FBFF57-C15A-4C56-988C-0722DA69117D", + "id" : "03B86FCF-B190-4E9A-8652-355EC557E7FA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:43 GMT", + "Date" : "Sun, 24 May 2020 08:48:19 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "20FBFF57-C15A-4C56-988C-0722DA69117D", + "id" : "03B86FCF-B190-4E9A-8652-355EC557E7FA", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo0My4xMjg1MDhaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NDMuMTI4NTA4WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjE5LjA4MzM5WiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9fQ==" }, "type" : 2 }, { - "id" : "20FBFF57-C15A-4C56-988C-0722DA69117D", + "id" : "03B86FCF-B190-4E9A-8652-355EC557E7FA", "type" : 4 }, { - "id" : "0B6BB0D0-3F0A-4BED-B1D9-14EA90C73B49", + "id" : "783A530D-B89C-479E-A2D7-47ACA8B77A6F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -228,33 +228,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0B6BB0D0-3F0A-4BED-B1D9-14EA90C73B49", + "id" : "783A530D-B89C-479E-A2D7-47ACA8B77A6F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:45 GMT", + "Date" : "Sun, 24 May 2020 08:48:19 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "0B6BB0D0-3F0A-4BED-B1D9-14EA90C73B49", + "id" : "783A530D-B89C-479E-A2D7-47ACA8B77A6F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjQ0LjcyODc1NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo0NC43Mjg3NTRaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjE5LjM2Njc3MVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "0B6BB0D0-3F0A-4BED-B1D9-14EA90C73B49", + "id" : "783A530D-B89C-479E-A2D7-47ACA8B77A6F", "type" : 4 }, { - "id" : "01A3F1CC-A8EB-49D4-A3B2-06E9F36A396A", + "id" : "1F4E1E59-1476-4F94-8965-E7ACD72FEFA3", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -286,33 +286,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?sort=space.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "01A3F1CC-A8EB-49D4-A3B2-06E9F36A396A", + "id" : "1F4E1E59-1476-4F94-8965-E7ACD72FEFA3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?sort=space.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:48 GMT", + "Date" : "Sun, 24 May 2020 08:48:20 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "01A3F1CC-A8EB-49D4-A3B2-06E9F36A396A", + "id" : "1F4E1E59-1476-4F94-8965-E7ACD72FEFA3", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo0My4xMjg1MDhaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NDMuMTI4NTA4WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo0Ny41MzQyMzRaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NDcuNTM0MjM0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo0Mi41NTI1MDlaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NDIuNTUyNTA5WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NDYuODMzMzM0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjQ2LjgzMzMzNFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjIsIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjE5LjM2Njc3MVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MjAuNjE4NDkyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjE5LjA4MzM5WiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODoyMC42MTMxODVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" }, "type" : 2 }, { - "id" : "01A3F1CC-A8EB-49D4-A3B2-06E9F36A396A", + "id" : "1F4E1E59-1476-4F94-8965-E7ACD72FEFA3", "type" : 4 }, { - "id" : "855771F3-5F8F-4982-8DA5-2609244AE55E", + "id" : "4960B109-3E33-41DC-AF68-8C62455B84D5", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -344,29 +344,29 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "108", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "855771F3-5F8F-4982-8DA5-2609244AE55E", + "id" : "4960B109-3E33-41DC-AF68-8C62455B84D5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:50 GMT", + "Date" : "Sun, 24 May 2020 08:48:21 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -376,7 +376,7 @@ "type" : 1 }, { - "id" : "855771F3-5F8F-4982-8DA5-2609244AE55E", + "id" : "4960B109-3E33-41DC-AF68-8C62455B84D5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -384,11 +384,11 @@ "type" : 2 }, { - "id" : "855771F3-5F8F-4982-8DA5-2609244AE55E", + "id" : "4960B109-3E33-41DC-AF68-8C62455B84D5", "type" : 4 }, { - "id" : "9A6C5894-556E-4152-B002-708EA5E301A5", + "id" : "5C45BC88-433A-4FD1-A8A7-F49B512D9521", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -404,19 +404,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9A6C5894-556E-4152-B002-708EA5E301A5", + "id" : "5C45BC88-433A-4FD1-A8A7-F49B512D9521", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:51 GMT", + "Date" : "Sun, 24 May 2020 08:48:22 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -426,7 +426,7 @@ "type" : 1 }, { - "id" : "9A6C5894-556E-4152-B002-708EA5E301A5", + "id" : "5C45BC88-433A-4FD1-A8A7-F49B512D9521", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -434,11 +434,11 @@ "type" : 2 }, { - "id" : "9A6C5894-556E-4152-B002-708EA5E301A5", + "id" : "5C45BC88-433A-4FD1-A8A7-F49B512D9521", "type" : 4 }, { - "id" : "58EC50B8-6FAE-4DCE-8C19-EF2C02C6DFDE", + "id" : "D43BE432-96C4-4338-8E50-C23D3ADB9193", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -454,19 +454,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "58EC50B8-6FAE-4DCE-8C19-EF2C02C6DFDE", + "id" : "D43BE432-96C4-4338-8E50-C23D3ADB9193", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:53 GMT", + "Date" : "Sun, 24 May 2020 08:48:22 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -476,7 +476,7 @@ "type" : 1 }, { - "id" : "58EC50B8-6FAE-4DCE-8C19-EF2C02C6DFDE", + "id" : "D43BE432-96C4-4338-8E50-C23D3ADB9193", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -484,11 +484,11 @@ "type" : 2 }, { - "id" : "58EC50B8-6FAE-4DCE-8C19-EF2C02C6DFDE", + "id" : "D43BE432-96C4-4338-8E50-C23D3ADB9193", "type" : 4 }, { - "id" : "3F96FF10-EE1B-4D88-8D64-CB8547D413D9", + "id" : "9E1C911A-5FAE-4FCF-8295-6B401B921888", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -504,19 +504,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3F96FF10-EE1B-4D88-8D64-CB8547D413D9", + "id" : "9E1C911A-5FAE-4FCF-8295-6B401B921888", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:53 GMT", + "Date" : "Sun, 24 May 2020 08:48:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -526,7 +526,7 @@ "type" : 1 }, { - "id" : "3F96FF10-EE1B-4D88-8D64-CB8547D413D9", + "id" : "9E1C911A-5FAE-4FCF-8295-6B401B921888", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -534,7 +534,7 @@ "type" : 2 }, { - "id" : "3F96FF10-EE1B-4D88-8D64-CB8547D413D9", + "id" : "9E1C911A-5FAE-4FCF-8295-6B401B921888", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnSortedUserInformationWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnSortedMembersInformationWhenSortIsSet.json similarity index 52% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnSortedUserInformationWhenSortIsSet.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnSortedMembersInformationWhenSortIsSet.json index 0219ef9de..1f451d9a1 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnSortedUserInformationWhenSortIsSet.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndReturnSortedMembersInformationWhenSortIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "7AB39A29-4FD2-4395-B4AE-A553BE9EAC60", + "id" : "F0D51BF0-D6B5-43FC-810E-D47D266DEED1", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -16,19 +16,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7AB39A29-4FD2-4395-B4AE-A553BE9EAC60", + "id" : "F0D51BF0-D6B5-43FC-810E-D47D266DEED1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:10 GMT", + "Date" : "Sun, 24 May 2020 08:48:25 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "7AB39A29-4FD2-4395-B4AE-A553BE9EAC60", + "id" : "F0D51BF0-D6B5-43FC-810E-D47D266DEED1", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "7AB39A29-4FD2-4395-B4AE-A553BE9EAC60", + "id" : "F0D51BF0-D6B5-43FC-810E-D47D266DEED1", "type" : 4 }, { - "id" : "2C3F9E82-09C8-41F9-9E74-1CEBF58F5532", + "id" : "0C11B662-8123-4D6C-83E3-1E6548DB0076", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -66,19 +66,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2C3F9E82-09C8-41F9-9E74-1CEBF58F5532", + "id" : "0C11B662-8123-4D6C-83E3-1E6548DB0076", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:10 GMT", + "Date" : "Sun, 24 May 2020 08:48:25 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "2C3F9E82-09C8-41F9-9E74-1CEBF58F5532", + "id" : "0C11B662-8123-4D6C-83E3-1E6548DB0076", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "2C3F9E82-09C8-41F9-9E74-1CEBF58F5532", + "id" : "0C11B662-8123-4D6C-83E3-1E6548DB0076", "type" : 4 }, { - "id" : "58B6EC32-B4C6-4236-9823-46BD97C1EB12", + "id" : "A44EFFE6-0E15-4E7E-B1CE-A97029178AEC", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -112,33 +112,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "58B6EC32-B4C6-4236-9823-46BD97C1EB12", + "id" : "A44EFFE6-0E15-4E7E-B1CE-A97029178AEC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:10 GMT", + "Date" : "Sun, 24 May 2020 08:48:26 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "58B6EC32-B4C6-4236-9823-46BD97C1EB12", + "id" : "A44EFFE6-0E15-4E7E-B1CE-A97029178AEC", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjoxMC4zMzQ3NjFaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6MTAuMzM0NzYxWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODoyNi4xMjU0MjVaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "58B6EC32-B4C6-4236-9823-46BD97C1EB12", + "id" : "A44EFFE6-0E15-4E7E-B1CE-A97029178AEC", "type" : 4 }, { - "id" : "91E74DF8-041D-41CB-95EE-52D7395A5627", + "id" : "743A6D2F-75B3-479B-9921-84162F5DAB29", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -170,33 +170,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "91E74DF8-041D-41CB-95EE-52D7395A5627", + "id" : "743A6D2F-75B3-479B-9921-84162F5DAB29", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:12 GMT", + "Date" : "Sun, 24 May 2020 08:48:27 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "91E74DF8-041D-41CB-95EE-52D7395A5627", + "id" : "743A6D2F-75B3-479B-9921-84162F5DAB29", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjExLjkzNTc4NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjoxMS45MzU3ODVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjI3LjQ2ODQzNVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "91E74DF8-041D-41CB-95EE-52D7395A5627", + "id" : "743A6D2F-75B3-479B-9921-84162F5DAB29", "type" : 4 }, { - "id" : "177D17CB-1FDD-4759-8E5B-D46450902902", + "id" : "26D7E394-58DA-4188-BCA4-423F367BD274", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -228,33 +228,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "177D17CB-1FDD-4759-8E5B-D46450902902", + "id" : "26D7E394-58DA-4188-BCA4-423F367BD274", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:13 GMT", + "Date" : "Sun, 24 May 2020 08:48:27 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "177D17CB-1FDD-4759-8E5B-D46450902902", + "id" : "26D7E394-58DA-4188-BCA4-423F367BD274", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjEyLjU0MDcxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjEyLjU0MDcxWiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjI3LjY5MTU0N1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "177D17CB-1FDD-4759-8E5B-D46450902902", + "id" : "26D7E394-58DA-4188-BCA4-423F367BD274", "type" : 4 }, { - "id" : "640BAF63-523D-4122-A97E-A1E79B44577C", + "id" : "6F22AC25-14DE-444A-8832-EE77BED2F76D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -286,33 +286,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "640BAF63-523D-4122-A97E-A1E79B44577C", + "id" : "6F22AC25-14DE-444A-8832-EE77BED2F76D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:13 GMT", + "Date" : "Sun, 24 May 2020 08:48:27 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "640BAF63-523D-4122-A97E-A1E79B44577C", + "id" : "6F22AC25-14DE-444A-8832-EE77BED2F76D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjoxMy4xNTYyMDdaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6MTMuMTU2MjA3WiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODoyNy45MTQ5MTdaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "640BAF63-523D-4122-A97E-A1E79B44577C", + "id" : "6F22AC25-14DE-444A-8832-EE77BED2F76D", "type" : 4 }, { - "id" : "C5394E72-E3DB-4BB3-8C92-8ECD45A4D376", + "id" : "491D5925-0E1B-4640-A61A-38284805D513", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -344,33 +344,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C5394E72-E3DB-4BB3-8C92-8ECD45A4D376", + "id" : "491D5925-0E1B-4640-A61A-38284805D513", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:14 GMT", + "Date" : "Sun, 24 May 2020 08:48:28 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,19 +378,19 @@ "type" : 1 }, { - "id" : "C5394E72-E3DB-4BB3-8C92-8ECD45A4D376", + "id" : "491D5925-0E1B-4640-A61A-38284805D513", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjoxMy43NjkyMzFaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6MTMuNzY5MjMxWiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODoyOC4xMzkxNTVaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "C5394E72-E3DB-4BB3-8C92-8ECD45A4D376", + "id" : "491D5925-0E1B-4640-A61A-38284805D513", "type" : 4 }, { - "id" : "EF5ADD08-B77F-4C8B-8361-6F74F66BDDE3", + "id" : "9B8E2EAA-0FB5-4565-A381-503852BACDD6", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -402,33 +402,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "189", + "Content-Length" : "225", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiR2xlbi11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?sort=user.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?sort=uuid.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii" }, "type" : 0 }, { - "id" : "EF5ADD08-B77F-4C8B-8361-6F74F66BDDE3", + "id" : "9B8E2EAA-0FB5-4565-A381-503852BACDD6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?sort=user.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?sort=uuid.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:18 GMT", + "Date" : "Sun, 24 May 2020 08:48:29 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,19 +436,19 @@ "type" : 1 }, { - "id" : "EF5ADD08-B77F-4C8B-8361-6F74F66BDDE3", + "id" : "9B8E2EAA-0FB5-4565-A381-503852BACDD6", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjExLjkzNTc4NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjoxMS45MzU3ODVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjE1LjgzMTQ3N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjoxNS44MzE0NzdaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJ1c2VyIjp7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJLaW0iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IktpbS1jdXN0b20tZGF0YS0xIiwidXNlci1jdXN0b20yIjoiS2ltLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6MTIuNTQwNzFaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6MTIuNTQwNzFaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjE2LjUyNzc3OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjoxNi41Mjc3NzhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjoxMy43NjkyMzFaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6MTMuNzY5MjMxWiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjoxNy45MTk1MzRaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6MTcuOTE5NTM0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciIsInVzZXIiOnsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJFYXJsaW5lIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEiLCJ1c2VyLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6MTMuMTU2MjA3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjEzLjE1NjIwN1oiLCJlVGFnIjoiQWQ2YnpybmNyS1czclFFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjE3LjIyMzU1M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjoxNy4yMjM1NTNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50Ijo0LCJuZXh0IjoiTkEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjI3LjQ2ODQzNVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MjkuMzg2NDUzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjI3LjY5MTU0N1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MjkuMzkxNzUxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODoyOC4xMzkxNTVaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODoyOS4zOTY5NDNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXVpZC1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIiwidXVpZC1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjI3LjkxNDkxN1oiLCJlVGFnIjoiQWFtdHFiakRxYnU4Y0EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MjkuMzgwNzgxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6NCwibmV4dCI6Ik5BIn0=" }, "type" : 2 }, { - "id" : "EF5ADD08-B77F-4C8B-8361-6F74F66BDDE3", + "id" : "9B8E2EAA-0FB5-4565-A381-503852BACDD6", "type" : 4 }, { - "id" : "A0BA64FC-97A6-477F-9646-7A1B38D78AB9", + "id" : "593FDDC6-EEC3-442E-BD5C-2D80091E2E10", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -460,29 +460,29 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "192", + "Content-Length" : "228", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A0BA64FC-97A6-477F-9646-7A1B38D78AB9", + "id" : "593FDDC6-EEC3-442E-BD5C-2D80091E2E10", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:21 GMT", + "Date" : "Sun, 24 May 2020 08:48:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -492,7 +492,7 @@ "type" : 1 }, { - "id" : "A0BA64FC-97A6-477F-9646-7A1B38D78AB9", + "id" : "593FDDC6-EEC3-442E-BD5C-2D80091E2E10", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -500,11 +500,11 @@ "type" : 2 }, { - "id" : "A0BA64FC-97A6-477F-9646-7A1B38D78AB9", + "id" : "593FDDC6-EEC3-442E-BD5C-2D80091E2E10", "type" : 4 }, { - "id" : "0A26BABE-6F15-4719-B052-19F56075C05E", + "id" : "D12483A9-3351-4791-88F9-647D9E06EB57", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -520,19 +520,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0A26BABE-6F15-4719-B052-19F56075C05E", + "id" : "D12483A9-3351-4791-88F9-647D9E06EB57", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:21 GMT", + "Date" : "Sun, 24 May 2020 08:48:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -542,7 +542,7 @@ "type" : 1 }, { - "id" : "0A26BABE-6F15-4719-B052-19F56075C05E", + "id" : "D12483A9-3351-4791-88F9-647D9E06EB57", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -550,11 +550,11 @@ "type" : 2 }, { - "id" : "0A26BABE-6F15-4719-B052-19F56075C05E", + "id" : "D12483A9-3351-4791-88F9-647D9E06EB57", "type" : 4 }, { - "id" : "0EC6DE6F-BCAB-4838-8E4B-8975CD72C485", + "id" : "4C0DCB93-028C-4213-8B40-BEB318324A7F", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -570,19 +570,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0EC6DE6F-BCAB-4838-8E4B-8975CD72C485", + "id" : "4C0DCB93-028C-4213-8B40-BEB318324A7F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:22 GMT", + "Date" : "Sun, 24 May 2020 08:48:31 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -592,7 +592,7 @@ "type" : 1 }, { - "id" : "0EC6DE6F-BCAB-4838-8E4B-8975CD72C485", + "id" : "4C0DCB93-028C-4213-8B40-BEB318324A7F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -600,11 +600,11 @@ "type" : 2 }, { - "id" : "0EC6DE6F-BCAB-4838-8E4B-8975CD72C485", + "id" : "4C0DCB93-028C-4213-8B40-BEB318324A7F", "type" : 4 }, { - "id" : "6F574AE7-3808-449B-A7EC-EE63327CCBF1", + "id" : "76041A70-0F26-44BD-8F3D-F31FF7DB4947", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -620,19 +620,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6F574AE7-3808-449B-A7EC-EE63327CCBF1", + "id" : "76041A70-0F26-44BD-8F3D-F31FF7DB4947", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:23 GMT", + "Date" : "Sun, 24 May 2020 08:48:31 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -642,7 +642,7 @@ "type" : 1 }, { - "id" : "6F574AE7-3808-449B-A7EC-EE63327CCBF1", + "id" : "76041A70-0F26-44BD-8F3D-F31FF7DB4947", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -650,11 +650,11 @@ "type" : 2 }, { - "id" : "6F574AE7-3808-449B-A7EC-EE63327CCBF1", + "id" : "76041A70-0F26-44BD-8F3D-F31FF7DB4947", "type" : 4 }, { - "id" : "CE91081E-9977-433B-8BA2-386219B5DC2F", + "id" : "D0167961-4F7F-42B0-889C-3E94C568E476", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -670,19 +670,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CE91081E-9977-433B-8BA2-386219B5DC2F", + "id" : "D0167961-4F7F-42B0-889C-3E94C568E476", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:24 GMT", + "Date" : "Sun, 24 May 2020 08:48:31 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -692,7 +692,7 @@ "type" : 1 }, { - "id" : "CE91081E-9977-433B-8BA2-386219B5DC2F", + "id" : "D0167961-4F7F-42B0-889C-3E94C568E476", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -700,11 +700,11 @@ "type" : 2 }, { - "id" : "CE91081E-9977-433B-8BA2-386219B5DC2F", + "id" : "D0167961-4F7F-42B0-889C-3E94C568E476", "type" : 4 }, { - "id" : "67FDB65D-211F-45EC-8609-DCE244FFF74C", + "id" : "1FB8D85F-DD70-4556-B1E1-ED3AC65F0F24", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -720,19 +720,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "67FDB65D-211F-45EC-8609-DCE244FFF74C", + "id" : "1FB8D85F-DD70-4556-B1E1-ED3AC65F0F24", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:26 GMT", + "Date" : "Sun, 24 May 2020 08:48:32 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -742,7 +742,7 @@ "type" : 1 }, { - "id" : "67FDB65D-211F-45EC-8609-DCE244FFF74C", + "id" : "1FB8D85F-DD70-4556-B1E1-ED3AC65F0F24", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -750,7 +750,7 @@ "type" : 2 }, { - "id" : "67FDB65D-211F-45EC-8609-DCE244FFF74C", + "id" : "1FB8D85F-DD70-4556-B1E1-ED3AC65F0F24", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndTriggerCreateEventOnSpaceChannel.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndTriggerSetEventOnChannel.json similarity index 52% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndTriggerCreateEventOnSpaceChannel.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndTriggerSetEventOnChannel.json index caaab3330..d447ccde6 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndTriggerCreateEventOnSpaceChannel.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndTriggerSetEventOnChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "8868F890-5DE4-428C-A460-0CC7A70A1BD3", + "id" : "3F1D8AD6-C80E-4952-8B7A-9C1DCD32144D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8868F890-5DE4-428C-A460-0CC7A70A1BD3", + "id" : "3F1D8AD6-C80E-4952-8B7A-9C1DCD32144D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:42 GMT", + "Date" : "Sun, 24 May 2020 08:48:34 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "8868F890-5DE4-428C-A460-0CC7A70A1BD3", + "id" : "3F1D8AD6-C80E-4952-8B7A-9C1DCD32144D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "8868F890-5DE4-428C-A460-0CC7A70A1BD3", + "id" : "3F1D8AD6-C80E-4952-8B7A-9C1DCD32144D", "type" : 4 }, { - "id" : "B825E55D-1F20-424D-B6FA-3FA04C35D7DB", + "id" : "36425867-30F7-4DE7-B068-50F31ECB093E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B825E55D-1F20-424D-B6FA-3FA04C35D7DB", + "id" : "36425867-30F7-4DE7-B068-50F31ECB093E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:42 GMT", + "Date" : "Sun, 24 May 2020 08:48:34 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "B825E55D-1F20-424D-B6FA-3FA04C35D7DB", + "id" : "36425867-30F7-4DE7-B068-50F31ECB093E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "B825E55D-1F20-424D-B6FA-3FA04C35D7DB", + "id" : "36425867-30F7-4DE7-B068-50F31ECB093E", "type" : 4 }, { - "id" : "BBF8A5E8-5C25-4340-8E8D-6770B61FD6EE", + "id" : "61D4F46F-F58B-4982-828A-A471A0310E69", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BBF8A5E8-5C25-4340-8E8D-6770B61FD6EE", + "id" : "61D4F46F-F58B-4982-828A-A471A0310E69", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:43 GMT", + "Date" : "Sun, 24 May 2020 08:48:35 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "BBF8A5E8-5C25-4340-8E8D-6770B61FD6EE", + "id" : "61D4F46F-F58B-4982-828A-A471A0310E69", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo0My4yODgzMTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6NDMuMjg4MzE0WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODozNS40NDAyODNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "BBF8A5E8-5C25-4340-8E8D-6770B61FD6EE", + "id" : "61D4F46F-F58B-4982-828A-A471A0310E69", "type" : 4 }, { - "id" : "6241A3EE-CEE1-4276-A56F-7A94624AF388", + "id" : "36EB3CFB-ED5C-4534-8DC0-99697EB41A44", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6241A3EE-CEE1-4276-A56F-7A94624AF388", + "id" : "36EB3CFB-ED5C-4534-8DC0-99697EB41A44", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:45 GMT", + "Date" : "Sun, 24 May 2020 08:48:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "6241A3EE-CEE1-4276-A56F-7A94624AF388", + "id" : "36EB3CFB-ED5C-4534-8DC0-99697EB41A44", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjQ0Ljk1NDkxM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo0NC45NTQ5MTNaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjM2LjY2OTgyMloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "6241A3EE-CEE1-4276-A56F-7A94624AF388", + "id" : "36EB3CFB-ED5C-4534-8DC0-99697EB41A44", "type" : 4 }, { - "id" : "137DD1CC-F48A-4FC3-B074-DE0A505EADC7", + "id" : "13394207-6C0E-4257-800B-CD2C65A65373", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "137DD1CC-F48A-4FC3-B074-DE0A505EADC7", + "id" : "13394207-6C0E-4257-800B-CD2C65A65373", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:46 GMT", + "Date" : "Sun, 24 May 2020 08:48:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "137DD1CC-F48A-4FC3-B074-DE0A505EADC7", + "id" : "13394207-6C0E-4257-800B-CD2C65A65373", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjQ1LjUzOTYxNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo0NS41Mzk2MTVaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjM2Ljg5MzM4NVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "137DD1CC-F48A-4FC3-B074-DE0A505EADC7", + "id" : "13394207-6C0E-4257-800B-CD2C65A65373", "type" : 4 }, { - "id" : "F7128E8F-D922-400A-B5D4-308CA8BCF3F3", + "id" : "90D6BB5C-1D37-487B-9252-A6F64D538AE4", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -283,28 +283,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F7128E8F-D922-400A-B5D4-308CA8BCF3F3", + "id" : "90D6BB5C-1D37-487B-9252-A6F64D538AE4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:36:47 GMT", + "Date" : "Sun, 24 May 2020 08:48:38 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -313,19 +313,19 @@ "type" : 1 }, { - "id" : "F7128E8F-D922-400A-B5D4-308CA8BCF3F3", + "id" : "90D6BB5C-1D37-487B-9252-A6F64D538AE4", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NDA3MTgxODkxOCIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMTE1NDQyOTMwNiIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "F7128E8F-D922-400A-B5D4-308CA8BCF3F3", + "id" : "90D6BB5C-1D37-487B-9252-A6F64D538AE4", "type" : 4 }, { - "id" : "D2AE2C78-A561-427B-89A0-877777E6157A", + "id" : "C933A962-8DCF-4865-AFF5-B9DD47DC1155", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -334,19 +334,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394071818918&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101154429306&tr=56" }, "type" : 0 }, { - "id" : "3A245DF8-DB6C-4D7B-B781-54BC003CC1F4", + "id" : "12494A72-C5B7-4976-9898-B193C4F65828", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -356,34 +356,34 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D2AE2C78-A561-427B-89A0-877777E6157A", + "id" : "C933A962-8DCF-4865-AFF5-B9DD47DC1155", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394071818918&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101154429306&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:36:48 GMT", - "Content-Length" : "507", + "Date" : "Sun, 24 May 2020 08:48:38 GMT", + "Content-Length" : "463", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -391,19 +391,50 @@ "type" : 1 }, { - "id" : "D2AE2C78-A561-427B-89A0-877777E6157A", + "id" : "C933A962-8DCF-4865-AFF5-B9DD47DC1155", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NDA4NDQzODExNiIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5NDA4NDQxMzgwMyIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoiY3JlYXRlIiwidHlwZSI6Im1lbWJlcnNoaXAiLCJkYXRhIjp7ImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjQ3LjgyNTgzNjc3MloiLCJjdXN0b20iOm51bGwsImVUYWciOiJBWTM5bUpLSy8vQzBWQSIsInNwYWNlSWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo0Ny44MjU4MzY3NzJaIiwidXNlcklkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMTE4NjYwNzMwNyIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMTE4NjYyMDkzMSIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJzZXQiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImVUYWciOiJBWTM5bUpLSy8vQzBWQSIsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjM4LjY1NjgzMzQ2NVoiLCJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9fX19XX0=" }, "type" : 2 }, { - "id" : "D2AE2C78-A561-427B-89A0-877777E6157A", + "id" : "C933A962-8DCF-4865-AFF5-B9DD47DC1155", "type" : 4 }, { - "id" : "FED45A38-4F62-4294-9F4D-70DC31A6FA14", + "id" : "12494A72-C5B7-4976-9898-B193C4F65828", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:48:38 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "12494A72-C5B7-4976-9898-B193C4F65828", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjM2LjY2OTgyMloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MzguNjU2ODMzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjM2Ljg5MzM4NVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MzguNjYyMjI3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + }, + "type" : 2 + }, + { + "id" : "12494A72-C5B7-4976-9898-B193C4F65828", + "type" : 4 + }, + { + "id" : "346BD64F-840B-4CE5-8CCA-C4FD142126E6", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -412,29 +443,29 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394084438116&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101186607307&tr=56" }, "type" : 0 }, { - "id" : "FED45A38-4F62-4294-9F4D-70DC31A6FA14", + "id" : "346BD64F-840B-4CE5-8CCA-C4FD142126E6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394084438116&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101186607307&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:36:49 GMT", - "Content-Length" : "504", + "Date" : "Sun, 24 May 2020 08:48:38 GMT", + "Content-Length" : "460", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -442,19 +473,19 @@ "type" : 1 }, { - "id" : "FED45A38-4F62-4294-9F4D-70DC31A6FA14", + "id" : "346BD64F-840B-4CE5-8CCA-C4FD142126E6", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NDA5MTQ5NTAyNSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5NDA5MTQ2OTM1MSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoiY3JlYXRlIiwidHlwZSI6Im1lbWJlcnNoaXAiLCJkYXRhIjp7ImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjQ4LjUyODU0Nzc5OVoiLCJjdXN0b20iOm51bGwsImVUYWciOiJBWTM5bUpLSy8vQzBWQSIsInNwYWNlSWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo0OC41Mjg1NDc3OTlaIiwidXNlcklkIjoiS2ltLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMTE4NjY1NzM1MSIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMTE4NjY3MDU1NSIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJzZXQiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImVUYWciOiJBWTM5bUpLSy8vQzBWQSIsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjM4LjY2MjIyNjUzOFoiLCJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9fX19XX0=" }, "type" : 2 }, { - "id" : "FED45A38-4F62-4294-9F4D-70DC31A6FA14", + "id" : "346BD64F-840B-4CE5-8CCA-C4FD142126E6", "type" : 4 }, { - "id" : "6B55E70E-46CA-45D2-803C-A9B8BF23D380", + "id" : "B95BFC88-D033-41D2-A0E8-134674E47A0B", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -463,25 +494,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394091495025&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101186657351&tr=56" }, "type" : 0 }, { - "id" : "6B55E70E-46CA-45D2-803C-A9B8BF23D380", + "id" : "B95BFC88-D033-41D2-A0E8-134674E47A0B", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394091495025&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101186657351&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810394091495025&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101186657351&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -489,7 +520,7 @@ "type" : 3 }, { - "id" : "96225236-740F-4F90-AB88-38C62082FD49", + "id" : "504F2E23-A272-4ADA-AC4F-27D13556E900", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -498,61 +529,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3A245DF8-DB6C-4D7B-B781-54BC003CC1F4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:49 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "3A245DF8-DB6C-4D7B-B781-54BC003CC1F4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjQ0Ljk1NDkxM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo0NC45NTQ5MTNaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjQ3LjgyNTgzN1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo0Ny44MjU4MzdaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJ1c2VyIjp7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJLaW0iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IktpbS1jdXN0b20tZGF0YS0xIiwidXNlci1jdXN0b20yIjoiS2ltLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6NDUuNTM5NjE1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjQ1LjUzOTYxNVoiLCJlVGFnIjoiQWJqTHkvTE52N0hWTncifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6NDguNTI4NTQ4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjQ4LjUyODU0OFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" - }, - "type" : 2 - }, - { - "id" : "3A245DF8-DB6C-4D7B-B781-54BC003CC1F4", - "type" : 4 - }, - { - "id" : "96225236-740F-4F90-AB88-38C62082FD49", + "id" : "504F2E23-A272-4ADA-AC4F-27D13556E900", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 01:36:49 GMT", + "Date" : "Sun, 24 May 2020 08:48:39 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -562,7 +562,7 @@ "type" : 1 }, { - "id" : "96225236-740F-4F90-AB88-38C62082FD49", + "id" : "504F2E23-A272-4ADA-AC4F-27D13556E900", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -570,11 +570,11 @@ "type" : 2 }, { - "id" : "96225236-740F-4F90-AB88-38C62082FD49", + "id" : "504F2E23-A272-4ADA-AC4F-27D13556E900", "type" : 4 }, { - "id" : "8CAA8F83-EA5B-453D-ABEE-2AD456AB1DEF", + "id" : "F9B5294D-B232-4453-945B-13ADC9CB2C3F", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -583,30 +583,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8CAA8F83-EA5B-453D-ABEE-2AD456AB1DEF", + "id" : "F9B5294D-B232-4453-945B-13ADC9CB2C3F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:49 GMT", + "Date" : "Sun, 24 May 2020 08:48:39 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -614,19 +614,19 @@ "type" : 1 }, { - "id" : "8CAA8F83-EA5B-453D-ABEE-2AD456AB1DEF", + "id" : "F9B5294D-B232-4453-945B-13ADC9CB2C3F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6NDcuODI1ODM3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjQ3LjgyNTgzN1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjQ4LjUyODU0OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjo0OC41Mjg1NDhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MzguNjU2ODMzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDg6MzguNjYyMjI3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "8CAA8F83-EA5B-453D-ABEE-2AD456AB1DEF", + "id" : "F9B5294D-B232-4453-945B-13ADC9CB2C3F", "type" : 4 }, { - "id" : "BFA0A79C-9196-4BE9-A90E-0BEC4C7B242B", + "id" : "1931CEBB-0CF4-4508-B7B8-5EC07C22273F", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -636,31 +636,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "101", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BFA0A79C-9196-4BE9-A90E-0BEC4C7B242B", + "id" : "1931CEBB-0CF4-4508-B7B8-5EC07C22273F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:52 GMT", + "Date" : "Sun, 24 May 2020 08:48:40 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -670,7 +670,7 @@ "type" : 1 }, { - "id" : "BFA0A79C-9196-4BE9-A90E-0BEC4C7B242B", + "id" : "1931CEBB-0CF4-4508-B7B8-5EC07C22273F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -678,11 +678,11 @@ "type" : 2 }, { - "id" : "BFA0A79C-9196-4BE9-A90E-0BEC4C7B242B", + "id" : "1931CEBB-0CF4-4508-B7B8-5EC07C22273F", "type" : 4 }, { - "id" : "F6A611DF-3C69-4883-8C9B-DCC586877DE5", + "id" : "648B9DF4-68A9-4038-9EA6-29DF9270EB6E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -691,26 +691,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F6A611DF-3C69-4883-8C9B-DCC586877DE5", + "id" : "648B9DF4-68A9-4038-9EA6-29DF9270EB6E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:52 GMT", + "Date" : "Sun, 24 May 2020 08:48:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -720,7 +720,7 @@ "type" : 1 }, { - "id" : "F6A611DF-3C69-4883-8C9B-DCC586877DE5", + "id" : "648B9DF4-68A9-4038-9EA6-29DF9270EB6E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -728,11 +728,11 @@ "type" : 2 }, { - "id" : "F6A611DF-3C69-4883-8C9B-DCC586877DE5", + "id" : "648B9DF4-68A9-4038-9EA6-29DF9270EB6E", "type" : 4 }, { - "id" : "699868C6-4013-48B6-8700-CE796FAE87D2", + "id" : "6F6CAC91-B9DD-426D-9709-4446DD111505", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -741,26 +741,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "699868C6-4013-48B6-8700-CE796FAE87D2", + "id" : "6F6CAC91-B9DD-426D-9709-4446DD111505", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:53 GMT", + "Date" : "Sun, 24 May 2020 08:48:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -770,7 +770,7 @@ "type" : 1 }, { - "id" : "699868C6-4013-48B6-8700-CE796FAE87D2", + "id" : "6F6CAC91-B9DD-426D-9709-4446DD111505", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -778,11 +778,11 @@ "type" : 2 }, { - "id" : "699868C6-4013-48B6-8700-CE796FAE87D2", + "id" : "6F6CAC91-B9DD-426D-9709-4446DD111505", "type" : 4 }, { - "id" : "E05153D5-5114-4608-AB75-4E28284CD1DE", + "id" : "26830268-0C4F-4ECE-826E-6F3C8B8FD0DD", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -791,26 +791,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E05153D5-5114-4608-AB75-4E28284CD1DE", + "id" : "26830268-0C4F-4ECE-826E-6F3C8B8FD0DD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:55 GMT", + "Date" : "Sun, 24 May 2020 08:48:42 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -820,7 +820,7 @@ "type" : 1 }, { - "id" : "E05153D5-5114-4608-AB75-4E28284CD1DE", + "id" : "26830268-0C4F-4ECE-826E-6F3C8B8FD0DD", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -828,7 +828,7 @@ "type" : 2 }, { - "id" : "E05153D5-5114-4608-AB75-4E28284CD1DE", + "id" : "26830268-0C4F-4ECE-826E-6F3C8B8FD0DD", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndTriggerSetEventOnUUIDChannel.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndTriggerSetEventOnUUIDChannel.json new file mode 100644 index 000000000..5cdb1e77f --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersAndTriggerSetEventOnUUIDChannel.json @@ -0,0 +1,731 @@ +[ + { + "id" : "7DAC03D0-C62B-49BF-84D8-CB1C4701DD68", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7DAC03D0-C62B-49BF-84D8-CB1C4701DD68", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 09:12:22 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "7DAC03D0-C62B-49BF-84D8-CB1C4701DD68", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "7DAC03D0-C62B-49BF-84D8-CB1C4701DD68", + "type" : 4 + }, + { + "id" : "1EA5BC6B-20B0-4AEC-89A8-0B0569D44C85", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "1EA5BC6B-20B0-4AEC-89A8-0B0569D44C85", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 09:12:22 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "1EA5BC6B-20B0-4AEC-89A8-0B0569D44C85", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "1EA5BC6B-20B0-4AEC-89A8-0B0569D44C85", + "type" : 4 + }, + { + "id" : "7DAAFB6A-72E0-4A47-AA08-1082FA29AEA2", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7DAAFB6A-72E0-4A47-AA08-1082FA29AEA2", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 09:12:23 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "7DAAFB6A-72E0-4A47-AA08-1082FA29AEA2", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwOToxMjoyMy4yNTkyNzNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "7DAAFB6A-72E0-4A47-AA08-1082FA29AEA2", + "type" : 4 + }, + { + "id" : "DA76586D-41A6-4492-B502-6C0F7141E537", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "DA76586D-41A6-4492-B502-6C0F7141E537", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 09:12:24 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "DA76586D-41A6-4492-B502-6C0F7141E537", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA5OjEyOjI0LjQ5MDA3OVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "DA76586D-41A6-4492-B502-6C0F7141E537", + "type" : 4 + }, + { + "id" : "7B4F82F8-7681-4F89-812E-55EB83BAA20F", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7B4F82F8-7681-4F89-812E-55EB83BAA20F", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 09:12:24 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "7B4F82F8-7681-4F89-812E-55EB83BAA20F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA5OjEyOjI0LjcxOFoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "7B4F82F8-7681-4F89-812E-55EB83BAA20F", + "type" : 4 + }, + { + "id" : "4A7FC50B-6114-4C7E-880C-593140B87E63", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "4A7FC50B-6114-4C7E-880C-593140B87E63", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 09:12:26 GMT", + "Content-Length" : "45", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "4A7FC50B-6114-4C7E-880C-593140B87E63", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzExNTQ0NDkzODc3MSIsInIiOjU2fSwibSI6W119" + }, + "type" : 2 + }, + { + "id" : "4A7FC50B-6114-4C7E-880C-593140B87E63", + "type" : 4 + }, + { + "id" : "997C8FF2-8A5D-4386-9D24-51633A8F9C06", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903115444938771&tr=56" + }, + "type" : 0 + }, + { + "id" : "2C353ABD-61F7-48CF-9FEB-679D65669039", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "997C8FF2-8A5D-4386-9D24-51633A8F9C06", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903115444938771&tr=56", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 09:12:26 GMT", + "Content-Length" : "459", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "997C8FF2-8A5D-4386-9D24-51633A8F9C06", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzExNTQ2NTI2MTMwNiIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzExNTQ2NTI3MjI3MCIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6InNldCIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwiZVRhZyI6IkFZMzltSktLLy9DMFZBIiwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDk6MTI6MjYuNTIxMjYwNzYxWiIsInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" + }, + "type" : 2 + }, + { + "id" : "2C353ABD-61F7-48CF-9FEB-679D65669039", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 09:12:26 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "2C353ABD-61F7-48CF-9FEB-679D65669039", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA5OjEyOjI0LjQ5MDA3OVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDk6MTI6MjYuNTIxMjYxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA5OjEyOjI0LjcxOFoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDk6MTI6MjYuNTI4OTg0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + }, + "type" : 2 + }, + { + "id" : "2C353ABD-61F7-48CF-9FEB-679D65669039", + "type" : 4 + }, + { + "id" : "997C8FF2-8A5D-4386-9D24-51633A8F9C06", + "type" : 4 + }, + { + "id" : "53E6CD3F-77C0-4533-B99A-0FAEB2F68D77", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903115465261306&tr=56" + }, + "type" : 0 + }, + { + "id" : "53E6CD3F-77C0-4533-B99A-0FAEB2F68D77", + "data" : { + "code" : -999, + "info" : { + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903115465261306&tr=56", + "NSLocalizedDescription" : "cancelled", + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903115465261306&tr=56" + }, + "cls" : "NSError", + "domain" : "NSURLErrorDomain" + }, + "type" : 3 + }, + { + "id" : "AD23FBBF-A0A8-49A6-90B9-561D758CDEB2", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "AD23FBBF-A0A8-49A6-90B9-561D758CDEB2", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Server" : "Pubnub Presence", + "Access-Control-Allow-Origin" : "*", + "Age" : "0", + "Date" : "Sun, 24 May 2020 09:12:27 GMT", + "Accept-Ranges" : "bytes", + "Content-Length" : "74", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "AD23FBBF-A0A8-49A6-90B9-561D758CDEB2", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" + }, + "type" : 2 + }, + { + "id" : "AD23FBBF-A0A8-49A6-90B9-561D758CDEB2", + "type" : 4 + }, + { + "id" : "69A59658-CA50-4528-934C-F4527208D02C", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "119", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "69A59658-CA50-4528-934C-F4527208D02C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 09:12:28 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "69A59658-CA50-4528-934C-F4527208D02C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "69A59658-CA50-4528-934C-F4527208D02C", + "type" : 4 + }, + { + "id" : "6042D34A-0EC4-4999-A984-8CCDB2C47864", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "6042D34A-0EC4-4999-A984-8CCDB2C47864", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 09:12:28 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "6042D34A-0EC4-4999-A984-8CCDB2C47864", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "6042D34A-0EC4-4999-A984-8CCDB2C47864", + "type" : 4 + }, + { + "id" : "8416C10B-452C-4588-AA84-233B51BDD8E4", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8416C10B-452C-4588-AA84-233B51BDD8E4", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 09:12:28 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "8416C10B-452C-4588-AA84-233B51BDD8E4", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "8416C10B-452C-4588-AA84-233B51BDD8E4", + "type" : 4 + }, + { + "id" : "25BC27BD-A006-4F2E-828A-F062A8A204ED", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "25BC27BD-A006-4F2E-828A-F062A8A204ED", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 09:12:29 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "25BC27BD-A006-4F2E-828A-F062A8A204ED", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "25BC27BD-A006-4F2E-828A-F062A8A204ED", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnFilteredUserInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json similarity index 50% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnFilteredUserInformationWhenFilterIsSet.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json index 0a4fef647..038b3152b 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnFilteredUserInformationWhenFilterIsSet.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json @@ -1,6 +1,6 @@ [ { - "id" : "3E295062-3FAD-4F22-89D0-38368492C951", + "id" : "1CE2B1AF-F735-4102-A859-D9F6AAF8B262", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3E295062-3FAD-4F22-89D0-38368492C951", + "id" : "1CE2B1AF-F735-4102-A859-D9F6AAF8B262", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:50 GMT", + "Date" : "Sun, 24 May 2020 08:48:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "3E295062-3FAD-4F22-89D0-38368492C951", + "id" : "1CE2B1AF-F735-4102-A859-D9F6AAF8B262", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "3E295062-3FAD-4F22-89D0-38368492C951", + "id" : "1CE2B1AF-F735-4102-A859-D9F6AAF8B262", "type" : 4 }, { - "id" : "D5C9339A-6EDB-42F4-9FE4-CFA0BE086020", + "id" : "62AB37FD-889C-411C-9429-F82A7BF29537", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D5C9339A-6EDB-42F4-9FE4-CFA0BE086020", + "id" : "62AB37FD-889C-411C-9429-F82A7BF29537", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:50 GMT", + "Date" : "Sun, 24 May 2020 08:48:54 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "D5C9339A-6EDB-42F4-9FE4-CFA0BE086020", + "id" : "62AB37FD-889C-411C-9429-F82A7BF29537", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "D5C9339A-6EDB-42F4-9FE4-CFA0BE086020", + "id" : "62AB37FD-889C-411C-9429-F82A7BF29537", "type" : 4 }, { - "id" : "E075D9BE-6603-4064-B29A-9FF361EBCC5C", + "id" : "268E5998-497F-4CD5-9900-74E873BE0EC8", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E075D9BE-6603-4064-B29A-9FF361EBCC5C", + "id" : "268E5998-497F-4CD5-9900-74E873BE0EC8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:51 GMT", + "Date" : "Sun, 24 May 2020 08:48:54 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "E075D9BE-6603-4064-B29A-9FF361EBCC5C", + "id" : "268E5998-497F-4CD5-9900-74E873BE0EC8", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTo1MC44NTg5MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTo1MC44NTg5MVoiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODo1NC4zODU0NloiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifX0=" }, "type" : 2 }, { - "id" : "E075D9BE-6603-4064-B29A-9FF361EBCC5C", + "id" : "268E5998-497F-4CD5-9900-74E873BE0EC8", "type" : 4 }, { - "id" : "19152DA5-9AA9-4380-BFF0-C32AB0931679", + "id" : "C11B45C6-979A-48A6-87EC-F066B5032C63", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "19152DA5-9AA9-4380-BFF0-C32AB0931679", + "id" : "C11B45C6-979A-48A6-87EC-F066B5032C63", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:52 GMT", + "Date" : "Sun, 24 May 2020 08:48:55 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "19152DA5-9AA9-4380-BFF0-C32AB0931679", + "id" : "C11B45C6-979A-48A6-87EC-F066B5032C63", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjUyLjQ2ODY2NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTo1Mi40Njg2NjVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjU1LjYzMjU3OVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "19152DA5-9AA9-4380-BFF0-C32AB0931679", + "id" : "C11B45C6-979A-48A6-87EC-F066B5032C63", "type" : 4 }, { - "id" : "FEEE2259-3A3E-4836-A43C-DF947B24B026", + "id" : "4C1252E3-EE39-46EF-BAFE-16829A10F0A6", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FEEE2259-3A3E-4836-A43C-DF947B24B026", + "id" : "4C1252E3-EE39-46EF-BAFE-16829A10F0A6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:53 GMT", + "Date" : "Sun, 24 May 2020 08:48:55 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "FEEE2259-3A3E-4836-A43C-DF947B24B026", + "id" : "4C1252E3-EE39-46EF-BAFE-16829A10F0A6", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjUzLjA0NzA4OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTo1My4wNDcwODlaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ4OjU1Ljg1NjY5MVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "FEEE2259-3A3E-4836-A43C-DF947B24B026", + "id" : "4C1252E3-EE39-46EF-BAFE-16829A10F0A6", "type" : 4 }, { - "id" : "55818594-EC6F-4AE8-8B03-9BF4EF74B9F6", + "id" : "68D63246-651C-4087-A2D3-62E25FAFFEB7", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "283", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7ImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJLaW0tdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJjdXN0b20iOnsidXVpZC1tZW1iZXItY3VzdG9tIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "55818594-EC6F-4AE8-8B03-9BF4EF74B9F6", + "id" : "68D63246-651C-4087-A2D3-62E25FAFFEB7", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:56 GMT", + "Date" : "Sun, 24 May 2020 08:48:57 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "55818594-EC6F-4AE8-8B03-9BF4EF74B9F6", + "id" : "68D63246-651C-4087-A2D3-62E25FAFFEB7", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTo1NS4wNDM2NjJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6NTUuMDQzNjYyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTo1NS43NDU3NjlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6NTUuNzQ1NzY5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyLWN1c3RvbSI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODo1Ny4yNjI0MzVaIiwiZVRhZyI6IkFjM1k5SnFyNE1LUHlBRSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyLWN1c3RvbSI6IktpbS11dWlkLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODo1Ny4yNTY0MDNaIiwiZVRhZyI6IkFjcmxoTCt3K3NYQ3N3RSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "55818594-EC6F-4AE8-8B03-9BF4EF74B9F6", + "id" : "68D63246-651C-4087-A2D3-62E25FAFFEB7", "type" : 4 }, { - "id" : "9ADBF8D6-D56F-4FD5-99F1-9117F9B02FF0", + "id" : "C6AB557B-0510-4F5A-83E3-208732609A94", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "268", + "Content-Length" : "283", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn19XX0=" + "base64" : "eyJzZXQiOlt7ImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJLaW0tdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTQifSwidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJjdXN0b20iOnsidXVpZC1tZW1iZXItY3VzdG9tIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllci1jdXN0b20tZGF0YS0zIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?filter=user.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9ADBF8D6-D56F-4FD5-99F1-9117F9B02FF0", + "id" : "C6AB557B-0510-4F5A-83E3-208732609A94", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?filter=user.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:59 GMT", + "Date" : "Sun, 24 May 2020 08:48:58 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,19 +378,19 @@ "type" : 1 }, { - "id" : "9ADBF8D6-D56F-4FD5-99F1-9117F9B02FF0", + "id" : "C6AB557B-0510-4F5A-83E3-208732609A94", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjUzLjA0NzA4OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTo1My4wNDcwODlaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjU1Ljc0NTc2OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTo1OC43NDQyNjFaIiwiZVRhZyI6IkFZK2VtYWo0akluQ1hBIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyLWN1c3RvbSI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMyJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODo1OC42MDcxNjVaIiwiZVRhZyI6IkFmejc1WkxHMjZieGdnRSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyLWN1c3RvbSI6IktpbS11dWlkLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtNCJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0ODo1OC41OTkxNDVaIiwiZVRhZyI6IkFZK1gvdExvOXMzY2hBRSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "9ADBF8D6-D56F-4FD5-99F1-9117F9B02FF0", + "id" : "C6AB557B-0510-4F5A-83E3-208732609A94", "type" : 4 }, { - "id" : "9E352B1F-AA39-4E32-A8F6-8137AB3EE41A", + "id" : "2CDDBEF0-6114-47B2-8753-3651136B3AB7", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -400,31 +400,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "101", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9E352B1F-AA39-4E32-A8F6-8137AB3EE41A", + "id" : "2CDDBEF0-6114-47B2-8753-3651136B3AB7", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:01 GMT", + "Date" : "Sun, 24 May 2020 08:49:00 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -434,7 +434,7 @@ "type" : 1 }, { - "id" : "9E352B1F-AA39-4E32-A8F6-8137AB3EE41A", + "id" : "2CDDBEF0-6114-47B2-8753-3651136B3AB7", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -442,11 +442,11 @@ "type" : 2 }, { - "id" : "9E352B1F-AA39-4E32-A8F6-8137AB3EE41A", + "id" : "2CDDBEF0-6114-47B2-8753-3651136B3AB7", "type" : 4 }, { - "id" : "1B8BB3F4-9F79-44EC-8F99-1D685B6DBF44", + "id" : "EC61C291-6A04-4C2E-BDE7-FF787950078B", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -455,26 +455,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1B8BB3F4-9F79-44EC-8F99-1D685B6DBF44", + "id" : "EC61C291-6A04-4C2E-BDE7-FF787950078B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:02 GMT", + "Date" : "Sun, 24 May 2020 08:49:00 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -484,7 +484,7 @@ "type" : 1 }, { - "id" : "1B8BB3F4-9F79-44EC-8F99-1D685B6DBF44", + "id" : "EC61C291-6A04-4C2E-BDE7-FF787950078B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -492,11 +492,11 @@ "type" : 2 }, { - "id" : "1B8BB3F4-9F79-44EC-8F99-1D685B6DBF44", + "id" : "EC61C291-6A04-4C2E-BDE7-FF787950078B", "type" : 4 }, { - "id" : "F83B636B-7D42-4D86-B6AE-1A260A8D6EDC", + "id" : "B575B86E-43D5-47F3-9F13-BD19325BC0F4", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -505,26 +505,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F83B636B-7D42-4D86-B6AE-1A260A8D6EDC", + "id" : "B575B86E-43D5-47F3-9F13-BD19325BC0F4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:03 GMT", + "Date" : "Sun, 24 May 2020 08:49:00 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -534,7 +534,7 @@ "type" : 1 }, { - "id" : "F83B636B-7D42-4D86-B6AE-1A260A8D6EDC", + "id" : "B575B86E-43D5-47F3-9F13-BD19325BC0F4", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -542,11 +542,11 @@ "type" : 2 }, { - "id" : "F83B636B-7D42-4D86-B6AE-1A260A8D6EDC", + "id" : "B575B86E-43D5-47F3-9F13-BD19325BC0F4", "type" : 4 }, { - "id" : "BD76EE7A-0B74-493F-BD40-D4EB645FE56A", + "id" : "74384C55-5738-4952-B292-879CB9D4C6D8", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -555,26 +555,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BD76EE7A-0B74-493F-BD40-D4EB645FE56A", + "id" : "74384C55-5738-4952-B292-879CB9D4C6D8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:05 GMT", + "Date" : "Sun, 24 May 2020 08:49:01 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -584,7 +584,7 @@ "type" : 1 }, { - "id" : "BD76EE7A-0B74-493F-BD40-D4EB645FE56A", + "id" : "74384C55-5738-4952-B292-879CB9D4C6D8", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -592,7 +592,7 @@ "type" : 2 }, { - "id" : "BD76EE7A-0B74-493F-BD40-D4EB645FE56A", + "id" : "74384C55-5738-4952-B292-879CB9D4C6D8", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnFilteredMembersInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnFilteredMembersInformationWhenFilterIsSet.json new file mode 100644 index 000000000..d72319333 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnFilteredMembersInformationWhenFilterIsSet.json @@ -0,0 +1,598 @@ +[ + { + "id" : "8C9D7023-5389-43F8-ACE6-C46992F4C333", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8C9D7023-5389-43F8-ACE6-C46992F4C333", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:03 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "8C9D7023-5389-43F8-ACE6-C46992F4C333", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "8C9D7023-5389-43F8-ACE6-C46992F4C333", + "type" : 4 + }, + { + "id" : "17DFF060-556D-4744-A760-2E0F517CA093", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "17DFF060-556D-4744-A760-2E0F517CA093", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:04 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "17DFF060-556D-4744-A760-2E0F517CA093", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "17DFF060-556D-4744-A760-2E0F517CA093", + "type" : 4 + }, + { + "id" : "981CC39B-4404-4CE0-93DE-45C22285B517", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "981CC39B-4404-4CE0-93DE-45C22285B517", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:04 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "981CC39B-4404-4CE0-93DE-45C22285B517", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OTowNC4yMjk5NjJaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "981CC39B-4404-4CE0-93DE-45C22285B517", + "type" : 4 + }, + { + "id" : "EBD568BD-2FF7-4B7C-B5CB-34A1456E2E95", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "EBD568BD-2FF7-4B7C-B5CB-34A1456E2E95", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:05 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "EBD568BD-2FF7-4B7C-B5CB-34A1456E2E95", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjA1LjQ3MzMzOFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "EBD568BD-2FF7-4B7C-B5CB-34A1456E2E95", + "type" : 4 + }, + { + "id" : "B812D53D-A7CC-434C-A1AE-6EF97BA4F846", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "B812D53D-A7CC-434C-A1AE-6EF97BA4F846", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:05 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "B812D53D-A7CC-434C-A1AE-6EF97BA4F846", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjA1LjY5OTkxN1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "B812D53D-A7CC-434C-A1AE-6EF97BA4F846", + "type" : 4 + }, + { + "id" : "DA0B21B8-F97E-4DB3-8CC9-C1B415E6F7B6", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "DA0B21B8-F97E-4DB3-8CC9-C1B415E6F7B6", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:06 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "DA0B21B8-F97E-4DB3-8CC9-C1B415E6F7B6", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OTowNi45NDEzNDVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjA2Ljk0NzY0OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "DA0B21B8-F97E-4DB3-8CC9-C1B415E6F7B6", + "type" : 4 + }, + { + "id" : "EA18EB86-1E30-4F33-8A17-63A6FCF408AB", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "283", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJLaW0tdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJjdXN0b20iOnsidXVpZC1tZW1iZXItY3VzdG9tIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "EA18EB86-1E30-4F33-8A17-63A6FCF408AB", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?filter=uuid.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:08 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "EA18EB86-1E30-4F33-8A17-63A6FCF408AB", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjA1LjY5OTkxN1oiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MDguMTg5NTI4WiIsImVUYWciOiJBZG1PNDRxajVhQ3Vud0UifV0sInRvdGFsQ291bnQiOjEsIm5leHQiOiJNUSJ9" + }, + "type" : 2 + }, + { + "id" : "EA18EB86-1E30-4F33-8A17-63A6FCF408AB", + "type" : 4 + }, + { + "id" : "01603733-C454-4471-8A57-A7D12062A917", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "119", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "01603733-C454-4471-8A57-A7D12062A917", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:09 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "01603733-C454-4471-8A57-A7D12062A917", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "01603733-C454-4471-8A57-A7D12062A917", + "type" : 4 + }, + { + "id" : "84FA4C60-BF55-4A3A-974D-5366718CF943", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "84FA4C60-BF55-4A3A-974D-5366718CF943", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:09 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "84FA4C60-BF55-4A3A-974D-5366718CF943", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "84FA4C60-BF55-4A3A-974D-5366718CF943", + "type" : 4 + }, + { + "id" : "D2430018-9412-42FD-94A8-04F0D9FC3894", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D2430018-9412-42FD-94A8-04F0D9FC3894", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:09 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "D2430018-9412-42FD-94A8-04F0D9FC3894", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "D2430018-9412-42FD-94A8-04F0D9FC3894", + "type" : 4 + }, + { + "id" : "31D4D1F7-0C48-42DE-AC8B-519AB5F26B9F", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "31D4D1F7-0C48-42DE-AC8B-519AB5F26B9F", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:11 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "31D4D1F7-0C48-42DE-AC8B-519AB5F26B9F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "31D4D1F7-0C48-42DE-AC8B-519AB5F26B9F", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnFilteredSpaceInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnMembersInformationWhenIncludeFlagIsSet.json similarity index 50% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnFilteredSpaceInformationWhenFilterIsSet.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnMembersInformationWhenIncludeFlagIsSet.json index 13f2219bf..74c5361d2 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnFilteredSpaceInformationWhenFilterIsSet.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnMembersInformationWhenIncludeFlagIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "BD40E5BF-E310-492E-9459-71456165CE86", + "id" : "79C73826-75FC-404B-9260-D707C49A1D70", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BD40E5BF-E310-492E-9459-71456165CE86", + "id" : "79C73826-75FC-404B-9260-D707C49A1D70", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:49 GMT", + "Date" : "Sun, 24 May 2020 08:49:13 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "BD40E5BF-E310-492E-9459-71456165CE86", + "id" : "79C73826-75FC-404B-9260-D707C49A1D70", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "BD40E5BF-E310-492E-9459-71456165CE86", + "id" : "79C73826-75FC-404B-9260-D707C49A1D70", "type" : 4 }, { - "id" : "AB95B0C2-6234-456F-8E03-D09D6BAB6671", + "id" : "18E67D44-7FCA-43E1-85B3-BEAFAB88A7B8", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "AB95B0C2-6234-456F-8E03-D09D6BAB6671", + "id" : "18E67D44-7FCA-43E1-85B3-BEAFAB88A7B8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:49 GMT", + "Date" : "Sun, 24 May 2020 08:49:13 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "AB95B0C2-6234-456F-8E03-D09D6BAB6671", + "id" : "18E67D44-7FCA-43E1-85B3-BEAFAB88A7B8", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "AB95B0C2-6234-456F-8E03-D09D6BAB6671", + "id" : "18E67D44-7FCA-43E1-85B3-BEAFAB88A7B8", "type" : 4 }, { - "id" : "1D56545C-0105-4151-BE6C-643952955180", + "id" : "1751D131-B33D-434B-A7D6-B4B4DD8AF704", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1D56545C-0105-4151-BE6C-643952955180", + "id" : "1751D131-B33D-434B-A7D6-B4B4DD8AF704", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:49 GMT", + "Date" : "Sun, 24 May 2020 08:49:13 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "1D56545C-0105-4151-BE6C-643952955180", + "id" : "1751D131-B33D-434B-A7D6-B4B4DD8AF704", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzo0OS4zOTkyMjNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6NDkuMzk5MjIzWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OToxMy41MTE1NzVaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "1D56545C-0105-4151-BE6C-643952955180", + "id" : "1751D131-B33D-434B-A7D6-B4B4DD8AF704", "type" : 4 }, { - "id" : "30760AC5-D5B8-41DB-AFAC-D5B68B7B308E", + "id" : "2014EB3D-779E-439C-9C21-F3B365601685", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "30760AC5-D5B8-41DB-AFAC-D5B68B7B308E", + "id" : "2014EB3D-779E-439C-9C21-F3B365601685", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:50 GMT", + "Date" : "Sun, 24 May 2020 08:49:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "30760AC5-D5B8-41DB-AFAC-D5B68B7B308E", + "id" : "2014EB3D-779E-439C-9C21-F3B365601685", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzo1MC4wNjIxMDFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6NTAuMDYyMTAxWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjE0Ljc0NjgyN1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "30760AC5-D5B8-41DB-AFAC-D5B68B7B308E", + "id" : "2014EB3D-779E-439C-9C21-F3B365601685", "type" : 4 }, { - "id" : "2B124EBA-C1AE-4AD3-904B-62B132B2FD18", + "id" : "8F723F77-C91C-46E6-9DCA-073EADC23F69", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2B124EBA-C1AE-4AD3-904B-62B132B2FD18", + "id" : "8F723F77-C91C-46E6-9DCA-073EADC23F69", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:52 GMT", + "Date" : "Sun, 24 May 2020 08:49:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "2B124EBA-C1AE-4AD3-904B-62B132B2FD18", + "id" : "8F723F77-C91C-46E6-9DCA-073EADC23F69", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjUxLjY2OTc4NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzo1MS42Njk3ODVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjE0Ljk2NTEyOFoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "2B124EBA-C1AE-4AD3-904B-62B132B2FD18", + "id" : "8F723F77-C91C-46E6-9DCA-073EADC23F69", "type" : 4 }, { - "id" : "B0C40E41-A8F5-48DB-B840-45C8290BAC88", + "id" : "94D11D32-C831-455E-B869-6F9C0C7549E6", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B0C40E41-A8F5-48DB-B840-45C8290BAC88", + "id" : "94D11D32-C831-455E-B869-6F9C0C7549E6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:55 GMT", + "Date" : "Sun, 24 May 2020 08:49:16 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "B0C40E41-A8F5-48DB-B840-45C8290BAC88", + "id" : "94D11D32-C831-455E-B869-6F9C0C7549E6", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjUzLjY3NDE3OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzo1My42NzQxNzhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6NTQuMzY4NDQ5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjU0LjM2ODQ0OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OToxNi4zMDc2ODlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjE2LjI5NjM4N1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "B0C40E41-A8F5-48DB-B840-45C8290BAC88", + "id" : "94D11D32-C831-455E-B869-6F9C0C7549E6", "type" : 4 }, { - "id" : "C9FEBCC2-7917-4233-A2C3-0C63D55C6838", + "id" : "1045EE0A-07C7-444D-B669-2D636B080CE8", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "290", + "Content-Length" : "283", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9fSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9fV19" + "base64" : "eyJzZXQiOlt7ImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJLaW0tdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJjdXN0b20iOnsidXVpZC1tZW1iZXItY3VzdG9tIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?filter=space.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C9FEBCC2-7917-4233-A2C3-0C63D55C6838", + "id" : "1045EE0A-07C7-444D-B669-2D636B080CE8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?filter=space.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:57 GMT", + "Date" : "Sun, 24 May 2020 08:49:17 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,19 +378,19 @@ "type" : 1 }, { - "id" : "C9FEBCC2-7917-4233-A2C3-0C63D55C6838", + "id" : "1045EE0A-07C7-444D-B669-2D636B080CE8", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzo1MC4wNjIxMDFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6NTAuMDYyMTAxWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzo1NC4zNjg0NDlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6NTcuMzYxNDEyWiIsImVUYWciOiJBZnJZL05HNzNlUENRQSJ9XSwidG90YWxDb3VudCI6MSwibmV4dCI6Ik1RIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjE0Ljk2NTEyOFoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MTcuNjI0OTk5WiIsImVUYWciOiJBZGoydXYyMDgveWRUdyJ9LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjE0Ljc0NjgyN1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MTcuNjI5NzI0WiIsImVUYWciOiJBZEN0bGN2ZWpkWHErd0UifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "C9FEBCC2-7917-4233-A2C3-0C63D55C6838", + "id" : "1045EE0A-07C7-444D-B669-2D636B080CE8", "type" : 4 }, { - "id" : "1AAD8F20-732D-41DD-B173-32DCC86C7FB6", + "id" : "0F7F0431-1C4B-4265-B6B4-BABC0931C606", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -400,31 +400,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "108", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1AAD8F20-732D-41DD-B173-32DCC86C7FB6", + "id" : "0F7F0431-1C4B-4265-B6B4-BABC0931C606", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:00 GMT", + "Date" : "Sun, 24 May 2020 08:49:18 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -434,7 +434,7 @@ "type" : 1 }, { - "id" : "1AAD8F20-732D-41DD-B173-32DCC86C7FB6", + "id" : "0F7F0431-1C4B-4265-B6B4-BABC0931C606", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -442,11 +442,11 @@ "type" : 2 }, { - "id" : "1AAD8F20-732D-41DD-B173-32DCC86C7FB6", + "id" : "0F7F0431-1C4B-4265-B6B4-BABC0931C606", "type" : 4 }, { - "id" : "12B99A8D-9C87-43E2-8245-98C4E46CA0CE", + "id" : "F8BBAF3D-6315-45EB-BA7B-B1C3A06CBD1E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -455,26 +455,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "12B99A8D-9C87-43E2-8245-98C4E46CA0CE", + "id" : "F8BBAF3D-6315-45EB-BA7B-B1C3A06CBD1E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:01 GMT", + "Date" : "Sun, 24 May 2020 08:49:19 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -484,7 +484,7 @@ "type" : 1 }, { - "id" : "12B99A8D-9C87-43E2-8245-98C4E46CA0CE", + "id" : "F8BBAF3D-6315-45EB-BA7B-B1C3A06CBD1E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -492,11 +492,11 @@ "type" : 2 }, { - "id" : "12B99A8D-9C87-43E2-8245-98C4E46CA0CE", + "id" : "F8BBAF3D-6315-45EB-BA7B-B1C3A06CBD1E", "type" : 4 }, { - "id" : "D9315240-6D91-4813-BFD1-885BDD07CFE9", + "id" : "4ACA3448-0572-4020-B521-909BC31EE5A5", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -505,26 +505,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D9315240-6D91-4813-BFD1-885BDD07CFE9", + "id" : "4ACA3448-0572-4020-B521-909BC31EE5A5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:02 GMT", + "Date" : "Sun, 24 May 2020 08:49:19 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -534,7 +534,7 @@ "type" : 1 }, { - "id" : "D9315240-6D91-4813-BFD1-885BDD07CFE9", + "id" : "4ACA3448-0572-4020-B521-909BC31EE5A5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -542,11 +542,11 @@ "type" : 2 }, { - "id" : "D9315240-6D91-4813-BFD1-885BDD07CFE9", + "id" : "4ACA3448-0572-4020-B521-909BC31EE5A5", "type" : 4 }, { - "id" : "25518695-4B63-48FC-9EAA-B799F101FDE4", + "id" : "C9C06D4B-77FC-439E-8890-D19B9C9EDA2E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -555,26 +555,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "25518695-4B63-48FC-9EAA-B799F101FDE4", + "id" : "C9C06D4B-77FC-439E-8890-D19B9C9EDA2E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:03 GMT", + "Date" : "Sun, 24 May 2020 08:49:20 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -584,7 +584,7 @@ "type" : 1 }, { - "id" : "25518695-4B63-48FC-9EAA-B799F101FDE4", + "id" : "C9C06D4B-77FC-439E-8890-D19B9C9EDA2E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -592,7 +592,7 @@ "type" : 2 }, { - "id" : "25518695-4B63-48FC-9EAA-B799F101FDE4", + "id" : "C9C06D4B-77FC-439E-8890-D19B9C9EDA2E", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnSortedMembersInformationWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnSortedMembersInformationWhenSortIsSet.json new file mode 100644 index 000000000..a22408edf --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndReturnSortedMembersInformationWhenSortIsSet.json @@ -0,0 +1,814 @@ +[ + { + "id" : "4874B929-86E8-4489-B4A5-E0D2DC9C632B", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "4874B929-86E8-4489-B4A5-E0D2DC9C632B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:22 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "4874B929-86E8-4489-B4A5-E0D2DC9C632B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "4874B929-86E8-4489-B4A5-E0D2DC9C632B", + "type" : 4 + }, + { + "id" : "A4091906-D0E0-40A0-BE10-C93150B7872E", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "A4091906-D0E0-40A0-BE10-C93150B7872E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:22 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "A4091906-D0E0-40A0-BE10-C93150B7872E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "A4091906-D0E0-40A0-BE10-C93150B7872E", + "type" : 4 + }, + { + "id" : "08B7E555-CD19-41E5-9729-31D16FA4BF25", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "08B7E555-CD19-41E5-9729-31D16FA4BF25", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:22 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "08B7E555-CD19-41E5-9729-31D16FA4BF25", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OToyMi45OTM0NDNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "08B7E555-CD19-41E5-9729-31D16FA4BF25", + "type" : 4 + }, + { + "id" : "C8E95518-6F77-471D-832F-E02D8BD28D54", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "C8E95518-6F77-471D-832F-E02D8BD28D54", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:24 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "C8E95518-6F77-471D-832F-E02D8BD28D54", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjI0LjI0Mzk0M1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "C8E95518-6F77-471D-832F-E02D8BD28D54", + "type" : 4 + }, + { + "id" : "9D520806-A82D-431D-8A12-249B097D47E1", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "9D520806-A82D-431D-8A12-249B097D47E1", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:24 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "9D520806-A82D-431D-8A12-249B097D47E1", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjI0LjQ2NjQ5NloiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "9D520806-A82D-431D-8A12-249B097D47E1", + "type" : 4 + }, + { + "id" : "446D93EA-B2E1-40A7-8774-EBFD40A56EAC", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "107", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "446D93EA-B2E1-40A7-8774-EBFD40A56EAC", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:24 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "446D93EA-B2E1-40A7-8774-EBFD40A56EAC", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OToyNC42ODcxMDZaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" + }, + "type" : 2 + }, + { + "id" : "446D93EA-B2E1-40A7-8774-EBFD40A56EAC", + "type" : 4 + }, + { + "id" : "B49CAED4-7D73-4337-A787-E3C7EC5C43AD", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "98", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "B49CAED4-7D73-4337-A787-E3C7EC5C43AD", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:24 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "B49CAED4-7D73-4337-A787-E3C7EC5C43AD", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OToyNC45MTMwNDVaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "B49CAED4-7D73-4337-A787-E3C7EC5C43AD", + "type" : 4 + }, + { + "id" : "923F1DF4-5184-447F-8E0F-446ACF3AD1AA", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "225", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJ1dWlkIjp7ImlkIjoiR2xlbi11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "923F1DF4-5184-447F-8E0F-446ACF3AD1AA", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&include=custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:26 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "923F1DF4-5184-447F-8E0F-446ACF3AD1AA", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MjQuNjg3MTA2WiIsImVUYWciOiJBYW10cWJqRHFidThjQSJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjI2LjE1MjQzOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OToyNC40NjY0OTZaIiwiZVRhZyI6IkFaRytqYy9oL3FtSFdRIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MjYuMTYzNDI3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MjQuOTEzMDQ1WiIsImVUYWciOiJBZktEMnZmTTI2VzUvUUUifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OToyNi4xNjg2OTFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJTZXJoaWkiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MjQuMjQzOTQzWiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjI2LjE1ODA5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5BIn0=" + }, + "type" : 2 + }, + { + "id" : "923F1DF4-5184-447F-8E0F-446ACF3AD1AA", + "type" : 4 + }, + { + "id" : "0310E11D-78CE-4BB5-8036-6102631A1C49", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "283", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJLaW0tdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJjdXN0b20iOnsidXVpZC1tZW1iZXItY3VzdG9tIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?sort=uuid.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "0310E11D-78CE-4BB5-8036-6102631A1C49", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?sort=uuid.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=uuid.custom,uuid&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:27 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "0310E11D-78CE-4BB5-8036-6102631A1C49", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjI0LjI0Mzk0M1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MjcuNDEyNjMxWiIsImVUYWciOiJBWWJMdnBydmxMZWRjdyJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjI0LjQ2NjQ5NloiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MjcuNDA4MTcxWiIsImVUYWciOiJBZHZYelAzbnZaWGErQUUifSx7InV1aWQiOnsiaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEiLCJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MjQuOTEzMDQ1WiIsImVUYWciOiJBZktEMnZmTTI2VzUvUUUifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MjYuMTY4NjkxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsidXVpZCI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OToyNC42ODcxMDZaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjI2LjE1MjQzOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjQsIm5leHQiOiJOQSJ9" + }, + "type" : 2 + }, + { + "id" : "0310E11D-78CE-4BB5-8036-6102631A1C49", + "type" : 4 + }, + { + "id" : "D6ADCB4E-5511-4FE6-9BB8-1A88DA64B920", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "228", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciJ9fSx7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX1dfQ==" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D6ADCB4E-5511-4FE6-9BB8-1A88DA64B920", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:28 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "D6ADCB4E-5511-4FE6-9BB8-1A88DA64B920", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "D6ADCB4E-5511-4FE6-9BB8-1A88DA64B920", + "type" : 4 + }, + { + "id" : "E17A73CE-FA7F-49A8-8C08-302ED378AC06", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "E17A73CE-FA7F-49A8-8C08-302ED378AC06", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:28 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "E17A73CE-FA7F-49A8-8C08-302ED378AC06", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "E17A73CE-FA7F-49A8-8C08-302ED378AC06", + "type" : 4 + }, + { + "id" : "1BAA891D-D39D-4530-A0F0-DCA61E06925C", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "1BAA891D-D39D-4530-A0F0-DCA61E06925C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:29 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "1BAA891D-D39D-4530-A0F0-DCA61E06925C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "1BAA891D-D39D-4530-A0F0-DCA61E06925C", + "type" : 4 + }, + { + "id" : "BDD00EE8-F919-470C-8C1C-B6269DA6F7A4", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "BDD00EE8-F919-470C-8C1C-B6269DA6F7A4", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:29 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "BDD00EE8-F919-470C-8C1C-B6269DA6F7A4", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "BDD00EE8-F919-470C-8C1C-B6269DA6F7A4", + "type" : 4 + }, + { + "id" : "D1325BCA-3CEC-4E78-8D63-568AB1183DCC", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D1325BCA-3CEC-4E78-8D63-568AB1183DCC", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:29 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "D1325BCA-3CEC-4E78-8D63-568AB1183DCC", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "D1325BCA-3CEC-4E78-8D63-568AB1183DCC", + "type" : 4 + }, + { + "id" : "2D8658DC-09CE-4F1F-BB49-A01A261C8575", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "2D8658DC-09CE-4F1F-BB49-A01A261C8575", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:49:30 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "2D8658DC-09CE-4F1F-BB49-A01A261C8575", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "2D8658DC-09CE-4F1F-BB49-A01A261C8575", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndTriggerUpdateEventOnSpaceChannel.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndTriggerSetEventOnChannel.json similarity index 51% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndTriggerUpdateEventOnSpaceChannel.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndTriggerSetEventOnChannel.json index 375fdef33..123726444 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndTriggerUpdateEventOnSpaceChannel.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndTriggerSetEventOnChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "05418719-C9DE-4E8A-B34B-2668A359D164", + "id" : "54FFA204-826D-4924-B747-AE6A8AD2D508", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "05418719-C9DE-4E8A-B34B-2668A359D164", + "id" : "54FFA204-826D-4924-B747-AE6A8AD2D508", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:23 GMT", + "Date" : "Sun, 24 May 2020 08:49:32 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "05418719-C9DE-4E8A-B34B-2668A359D164", + "id" : "54FFA204-826D-4924-B747-AE6A8AD2D508", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "05418719-C9DE-4E8A-B34B-2668A359D164", + "id" : "54FFA204-826D-4924-B747-AE6A8AD2D508", "type" : 4 }, { - "id" : "63A40645-9AC2-470E-9315-E5EF30A5C778", + "id" : "72C6137F-BE72-400A-AAAD-C66A6F6BDC5F", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "63A40645-9AC2-470E-9315-E5EF30A5C778", + "id" : "72C6137F-BE72-400A-AAAD-C66A6F6BDC5F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:23 GMT", + "Date" : "Sun, 24 May 2020 08:49:33 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "63A40645-9AC2-470E-9315-E5EF30A5C778", + "id" : "72C6137F-BE72-400A-AAAD-C66A6F6BDC5F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "63A40645-9AC2-470E-9315-E5EF30A5C778", + "id" : "72C6137F-BE72-400A-AAAD-C66A6F6BDC5F", "type" : 4 }, { - "id" : "31FC1AD8-1FF6-4E04-82C7-8682B59CFCE8", + "id" : "F7DCC8C5-777C-4BF5-8851-FB140BC7D32F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "31FC1AD8-1FF6-4E04-82C7-8682B59CFCE8", + "id" : "F7DCC8C5-777C-4BF5-8851-FB140BC7D32F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:24 GMT", + "Date" : "Sun, 24 May 2020 08:49:33 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "31FC1AD8-1FF6-4E04-82C7-8682B59CFCE8", + "id" : "F7DCC8C5-777C-4BF5-8851-FB140BC7D32F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoyNC4xOTAyNjVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDI6MjQuMTkwMjY1WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OTozMy42NTMyMVoiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifX0=" }, "type" : 2 }, { - "id" : "31FC1AD8-1FF6-4E04-82C7-8682B59CFCE8", + "id" : "F7DCC8C5-777C-4BF5-8851-FB140BC7D32F", "type" : 4 }, { - "id" : "7584F6D1-A05C-4AE9-BB3C-9E4231906FB5", + "id" : "54533061-6F32-4137-86B3-2EE9050F38C6", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7584F6D1-A05C-4AE9-BB3C-9E4231906FB5", + "id" : "54533061-6F32-4137-86B3-2EE9050F38C6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:26 GMT", + "Date" : "Sun, 24 May 2020 08:49:34 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "7584F6D1-A05C-4AE9-BB3C-9E4231906FB5", + "id" : "54533061-6F32-4137-86B3-2EE9050F38C6", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjI1Ljg1NzQ3M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoyNS44NTc0NzNaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjM0Ljg3NjU1NVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "7584F6D1-A05C-4AE9-BB3C-9E4231906FB5", + "id" : "54533061-6F32-4137-86B3-2EE9050F38C6", "type" : 4 }, { - "id" : "36C97A4A-642A-4C13-8ED4-F09BA541690C", + "id" : "82C1C735-438D-4128-981A-E7E333B6241E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "36C97A4A-642A-4C13-8ED4-F09BA541690C", + "id" : "82C1C735-438D-4128-981A-E7E333B6241E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:26 GMT", + "Date" : "Sun, 24 May 2020 08:49:35 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "36C97A4A-642A-4C13-8ED4-F09BA541690C", + "id" : "82C1C735-438D-4128-981A-E7E333B6241E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjI2LjQ0NDg0M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoyNi40NDQ4NDNaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjM1LjA5ODU1OVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "36C97A4A-642A-4C13-8ED4-F09BA541690C", + "id" : "82C1C735-438D-4128-981A-E7E333B6241E", "type" : 4 }, { - "id" : "56F6D46B-EC58-4F1F-B705-B9FAECBA264D", + "id" : "D6C3D841-0C62-47E3-99F7-CA4B89FE1EF2", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "56F6D46B-EC58-4F1F-B705-B9FAECBA264D", + "id" : "D6C3D841-0C62-47E3-99F7-CA4B89FE1EF2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:29 GMT", + "Date" : "Sun, 24 May 2020 08:49:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "56F6D46B-EC58-4F1F-B705-B9FAECBA264D", + "id" : "D6C3D841-0C62-47E3-99F7-CA4B89FE1EF2", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoyOC40NjQ5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjI4LjQ2NDlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjI5LjE1OTAxMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoyOS4xNTkwMTJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OTozNi4zNDAxOTJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjM2LjM0NjE4MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "56F6D46B-EC58-4F1F-B705-B9FAECBA264D", + "id" : "D6C3D841-0C62-47E3-99F7-CA4B89FE1EF2", "type" : 4 }, { - "id" : "B394BAC5-6C2E-4EBA-AE82-BCE49030FA91", + "id" : "DC197BA9-3C82-4608-B291-C868057F6547", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +341,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B394BAC5-6C2E-4EBA-AE82-BCE49030FA91", + "id" : "DC197BA9-3C82-4608-B291-C868057F6547", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:42:31 GMT", + "Date" : "Sun, 24 May 2020 08:49:37 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +371,19 @@ "type" : 1 }, { - "id" : "B394BAC5-6C2E-4EBA-AE82-BCE49030FA91", + "id" : "DC197BA9-3C82-4608-B291-C868057F6547", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NzQ5NzcyMTk2NCIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMTc2MzQ5NjA4OCIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "B394BAC5-6C2E-4EBA-AE82-BCE49030FA91", + "id" : "DC197BA9-3C82-4608-B291-C868057F6547", "type" : 4 }, { - "id" : "9B1CBEAD-0C1C-42BF-8156-41AF0C3A99EC", + "id" : "DBA573A0-20DC-4795-AF61-1B0BBD602B77", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,19 +392,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397497721964&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101763496088&tr=56" }, "type" : 0 }, { - "id" : "8FBC7A6B-E715-42A9-B809-A12964686623", + "id" : "748E6F98-9C2F-4B40-8E6D-61C98BC55D67", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -414,34 +414,34 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "268", + "Content-Length" : "283", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn19XX0=" + "base64" : "eyJzZXQiOlt7ImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJLaW0tdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJjdXN0b20iOnsidXVpZC1tZW1iZXItY3VzdG9tIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9B1CBEAD-0C1C-42BF-8156-41AF0C3A99EC", + "id" : "DBA573A0-20DC-4795-AF61-1B0BBD602B77", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397497721964&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101763496088&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:42:32 GMT", - "Content-Length" : "536", + "Date" : "Sun, 24 May 2020 08:49:38 GMT", + "Content-Length" : "543", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -449,19 +449,19 @@ "type" : 1 }, { - "id" : "9B1CBEAD-0C1C-42BF-8156-41AF0C3A99EC", + "id" : "DBA573A0-20DC-4795-AF61-1B0BBD602B77", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NzUyMTU4MzI2MSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5NzUyMTU3Nzc0NCIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoidXBkYXRlIiwidHlwZSI6Im1lbWJlcnNoaXAiLCJkYXRhIjp7ImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifSwiZVRhZyI6IkFiSFB6WmpjcUozUmxnRSIsInNwYWNlSWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjozMS44OTExOTI2MTNaIiwidXNlcklkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMTc4MDE0MjQ2NSIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMTc4MDE1NjE5MyIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJzZXQiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJLaW0tdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwiZVRhZyI6IkFlckx4dnlqeS9PMm5nRSIsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjM4LjAwOTEzNjU2OFoiLCJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9fX19XX0=" }, "type" : 2 }, { - "id" : "9B1CBEAD-0C1C-42BF-8156-41AF0C3A99EC", + "id" : "DBA573A0-20DC-4795-AF61-1B0BBD602B77", "type" : 4 }, { - "id" : "7F9454C3-EFC2-4698-A5F1-2814C5BAB309", + "id" : "0AA96B7F-B30D-440E-A6E3-C6CE691FB848", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -470,29 +470,60 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397521583261&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101780142465&tr=56" }, "type" : 0 }, { - "id" : "7F9454C3-EFC2-4698-A5F1-2814C5BAB309", + "id" : "748E6F98-9C2F-4B40-8E6D-61C98BC55D67", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397521583261&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:38 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "748E6F98-9C2F-4B40-8E6D-61C98BC55D67", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjM0Ljg3NjU1NVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MzguMDE4MzM0WiIsImVUYWciOiJBYzZicmNLd210L2tYUSJ9LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjM1LjA5ODU1OVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MzguMDA5MTM3WiIsImVUYWciOiJBZXJMeHZ5ankvTzJuZ0UifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "748E6F98-9C2F-4B40-8E6D-61C98BC55D67", + "type" : 4 + }, + { + "id" : "0AA96B7F-B30D-440E-A6E3-C6CE691FB848", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101780142465&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:42:32 GMT", - "Content-Length" : "529", + "Date" : "Sun, 24 May 2020 08:49:38 GMT", + "Content-Length" : "548", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -500,19 +531,19 @@ "type" : 1 }, { - "id" : "7F9454C3-EFC2-4698-A5F1-2814C5BAB309", + "id" : "0AA96B7F-B30D-440E-A6E3-C6CE691FB848", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NzUyNjg1NjA4OSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5NzUyNjg0NzE4NiIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoidXBkYXRlIiwidHlwZSI6Im1lbWJlcnNoaXAiLCJkYXRhIjp7ImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJLaW0tdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwiZVRhZyI6IkFaRG9nSUtyeFp1dGF3Iiwic3BhY2VJZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjMyLjQxODAxODY4N1oiLCJ1c2VySWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn19fV19" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMTc4MDIzMjU4MCIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMTc4MDI0NTc0MyIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJzZXQiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifSwiZVRhZyI6IkFjNmJyY0t3bXQva1hRIiwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6MzguMDE4MzMzNjg3WiIsInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" }, "type" : 2 }, { - "id" : "7F9454C3-EFC2-4698-A5F1-2814C5BAB309", + "id" : "0AA96B7F-B30D-440E-A6E3-C6CE691FB848", "type" : 4 }, { - "id" : "A7726C06-94D7-498B-AB82-6AE93BB676BB", + "id" : "9430AA51-BC86-423D-BE4E-53A2448675B6", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -521,25 +552,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397526856089&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101780232580&tr=56" }, "type" : 0 }, { - "id" : "A7726C06-94D7-498B-AB82-6AE93BB676BB", + "id" : "9430AA51-BC86-423D-BE4E-53A2448675B6", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397526856089&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101780232580&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397526856089&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101780232580&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -547,7 +578,7 @@ "type" : 3 }, { - "id" : "E433A306-E048-4659-AB40-DF5B0CEF8CD9", + "id" : "7D114B97-9608-4CEA-AE6D-9E23607384A9", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -556,61 +587,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8FBC7A6B-E715-42A9-B809-A12964686623", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:32 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "8FBC7A6B-E715-42A9-B809-A12964686623", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjI1Ljg1NzQ3M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoyNS44NTc0NzNaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjI4LjQ2NDlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDI6MzEuODkxMTkzWiIsImVUYWciOiJBYkhQelpqY3FKM1JsZ0UifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsInVzZXIiOnsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEiLCJ1c2VyLWN1c3RvbTIiOiJLaW0tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoyNi40NDQ4NDNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDI6MjYuNDQ0ODQzWiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoyOS4xNTkwMTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDI6MzIuNDE4MDE5WiIsImVUYWciOiJBWkRvZ0lLcnhadXRhdyJ9XSwibmV4dCI6Ik1nIn0=" - }, - "type" : 2 - }, - { - "id" : "8FBC7A6B-E715-42A9-B809-A12964686623", - "type" : 4 - }, - { - "id" : "E433A306-E048-4659-AB40-DF5B0CEF8CD9", + "id" : "7D114B97-9608-4CEA-AE6D-9E23607384A9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 01:42:32 GMT", + "Date" : "Sun, 24 May 2020 08:49:38 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -620,7 +620,7 @@ "type" : 1 }, { - "id" : "E433A306-E048-4659-AB40-DF5B0CEF8CD9", + "id" : "7D114B97-9608-4CEA-AE6D-9E23607384A9", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -628,11 +628,11 @@ "type" : 2 }, { - "id" : "E433A306-E048-4659-AB40-DF5B0CEF8CD9", + "id" : "7D114B97-9608-4CEA-AE6D-9E23607384A9", "type" : 4 }, { - "id" : "532B5777-B941-4B4C-B38F-5CCC104F5571", + "id" : "3BC05896-D452-40FF-B83D-DA70DEB18B59", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -642,31 +642,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "101", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "532B5777-B941-4B4C-B38F-5CCC104F5571", + "id" : "3BC05896-D452-40FF-B83D-DA70DEB18B59", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:35 GMT", + "Date" : "Sun, 24 May 2020 08:49:40 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -676,7 +676,7 @@ "type" : 1 }, { - "id" : "532B5777-B941-4B4C-B38F-5CCC104F5571", + "id" : "3BC05896-D452-40FF-B83D-DA70DEB18B59", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -684,11 +684,11 @@ "type" : 2 }, { - "id" : "532B5777-B941-4B4C-B38F-5CCC104F5571", + "id" : "3BC05896-D452-40FF-B83D-DA70DEB18B59", "type" : 4 }, { - "id" : "CD696668-4696-44F3-BD11-F0817B14E8D9", + "id" : "74710441-D26A-43DE-AFC4-861040F538A4", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -697,26 +697,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CD696668-4696-44F3-BD11-F0817B14E8D9", + "id" : "74710441-D26A-43DE-AFC4-861040F538A4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:35 GMT", + "Date" : "Sun, 24 May 2020 08:49:40 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -726,7 +726,7 @@ "type" : 1 }, { - "id" : "CD696668-4696-44F3-BD11-F0817B14E8D9", + "id" : "74710441-D26A-43DE-AFC4-861040F538A4", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -734,11 +734,11 @@ "type" : 2 }, { - "id" : "CD696668-4696-44F3-BD11-F0817B14E8D9", + "id" : "74710441-D26A-43DE-AFC4-861040F538A4", "type" : 4 }, { - "id" : "0B344973-B503-4C78-9087-9313C7569EC6", + "id" : "61B73B8F-3982-4E16-935D-82BADEC60921", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -747,26 +747,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0B344973-B503-4C78-9087-9313C7569EC6", + "id" : "61B73B8F-3982-4E16-935D-82BADEC60921", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:36 GMT", + "Date" : "Sun, 24 May 2020 08:49:40 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -776,7 +776,7 @@ "type" : 1 }, { - "id" : "0B344973-B503-4C78-9087-9313C7569EC6", + "id" : "61B73B8F-3982-4E16-935D-82BADEC60921", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -784,11 +784,11 @@ "type" : 2 }, { - "id" : "0B344973-B503-4C78-9087-9313C7569EC6", + "id" : "61B73B8F-3982-4E16-935D-82BADEC60921", "type" : 4 }, { - "id" : "B5873247-839F-46DD-97E2-040D5C14D0A8", + "id" : "761E3C4C-1B47-48D0-B717-F009E651ABC5", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -797,26 +797,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B5873247-839F-46DD-97E2-040D5C14D0A8", + "id" : "761E3C4C-1B47-48D0-B717-F009E651ABC5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:38 GMT", + "Date" : "Sun, 24 May 2020 08:49:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -826,7 +826,7 @@ "type" : 1 }, { - "id" : "B5873247-839F-46DD-97E2-040D5C14D0A8", + "id" : "761E3C4C-1B47-48D0-B717-F009E651ABC5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -834,7 +834,7 @@ "type" : 2 }, { - "id" : "B5873247-839F-46DD-97E2-040D5C14D0A8", + "id" : "761E3C4C-1B47-48D0-B717-F009E651ABC5", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndTriggerUpdateEventOnUserChannel.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndTriggerSetEventOnUUIDChannel.json similarity index 52% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndTriggerUpdateEventOnUserChannel.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndTriggerSetEventOnUUIDChannel.json index 879f9e861..9902016d8 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndTriggerUpdateEventOnUserChannel.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldSetMembersUsingManageAndTriggerSetEventOnUUIDChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "061E6DDA-3594-4952-9B79-12BB742F8DCE", + "id" : "2A93E310-F78D-4267-9ACA-DD5F9516D9F5", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "061E6DDA-3594-4952-9B79-12BB742F8DCE", + "id" : "2A93E310-F78D-4267-9ACA-DD5F9516D9F5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:40 GMT", + "Date" : "Sun, 24 May 2020 08:49:43 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "061E6DDA-3594-4952-9B79-12BB742F8DCE", + "id" : "2A93E310-F78D-4267-9ACA-DD5F9516D9F5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "061E6DDA-3594-4952-9B79-12BB742F8DCE", + "id" : "2A93E310-F78D-4267-9ACA-DD5F9516D9F5", "type" : 4 }, { - "id" : "F2442746-74B9-4F35-9054-FB293B3438EC", + "id" : "CE19546B-1AF8-483F-8FF1-8A24560D9D1E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F2442746-74B9-4F35-9054-FB293B3438EC", + "id" : "CE19546B-1AF8-483F-8FF1-8A24560D9D1E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:41 GMT", + "Date" : "Sun, 24 May 2020 08:49:43 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "F2442746-74B9-4F35-9054-FB293B3438EC", + "id" : "CE19546B-1AF8-483F-8FF1-8A24560D9D1E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "F2442746-74B9-4F35-9054-FB293B3438EC", + "id" : "CE19546B-1AF8-483F-8FF1-8A24560D9D1E", "type" : 4 }, { - "id" : "787E58FE-C8CD-4332-B674-D94CDB575900", + "id" : "3DE81A84-BA30-462D-8CEC-27BA581FE617", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "787E58FE-C8CD-4332-B674-D94CDB575900", + "id" : "3DE81A84-BA30-462D-8CEC-27BA581FE617", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:42 GMT", + "Date" : "Sun, 24 May 2020 08:49:44 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "787E58FE-C8CD-4332-B674-D94CDB575900", + "id" : "3DE81A84-BA30-462D-8CEC-27BA581FE617", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0Mjo0MS45OTM4ODhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDI6NDEuOTkzODg4WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OTo0NC4zNzk1OTZaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "787E58FE-C8CD-4332-B674-D94CDB575900", + "id" : "3DE81A84-BA30-462D-8CEC-27BA581FE617", "type" : 4 }, { - "id" : "81BAF093-958B-4B92-B1CC-EDD511759C45", + "id" : "BAF995B9-55AD-48DE-B7F4-26A442A4A286", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "81BAF093-958B-4B92-B1CC-EDD511759C45", + "id" : "BAF995B9-55AD-48DE-B7F4-26A442A4A286", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:44 GMT", + "Date" : "Sun, 24 May 2020 08:49:45 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "81BAF093-958B-4B92-B1CC-EDD511759C45", + "id" : "BAF995B9-55AD-48DE-B7F4-26A442A4A286", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjQzLjYxNzE4NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0Mjo0My42MTcxODVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjQ1LjcyOTc1OVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "81BAF093-958B-4B92-B1CC-EDD511759C45", + "id" : "BAF995B9-55AD-48DE-B7F4-26A442A4A286", "type" : 4 }, { - "id" : "00015997-1055-4693-929C-96BC6CA3DEE9", + "id" : "7CD4BC23-B37C-4368-91E6-4325E9D90740", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "00015997-1055-4693-929C-96BC6CA3DEE9", + "id" : "7CD4BC23-B37C-4368-91E6-4325E9D90740", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:44 GMT", + "Date" : "Sun, 24 May 2020 08:49:46 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "00015997-1055-4693-929C-96BC6CA3DEE9", + "id" : "7CD4BC23-B37C-4368-91E6-4325E9D90740", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjQ0LjE5ODQ5N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0Mjo0NC4xOTg0OTdaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjQ2LjAwMDI2OVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "00015997-1055-4693-929C-96BC6CA3DEE9", + "id" : "7CD4BC23-B37C-4368-91E6-4325E9D90740", "type" : 4 }, { - "id" : "604715C2-E6D1-4047-855C-42B054F8DC0C", + "id" : "79641D2B-0B8E-4280-8F8F-EB7EC5CDD934", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "604715C2-E6D1-4047-855C-42B054F8DC0C", + "id" : "79641D2B-0B8E-4280-8F8F-EB7EC5CDD934", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:47 GMT", + "Date" : "Sun, 24 May 2020 08:49:47 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "604715C2-E6D1-4047-855C-42B054F8DC0C", + "id" : "79641D2B-0B8E-4280-8F8F-EB7EC5CDD934", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0Mjo0Ni4yMTUyM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0Mjo0Ni4yMTUyM1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6NDI6NDYuOTE3NDkxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjQ2LjkxNzQ5MVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OTo0Ny4zMzI2NjZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjQ3LjMyNjgzMVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "604715C2-E6D1-4047-855C-42B054F8DC0C", + "id" : "79641D2B-0B8E-4280-8F8F-EB7EC5CDD934", "type" : 4 }, { - "id" : "1DE725BC-A97C-4018-814C-B76B8908A0C9", + "id" : "F6505A16-012D-4F24-AB74-B83375333042", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +341,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1DE725BC-A97C-4018-814C-B76B8908A0C9", + "id" : "F6505A16-012D-4F24-AB74-B83375333042", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:42:49 GMT", + "Date" : "Sun, 24 May 2020 08:49:48 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +371,19 @@ "type" : 1 }, { - "id" : "1DE725BC-A97C-4018-814C-B76B8908A0C9", + "id" : "F6505A16-012D-4F24-AB74-B83375333042", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NzY2ODMxOTY1OCIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMTg3MzI5NjQ2MCIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "1DE725BC-A97C-4018-814C-B76B8908A0C9", + "id" : "F6505A16-012D-4F24-AB74-B83375333042", "type" : 4 }, { - "id" : "73EA5BC5-F7D7-4CB2-A5F8-808EE453FDDD", + "id" : "BDC9078E-4A23-458E-9FF9-D0E2AFB73CEE", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,19 +392,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397668319658&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101873296460&tr=56" }, "type" : 0 }, { - "id" : "36A12469-D785-49B2-B862-F080C21D1E87", + "id" : "7A54B249-A513-4C82-895C-A9079A2DC54E", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -414,34 +414,65 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "268", + "Content-Length" : "283", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn19XX0=" + "base64" : "eyJzZXQiOlt7ImN1c3RvbSI6eyJ1dWlkLW1lbWJlci1jdXN0b20iOiJLaW0tdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX0seyJjdXN0b20iOnsidXVpZC1tZW1iZXItY3VzdG9tIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19XX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "73EA5BC5-F7D7-4CB2-A5F8-808EE453FDDD", + "id" : "7A54B249-A513-4C82-895C-A9079A2DC54E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397668319658&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=uuid.custom,uuid&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:49:49 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "7A54B249-A513-4C82-895C-A9079A2DC54E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjQ2LjAwMDI2OVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDk6NDkuMDcwMjY1WiIsImVUYWciOiJBYWFBei9PTjNyN0Jxd0UifSx7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNlcmhpaSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEiLCJ1dWlkLWN1c3RvbTIiOiJTZXJoaWktY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OTo0NS43Mjk3NTlaIiwiZVRhZyI6IkFhTFo5SkRzNDlpRkdRIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjQ5LjA3NDU1M1oiLCJlVGFnIjoiQWRtaGw5V2M5OGFmVlEifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "7A54B249-A513-4C82-895C-A9079A2DC54E", + "type" : 4 + }, + { + "id" : "BDC9078E-4A23-458E-9FF9-D0E2AFB73CEE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101873296460&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:42:49 GMT", - "Content-Length" : "533", + "Date" : "Sun, 24 May 2020 08:49:49 GMT", + "Content-Length" : "544", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -449,19 +480,19 @@ "type" : 1 }, { - "id" : "73EA5BC5-F7D7-4CB2-A5F8-808EE453FDDD", + "id" : "BDC9078E-4A23-458E-9FF9-D0E2AFB73CEE", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NzY5OTk3Njg0MSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5NzY5OTk4MDM0MSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6InVwZGF0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sImVUYWciOiJBWjdkbDg3cmlxM0JJdyIsInNwYWNlSWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0Mjo0OS43MzQ3Mjk1NDhaIiwidXNlcklkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMTg5MDc2NDQ1MCIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMTg5MDc3NzQ5NSIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6InNldCIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyLWN1c3RvbSI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJlVGFnIjoiQWRtaGw5V2M5OGFmVlEiLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OTo0OS4wNzQ1NTM0MjdaIiwidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX19fV19" }, "type" : 2 }, { - "id" : "73EA5BC5-F7D7-4CB2-A5F8-808EE453FDDD", + "id" : "BDC9078E-4A23-458E-9FF9-D0E2AFB73CEE", "type" : 4 }, { - "id" : "580B9158-350A-44A9-8EEA-4D4F20D5A240", + "id" : "08C4AB6B-F997-4A04-9C52-5DF603B46384", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -470,25 +501,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397699976841&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101890764450&tr=56" }, "type" : 0 }, { - "id" : "580B9158-350A-44A9-8EEA-4D4F20D5A240", + "id" : "08C4AB6B-F997-4A04-9C52-5DF603B46384", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397699976841&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101890764450&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810397699976841&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101890764450&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -496,7 +527,7 @@ "type" : 3 }, { - "id" : "5F2E7305-0816-4CA8-A969-80AE1A76A111", + "id" : "5628E865-4696-4BD3-8E41-FFFA5B9B6AA1", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -505,30 +536,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5F2E7305-0816-4CA8-A969-80AE1A76A111", + "id" : "5628E865-4696-4BD3-8E41-FFFA5B9B6AA1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 01:42:50 GMT", + "Date" : "Sun, 24 May 2020 08:49:49 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -538,7 +569,7 @@ "type" : 1 }, { - "id" : "5F2E7305-0816-4CA8-A969-80AE1A76A111", + "id" : "5628E865-4696-4BD3-8E41-FFFA5B9B6AA1", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -546,42 +577,11 @@ "type" : 2 }, { - "id" : "5F2E7305-0816-4CA8-A969-80AE1A76A111", - "type" : 4 - }, - { - "id" : "36A12469-D785-49B2-B862-F080C21D1E87", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:50 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "36A12469-D785-49B2-B862-F080C21D1E87", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjQzLjYxNzE4NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0Mjo0My42MTcxODVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjQ2LjIxNTIzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjQ5LjczNDczWiIsImVUYWciOiJBWjdkbDg3cmlxM0JJdyJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjQ0LjE5ODQ5N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0Mjo0NC4xOTg0OTdaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjQ2LjkxNzQ5MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0Mjo1MC4yNTg0ODdaIiwiZVRhZyI6IkFZM0JxWVRWaEpQS3pnRSJ9XSwibmV4dCI6Ik1nIn0=" - }, - "type" : 2 - }, - { - "id" : "36A12469-D785-49B2-B862-F080C21D1E87", + "id" : "5628E865-4696-4BD3-8E41-FFFA5B9B6AA1", "type" : 4 }, { - "id" : "6656D0F6-8CA8-45F4-8D0C-F035E4141B35", + "id" : "6272CD34-FF1E-495A-9089-0D09F28118C7", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -591,31 +591,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "101", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6656D0F6-8CA8-45F4-8D0C-F035E4141B35", + "id" : "6272CD34-FF1E-495A-9089-0D09F28118C7", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:52 GMT", + "Date" : "Sun, 24 May 2020 08:49:50 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -625,7 +625,7 @@ "type" : 1 }, { - "id" : "6656D0F6-8CA8-45F4-8D0C-F035E4141B35", + "id" : "6272CD34-FF1E-495A-9089-0D09F28118C7", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -633,11 +633,11 @@ "type" : 2 }, { - "id" : "6656D0F6-8CA8-45F4-8D0C-F035E4141B35", + "id" : "6272CD34-FF1E-495A-9089-0D09F28118C7", "type" : 4 }, { - "id" : "E152A4EF-28A9-4406-89AE-AF84EED41A38", + "id" : "9FD325FC-BA35-41A3-BB27-C5C1D5F9BB98", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -646,26 +646,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E152A4EF-28A9-4406-89AE-AF84EED41A38", + "id" : "9FD325FC-BA35-41A3-BB27-C5C1D5F9BB98", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:53 GMT", + "Date" : "Sun, 24 May 2020 08:49:51 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -675,7 +675,7 @@ "type" : 1 }, { - "id" : "E152A4EF-28A9-4406-89AE-AF84EED41A38", + "id" : "9FD325FC-BA35-41A3-BB27-C5C1D5F9BB98", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -683,11 +683,11 @@ "type" : 2 }, { - "id" : "E152A4EF-28A9-4406-89AE-AF84EED41A38", + "id" : "9FD325FC-BA35-41A3-BB27-C5C1D5F9BB98", "type" : 4 }, { - "id" : "E1F77A16-3689-4075-A249-C9C2CF8707F9", + "id" : "B8E2375B-4E07-4B77-8158-B8C3817C0583", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -696,26 +696,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E1F77A16-3689-4075-A249-C9C2CF8707F9", + "id" : "B8E2375B-4E07-4B77-8158-B8C3817C0583", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:54 GMT", + "Date" : "Sun, 24 May 2020 08:49:51 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -725,7 +725,7 @@ "type" : 1 }, { - "id" : "E1F77A16-3689-4075-A249-C9C2CF8707F9", + "id" : "B8E2375B-4E07-4B77-8158-B8C3817C0583", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -733,11 +733,11 @@ "type" : 2 }, { - "id" : "E1F77A16-3689-4075-A249-C9C2CF8707F9", + "id" : "B8E2375B-4E07-4B77-8158-B8C3817C0583", "type" : 4 }, { - "id" : "85CF4224-0AA8-4CC1-8952-61A6848E5A3D", + "id" : "FE1EECC2-234C-4A2C-AB9C-514CBA432839", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -746,26 +746,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "85CF4224-0AA8-4CC1-8952-61A6848E5A3D", + "id" : "FE1EECC2-234C-4A2C-AB9C-514CBA432839", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:56 GMT", + "Date" : "Sun, 24 May 2020 08:49:52 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -775,7 +775,7 @@ "type" : 1 }, { - "id" : "85CF4224-0AA8-4CC1-8952-61A6848E5A3D", + "id" : "FE1EECC2-234C-4A2C-AB9C-514CBA432839", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -783,7 +783,7 @@ "type" : 2 }, { - "id" : "85CF4224-0AA8-4CC1-8952-61A6848E5A3D", + "id" : "FE1EECC2-234C-4A2C-AB9C-514CBA432839", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerDeleteMemberEventOnSpaceChannelWhenUserRemoved.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerDeleteMemberEventOnChannelWhenUUIDMetadataRemoved.json similarity index 55% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerDeleteMemberEventOnSpaceChannelWhenUserRemoved.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerDeleteMemberEventOnChannelWhenUUIDMetadataRemoved.json index d31f82ec0..931859fc8 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerDeleteMemberEventOnSpaceChannelWhenUserRemoved.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerDeleteMemberEventOnChannelWhenUUIDMetadataRemoved.json @@ -1,6 +1,6 @@ [ { - "id" : "5E9FBD37-9844-4DB6-9F22-5B4F5797F77B", + "id" : "2B9F4B23-EB64-4F6E-A7B0-0A3249935365", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5E9FBD37-9844-4DB6-9F22-5B4F5797F77B", + "id" : "2B9F4B23-EB64-4F6E-A7B0-0A3249935365", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:01 GMT", + "Date" : "Sun, 24 May 2020 08:49:54 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "5E9FBD37-9844-4DB6-9F22-5B4F5797F77B", + "id" : "2B9F4B23-EB64-4F6E-A7B0-0A3249935365", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "5E9FBD37-9844-4DB6-9F22-5B4F5797F77B", + "id" : "2B9F4B23-EB64-4F6E-A7B0-0A3249935365", "type" : 4 }, { - "id" : "055B4D47-58D0-4F67-ADD5-868BA685BB3C", + "id" : "EE314124-1258-40A7-91A3-5EE6C5A00B35", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "055B4D47-58D0-4F67-ADD5-868BA685BB3C", + "id" : "EE314124-1258-40A7-91A3-5EE6C5A00B35", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:01 GMT", + "Date" : "Sun, 24 May 2020 08:49:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "055B4D47-58D0-4F67-ADD5-868BA685BB3C", + "id" : "EE314124-1258-40A7-91A3-5EE6C5A00B35", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "055B4D47-58D0-4F67-ADD5-868BA685BB3C", + "id" : "EE314124-1258-40A7-91A3-5EE6C5A00B35", "type" : 4 }, { - "id" : "8839FD2E-7561-4282-B2A0-CAA4A9DEECA8", + "id" : "6F482DC0-F5DA-4BE1-9ED1-5549590DB258", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8839FD2E-7561-4282-B2A0-CAA4A9DEECA8", + "id" : "6F482DC0-F5DA-4BE1-9ED1-5549590DB258", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:02 GMT", + "Date" : "Sun, 24 May 2020 08:49:55 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "8839FD2E-7561-4282-B2A0-CAA4A9DEECA8", + "id" : "6F482DC0-F5DA-4BE1-9ED1-5549590DB258", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTowMi4wMDM0NzZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6MDIuMDAzNDc2WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OTo1NS41MjQ0ODFaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "8839FD2E-7561-4282-B2A0-CAA4A9DEECA8", + "id" : "6F482DC0-F5DA-4BE1-9ED1-5549590DB258", "type" : 4 }, { - "id" : "D8089472-10C2-4DD0-8789-905A8F82C994", + "id" : "5BEAFA3B-F731-4060-924D-FB6F2CDAA18D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D8089472-10C2-4DD0-8789-905A8F82C994", + "id" : "5BEAFA3B-F731-4060-924D-FB6F2CDAA18D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:04 GMT", + "Date" : "Sun, 24 May 2020 08:49:56 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "D8089472-10C2-4DD0-8789-905A8F82C994", + "id" : "5BEAFA3B-F731-4060-924D-FB6F2CDAA18D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjAzLjYxMzMwM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTowMy42MTMzMDNaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjU2Ljc1ODFaIiwiZVRhZyI6IkFhTFo5SkRzNDlpRkdRIn19" }, "type" : 2 }, { - "id" : "D8089472-10C2-4DD0-8789-905A8F82C994", + "id" : "5BEAFA3B-F731-4060-924D-FB6F2CDAA18D", "type" : 4 }, { - "id" : "32A459D0-BAE1-4DBA-BF5A-00A0F2C17F64", + "id" : "3C89128B-983B-434E-9A0A-DC66075436A5", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "32A459D0-BAE1-4DBA-BF5A-00A0F2C17F64", + "id" : "3C89128B-983B-434E-9A0A-DC66075436A5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:04 GMT", + "Date" : "Sun, 24 May 2020 08:49:56 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "32A459D0-BAE1-4DBA-BF5A-00A0F2C17F64", + "id" : "3C89128B-983B-434E-9A0A-DC66075436A5", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjA0LjE5NzkzNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTowNC4xOTc5MzZaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjU2Ljk3OTYyMloiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "32A459D0-BAE1-4DBA-BF5A-00A0F2C17F64", + "id" : "3C89128B-983B-434E-9A0A-DC66075436A5", "type" : 4 }, { - "id" : "8C2B0394-F425-4F2C-B7EE-0E911FC659C6", + "id" : "DE2E09C0-8865-496E-AE8E-3194E54C2DC0", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8C2B0394-F425-4F2C-B7EE-0E911FC659C6", + "id" : "DE2E09C0-8865-496E-AE8E-3194E54C2DC0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:07 GMT", + "Date" : "Sun, 24 May 2020 08:49:58 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "8C2B0394-F425-4F2C-B7EE-0E911FC659C6", + "id" : "DE2E09C0-8865-496E-AE8E-3194E54C2DC0", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTowNi4yNzA0NThaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6MDYuMjcwNDU4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTowNi45NjUzNTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6MDYuOTY1MzUyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0OTo1OC40NTU5NzlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQ5OjU4LjQ0NTA2M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "8C2B0394-F425-4F2C-B7EE-0E911FC659C6", + "id" : "DE2E09C0-8865-496E-AE8E-3194E54C2DC0", "type" : 4 }, { - "id" : "6A5AB154-7A0E-416C-B4FC-E0D278086B8A", + "id" : "3B6742D8-3C91-4F5E-B162-B375360AE3C8", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +341,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6A5AB154-7A0E-416C-B4FC-E0D278086B8A", + "id" : "3B6742D8-3C91-4F5E-B162-B375360AE3C8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:41:09 GMT", + "Date" : "Sun, 24 May 2020 08:50:00 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +371,19 @@ "type" : 1 }, { - "id" : "6A5AB154-7A0E-416C-B4FC-E0D278086B8A", + "id" : "3B6742D8-3C91-4F5E-B162-B375360AE3C8", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NjY3NTc4MDI0OCIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMTk4NDYwMDk0OSIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "6A5AB154-7A0E-416C-B4FC-E0D278086B8A", + "id" : "3B6742D8-3C91-4F5E-B162-B375360AE3C8", "type" : 4 }, { - "id" : "A2467EE9-AB3B-492C-AD85-7C1857A2AD31", + "id" : "109A170A-48F4-4494-B089-9DFDC5E68BCA", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,19 +392,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810396675780248&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101984600949&tr=56" }, "type" : 0 }, { - "id" : "5A24BAEC-DD2A-4936-A63B-6C1EBA88D117", + "id" : "D3C2C88F-BD30-4486-889B-9606D425590D", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -413,26 +413,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5A24BAEC-DD2A-4936-A63B-6C1EBA88D117", + "id" : "D3C2C88F-BD30-4486-889B-9606D425590D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:10 GMT", + "Date" : "Sun, 24 May 2020 08:50:00 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -442,17 +442,25 @@ "type" : 1 }, { - "id" : "A2467EE9-AB3B-492C-AD85-7C1857A2AD31", + "id" : "D3C2C88F-BD30-4486-889B-9606D425590D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "109A170A-48F4-4494-B089-9DFDC5E68BCA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810396675780248&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903101984600949&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:41:10 GMT", - "Content-Length" : "322", + "Date" : "Sun, 24 May 2020 08:50:00 GMT", + "Content-Length" : "324", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -460,31 +468,23 @@ "type" : 1 }, { - "id" : "5A24BAEC-DD2A-4936-A63B-6C1EBA88D117", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 + "id" : "D3C2C88F-BD30-4486-889B-9606D425590D", + "type" : 4 }, { - "id" : "A2467EE9-AB3B-492C-AD85-7C1857A2AD31", + "id" : "109A170A-48F4-4494-B089-9DFDC5E68BCA", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NjcwMDQ4MTc5NSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5NjcwMDQ1MzMxNyIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoiZGVsZXRlIiwidHlwZSI6InVzZXIiLCJkYXRhIjp7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMjAwMzYxNDg5OSIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMjAwMzYyODY1NCIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJkZWxldGUiLCJ0eXBlIjoidXVpZCIsImRhdGEiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fV19" }, "type" : 2 }, { - "id" : "5A24BAEC-DD2A-4936-A63B-6C1EBA88D117", - "type" : 4 - }, - { - "id" : "A2467EE9-AB3B-492C-AD85-7C1857A2AD31", + "id" : "109A170A-48F4-4494-B089-9DFDC5E68BCA", "type" : 4 }, { - "id" : "805715C1-685C-4F6D-82E6-806335181940", + "id" : "045B8A93-8361-47EB-8665-0243C60BE4AA", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -493,25 +493,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810396700481795&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903102003614899&tr=56" }, "type" : 0 }, { - "id" : "805715C1-685C-4F6D-82E6-806335181940", + "id" : "045B8A93-8361-47EB-8665-0243C60BE4AA", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810396700481795&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903102003614899&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810396700481795&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903102003614899&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -519,7 +519,7 @@ "type" : 3 }, { - "id" : "7FC52F53-FC63-4D1A-B177-1A5A24DF907D", + "id" : "96DAC12C-F5D6-445F-A7FF-43A721FECA1D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -528,30 +528,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7FC52F53-FC63-4D1A-B177-1A5A24DF907D", + "id" : "96DAC12C-F5D6-445F-A7FF-43A721FECA1D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 01:41:10 GMT", + "Date" : "Sun, 24 May 2020 08:50:00 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -561,7 +561,7 @@ "type" : 1 }, { - "id" : "7FC52F53-FC63-4D1A-B177-1A5A24DF907D", + "id" : "96DAC12C-F5D6-445F-A7FF-43A721FECA1D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -569,11 +569,11 @@ "type" : 2 }, { - "id" : "7FC52F53-FC63-4D1A-B177-1A5A24DF907D", + "id" : "96DAC12C-F5D6-445F-A7FF-43A721FECA1D", "type" : 4 }, { - "id" : "42AC271A-9B98-421D-A1D7-8164093CCE5F", + "id" : "917A6442-226B-4D5D-A193-8D33AD439D88", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -583,31 +583,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "101", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "42AC271A-9B98-421D-A1D7-8164093CCE5F", + "id" : "917A6442-226B-4D5D-A193-8D33AD439D88", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:12 GMT", + "Date" : "Sun, 24 May 2020 08:50:02 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -617,7 +617,7 @@ "type" : 1 }, { - "id" : "42AC271A-9B98-421D-A1D7-8164093CCE5F", + "id" : "917A6442-226B-4D5D-A193-8D33AD439D88", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -625,11 +625,11 @@ "type" : 2 }, { - "id" : "42AC271A-9B98-421D-A1D7-8164093CCE5F", + "id" : "917A6442-226B-4D5D-A193-8D33AD439D88", "type" : 4 }, { - "id" : "EED194BF-C26A-4E53-A7E0-F8B1B11EF623", + "id" : "121F74D6-97F3-4199-9B8E-0A3679C4BE09", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -638,26 +638,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EED194BF-C26A-4E53-A7E0-F8B1B11EF623", + "id" : "121F74D6-97F3-4199-9B8E-0A3679C4BE09", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:12 GMT", + "Date" : "Sun, 24 May 2020 08:50:02 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -667,7 +667,7 @@ "type" : 1 }, { - "id" : "EED194BF-C26A-4E53-A7E0-F8B1B11EF623", + "id" : "121F74D6-97F3-4199-9B8E-0A3679C4BE09", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -675,11 +675,11 @@ "type" : 2 }, { - "id" : "EED194BF-C26A-4E53-A7E0-F8B1B11EF623", + "id" : "121F74D6-97F3-4199-9B8E-0A3679C4BE09", "type" : 4 }, { - "id" : "2E8EFE37-5D63-4CDF-9398-29C7A9BC3BEF", + "id" : "25BC8195-08C4-4A40-A591-BD5E8846E4F3", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -688,26 +688,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2E8EFE37-5D63-4CDF-9398-29C7A9BC3BEF", + "id" : "25BC8195-08C4-4A40-A591-BD5E8846E4F3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:13 GMT", + "Date" : "Sun, 24 May 2020 08:50:02 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -717,7 +717,7 @@ "type" : 1 }, { - "id" : "2E8EFE37-5D63-4CDF-9398-29C7A9BC3BEF", + "id" : "25BC8195-08C4-4A40-A591-BD5E8846E4F3", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -725,11 +725,11 @@ "type" : 2 }, { - "id" : "2E8EFE37-5D63-4CDF-9398-29C7A9BC3BEF", + "id" : "25BC8195-08C4-4A40-A591-BD5E8846E4F3", "type" : 4 }, { - "id" : "14539188-84F5-4AF3-8DBE-0784F17D3B00", + "id" : "5BE394C4-D1F4-4691-9C71-0F8C05BED01B", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -738,26 +738,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "14539188-84F5-4AF3-8DBE-0784F17D3B00", + "id" : "5BE394C4-D1F4-4691-9C71-0F8C05BED01B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:15 GMT", + "Date" : "Sun, 24 May 2020 08:50:03 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -767,7 +767,7 @@ "type" : 1 }, { - "id" : "14539188-84F5-4AF3-8DBE-0784F17D3B00", + "id" : "5BE394C4-D1F4-4691-9C71-0F8C05BED01B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -775,7 +775,7 @@ "type" : 2 }, { - "id" : "14539188-84F5-4AF3-8DBE-0784F17D3B00", + "id" : "5BE394C4-D1F4-4691-9C71-0F8C05BED01B", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerUpdateMemberEventOnSpaceChannelWhenUserDataChanged.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerSetMemberEventOnChannelWhenUUIDMetadataDataChanged.json similarity index 54% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerUpdateMemberEventOnSpaceChannelWhenUserDataChanged.json rename to Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerSetMemberEventOnChannelWhenUUIDMetadataDataChanged.json index b50a7c690..0b8f3f523 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerUpdateMemberEventOnSpaceChannelWhenUserDataChanged.json +++ b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldTriggerSetMemberEventOnChannelWhenUUIDMetadataDataChanged.json @@ -1,6 +1,6 @@ [ { - "id" : "9884EA55-A30F-4956-B52E-CA0B8672E7C3", + "id" : "06AB9B9C-934E-41C6-8BEA-19548BCB34C9", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9884EA55-A30F-4956-B52E-CA0B8672E7C3", + "id" : "06AB9B9C-934E-41C6-8BEA-19548BCB34C9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:17 GMT", + "Date" : "Sun, 24 May 2020 08:50:05 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "9884EA55-A30F-4956-B52E-CA0B8672E7C3", + "id" : "06AB9B9C-934E-41C6-8BEA-19548BCB34C9", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "9884EA55-A30F-4956-B52E-CA0B8672E7C3", + "id" : "06AB9B9C-934E-41C6-8BEA-19548BCB34C9", "type" : 4 }, { - "id" : "DEB010C7-FBD1-4C15-86DA-1EDE243B3F0C", + "id" : "AA105835-7D0A-4592-8F67-C1D4279EC451", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DEB010C7-FBD1-4C15-86DA-1EDE243B3F0C", + "id" : "AA105835-7D0A-4592-8F67-C1D4279EC451", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:17 GMT", + "Date" : "Sun, 24 May 2020 08:50:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "DEB010C7-FBD1-4C15-86DA-1EDE243B3F0C", + "id" : "AA105835-7D0A-4592-8F67-C1D4279EC451", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "DEB010C7-FBD1-4C15-86DA-1EDE243B3F0C", + "id" : "AA105835-7D0A-4592-8F67-C1D4279EC451", "type" : 4 }, { - "id" : "F63E3D45-CC81-4C07-8CD9-81D5CEE310B4", + "id" : "9F8F599C-D39B-4C6F-84E0-23BF9B3F9FE9", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F63E3D45-CC81-4C07-8CD9-81D5CEE310B4", + "id" : "9F8F599C-D39B-4C6F-84E0-23BF9B3F9FE9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:18 GMT", + "Date" : "Sun, 24 May 2020 08:50:06 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "F63E3D45-CC81-4C07-8CD9-81D5CEE310B4", + "id" : "9F8F599C-D39B-4C6F-84E0-23BF9B3F9FE9", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MToxOC4wMjE5MDJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6MTguMDIxOTAyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDowNi43MDIxOThaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "F63E3D45-CC81-4C07-8CD9-81D5CEE310B4", + "id" : "9F8F599C-D39B-4C6F-84E0-23BF9B3F9FE9", "type" : 4 }, { - "id" : "9FA6C62F-B0BE-4977-B45F-3CDF51CF9254", + "id" : "E7DA5D5D-633A-47D4-9183-1B294B8C847F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9FA6C62F-B0BE-4977-B45F-3CDF51CF9254", + "id" : "E7DA5D5D-633A-47D4-9183-1B294B8C847F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:20 GMT", + "Date" : "Sun, 24 May 2020 08:50:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "9FA6C62F-B0BE-4977-B45F-3CDF51CF9254", + "id" : "E7DA5D5D-633A-47D4-9183-1B294B8C847F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjE5LjcwMjI4N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MToxOS43MDIyODdaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjA3LjkzMTc1NloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "9FA6C62F-B0BE-4977-B45F-3CDF51CF9254", + "id" : "E7DA5D5D-633A-47D4-9183-1B294B8C847F", "type" : 4 }, { - "id" : "04396B9A-EEFF-4FDD-9EA1-A5B088BEDFCD", + "id" : "3356888B-4F3C-4402-9FFA-D6F12B3BC605", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "04396B9A-EEFF-4FDD-9EA1-A5B088BEDFCD", + "id" : "3356888B-4F3C-4402-9FFA-D6F12B3BC605", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:20 GMT", + "Date" : "Sun, 24 May 2020 08:50:08 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "04396B9A-EEFF-4FDD-9EA1-A5B088BEDFCD", + "id" : "3356888B-4F3C-4402-9FFA-D6F12B3BC605", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjIwLjMwODY2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjIwLjMwODY2WiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjA4LjE1NTcxNloiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "04396B9A-EEFF-4FDD-9EA1-A5B088BEDFCD", + "id" : "3356888B-4F3C-4402-9FFA-D6F12B3BC605", "type" : 4 }, { - "id" : "DBAD6A9A-45E3-42F8-9EA4-85EB003E4EEB", + "id" : "79D0B901-639D-4B86-9093-B7FA19688972", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DBAD6A9A-45E3-42F8-9EA4-85EB003E4EEB", + "id" : "79D0B901-639D-4B86-9093-B7FA19688972", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:23 GMT", + "Date" : "Sun, 24 May 2020 08:50:09 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "DBAD6A9A-45E3-42F8-9EA4-85EB003E4EEB", + "id" : "79D0B901-639D-4B86-9093-B7FA19688972", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MToyMi4zNDI1NzRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6MjIuMzQyNTc0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MToyMy4wMzczMjhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6MjMuMDM3MzI4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3sidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDowOS4zOTgwMjRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJ1dWlkIjp7ImlkIjoiS2ltLXV1aWQtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjA5LjQwMzc5M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "DBAD6A9A-45E3-42F8-9EA4-85EB003E4EEB", + "id" : "79D0B901-639D-4B86-9093-B7FA19688972", "type" : 4 }, { - "id" : "14DF26B4-79FA-4C53-B979-5FA276A124BE", + "id" : "9080CAA4-BA62-49AB-A6EB-CA46C5E454C1", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +341,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "14DF26B4-79FA-4C53-B979-5FA276A124BE", + "id" : "9080CAA4-BA62-49AB-A6EB-CA46C5E454C1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:41:25 GMT", + "Date" : "Sun, 24 May 2020 08:50:10 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +371,19 @@ "type" : 1 }, { - "id" : "14DF26B4-79FA-4C53-B979-5FA276A124BE", + "id" : "9080CAA4-BA62-49AB-A6EB-CA46C5E454C1", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5NjgzNjQ5NTAyMCIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMjA5NDA3OTcyMiIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "14DF26B4-79FA-4C53-B979-5FA276A124BE", + "id" : "9080CAA4-BA62-49AB-A6EB-CA46C5E454C1", "type" : 4 }, { - "id" : "2D14B69A-E0E1-4E4A-A288-6F7ADEF47410", + "id" : "D468C820-B400-4F2D-B5F5-21386EE21283", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,19 +392,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810396836495020&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903102094079722&tr=56" }, "type" : 0 }, { - "id" : "EC9977E6-E054-4654-A324-F92E232AE673", + "id" : "57475ED0-2E55-4C4A-BA6A-FBEF6D26FB44", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -414,51 +414,65 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "123", + "Content-Length" : "79", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJjdXN0b20iOnsidXVpZC1jdXN0b20iOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?include=user,user.custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EC9977E6-E054-4654-A324-F92E232AE673", + "id" : "57475ED0-2E55-4C4A-BA6A-FBEF6D26FB44", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?include=user,user.custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:25 GMT", "Content-Type" : "application\/json", - "Content-Length" : "236", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:50:11 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" } }, "type" : 1 }, { - "id" : "2D14B69A-E0E1-4E4A-A288-6F7ADEF47410", + "id" : "57475ED0-2E55-4C4A-BA6A-FBEF6D26FB44", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbSI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDoxMS4xMTExNloiLCJlVGFnIjoiQWJ1SzROZis2YXFMc2dFIn19" + }, + "type" : 2 + }, + { + "id" : "57475ED0-2E55-4C4A-BA6A-FBEF6D26FB44", + "type" : 4 + }, + { + "id" : "D468C820-B400-4F2D-B5F5-21386EE21283", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810396836495020&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903102094079722&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 01:41:25 GMT", - "Content-Length" : "464", + "Date" : "Sun, 24 May 2020 08:50:11 GMT", + "Content-Length" : "463", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -466,31 +480,19 @@ "type" : 1 }, { - "id" : "EC9977E6-E054-4654-A324-F92E232AE673", + "id" : "D468C820-B400-4F2D-B5F5-21386EE21283", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjE5LjcwMjI4N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MToyNS40OTU5OVoiLCJlVGFnIjoiQWFibXBjeWN2THFabWdFIn19" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMjExMTE3NjM4MSIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMjExMTE4OTY0MiIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJzZXQiLCJ0eXBlIjoidXVpZCIsImRhdGEiOnsiY3VzdG9tIjp7InV1aWQtY3VzdG9tIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sImVUYWciOiJBYnVLNE5mKzZhcUxzZ0UiLCJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDoxMS4xMTExNloifX19XX0=" }, "type" : 2 }, { - "id" : "2D14B69A-E0E1-4E4A-A288-6F7ADEF47410", - "data" : { - "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDM5Njg1OTMzNDgwNyIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDM5Njg1OTMxMDgwMyIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoidXBkYXRlIiwidHlwZSI6InVzZXIiLCJkYXRhIjp7ImN1c3RvbSI6eyJ1c2VyLWN1c3RvbSI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJlVGFnIjoiQWFibXBjeWN2THFabWdFIiwiaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6MjUuNDk1OTlaIn19fV19" - }, - "type" : 2 - }, - { - "id" : "EC9977E6-E054-4654-A324-F92E232AE673", - "type" : 4 - }, - { - "id" : "2D14B69A-E0E1-4E4A-A288-6F7ADEF47410", + "id" : "D468C820-B400-4F2D-B5F5-21386EE21283", "type" : 4 }, { - "id" : "49E30957-DA31-4553-9E4C-F6CBE6593900", + "id" : "AE3B30EE-BCA2-49D0-8075-0BDD62A0DB27", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -499,25 +501,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810396859334807&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903102111176381&tr=56" }, "type" : 0 }, { - "id" : "49E30957-DA31-4553-9E4C-F6CBE6593900", + "id" : "AE3B30EE-BCA2-49D0-8075-0BDD62A0DB27", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810396859334807&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903102111176381&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810396859334807&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903102111176381&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -525,7 +527,7 @@ "type" : 3 }, { - "id" : "29F331DF-74B1-44A4-A681-685A70C44411", + "id" : "4A6EA2AD-0777-43B3-A420-92565DEED7D1", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -534,30 +536,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "29F331DF-74B1-44A4-A681-685A70C44411", + "id" : "4A6EA2AD-0777-43B3-A420-92565DEED7D1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 01:41:26 GMT", + "Date" : "Sun, 24 May 2020 08:50:11 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -567,7 +569,7 @@ "type" : 1 }, { - "id" : "29F331DF-74B1-44A4-A681-685A70C44411", + "id" : "4A6EA2AD-0777-43B3-A420-92565DEED7D1", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -575,11 +577,11 @@ "type" : 2 }, { - "id" : "29F331DF-74B1-44A4-A681-685A70C44411", + "id" : "4A6EA2AD-0777-43B3-A420-92565DEED7D1", "type" : 4 }, { - "id" : "D6528C35-6903-41BC-A43E-4741EF9F2C90", + "id" : "41F2AB37-4857-4390-A173-F739985820FB", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -589,31 +591,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "101", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7InV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19LHsidXVpZCI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D6528C35-6903-41BC-A43E-4741EF9F2C90", + "id" : "41F2AB37-4857-4390-A173-F739985820FB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:28 GMT", + "Date" : "Sun, 24 May 2020 08:50:12 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -623,7 +625,7 @@ "type" : 1 }, { - "id" : "D6528C35-6903-41BC-A43E-4741EF9F2C90", + "id" : "41F2AB37-4857-4390-A173-F739985820FB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -631,11 +633,11 @@ "type" : 2 }, { - "id" : "D6528C35-6903-41BC-A43E-4741EF9F2C90", + "id" : "41F2AB37-4857-4390-A173-F739985820FB", "type" : 4 }, { - "id" : "E16813FE-4648-4781-8411-B1292293BBCB", + "id" : "A3F41D69-EB1B-49C5-872D-D24ADCA52CA3", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -644,26 +646,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E16813FE-4648-4781-8411-B1292293BBCB", + "id" : "A3F41D69-EB1B-49C5-872D-D24ADCA52CA3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:29 GMT", + "Date" : "Sun, 24 May 2020 08:50:13 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -673,7 +675,7 @@ "type" : 1 }, { - "id" : "E16813FE-4648-4781-8411-B1292293BBCB", + "id" : "A3F41D69-EB1B-49C5-872D-D24ADCA52CA3", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -681,11 +683,11 @@ "type" : 2 }, { - "id" : "E16813FE-4648-4781-8411-B1292293BBCB", + "id" : "A3F41D69-EB1B-49C5-872D-D24ADCA52CA3", "type" : 4 }, { - "id" : "A3E18586-7710-4B38-B7CA-3AEE3E514354", + "id" : "E9EEF66E-1D55-4EFB-B47A-C0549FE23B16", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -694,26 +696,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A3E18586-7710-4B38-B7CA-3AEE3E514354", + "id" : "E9EEF66E-1D55-4EFB-B47A-C0549FE23B16", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:30 GMT", + "Date" : "Sun, 24 May 2020 08:50:13 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -723,7 +725,7 @@ "type" : 1 }, { - "id" : "A3E18586-7710-4B38-B7CA-3AEE3E514354", + "id" : "E9EEF66E-1D55-4EFB-B47A-C0549FE23B16", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -731,11 +733,11 @@ "type" : 2 }, { - "id" : "A3E18586-7710-4B38-B7CA-3AEE3E514354", + "id" : "E9EEF66E-1D55-4EFB-B47A-C0549FE23B16", "type" : 4 }, { - "id" : "2FCC4780-DBF6-4FE8-801C-6B1C9699CD1B", + "id" : "0DCA90F0-0044-4337-A88A-8A054D489377", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -744,26 +746,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2FCC4780-DBF6-4FE8-801C-6B1C9699CD1B", + "id" : "0DCA90F0-0044-4337-A88A-8A054D489377", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:31 GMT", + "Date" : "Sun, 24 May 2020 08:50:14 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -773,7 +775,7 @@ "type" : 1 }, { - "id" : "2FCC4780-DBF6-4FE8-801C-6B1C9699CD1B", + "id" : "0DCA90F0-0044-4337-A88A-8A054D489377", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -781,7 +783,7 @@ "type" : 2 }, { - "id" : "2FCC4780-DBF6-4FE8-801C-6B1C9699CD1B", + "id" : "0DCA90F0-0044-4337-A88A-8A054D489377", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReceiveStatusWithExpectedOperationAndCategory.json deleted file mode 100644 index 119477c38..000000000 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReceiveStatusWithExpectedOperationAndCategory.json +++ /dev/null @@ -1,598 +0,0 @@ -[ - { - "id" : "C969D61D-81CD-4670-AE14-050752869F49", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C969D61D-81CD-4670-AE14-050752869F49", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:33 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "C969D61D-81CD-4670-AE14-050752869F49", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "C969D61D-81CD-4670-AE14-050752869F49", - "type" : 4 - }, - { - "id" : "2831C143-517D-46B5-9EDA-AC81B58AC2FF", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "2831C143-517D-46B5-9EDA-AC81B58AC2FF", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:34 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "2831C143-517D-46B5-9EDA-AC81B58AC2FF", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "2831C143-517D-46B5-9EDA-AC81B58AC2FF", - "type" : 4 - }, - { - "id" : "88C9A5CE-F445-4EF5-85B8-7C3E4B69DA93", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "88C9A5CE-F445-4EF5-85B8-7C3E4B69DA93", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:34 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "88C9A5CE-F445-4EF5-85B8-7C3E4B69DA93", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTozNC4yNDQwNjhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6MzQuMjQ0MDY4WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "88C9A5CE-F445-4EF5-85B8-7C3E4B69DA93", - "type" : 4 - }, - { - "id" : "45CA9963-B871-46E6-8E4C-3037B08F0B9C", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "45CA9963-B871-46E6-8E4C-3037B08F0B9C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:36 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "45CA9963-B871-46E6-8E4C-3037B08F0B9C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjM1Ljg0NDY2OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTozNS44NDQ2NjlaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "45CA9963-B871-46E6-8E4C-3037B08F0B9C", - "type" : 4 - }, - { - "id" : "F5C9326A-90B8-4983-9FAE-5FE84E809BFE", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "136", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F5C9326A-90B8-4983-9FAE-5FE84E809BFE", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:36 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "F5C9326A-90B8-4983-9FAE-5FE84E809BFE", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQxOjM2LjQzNTQ1NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTozNi40MzU0NTVaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" - }, - "type" : 2 - }, - { - "id" : "F5C9326A-90B8-4983-9FAE-5FE84E809BFE", - "type" : 4 - }, - { - "id" : "E9168F85-D98F-4476-BC7B-4BBB8E8E9186", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "265", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn19XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "E9168F85-D98F-4476-BC7B-4BBB8E8E9186", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:39 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "E9168F85-D98F-4476-BC7B-4BBB8E8E9186", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyLWN1c3RvbSI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTozOC41MjMyMzRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6MzguNTIzMjM0WiIsImVUYWciOiJBWnE5eHZETDd2bTlJQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyLWN1c3RvbSI6IktpbS11c2VyLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTozOS4yMTc4OThaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6MzkuMjE3ODk4WiIsImVUYWciOiJBZDNMNGVldDZmblo4Z0UifV0sIm5leHQiOiJNZyJ9" - }, - "type" : 2 - }, - { - "id" : "E9168F85-D98F-4476-BC7B-4BBB8E8E9186", - "type" : 4 - }, - { - "id" : "ECC93F4D-EA3F-4AEC-878E-A904632CF07F", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "268", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTMifX0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS00In19XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "ECC93F4D-EA3F-4AEC-878E-A904632CF07F", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:41:42 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "ECC93F4D-EA3F-4AEC-878E-A904632CF07F", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyLWN1c3RvbSI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTozOC41MjMyMzRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6NDEuNzk0NjczWiIsImVUYWciOiJBYmFTMVBIMitadmhFZyJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyLWN1c3RvbSI6IktpbS11c2VyLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtNCJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MTozOS4yMTc4OThaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDE6NDIuMzE1NjU2WiIsImVUYWciOiJBZlhMOFpMS2hOYTREQSJ9XSwibmV4dCI6Ik1nIn0=" - }, - "type" : 2 - }, - { - "id" : "ECC93F4D-EA3F-4AEC-878E-A904632CF07F", - "type" : 4 - }, - { - "id" : "878444CB-CB50-4B40-919F-29FED6374180", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "101", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "878444CB-CB50-4B40-919F-29FED6374180", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:44 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "878444CB-CB50-4B40-919F-29FED6374180", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "878444CB-CB50-4B40-919F-29FED6374180", - "type" : 4 - }, - { - "id" : "8FAC24F2-64CA-475D-B9BB-46F64C619795", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "8FAC24F2-64CA-475D-B9BB-46F64C619795", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:45 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "8FAC24F2-64CA-475D-B9BB-46F64C619795", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "8FAC24F2-64CA-475D-B9BB-46F64C619795", - "type" : 4 - }, - { - "id" : "95F25251-F298-40C0-B3BF-9D757A409614", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "95F25251-F298-40C0-B3BF-9D757A409614", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:46 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "95F25251-F298-40C0-B3BF-9D757A409614", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "95F25251-F298-40C0-B3BF-9D757A409614", - "type" : 4 - }, - { - "id" : "B381030D-5623-4BC5-A028-E20DFD146391", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "B381030D-5623-4BC5-A028-E20DFD146391", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:41:48 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "B381030D-5623-4BC5-A028-E20DFD146391", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "B381030D-5623-4BC5-A028-E20DFD146391", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnSortedUserInformationWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnSortedUserInformationWhenSortIsSet.json deleted file mode 100644 index bf7a9a805..000000000 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnSortedUserInformationWhenSortIsSet.json +++ /dev/null @@ -1,814 +0,0 @@ -[ - { - "id" : "A483A5E8-A5A3-4447-A490-8119AAD02066", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A483A5E8-A5A3-4447-A490-8119AAD02066", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:00:50 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "A483A5E8-A5A3-4447-A490-8119AAD02066", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "A483A5E8-A5A3-4447-A490-8119AAD02066", - "type" : 4 - }, - { - "id" : "29ACA46B-6B61-42B6-81D0-0D3BB8532076", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "29ACA46B-6B61-42B6-81D0-0D3BB8532076", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:00:50 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "29ACA46B-6B61-42B6-81D0-0D3BB8532076", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "29ACA46B-6B61-42B6-81D0-0D3BB8532076", - "type" : 4 - }, - { - "id" : "CAC50141-32E7-4B20-B1EB-5151DB7066F3", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "CAC50141-32E7-4B20-B1EB-5151DB7066F3", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:00:50 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "CAC50141-32E7-4B20-B1EB-5151DB7066F3", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1MC40MzY0MThaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDA6NTAuNDM2NDE4WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "CAC50141-32E7-4B20-B1EB-5151DB7066F3", - "type" : 4 - }, - { - "id" : "217E14DF-BE52-4790-99CC-CD2067F3ED51", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "217E14DF-BE52-4790-99CC-CD2067F3ED51", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:00:52 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "217E14DF-BE52-4790-99CC-CD2067F3ED51", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjUyLjA1NjIyMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1Mi4wNTYyMjFaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "217E14DF-BE52-4790-99CC-CD2067F3ED51", - "type" : 4 - }, - { - "id" : "B8144645-CBDB-4168-BC02-789670630033", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "136", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "B8144645-CBDB-4168-BC02-789670630033", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:00:53 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "B8144645-CBDB-4168-BC02-789670630033", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjUyLjYzMDAxOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1Mi42MzAwMThaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" - }, - "type" : 2 - }, - { - "id" : "B8144645-CBDB-4168-BC02-789670630033", - "type" : 4 - }, - { - "id" : "F2EA642F-AF82-4982-8066-5A29F408B77D", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "152", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F2EA642F-AF82-4982-8066-5A29F408B77D", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:00:53 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "F2EA642F-AF82-4982-8066-5A29F408B77D", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1My4yMDM0NzNaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDA6NTMuMjAzNDczWiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "F2EA642F-AF82-4982-8066-5A29F408B77D", - "type" : 4 - }, - { - "id" : "521DE16D-DD19-443A-BCFB-09A35F862D45", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "140", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "521DE16D-DD19-443A-BCFB-09A35F862D45", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:00:54 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "521DE16D-DD19-443A-BCFB-09A35F862D45", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1My43ODc5OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1My43ODc5OVoiLCJlVGFnIjoiQWYvNXdNU2gzcmVJZEEifX0=" - }, - "type" : 2 - }, - { - "id" : "521DE16D-DD19-443A-BCFB-09A35F862D45", - "type" : 4 - }, - { - "id" : "4DD6066F-F9E4-4F2B-8059-F8F0C24B0572", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "189", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom,user&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "4DD6066F-F9E4-4F2B-8059-F8F0C24B0572", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom,user&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:00:58 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "4DD6066F-F9E4-4F2B-8059-F8F0C24B0572", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJ1c2VyIjp7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJTZXJoaWkiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDA6NTIuMDU2MjIxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjUyLjA1NjIyMVoiLCJlVGFnIjoiQWVQMjY3ZmF1dmJCUEEifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDA6NTUuNzc0NDU3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjU1Ljc3NDQ1N1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjUyLjYzMDAxOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1Mi42MzAwMThaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjU2LjQ2NjkyMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1Ni40NjY5MjFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJ1c2VyIjp7ImlkIjoiRWFybGluZS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1My4yMDM0NzNaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDA6NTMuMjAzNDczWiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDA6NTcuMTU5NjcyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjU3LjE1OTY3MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiR2xlbi11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsInVzZXIiOnsiaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjUzLjc4Nzk5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjUzLjc4Nzk5WiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1Ny44NTIyODNaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDA6NTcuODUyMjgzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5BIn0=" - }, - "type" : 2 - }, - { - "id" : "4DD6066F-F9E4-4F2B-8059-F8F0C24B0572", - "type" : 4 - }, - { - "id" : "8838F455-0EE4-4DA5-A7A4-86A6BCFE61D2", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "268", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn19XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?sort=user.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii" - }, - "type" : 0 - }, - { - "id" : "8838F455-0EE4-4DA5-A7A4-86A6BCFE61D2", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?sort=user.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:01:01 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "8838F455-0EE4-4DA5-A7A4-86A6BCFE61D2", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjUyLjA1NjIyMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1Mi4wNTYyMjFaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjU1Ljc3NDQ1N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMTowMC4zMTUzODZaIiwiZVRhZyI6IkFaalMrSlBJdDd1MTFBRSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjUyLjYzMDAxOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1Mi42MzAwMThaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjU2LjQ2NjkyMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMTowMC44MzU5NzhaIiwiZVRhZyI6IkFlSFBzZUttOUo2ckJnIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1My43ODc5OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1My43ODc5OVoiLCJlVGFnIjoiQWYvNXdNU2gzcmVJZEEifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MDA6NTcuODUyMjgzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjU3Ljg1MjI4M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiRWFybGluZS11c2VyLWlkZW50aWZpZXIiLCJ1c2VyIjp7ImlkIjoiRWFybGluZS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIiwidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjAwOjUzLjIwMzQ3M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1My4yMDM0NzNaIiwiZVRhZyI6IkFkNmJ6cm5jcktXM3JRRSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMTowMDo1Ny4xNTk2NzJaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MDA6NTcuMTU5NjcyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6NCwibmV4dCI6Ik5BIn0=" - }, - "type" : 2 - }, - { - "id" : "8838F455-0EE4-4DA5-A7A4-86A6BCFE61D2", - "type" : 4 - }, - { - "id" : "AA4C8FAB-6937-475C-95AA-32BDD490CF5D", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "192", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIn0seyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "AA4C8FAB-6937-475C-95AA-32BDD490CF5D", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:01:03 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "AA4C8FAB-6937-475C-95AA-32BDD490CF5D", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "AA4C8FAB-6937-475C-95AA-32BDD490CF5D", - "type" : 4 - }, - { - "id" : "19573141-CE26-419F-9354-C6517BB3EC53", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "19573141-CE26-419F-9354-C6517BB3EC53", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:01:04 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "19573141-CE26-419F-9354-C6517BB3EC53", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "19573141-CE26-419F-9354-C6517BB3EC53", - "type" : 4 - }, - { - "id" : "8B13E5C6-9CA8-4C2A-A9C9-AAE15B1B2D7F", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "8B13E5C6-9CA8-4C2A-A9C9-AAE15B1B2D7F", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:01:05 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "8B13E5C6-9CA8-4C2A-A9C9-AAE15B1B2D7F", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "8B13E5C6-9CA8-4C2A-A9C9-AAE15B1B2D7F", - "type" : 4 - }, - { - "id" : "9AB47FA7-2D78-4F2D-B89C-BFBF04A94ABE", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "9AB47FA7-2D78-4F2D-B89C-BFBF04A94ABE", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:01:06 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "9AB47FA7-2D78-4F2D-B89C-BFBF04A94ABE", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "9AB47FA7-2D78-4F2D-B89C-BFBF04A94ABE", - "type" : 4 - }, - { - "id" : "145C2F7C-4BF2-4D01-B2EB-32FF1E9B4C5E", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "145C2F7C-4BF2-4D01-B2EB-32FF1E9B4C5E", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:01:07 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "145C2F7C-4BF2-4D01-B2EB-32FF1E9B4C5E", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "145C2F7C-4BF2-4D01-B2EB-32FF1E9B4C5E", - "type" : 4 - }, - { - "id" : "B6D66171-4F89-4F90-8D4C-0A3FEEB8C20E", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "B6D66171-4F89-4F90-8D4C-0A3FEEB8C20E", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:01:09 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "B6D66171-4F89-4F90-8D4C-0A3FEEB8C20E", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "B6D66171-4F89-4F90-8D4C-0A3FEEB8C20E", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json b/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json deleted file mode 100644 index efb23bcb4..000000000 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldUpdateMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json +++ /dev/null @@ -1,598 +0,0 @@ -[ - { - "id" : "98ED1B52-B25C-45B3-9A80-85D06743C1A6", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "98ED1B52-B25C-45B3-9A80-85D06743C1A6", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:07 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "98ED1B52-B25C-45B3-9A80-85D06743C1A6", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "98ED1B52-B25C-45B3-9A80-85D06743C1A6", - "type" : 4 - }, - { - "id" : "1F764A91-BD0B-416C-BC1F-45E11E1B728C", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "1F764A91-BD0B-416C-BC1F-45E11E1B728C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:07 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "1F764A91-BD0B-416C-BC1F-45E11E1B728C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "1F764A91-BD0B-416C-BC1F-45E11E1B728C", - "type" : 4 - }, - { - "id" : "7D9BEFA6-4D79-46B2-A71C-AF24EA425618", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "7D9BEFA6-4D79-46B2-A71C-AF24EA425618", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:07 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "7D9BEFA6-4D79-46B2-A71C-AF24EA425618", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjowNy40MTgyNjJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDI6MDcuNDE4MjYyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "7D9BEFA6-4D79-46B2-A71C-AF24EA425618", - "type" : 4 - }, - { - "id" : "6B80380E-0C1C-4A73-9897-452647576806", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "6B80380E-0C1C-4A73-9897-452647576806", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:09 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "6B80380E-0C1C-4A73-9897-452647576806", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjA5LjA2OTM3MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjowOS4wNjkzNzFaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "6B80380E-0C1C-4A73-9897-452647576806", - "type" : 4 - }, - { - "id" : "683E41EE-E0EC-4F2F-822B-B53BC6B6F1AE", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "136", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "683E41EE-E0EC-4F2F-822B-B53BC6B6F1AE", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:10 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "683E41EE-E0EC-4F2F-822B-B53BC6B6F1AE", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjA5LjY1OTY1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjA5LjY1OTY1WiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "683E41EE-E0EC-4F2F-822B-B53BC6B6F1AE", - "type" : 4 - }, - { - "id" : "FB1DD1E5-23C3-4B89-8304-33F9509E17AE", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "98", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "FB1DD1E5-23C3-4B89-8304-33F9509E17AE", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:13 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "FB1DD1E5-23C3-4B89-8304-33F9509E17AE", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoxMS43MDUwNjdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDI6MTEuNzA1MDY3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoxMi40MDI4MTZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDI6MTIuNDAyODE2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" - }, - "type" : 2 - }, - { - "id" : "FB1DD1E5-23C3-4B89-8304-33F9509E17AE", - "type" : 4 - }, - { - "id" : "3A36E461-2616-4270-8F6E-F0821F18190C", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "268", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn19XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "3A36E461-2616-4270-8F6E-F0821F18190C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:42:15 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "3A36E461-2616-4270-8F6E-F0821F18190C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjA5LjA2OTM3MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjowOS4wNjkzNzFaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjExLjcwNTA2N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoxNC45MDE5NThaIiwiZVRhZyI6IkFieWJ2WnlsaCt2cDBRRSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjA5LjY1OTY1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjQyOjA5LjY1OTY1WiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTo0MjoxMi40MDI4MTZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6NDI6MTUuNDIzNDMyWiIsImVUYWciOiJBYUdCL3IrVXRwT09IUSJ9XSwibmV4dCI6Ik1nIn0=" - }, - "type" : 2 - }, - { - "id" : "3A36E461-2616-4270-8F6E-F0821F18190C", - "type" : 4 - }, - { - "id" : "B443EA2A-3C60-44A6-98D9-7A0DA497F853", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "101", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "B443EA2A-3C60-44A6-98D9-7A0DA497F853", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:18 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "B443EA2A-3C60-44A6-98D9-7A0DA497F853", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "B443EA2A-3C60-44A6-98D9-7A0DA497F853", - "type" : 4 - }, - { - "id" : "0E92C312-EACF-4746-8E1E-75DE7DDDE620", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "0E92C312-EACF-4746-8E1E-75DE7DDDE620", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:19 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "0E92C312-EACF-4746-8E1E-75DE7DDDE620", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "0E92C312-EACF-4746-8E1E-75DE7DDDE620", - "type" : 4 - }, - { - "id" : "6DC62F8F-A907-4F4B-AB00-3282860A0D4C", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "6DC62F8F-A907-4F4B-AB00-3282860A0D4C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:20 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "6DC62F8F-A907-4F4B-AB00-3282860A0D4C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "6DC62F8F-A907-4F4B-AB00-3282860A0D4C", - "type" : 4 - }, - { - "id" : "AC82517E-5072-4C40-9487-529BD75A1D5B", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "AC82517E-5072-4C40-9487-529BD75A1D5B", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:42:21 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "AC82517E-5072-4C40-9487-529BD75A1D5B", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "AC82517E-5072-4C40-9487-529BD75A1D5B", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnFilteredSpacesInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnFilteredSpacesInformationWhenFilterIsSet.json deleted file mode 100644 index e6cab28a2..000000000 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnFilteredSpacesInformationWhenFilterIsSet.json +++ /dev/null @@ -1,540 +0,0 @@ -[ - { - "id" : "25A6B4FA-DDA8-4E14-BDF5-10782BDACEDD", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "25A6B4FA-DDA8-4E14-BDF5-10782BDACEDD", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:18:58 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "25A6B4FA-DDA8-4E14-BDF5-10782BDACEDD", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "25A6B4FA-DDA8-4E14-BDF5-10782BDACEDD", - "type" : 4 - }, - { - "id" : "2A7FA444-F2B9-4F2F-82E7-CC36C45CEE0D", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "2A7FA444-F2B9-4F2F-82E7-CC36C45CEE0D", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:18:58 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "2A7FA444-F2B9-4F2F-82E7-CC36C45CEE0D", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "2A7FA444-F2B9-4F2F-82E7-CC36C45CEE0D", - "type" : 4 - }, - { - "id" : "E1A86876-5A8A-41B6-92A9-1F7DD7CF6B44", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "E1A86876-5A8A-41B6-92A9-1F7DD7CF6B44", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:18:59 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "E1A86876-5A8A-41B6-92A9-1F7DD7CF6B44", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxODo1OS4wMDY4NjdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTg6NTkuMDA2ODY3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "E1A86876-5A8A-41B6-92A9-1F7DD7CF6B44", - "type" : 4 - }, - { - "id" : "1EACA628-5C54-4708-A7D9-1990A3C70675", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "1EACA628-5C54-4708-A7D9-1990A3C70675", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:00 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "1EACA628-5C54-4708-A7D9-1990A3C70675", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxODo1OS41Nzg5MjJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTg6NTkuNTc4OTIyWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "1EACA628-5C54-4708-A7D9-1990A3C70675", - "type" : 4 - }, - { - "id" : "60FC8060-CC70-4A95-8E52-201807D55827", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "60FC8060-CC70-4A95-8E52-201807D55827", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:01 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "60FC8060-CC70-4A95-8E52-201807D55827", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjAxLjE4ODk2OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTowMS4xODg5NjlaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "60FC8060-CC70-4A95-8E52-201807D55827", - "type" : 4 - }, - { - "id" : "841C388D-D67B-420E-9CD3-6E33E09D76B8", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "105", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?filter=space.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii" - }, - "type" : 0 - }, - { - "id" : "841C388D-D67B-420E-9CD3-6E33E09D76B8", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?filter=space.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:04 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "841C388D-D67B-420E-9CD3-6E33E09D76B8", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxODo1OS41Nzg5MjJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTg6NTkuNTc4OTIyWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTowMy44ODk0MzRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MDMuODg5NDM0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6MSwibmV4dCI6Ik1RIn0=" - }, - "type" : 2 - }, - { - "id" : "841C388D-D67B-420E-9CD3-6E33E09D76B8", - "type" : 4 - }, - { - "id" : "B66665CC-2F97-4A7A-B1A2-D9C10732DD75", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "60", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "B66665CC-2F97-4A7A-B1A2-D9C10732DD75", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:06 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "187", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "B66665CC-2F97-4A7A-B1A2-D9C10732DD75", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTowMy4xOTQ3ODVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MDMuMTk0Nzg1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" - }, - "type" : 2 - }, - { - "id" : "B66665CC-2F97-4A7A-B1A2-D9C10732DD75", - "type" : 4 - }, - { - "id" : "816E39D0-C12D-4F5E-ADB2-151D8A03C383", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "816E39D0-C12D-4F5E-ADB2-151D8A03C383", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:07 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "816E39D0-C12D-4F5E-ADB2-151D8A03C383", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "816E39D0-C12D-4F5E-ADB2-151D8A03C383", - "type" : 4 - }, - { - "id" : "AEEED5B7-DB0A-4D89-8EE6-52DD84EB603C", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "AEEED5B7-DB0A-4D89-8EE6-52DD84EB603C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:09 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "AEEED5B7-DB0A-4D89-8EE6-52DD84EB603C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "AEEED5B7-DB0A-4D89-8EE6-52DD84EB603C", - "type" : 4 - }, - { - "id" : "C39176F0-BBEB-4E2D-80FA-C5EB51BC5FBD", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C39176F0-BBEB-4E2D-80FA-C5EB51BC5FBD", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:10 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "C39176F0-BBEB-4E2D-80FA-C5EB51BC5FBD", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "C39176F0-BBEB-4E2D-80FA-C5EB51BC5FBD", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json deleted file mode 100644 index aeaf310bf..000000000 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json +++ /dev/null @@ -1,540 +0,0 @@ -[ - { - "id" : "6750C220-FF47-479D-828B-384FE9DC4367", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "6750C220-FF47-479D-828B-384FE9DC4367", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:12 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "6750C220-FF47-479D-828B-384FE9DC4367", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "6750C220-FF47-479D-828B-384FE9DC4367", - "type" : 4 - }, - { - "id" : "C7059A87-F513-4E40-A7B5-CE31E8A1013C", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C7059A87-F513-4E40-A7B5-CE31E8A1013C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:12 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "C7059A87-F513-4E40-A7B5-CE31E8A1013C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "C7059A87-F513-4E40-A7B5-CE31E8A1013C", - "type" : 4 - }, - { - "id" : "E51F458F-6797-46A7-BEEF-6656FE366B5F", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "E51F458F-6797-46A7-BEEF-6656FE366B5F", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:13 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "E51F458F-6797-46A7-BEEF-6656FE366B5F", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOToxMi42MDI5ODZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MTIuNjAyOTg2WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "E51F458F-6797-46A7-BEEF-6656FE366B5F", - "type" : 4 - }, - { - "id" : "0AA8D1A2-A7EB-4DFC-A5A4-0FA70EF667FD", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "0AA8D1A2-A7EB-4DFC-A5A4-0FA70EF667FD", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:13 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "0AA8D1A2-A7EB-4DFC-A5A4-0FA70EF667FD", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOToxMy4xODAwNzZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MTMuMTgwMDc2WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "0AA8D1A2-A7EB-4DFC-A5A4-0FA70EF667FD", - "type" : 4 - }, - { - "id" : "E11ACC98-8D34-4662-91C6-1D2C855A326E", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "E11ACC98-8D34-4662-91C6-1D2C855A326E", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:15 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "E11ACC98-8D34-4662-91C6-1D2C855A326E", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjE0LjgwNzc3NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOToxNC44MDc3NzVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "E11ACC98-8D34-4662-91C6-1D2C855A326E", - "type" : 4 - }, - { - "id" : "54D00A6F-5163-40DE-96D3-28D32E596272", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "105", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "54D00A6F-5163-40DE-96D3-28D32E596272", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:18 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "54D00A6F-5163-40DE-96D3-28D32E596272", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOToxMi42MDI5ODZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MTIuNjAyOTg2WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MTYuODAyMDE4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjE2LjgwMjAxOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MTMuMTgwMDc2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjEzLjE4MDA3NloiLCJlVGFnIjoiQVpyRjY0YjlpTnltSXcifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MTcuNDkzNjNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MTcuNDkzNjNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" - }, - "type" : 2 - }, - { - "id" : "54D00A6F-5163-40DE-96D3-28D32E596272", - "type" : 4 - }, - { - "id" : "82C89D49-37F4-4E8E-8CF4-EE2F1E0151B3", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "108", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "82C89D49-37F4-4E8E-8CF4-EE2F1E0151B3", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:20 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "82C89D49-37F4-4E8E-8CF4-EE2F1E0151B3", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "82C89D49-37F4-4E8E-8CF4-EE2F1E0151B3", - "type" : 4 - }, - { - "id" : "C381A1C1-3F7D-452A-BC44-2C93E74FE612", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C381A1C1-3F7D-452A-BC44-2C93E74FE612", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:21 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "C381A1C1-3F7D-452A-BC44-2C93E74FE612", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "C381A1C1-3F7D-452A-BC44-2C93E74FE612", - "type" : 4 - }, - { - "id" : "0CA4F843-191B-471D-9998-DD5D823C3D31", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "0CA4F843-191B-471D-9998-DD5D823C3D31", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:22 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "0CA4F843-191B-471D-9998-DD5D823C3D31", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "0CA4F843-191B-471D-9998-DD5D823C3D31", - "type" : 4 - }, - { - "id" : "DF3BD905-E7C1-4E11-8329-9171F326C8F1", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "DF3BD905-E7C1-4E11-8329-9171F326C8F1", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:23 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "DF3BD905-E7C1-4E11-8329-9171F326C8F1", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "DF3BD905-E7C1-4E11-8329-9171F326C8F1", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndTriggerCreateEventOnSpaceChannel.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndTriggerCreateEventOnSpaceChannel.json deleted file mode 100644 index c11502bd6..000000000 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndTriggerCreateEventOnSpaceChannel.json +++ /dev/null @@ -1,675 +0,0 @@ -[ - { - "id" : "59466A1C-B32D-4915-A2F3-CFA59A5E64AD", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "59466A1C-B32D-4915-A2F3-CFA59A5E64AD", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:25 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "59466A1C-B32D-4915-A2F3-CFA59A5E64AD", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "59466A1C-B32D-4915-A2F3-CFA59A5E64AD", - "type" : 4 - }, - { - "id" : "EA1FF377-CB03-46DF-8E53-E7F2BC8ABDFB", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "EA1FF377-CB03-46DF-8E53-E7F2BC8ABDFB", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:25 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "EA1FF377-CB03-46DF-8E53-E7F2BC8ABDFB", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "EA1FF377-CB03-46DF-8E53-E7F2BC8ABDFB", - "type" : 4 - }, - { - "id" : "22B8D00F-E1B7-446A-BF57-B8D31E489DD1", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "22B8D00F-E1B7-446A-BF57-B8D31E489DD1", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:26 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "22B8D00F-E1B7-446A-BF57-B8D31E489DD1", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOToyNi4wNTMwNDdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MjYuMDUzMDQ3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "22B8D00F-E1B7-446A-BF57-B8D31E489DD1", - "type" : 4 - }, - { - "id" : "B0594555-3BE1-4C6B-A4C9-CF09A576A086", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "B0594555-3BE1-4C6B-A4C9-CF09A576A086", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:27 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "B0594555-3BE1-4C6B-A4C9-CF09A576A086", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOToyNi42MjQ5OTdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MjYuNjI0OTk3WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "B0594555-3BE1-4C6B-A4C9-CF09A576A086", - "type" : 4 - }, - { - "id" : "C04337E5-FFFF-4F90-B439-71453DAACA4C", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C04337E5-FFFF-4F90-B439-71453DAACA4C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:28 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "C04337E5-FFFF-4F90-B439-71453DAACA4C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjI4LjIyMzY5NloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOToyOC4yMjM2OTZaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "C04337E5-FFFF-4F90-B439-71453DAACA4C", - "type" : 4 - }, - { - "id" : "68E08F5B-8176-4E71-8EE1-FB0E9BBBC8F9", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "68E08F5B-8176-4E71-8EE1-FB0E9BBBC8F9", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Methods" : "GET", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:19:29 GMT", - "Content-Length" : "45", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" - } - }, - "type" : 1 - }, - { - "id" : "68E08F5B-8176-4E71-8EE1-FB0E9BBBC8F9", - "data" : { - "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2MzY5ODkyNDUzNiIsInIiOjEyfSwibSI6W119" - }, - "type" : 2 - }, - { - "id" : "68E08F5B-8176-4E71-8EE1-FB0E9BBBC8F9", - "type" : 4 - }, - { - "id" : "CDFEEFA6-9B3B-4E4C-8BBE-5349DF8E9D6B", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563698924536&tr=12" - }, - "type" : 0 - }, - { - "id" : "7C35525F-B5F6-4910-9E6C-0B781647B6D4", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "105", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "CDFEEFA6-9B3B-4E4C-8BBE-5349DF8E9D6B", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563698924536&tr=12", - "headers" : { - "Access-Control-Allow-Methods" : "GET", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:19:31 GMT", - "Content-Length" : "507", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" - } - }, - "type" : 1 - }, - { - "id" : "CDFEEFA6-9B3B-4E4C-8BBE-5349DF8E9D6B", - "data" : { - "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2MzcxMTIzMDU1OCIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2MzcxMTIyMTExMSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoiY3JlYXRlIiwidHlwZSI6Im1lbWJlcnNoaXAiLCJkYXRhIjp7ImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjMwLjUxMDU5MjczM1oiLCJjdXN0b20iOm51bGwsImVUYWciOiJBWTM5bUpLSy8vQzBWQSIsInNwYWNlSWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTozMC41MTA1OTI3MzNaIiwidXNlcklkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" - }, - "type" : 2 - }, - { - "id" : "CDFEEFA6-9B3B-4E4C-8BBE-5349DF8E9D6B", - "type" : 4 - }, - { - "id" : "19E428FA-C007-4AA5-B893-28A60FE4ED8F", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563711230558&tr=12" - }, - "type" : 0 - }, - { - "id" : "19E428FA-C007-4AA5-B893-28A60FE4ED8F", - "data" : { - "code" : -999, - "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563711230558&tr=12", - "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563711230558&tr=12" - }, - "cls" : "NSError", - "domain" : "NSURLErrorDomain" - }, - "type" : 3 - }, - { - "id" : "6CDA124C-9F3D-4395-A141-ACEB1F922921", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "6CDA124C-9F3D-4395-A141-ACEB1F922921", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Server" : "Pubnub Presence", - "Access-Control-Allow-Origin" : "*", - "Age" : "0", - "Date" : "Fri, 07 Feb 2020 06:19:31 GMT", - "Accept-Ranges" : "bytes", - "Content-Length" : "74", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" - } - }, - "type" : 1 - }, - { - "id" : "6CDA124C-9F3D-4395-A141-ACEB1F922921", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" - }, - "type" : 2 - }, - { - "id" : "6CDA124C-9F3D-4395-A141-ACEB1F922921", - "type" : 4 - }, - { - "id" : "1BA8868F-F5FD-43BD-A0DF-BFE40A512359", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "7C35525F-B5F6-4910-9E6C-0B781647B6D4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:31 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "7C35525F-B5F6-4910-9E6C-0B781647B6D4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOToyNi4wNTMwNDdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MjYuMDUzMDQ3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MzAuNTEwNTkzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjMwLjUxMDU5M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MjYuNjI0OTk3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjI2LjYyNDk5N1oiLCJlVGFnIjoiQVpyRjY0YjlpTnltSXcifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MzEuMjA1ODcyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjMxLjIwNTg3MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" - }, - "type" : 2 - }, - { - "id" : "7C35525F-B5F6-4910-9E6C-0B781647B6D4", - "type" : 4 - }, - { - "id" : "1BA8868F-F5FD-43BD-A0DF-BFE40A512359", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:32 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "1BA8868F-F5FD-43BD-A0DF-BFE40A512359", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "1BA8868F-F5FD-43BD-A0DF-BFE40A512359", - "type" : 4 - }, - { - "id" : "714236BB-776A-4AAA-8C9E-DFA5C80168CC", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "714236BB-776A-4AAA-8C9E-DFA5C80168CC", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:34 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "714236BB-776A-4AAA-8C9E-DFA5C80168CC", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "714236BB-776A-4AAA-8C9E-DFA5C80168CC", - "type" : 4 - }, - { - "id" : "4B4B4D02-1DA9-49A0-8B0C-0C8916D361B9", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "4B4B4D02-1DA9-49A0-8B0C-0C8916D361B9", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:35 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "4B4B4D02-1DA9-49A0-8B0C-0C8916D361B9", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "4B4B4D02-1DA9-49A0-8B0C-0C8916D361B9", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReturnSortedSpaceInformationWhenSortedIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReturnSortedSpaceInformationWhenSortedIsSet.json deleted file mode 100644 index e80ba1ffc..000000000 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReturnSortedSpaceInformationWhenSortedIsSet.json +++ /dev/null @@ -1,922 +0,0 @@ -[ - { - "id" : "36882E4C-9EDF-4576-9B8C-9D9241884834", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "36882E4C-9EDF-4576-9B8C-9D9241884834", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:52:46 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "36882E4C-9EDF-4576-9B8C-9D9241884834", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "36882E4C-9EDF-4576-9B8C-9D9241884834", - "type" : 4 - }, - { - "id" : "75BB023C-90F1-41E1-BB0B-DA8DCD673029", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "75BB023C-90F1-41E1-BB0B-DA8DCD673029", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:52:47 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "75BB023C-90F1-41E1-BB0B-DA8DCD673029", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "75BB023C-90F1-41E1-BB0B-DA8DCD673029", - "type" : 4 - }, - { - "id" : "3374DB2B-00A9-4C7B-A484-EBF473754826", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "3374DB2B-00A9-4C7B-A484-EBF473754826", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:52:47 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "3374DB2B-00A9-4C7B-A484-EBF473754826", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo0Ny4yNTk2NzJaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDcuMjU5NjcyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "3374DB2B-00A9-4C7B-A484-EBF473754826", - "type" : 4 - }, - { - "id" : "C4B946A0-A70E-4999-A02E-4AFC873A760D", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C4B946A0-A70E-4999-A02E-4AFC873A760D", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:52:48 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "C4B946A0-A70E-4999-A02E-4AFC873A760D", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo0Ny44NDI5MzdaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDcuODQyOTM3WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "C4B946A0-A70E-4999-A02E-4AFC873A760D", - "type" : 4 - }, - { - "id" : "A0BF4EA3-38AB-4093-8942-C87A92DFAFFD", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "159", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A0BF4EA3-38AB-4093-8942-C87A92DFAFFD", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:52:48 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "A0BF4EA3-38AB-4093-8942-C87A92DFAFFD", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDguNDMxNTE5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjQ4LjQzMTUxOVoiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" - }, - "type" : 2 - }, - { - "id" : "A0BF4EA3-38AB-4093-8942-C87A92DFAFFD", - "type" : 4 - }, - { - "id" : "ED99DD33-C98E-40F1-BF97-D6F135A6A974", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "159", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "ED99DD33-C98E-40F1-BF97-D6F135A6A974", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:52:49 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "ED99DD33-C98E-40F1-BF97-D6F135A6A974", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDkuMDEwNzY3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjQ5LjAxMDc2N1oiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" - }, - "type" : 2 - }, - { - "id" : "ED99DD33-C98E-40F1-BF97-D6F135A6A974", - "type" : 4 - }, - { - "id" : "DFFF4355-BFEB-49BD-9760-E8D0C0BD7603", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "143", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "DFFF4355-BFEB-49BD-9760-E8D0C0BD7603", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:52:50 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "DFFF4355-BFEB-49BD-9760-E8D0C0BD7603", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo0OS41OTIwNjNaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDkuNTkyMDYzWiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "DFFF4355-BFEB-49BD-9760-E8D0C0BD7603", - "type" : 4 - }, - { - "id" : "08DD4D0B-2032-427D-B219-D26244902B71", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "08DD4D0B-2032-427D-B219-D26244902B71", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:52:51 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "08DD4D0B-2032-427D-B219-D26244902B71", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjUxLjE5NjAyN1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo1MS4xOTYwMjdaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "08DD4D0B-2032-427D-B219-D26244902B71", - "type" : 4 - }, - { - "id" : "3E7FF043-C6B0-4263-9605-9D5C65D4DA67", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "248", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "3E7FF043-C6B0-4263-9605-9D5C65D4DA67", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:52:56 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "3E7FF043-C6B0-4263-9605-9D5C65D4DA67", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsInNwYWNlIjp7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDcuMjU5NjcyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjQ3LjI1OTY3MloiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjUzLjE4ODg1MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo1My4xODg4NTJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwic3BhY2UiOnsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo0Ny44NDI5MzdaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDcuODQyOTM3WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo1My44ODM4NjZaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NTMuODgzODY2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJzcGFjZSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDguNDMxNTE5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjQ4LjQzMTUxOVoiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjU0LjU3ODk0MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo1NC41Nzg5NDFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsInNwYWNlIjp7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo0OS4wMTA3NjdaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDkuMDEwNzY3WiIsImVUYWciOiJBWkhGNDdYRjJhT2lwQUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NTUuMjczOTAyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjU1LjI3MzkwMloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJzcGFjZSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjQ5LjU5MjA2M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo0OS41OTIwNjNaIiwiZVRhZyI6IkFldUczSXl3NUp6MUJRIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjU1Ljk2ODg5NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo1NS45Njg4OTRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTlEifQ==" - }, - "type" : 2 - }, - { - "id" : "3E7FF043-C6B0-4263-9605-9D5C65D4DA67", - "type" : 4 - }, - { - "id" : "5E2C441D-8349-441D-8B63-1915FE79029C", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "60", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?sort=space.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii" - }, - "type" : 0 - }, - { - "id" : "5E2C441D-8349-441D-8B63-1915FE79029C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?sort=space.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:52:59 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "5E2C441D-8349-441D-8B63-1915FE79029C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJXeW5uLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo0OS41OTIwNjNaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDkuNTkyMDYzWiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo1NS45Njg4OTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NTUuOTY4ODk0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNvbHN0aWNlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjQ4LjQzMTUxOVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo0OC40MzE1MTlaIiwiZVRhZyI6IkFjdUJ4THEweE1PYW93RSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo1NC41Nzg5NDFaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NTQuNTc4OTQxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJNaWRuaWdodC1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJNaWRuaWdodC1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6Ik1pZG5pZ2h0IiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUyOjQ5LjAxMDc2N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo0OS4wMTA3NjdaIiwiZVRhZyI6IkFaSEY0N1hGMmFPaXBBRSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo1NS4yNzM5MDJaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NTUuMjczOTAyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo0Ny44NDI5MzdaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NDcuODQyOTM3WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1Mjo1My44ODM4NjZaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTI6NTMuODgzODY2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6NCwibmV4dCI6Ik5BIn0=" - }, - "type" : 2 - }, - { - "id" : "5E2C441D-8349-441D-8B63-1915FE79029C", - "type" : 4 - }, - { - "id" : "41EBE0D6-AABE-4FEB-B854-0E6CCC104AA2", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "203", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJXeW5uLXNwYWNlLWlkZW50aWZpZXIifV19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "41EBE0D6-AABE-4FEB-B854-0E6CCC104AA2", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:01 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "41EBE0D6-AABE-4FEB-B854-0E6CCC104AA2", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "41EBE0D6-AABE-4FEB-B854-0E6CCC104AA2", - "type" : 4 - }, - { - "id" : "18F4F3F2-6A7C-469C-AF4D-229ECB350021", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "18F4F3F2-6A7C-469C-AF4D-229ECB350021", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:02 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "18F4F3F2-6A7C-469C-AF4D-229ECB350021", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "18F4F3F2-6A7C-469C-AF4D-229ECB350021", - "type" : 4 - }, - { - "id" : "13818334-D24D-46FD-A97E-C7AA768B2921", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "13818334-D24D-46FD-A97E-C7AA768B2921", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:03 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "13818334-D24D-46FD-A97E-C7AA768B2921", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "13818334-D24D-46FD-A97E-C7AA768B2921", - "type" : 4 - }, - { - "id" : "27AE41F9-4127-43D8-8C1B-8C042B95F6DC", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "27AE41F9-4127-43D8-8C1B-8C042B95F6DC", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:04 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "27AE41F9-4127-43D8-8C1B-8C042B95F6DC", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "27AE41F9-4127-43D8-8C1B-8C042B95F6DC", - "type" : 4 - }, - { - "id" : "9BF0369C-3891-4889-9137-21A4C8580B53", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "9BF0369C-3891-4889-9137-21A4C8580B53", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:04 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "9BF0369C-3891-4889-9137-21A4C8580B53", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "9BF0369C-3891-4889-9137-21A4C8580B53", - "type" : 4 - }, - { - "id" : "F1170DDF-020E-456A-AF15-057501DC9D07", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F1170DDF-020E-456A-AF15-057501DC9D07", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:05 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "F1170DDF-020E-456A-AF15-057501DC9D07", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "F1170DDF-020E-456A-AF15-057501DC9D07", - "type" : 4 - }, - { - "id" : "FE5584F4-EE18-45C1-AA45-4EC89B4C5148", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "FE5584F4-EE18-45C1-AA45-4EC89B4C5148", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:06 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "FE5584F4-EE18-45C1-AA45-4EC89B4C5148", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "FE5584F4-EE18-45C1-AA45-4EC89B4C5148", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchFilteredMembershipsWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchFilteredMembershipsWhenFilterIsSet.json index ab5cfe905..f906fe49e 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchFilteredMembershipsWhenFilterIsSet.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchFilteredMembershipsWhenFilterIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "61501CB9-73E9-4743-9006-13229F9796D0", + "id" : "87022FAC-3FA7-4696-ACBB-CE9C4C2A5397", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "61501CB9-73E9-4743-9006-13229F9796D0", + "id" : "87022FAC-3FA7-4696-ACBB-CE9C4C2A5397", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:34 GMT", + "Date" : "Sun, 24 May 2020 08:50:35 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "61501CB9-73E9-4743-9006-13229F9796D0", + "id" : "87022FAC-3FA7-4696-ACBB-CE9C4C2A5397", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "61501CB9-73E9-4743-9006-13229F9796D0", + "id" : "87022FAC-3FA7-4696-ACBB-CE9C4C2A5397", "type" : 4 }, { - "id" : "13F2A0B5-05E9-4AF0-B0F4-E7416CC7C9D7", + "id" : "854516C2-E083-455A-947D-97B0B7F2D3CB", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "13F2A0B5-05E9-4AF0-B0F4-E7416CC7C9D7", + "id" : "854516C2-E083-455A-947D-97B0B7F2D3CB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:34 GMT", + "Date" : "Sun, 24 May 2020 08:50:35 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "13F2A0B5-05E9-4AF0-B0F4-E7416CC7C9D7", + "id" : "854516C2-E083-455A-947D-97B0B7F2D3CB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "13F2A0B5-05E9-4AF0-B0F4-E7416CC7C9D7", + "id" : "854516C2-E083-455A-947D-97B0B7F2D3CB", "type" : 4 }, { - "id" : "465FFC5A-6674-4AFD-9023-B2674BF42D40", + "id" : "465FEBF3-3C87-4A53-BA46-BA6DE0E1DCBD", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "465FFC5A-6674-4AFD-9023-B2674BF42D40", + "id" : "465FEBF3-3C87-4A53-BA46-BA6DE0E1DCBD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:35 GMT", + "Date" : "Sun, 24 May 2020 08:50:35 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "465FFC5A-6674-4AFD-9023-B2674BF42D40", + "id" : "465FEBF3-3C87-4A53-BA46-BA6DE0E1DCBD", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTozNC45ODc3NTZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6MzQuOTg3NzU2WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDozNS42NTA5NTRaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "465FFC5A-6674-4AFD-9023-B2674BF42D40", + "id" : "465FEBF3-3C87-4A53-BA46-BA6DE0E1DCBD", "type" : 4 }, { - "id" : "E8DB78E7-AAF2-47D5-9514-A8198AF85768", + "id" : "DBD3EAD6-3664-4F10-AC32-58929D773D5F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E8DB78E7-AAF2-47D5-9514-A8198AF85768", + "id" : "DBD3EAD6-3664-4F10-AC32-58929D773D5F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:36 GMT", + "Date" : "Sun, 24 May 2020 08:50:35 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "E8DB78E7-AAF2-47D5-9514-A8198AF85768", + "id" : "DBD3EAD6-3664-4F10-AC32-58929D773D5F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTozNS42NzUyMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTozNS42NzUyMVoiLCJlVGFnIjoiQVpyRjY0YjlpTnltSXcifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDozNS44NzA1NjJaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "E8DB78E7-AAF2-47D5-9514-A8198AF85768", + "id" : "DBD3EAD6-3664-4F10-AC32-58929D773D5F", "type" : 4 }, { - "id" : "F366F54F-203E-4E54-9426-1DA49B6732EC", + "id" : "20F722F5-E7B5-4A06-906C-273BA2BE27E5", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F366F54F-203E-4E54-9426-1DA49B6732EC", + "id" : "20F722F5-E7B5-4A06-906C-273BA2BE27E5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:36 GMT", + "Date" : "Sun, 24 May 2020 08:50:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "F366F54F-203E-4E54-9426-1DA49B6732EC", + "id" : "20F722F5-E7B5-4A06-906C-273BA2BE27E5", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6MzYuMzY1Mzg3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjM2LjM2NTM4N1oiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6MzYuMDkyOTgyWiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" }, "type" : 2 }, { - "id" : "F366F54F-203E-4E54-9426-1DA49B6732EC", + "id" : "20F722F5-E7B5-4A06-906C-273BA2BE27E5", "type" : 4 }, { - "id" : "A6793962-3507-4999-ABFF-8E8D662620FE", + "id" : "CDF59B61-A7AF-4507-8CA7-1CA150D318CE", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A6793962-3507-4999-ABFF-8E8D662620FE", + "id" : "CDF59B61-A7AF-4507-8CA7-1CA150D318CE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:37 GMT", + "Date" : "Sun, 24 May 2020 08:50:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "A6793962-3507-4999-ABFF-8E8D662620FE", + "id" : "CDF59B61-A7AF-4507-8CA7-1CA150D318CE", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6MzYuOTQzMDgyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjM2Ljk0MzA4MloiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6MzYuMzE0MDA3WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" }, "type" : 2 }, { - "id" : "A6793962-3507-4999-ABFF-8E8D662620FE", + "id" : "CDF59B61-A7AF-4507-8CA7-1CA150D318CE", "type" : 4 }, { - "id" : "EADAC42E-567D-4811-9632-6E07B84201AD", + "id" : "D597B965-B13E-46F0-8B17-4F21CCC7DBA1", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,57 +342,55 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "143", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EADAC42E-567D-4811-9632-6E07B84201AD", + "id" : "D597B965-B13E-46F0-8B17-4F21CCC7DBA1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:50:36 GMT", "Content-Type" : "application\/json", + "Content-Length" : "254", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:38 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "EADAC42E-567D-4811-9632-6E07B84201AD", + "id" : "D597B965-B13E-46F0-8B17-4F21CCC7DBA1", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTozNy41NTYzODFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6MzcuNTU2MzgxWiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDozNi41MzIzOTdaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" }, "type" : 2 }, { - "id" : "EADAC42E-567D-4811-9632-6E07B84201AD", + "id" : "D597B965-B13E-46F0-8B17-4F21CCC7DBA1", "type" : 4 }, { - "id" : "12E612FF-F422-4C33-90B7-58D9FC0FC8DF", + "id" : "96F7CA2C-988D-41CC-B964-EAD1B3FF7A53", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +398,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "163", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU25vd2ZsYWtlIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "12E612FF-F422-4C33-90B7-58D9FC0FC8DF", + "id" : "96F7CA2C-988D-41CC-B964-EAD1B3FF7A53", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:38 GMT", + "Date" : "Sun, 24 May 2020 08:50:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,21 +434,21 @@ "type" : 1 }, { - "id" : "12E612FF-F422-4C33-90B7-58D9FC0FC8DF", + "id" : "96F7CA2C-988D-41CC-B964-EAD1B3FF7A53", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjM4LjE0MTY1MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTozOC4xNDE2NTJaIiwiZVRhZyI6IkFZZk82OTNCajhLWVlBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJTbm93Zmxha2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjM2Ljc1Mzg5OVoiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifX0=" }, "type" : 2 }, { - "id" : "12E612FF-F422-4C33-90B7-58D9FC0FC8DF", + "id" : "96F7CA2C-988D-41CC-B964-EAD1B3FF7A53", "type" : 4 }, { - "id" : "D761AA57-FB10-4FB5-BC61-AC0E31F32747", + "id" : "F7875F0C-59CC-4934-B13F-B8E337E4BB08", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -458,35 +456,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D761AA57-FB10-4FB5-BC61-AC0E31F32747", + "id" : "F7875F0C-59CC-4934-B13F-B8E337E4BB08", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:40 GMT", + "Date" : "Sun, 24 May 2020 08:50:38 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -494,19 +492,19 @@ "type" : 1 }, { - "id" : "D761AA57-FB10-4FB5-BC61-AC0E31F32747", + "id" : "F7875F0C-59CC-4934-B13F-B8E337E4BB08", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjM5LjgxMjAwNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTozOS44MTIwMDZaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjM3Ljk5NzA4NVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "D761AA57-FB10-4FB5-BC61-AC0E31F32747", + "id" : "F7875F0C-59CC-4934-B13F-B8E337E4BB08", "type" : 4 }, { - "id" : "DA030DE1-6782-41F3-B272-0EE50FC2064B", + "id" : "AFFE2FF9-7E2F-4E2D-9A9E-58A2F64E0E89", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -516,35 +514,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "298", + "Content-Length" : "382", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiTWlkbmlnaHQtY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DA030DE1-6782-41F3-B272-0EE50FC2064B", + "id" : "AFFE2FF9-7E2F-4E2D-9A9E-58A2F64E0E89", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:46 GMT", + "Date" : "Sun, 24 May 2020 08:50:39 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -552,19 +550,19 @@ "type" : 1 }, { - "id" : "DA030DE1-6782-41F3-B272-0EE50FC2064B", + "id" : "AFFE2FF9-7E2F-4E2D-9A9E-58A2F64E0E89", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjQxLjc5ODM3OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTo0MS43OTgzNzlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6NDIuNDg5ODIxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjQyLjQ4OTgyMVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiU29sc3RpY2Utc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6NDMuMTgwODA1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjQzLjE4MDgwNVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6NDMuODcyMDAzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjQzLjg3MjAwM1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTo0NC41NjI5OThaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6NDQuNTYyOTk4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTbm93Zmxha2Utc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6NDUuMjU2NzM0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjQ1LjI1NjczNFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjM5LjI2MjM3MVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjM5LjI1NzA4M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTbm93Zmxha2UtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6MzkuMjcyOTYxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6MzkuMjY3Njk5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6MzkuMjUxNzk5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjM5LjI0NDAyOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOZyJ9" }, "type" : 2 }, { - "id" : "DA030DE1-6782-41F3-B272-0EE50FC2064B", + "id" : "AFFE2FF9-7E2F-4E2D-9A9E-58A2F64E0E89", "type" : 4 }, { - "id" : "3F45FD87-5CF7-4C38-8863-F00BECE6FB51", + "id" : "680F7E27-9464-40A9-A4BB-C26D6ECB6CF2", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -573,28 +571,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?filter=space.name%20like%20'Midn*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?filter=channel.name%20like%20'Midn*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "3F45FD87-5CF7-4C38-8863-F00BECE6FB51", + "id" : "680F7E27-9464-40A9-A4BB-C26D6ECB6CF2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?filter=space.name%20like%20'Midn*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?filter=channel.name%20like%20'Midn*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:47 GMT", + "Date" : "Sun, 24 May 2020 08:50:40 GMT", "Content-Type" : "application\/json", - "Content-Length" : "203", + "Content-Length" : "177", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -602,19 +600,19 @@ "type" : 1 }, { - "id" : "3F45FD87-5CF7-4C38-8863-F00BECE6FB51", + "id" : "680F7E27-9464-40A9-A4BB-C26D6ECB6CF2", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJNaWRuaWdodC1zcGFjZS1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6NDMuODcyMDAzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjQzLjg3MjAwM1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjEsIm5leHQiOiJNUSJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDozOS4yNjIzNzFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" }, "type" : 2 }, { - "id" : "3F45FD87-5CF7-4C38-8863-F00BECE6FB51", + "id" : "680F7E27-9464-40A9-A4BB-C26D6ECB6CF2", "type" : 4 }, { - "id" : "AAB24260-D8A4-4D1D-918E-C9013DFACEDE", + "id" : "6DF217E9-631F-449C-9747-069E10B72D45", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -624,31 +622,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "301", + "Content-Length" : "385", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJTbm93Zmxha2UtY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJXeW5uLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "AAB24260-D8A4-4D1D-918E-C9013DFACEDE", + "id" : "6DF217E9-631F-449C-9747-069E10B72D45", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:49 GMT", + "Date" : "Sun, 24 May 2020 08:50:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -658,7 +656,7 @@ "type" : 1 }, { - "id" : "AAB24260-D8A4-4D1D-918E-C9013DFACEDE", + "id" : "6DF217E9-631F-449C-9747-069E10B72D45", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -666,11 +664,11 @@ "type" : 2 }, { - "id" : "AAB24260-D8A4-4D1D-918E-C9013DFACEDE", + "id" : "6DF217E9-631F-449C-9747-069E10B72D45", "type" : 4 }, { - "id" : "627911E4-0FF9-4678-BDA7-E5067EF66D25", + "id" : "715CA234-8AD4-4FE1-9334-EF54A750D396", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -679,26 +677,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "627911E4-0FF9-4678-BDA7-E5067EF66D25", + "id" : "715CA234-8AD4-4FE1-9334-EF54A750D396", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:50 GMT", + "Date" : "Sun, 24 May 2020 08:50:42 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -708,7 +706,7 @@ "type" : 1 }, { - "id" : "627911E4-0FF9-4678-BDA7-E5067EF66D25", + "id" : "715CA234-8AD4-4FE1-9334-EF54A750D396", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -716,11 +714,11 @@ "type" : 2 }, { - "id" : "627911E4-0FF9-4678-BDA7-E5067EF66D25", + "id" : "715CA234-8AD4-4FE1-9334-EF54A750D396", "type" : 4 }, { - "id" : "848574B3-935F-4388-AB1A-17C6371961A3", + "id" : "66C8197D-F80B-4149-8A07-EF029023E7FA", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -729,26 +727,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "848574B3-935F-4388-AB1A-17C6371961A3", + "id" : "66C8197D-F80B-4149-8A07-EF029023E7FA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:52 GMT", + "Date" : "Sun, 24 May 2020 08:50:43 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -758,7 +756,7 @@ "type" : 1 }, { - "id" : "848574B3-935F-4388-AB1A-17C6371961A3", + "id" : "66C8197D-F80B-4149-8A07-EF029023E7FA", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -766,11 +764,11 @@ "type" : 2 }, { - "id" : "848574B3-935F-4388-AB1A-17C6371961A3", + "id" : "66C8197D-F80B-4149-8A07-EF029023E7FA", "type" : 4 }, { - "id" : "26567698-1CA9-4F9D-BF64-E73CF763A3A0", + "id" : "90EA0B49-0EC5-4E95-902C-78DFC6004A2C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -779,26 +777,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "26567698-1CA9-4F9D-BF64-E73CF763A3A0", + "id" : "90EA0B49-0EC5-4E95-902C-78DFC6004A2C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:52 GMT", + "Date" : "Sun, 24 May 2020 08:50:43 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -808,7 +806,7 @@ "type" : 1 }, { - "id" : "26567698-1CA9-4F9D-BF64-E73CF763A3A0", + "id" : "90EA0B49-0EC5-4E95-902C-78DFC6004A2C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -816,11 +814,11 @@ "type" : 2 }, { - "id" : "26567698-1CA9-4F9D-BF64-E73CF763A3A0", + "id" : "90EA0B49-0EC5-4E95-902C-78DFC6004A2C", "type" : 4 }, { - "id" : "080C9182-ADF1-49CE-9ABA-9DDEC6CFDE7F", + "id" : "D3F4B189-EF5A-492F-A090-02368D6E40DC", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -829,26 +827,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "080C9182-ADF1-49CE-9ABA-9DDEC6CFDE7F", + "id" : "D3F4B189-EF5A-492F-A090-02368D6E40DC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:53 GMT", + "Date" : "Sun, 24 May 2020 08:50:43 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -858,7 +856,7 @@ "type" : 1 }, { - "id" : "080C9182-ADF1-49CE-9ABA-9DDEC6CFDE7F", + "id" : "D3F4B189-EF5A-492F-A090-02368D6E40DC", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -866,11 +864,11 @@ "type" : 2 }, { - "id" : "080C9182-ADF1-49CE-9ABA-9DDEC6CFDE7F", + "id" : "D3F4B189-EF5A-492F-A090-02368D6E40DC", "type" : 4 }, { - "id" : "44625FC5-2A46-4E0C-9468-C258A70497D2", + "id" : "CB1C5A5D-131A-43A5-852A-65058F58F9F9", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -879,26 +877,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "44625FC5-2A46-4E0C-9468-C258A70497D2", + "id" : "CB1C5A5D-131A-43A5-852A-65058F58F9F9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:54 GMT", + "Date" : "Sun, 24 May 2020 08:50:44 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -908,7 +906,7 @@ "type" : 1 }, { - "id" : "44625FC5-2A46-4E0C-9468-C258A70497D2", + "id" : "CB1C5A5D-131A-43A5-852A-65058F58F9F9", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -916,11 +914,11 @@ "type" : 2 }, { - "id" : "44625FC5-2A46-4E0C-9468-C258A70497D2", + "id" : "CB1C5A5D-131A-43A5-852A-65058F58F9F9", "type" : 4 }, { - "id" : "3441CFC8-C655-4F05-9DF4-4E069F9755A1", + "id" : "CB7032D8-A0F6-4BF5-B45B-5C24DAB6D2CE", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -929,26 +927,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3441CFC8-C655-4F05-9DF4-4E069F9755A1", + "id" : "CB7032D8-A0F6-4BF5-B45B-5C24DAB6D2CE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:54 GMT", + "Date" : "Sun, 24 May 2020 08:50:44 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -958,7 +956,7 @@ "type" : 1 }, { - "id" : "3441CFC8-C655-4F05-9DF4-4E069F9755A1", + "id" : "CB7032D8-A0F6-4BF5-B45B-5C24DAB6D2CE", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -966,11 +964,11 @@ "type" : 2 }, { - "id" : "3441CFC8-C655-4F05-9DF4-4E069F9755A1", + "id" : "CB7032D8-A0F6-4BF5-B45B-5C24DAB6D2CE", "type" : 4 }, { - "id" : "031F5102-459B-47BB-9566-4C39D1F2666F", + "id" : "EDA9E545-CC15-474F-BCC0-AC9B53DF6F81", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -979,26 +977,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "031F5102-459B-47BB-9566-4C39D1F2666F", + "id" : "EDA9E545-CC15-474F-BCC0-AC9B53DF6F81", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:55 GMT", + "Date" : "Sun, 24 May 2020 08:50:44 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1008,7 +1006,7 @@ "type" : 1 }, { - "id" : "031F5102-459B-47BB-9566-4C39D1F2666F", + "id" : "EDA9E545-CC15-474F-BCC0-AC9B53DF6F81", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1016,7 +1014,7 @@ "type" : 2 }, { - "id" : "031F5102-459B-47BB-9566-4C39D1F2666F", + "id" : "EDA9E545-CC15-474F-BCC0-AC9B53DF6F81", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchMembershipWhenLimitIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchMembershipWhenLimitIsSet.json index f18e9a9e8..ff6cf2cc5 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchMembershipWhenLimitIsSet.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchMembershipWhenLimitIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "2962C784-367D-4EDC-BBB1-088911E84086", + "id" : "7A961043-820D-4B90-8468-DA610399E310", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2962C784-367D-4EDC-BBB1-088911E84086", + "id" : "7A961043-820D-4B90-8468-DA610399E310", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:19 GMT", + "Date" : "Sun, 24 May 2020 08:50:57 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "2962C784-367D-4EDC-BBB1-088911E84086", + "id" : "7A961043-820D-4B90-8468-DA610399E310", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "2962C784-367D-4EDC-BBB1-088911E84086", + "id" : "7A961043-820D-4B90-8468-DA610399E310", "type" : 4 }, { - "id" : "36C813E7-A815-44B3-82BE-82D139EAA2C3", + "id" : "06491B9B-6F31-4663-B82B-BBF0FA77F8B0", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "36C813E7-A815-44B3-82BE-82D139EAA2C3", + "id" : "06491B9B-6F31-4663-B82B-BBF0FA77F8B0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:19 GMT", + "Date" : "Sun, 24 May 2020 08:50:58 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "36C813E7-A815-44B3-82BE-82D139EAA2C3", + "id" : "06491B9B-6F31-4663-B82B-BBF0FA77F8B0", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "36C813E7-A815-44B3-82BE-82D139EAA2C3", + "id" : "06491B9B-6F31-4663-B82B-BBF0FA77F8B0", "type" : 4 }, { - "id" : "756B6DEC-6C42-483D-8F92-A142ADFDDA13", + "id" : "4877D659-CA80-48FE-B6DC-76D4B943A9F5", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "756B6DEC-6C42-483D-8F92-A142ADFDDA13", + "id" : "4877D659-CA80-48FE-B6DC-76D4B943A9F5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:20 GMT", + "Date" : "Sun, 24 May 2020 08:50:58 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "756B6DEC-6C42-483D-8F92-A142ADFDDA13", + "id" : "4877D659-CA80-48FE-B6DC-76D4B943A9F5", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjoyMC4wOTUzMjJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MjAuMDk1MzIyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo1OC40MTE3MTNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "756B6DEC-6C42-483D-8F92-A142ADFDDA13", + "id" : "4877D659-CA80-48FE-B6DC-76D4B943A9F5", "type" : 4 }, { - "id" : "C6B678F5-3CE5-4C8D-AFD8-36EE2630542E", + "id" : "06C4846C-1C50-4B64-83E2-106C30FF6300", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C6B678F5-3CE5-4C8D-AFD8-36EE2630542E", + "id" : "06C4846C-1C50-4B64-83E2-106C30FF6300", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:21 GMT", + "Date" : "Sun, 24 May 2020 08:50:58 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "C6B678F5-3CE5-4C8D-AFD8-36EE2630542E", + "id" : "06C4846C-1C50-4B64-83E2-106C30FF6300", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjoyMC42NzMzNTdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MjAuNjczMzU3WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo1OC43Njk5MjdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "C6B678F5-3CE5-4C8D-AFD8-36EE2630542E", + "id" : "06C4846C-1C50-4B64-83E2-106C30FF6300", "type" : 4 }, { - "id" : "62A4808C-5FDF-4048-BDE6-77E2418EA893", + "id" : "66F3D4C1-4380-4ACF-B701-2B097074BC53", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "62A4808C-5FDF-4048-BDE6-77E2418EA893", + "id" : "66F3D4C1-4380-4ACF-B701-2B097074BC53", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:21 GMT", + "Date" : "Sun, 24 May 2020 08:50:59 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "62A4808C-5FDF-4048-BDE6-77E2418EA893", + "id" : "66F3D4C1-4380-4ACF-B701-2B097074BC53", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MjEuMjU0NjE0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjIxLjI1NDYxNFoiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6NTkuMDk0Mjg2WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" }, "type" : 2 }, { - "id" : "62A4808C-5FDF-4048-BDE6-77E2418EA893", + "id" : "66F3D4C1-4380-4ACF-B701-2B097074BC53", "type" : 4 }, { - "id" : "FDD26E55-D747-487F-94DC-1B6343CE70DB", + "id" : "42573BD0-E025-4331-877E-A55FEE9D3B0C", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FDD26E55-D747-487F-94DC-1B6343CE70DB", + "id" : "42573BD0-E025-4331-877E-A55FEE9D3B0C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:22 GMT", + "Date" : "Sun, 24 May 2020 08:50:59 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "FDD26E55-D747-487F-94DC-1B6343CE70DB", + "id" : "42573BD0-E025-4331-877E-A55FEE9D3B0C", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MjEuODk1MjM5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjIxLjg5NTIzOVoiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6NTkuMzE4MDQ5WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" }, "type" : 2 }, { - "id" : "FDD26E55-D747-487F-94DC-1B6343CE70DB", + "id" : "42573BD0-E025-4331-877E-A55FEE9D3B0C", "type" : 4 }, { - "id" : "A915A778-2F7E-4F84-86CD-370A60E03E2B", + "id" : "355CCB14-E863-4F32-B45D-4BE6FC827748", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,57 +342,55 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "143", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A915A778-2F7E-4F84-86CD-370A60E03E2B", + "id" : "355CCB14-E863-4F32-B45D-4BE6FC827748", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:50:59 GMT", "Content-Type" : "application\/json", + "Content-Length" : "254", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:22 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "A915A778-2F7E-4F84-86CD-370A60E03E2B", + "id" : "355CCB14-E863-4F32-B45D-4BE6FC827748", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjoyMi40NzIxODZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MjIuNDcyMTg2WiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo1OS42MzA0MjNaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" }, "type" : 2 }, { - "id" : "A915A778-2F7E-4F84-86CD-370A60E03E2B", + "id" : "355CCB14-E863-4F32-B45D-4BE6FC827748", "type" : 4 }, { - "id" : "8C0C9192-1202-4902-BE05-C28E2DD6D2C6", + "id" : "D6EBA208-D5A4-437F-90EB-725CA16DB98F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +398,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "163", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU25vd2ZsYWtlIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8C0C9192-1202-4902-BE05-C28E2DD6D2C6", + "id" : "D6EBA208-D5A4-437F-90EB-725CA16DB98F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:23 GMT", + "Date" : "Sun, 24 May 2020 08:50:59 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,21 +434,21 @@ "type" : 1 }, { - "id" : "8C0C9192-1202-4902-BE05-C28E2DD6D2C6", + "id" : "D6EBA208-D5A4-437F-90EB-725CA16DB98F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjIzLjA1MDg0MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjoyMy4wNTA4NDJaIiwiZVRhZyI6IkFZZk82OTNCajhLWVlBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJTbm93Zmxha2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjU5Ljk1N1oiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifX0=" }, "type" : 2 }, { - "id" : "8C0C9192-1202-4902-BE05-C28E2DD6D2C6", + "id" : "D6EBA208-D5A4-437F-90EB-725CA16DB98F", "type" : 4 }, { - "id" : "D89EA006-17F4-4B63-B2E4-E52C8C9A8187", + "id" : "7C8A13EC-ECA5-4531-AE01-769972DFCD8F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -458,35 +456,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D89EA006-17F4-4B63-B2E4-E52C8C9A8187", + "id" : "7C8A13EC-ECA5-4531-AE01-769972DFCD8F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:25 GMT", + "Date" : "Sun, 24 May 2020 08:51:01 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -494,19 +492,19 @@ "type" : 1 }, { - "id" : "D89EA006-17F4-4B63-B2E4-E52C8C9A8187", + "id" : "7C8A13EC-ECA5-4531-AE01-769972DFCD8F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjI0LjY2MjY0NloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjoyNC42NjI2NDZaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjAxLjIwNzc0NFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "D89EA006-17F4-4B63-B2E4-E52C8C9A8187", + "id" : "7C8A13EC-ECA5-4531-AE01-769972DFCD8F", "type" : 4 }, { - "id" : "B88140F5-CA6C-4598-948E-4358604B8F56", + "id" : "5F5224AD-0201-4173-B971-6FE78D288837", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -516,35 +514,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "480", + "Content-Length" : "568", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9fSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9fSx7ImlkIjoiU29sc3RpY2Utc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJNaWRuaWdodC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTbm93Zmxha2Utc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn19LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6eyJ1dWlkLW1lbWJlcnNoaXAtY3VzdG9tIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiV3lubi1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiU25vd2ZsYWtlLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B88140F5-CA6C-4598-948E-4358604B8F56", + "id" : "5F5224AD-0201-4173-B971-6FE78D288837", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:30 GMT", + "Date" : "Sun, 24 May 2020 08:51:02 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -552,19 +550,19 @@ "type" : 1 }, { - "id" : "B88140F5-CA6C-4598-948E-4358604B8F56", + "id" : "5F5224AD-0201-4173-B971-6FE78D288837", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjI2LjY1ODcxMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjoyNi42NTg3MTFaIiwiZVRhZyI6IkFZblYyNFNobWQvTEpnIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlcnNoaXAtY3VzdG9tIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MjcuMzU3Mjc4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjI3LjM1NzI3OFoiLCJlVGFnIjoiQWFpcXN1cWJvZmIzTkEifSx7ImlkIjoiU29sc3RpY2Utc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MjguMDU1NjE4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjI4LjA1NTYxOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MjguNzU0MDE4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjI4Ljc1NDAxOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjoyOS40NTI0NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjoyOS40NTI0NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiU25vd2ZsYWtlLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjMwLjE1MTM5NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjozMC4xNTEzOTVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTmcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MTowMi40ODIzNTNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiV3lubi1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MTowMi40NzY5MTVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiU29sc3RpY2UtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MDIuNDU1MDE5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6eyJ1dWlkLW1lbWJlcnNoaXAtY3VzdG9tIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MTowMi40NjA3MDFaIiwiZVRhZyI6IkFkREh6Zm1Gd1B6eFdBIn0seyJjaGFubmVsIjp7ImlkIjoiTWlkbmlnaHQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MDIuNDcxNDg2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6eyJ1dWlkLW1lbWJlcnNoaXAtY3VzdG9tIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MTowMi40NjYzMTdaIiwiZVRhZyI6IkFmYmd3L3VLdlluemxRRSJ9XSwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "B88140F5-CA6C-4598-948E-4358604B8F56", + "id" : "5F5224AD-0201-4173-B971-6FE78D288837", "type" : 4 }, { - "id" : "63FE1C03-3E8C-4118-B68D-63C4CCC67D76", + "id" : "CBBD8C95-1DB4-453F-BBD7-BEB65E67445F", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -573,30 +571,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii" }, "type" : 0 }, { - "id" : "63FE1C03-3E8C-4118-B68D-63C4CCC67D76", + "id" : "CBBD8C95-1DB4-453F-BBD7-BEB65E67445F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:32 GMT", + "Date" : "Sun, 24 May 2020 08:51:03 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -604,19 +602,19 @@ "type" : 1 }, { - "id" : "63FE1C03-3E8C-4118-B68D-63C4CCC67D76", + "id" : "CBBD8C95-1DB4-453F-BBD7-BEB65E67445F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjI2LjY1ODcxMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjoyNi42NTg3MTFaIiwiZVRhZyI6IkFZblYyNFNobWQvTEpnIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlcnNoaXAtY3VzdG9tIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MjcuMzU3Mjc4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjI3LjM1NzI3OFoiLCJlVGFnIjoiQWFpcXN1cWJvZmIzTkEifV0sInRvdGFsQ291bnQiOjYsIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MTowMi40ODIzNTNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiV3lubi1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MTowMi40NzY5MTVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTWcifQ==" }, "type" : 2 }, { - "id" : "63FE1C03-3E8C-4118-B68D-63C4CCC67D76", + "id" : "CBBD8C95-1DB4-453F-BBD7-BEB65E67445F", "type" : 4 }, { - "id" : "F2E7EB43-A869-481C-8F73-7E4D6C8ABA79", + "id" : "F320929E-7A97-4612-90C8-6C1FA970E164", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -626,31 +624,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "301", + "Content-Length" : "385", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiU25vd2ZsYWtlLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJXeW5uLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F2E7EB43-A869-481C-8F73-7E4D6C8ABA79", + "id" : "F320929E-7A97-4612-90C8-6C1FA970E164", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:34 GMT", + "Date" : "Sun, 24 May 2020 08:51:04 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -660,7 +658,7 @@ "type" : 1 }, { - "id" : "F2E7EB43-A869-481C-8F73-7E4D6C8ABA79", + "id" : "F320929E-7A97-4612-90C8-6C1FA970E164", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -668,11 +666,11 @@ "type" : 2 }, { - "id" : "F2E7EB43-A869-481C-8F73-7E4D6C8ABA79", + "id" : "F320929E-7A97-4612-90C8-6C1FA970E164", "type" : 4 }, { - "id" : "7E1080BE-C138-46DA-8C76-975BC88B4507", + "id" : "7088B5CA-FF51-47D0-8A37-A1B15076680F", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -681,26 +679,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7E1080BE-C138-46DA-8C76-975BC88B4507", + "id" : "7088B5CA-FF51-47D0-8A37-A1B15076680F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:35 GMT", + "Date" : "Sun, 24 May 2020 08:51:05 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -710,7 +708,7 @@ "type" : 1 }, { - "id" : "7E1080BE-C138-46DA-8C76-975BC88B4507", + "id" : "7088B5CA-FF51-47D0-8A37-A1B15076680F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -718,11 +716,11 @@ "type" : 2 }, { - "id" : "7E1080BE-C138-46DA-8C76-975BC88B4507", + "id" : "7088B5CA-FF51-47D0-8A37-A1B15076680F", "type" : 4 }, { - "id" : "7295F324-8A2A-4EC8-A668-04C8FBDB28AE", + "id" : "554F8292-C104-4C8D-81FC-77311A47B87C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -731,26 +729,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7295F324-8A2A-4EC8-A668-04C8FBDB28AE", + "id" : "554F8292-C104-4C8D-81FC-77311A47B87C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:37 GMT", + "Date" : "Sun, 24 May 2020 08:51:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -760,7 +758,7 @@ "type" : 1 }, { - "id" : "7295F324-8A2A-4EC8-A668-04C8FBDB28AE", + "id" : "554F8292-C104-4C8D-81FC-77311A47B87C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -768,11 +766,11 @@ "type" : 2 }, { - "id" : "7295F324-8A2A-4EC8-A668-04C8FBDB28AE", + "id" : "554F8292-C104-4C8D-81FC-77311A47B87C", "type" : 4 }, { - "id" : "1E9D19CC-3987-4BB6-AA1B-79C7CD4535CB", + "id" : "FCC0D376-D987-4220-A798-FBAD57A5E937", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -781,26 +779,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1E9D19CC-3987-4BB6-AA1B-79C7CD4535CB", + "id" : "FCC0D376-D987-4220-A798-FBAD57A5E937", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:38 GMT", + "Date" : "Sun, 24 May 2020 08:51:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -810,7 +808,7 @@ "type" : 1 }, { - "id" : "1E9D19CC-3987-4BB6-AA1B-79C7CD4535CB", + "id" : "FCC0D376-D987-4220-A798-FBAD57A5E937", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -818,11 +816,11 @@ "type" : 2 }, { - "id" : "1E9D19CC-3987-4BB6-AA1B-79C7CD4535CB", + "id" : "FCC0D376-D987-4220-A798-FBAD57A5E937", "type" : 4 }, { - "id" : "66E6984C-E56F-41C7-9EF5-893FCDD7CF4C", + "id" : "C1D4CA9D-9285-4A01-B80B-B5C317A0E052", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -831,26 +829,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "66E6984C-E56F-41C7-9EF5-893FCDD7CF4C", + "id" : "C1D4CA9D-9285-4A01-B80B-B5C317A0E052", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:38 GMT", + "Date" : "Sun, 24 May 2020 08:51:07 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -860,7 +858,7 @@ "type" : 1 }, { - "id" : "66E6984C-E56F-41C7-9EF5-893FCDD7CF4C", + "id" : "C1D4CA9D-9285-4A01-B80B-B5C317A0E052", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -868,11 +866,11 @@ "type" : 2 }, { - "id" : "66E6984C-E56F-41C7-9EF5-893FCDD7CF4C", + "id" : "C1D4CA9D-9285-4A01-B80B-B5C317A0E052", "type" : 4 }, { - "id" : "1BC680B4-68CC-40B8-ADA7-B018D5D48194", + "id" : "3E26A675-88B3-4CA1-8CF3-A4C84A79882D", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -881,26 +879,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1BC680B4-68CC-40B8-ADA7-B018D5D48194", + "id" : "3E26A675-88B3-4CA1-8CF3-A4C84A79882D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:39 GMT", + "Date" : "Sun, 24 May 2020 08:51:07 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -910,7 +908,7 @@ "type" : 1 }, { - "id" : "1BC680B4-68CC-40B8-ADA7-B018D5D48194", + "id" : "3E26A675-88B3-4CA1-8CF3-A4C84A79882D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -918,11 +916,11 @@ "type" : 2 }, { - "id" : "1BC680B4-68CC-40B8-ADA7-B018D5D48194", + "id" : "3E26A675-88B3-4CA1-8CF3-A4C84A79882D", "type" : 4 }, { - "id" : "64473126-2A12-4893-B732-23F955EEF3BB", + "id" : "7F3E69CD-6531-4139-A3B1-FAC1A9CC9F8F", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -931,26 +929,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "64473126-2A12-4893-B732-23F955EEF3BB", + "id" : "7F3E69CD-6531-4139-A3B1-FAC1A9CC9F8F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:40 GMT", + "Date" : "Sun, 24 May 2020 08:51:07 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -960,7 +958,7 @@ "type" : 1 }, { - "id" : "64473126-2A12-4893-B732-23F955EEF3BB", + "id" : "7F3E69CD-6531-4139-A3B1-FAC1A9CC9F8F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -968,11 +966,11 @@ "type" : 2 }, { - "id" : "64473126-2A12-4893-B732-23F955EEF3BB", + "id" : "7F3E69CD-6531-4139-A3B1-FAC1A9CC9F8F", "type" : 4 }, { - "id" : "CB02F7E1-5E2A-4A12-B925-6947568E9163", + "id" : "7D61E59B-3898-4A29-8419-5C1031B239B2", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -981,26 +979,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CB02F7E1-5E2A-4A12-B925-6947568E9163", + "id" : "7D61E59B-3898-4A29-8419-5C1031B239B2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:40 GMT", + "Date" : "Sun, 24 May 2020 08:51:07 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1010,7 +1008,7 @@ "type" : 1 }, { - "id" : "CB02F7E1-5E2A-4A12-B925-6947568E9163", + "id" : "7D61E59B-3898-4A29-8419-5C1031B239B2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1018,7 +1016,7 @@ "type" : 2 }, { - "id" : "CB02F7E1-5E2A-4A12-B925-6947568E9163", + "id" : "7D61E59B-3898-4A29-8419-5C1031B239B2", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchMembershipsAndReceiveResultWithExpectedOperation.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchMembershipsAndReceiveResultWithExpectedOperation.json index dafe49e2a..b880450fb 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchMembershipsAndReceiveResultWithExpectedOperation.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchMembershipsAndReceiveResultWithExpectedOperation.json @@ -1,6 +1,6 @@ [ { - "id" : "DBA03C3C-FBB2-45C9-84E3-52CFEDC00C17", + "id" : "074EC886-4E14-45D5-B98C-20BC0F53E6B3", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DBA03C3C-FBB2-45C9-84E3-52CFEDC00C17", + "id" : "074EC886-4E14-45D5-B98C-20BC0F53E6B3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:57 GMT", + "Date" : "Sun, 24 May 2020 08:50:46 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "DBA03C3C-FBB2-45C9-84E3-52CFEDC00C17", + "id" : "074EC886-4E14-45D5-B98C-20BC0F53E6B3", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "DBA03C3C-FBB2-45C9-84E3-52CFEDC00C17", + "id" : "074EC886-4E14-45D5-B98C-20BC0F53E6B3", "type" : 4 }, { - "id" : "2931FA0A-5F99-49DD-815C-B6C3423AE80D", + "id" : "BDBD701B-DB6C-4E90-BB28-5A7F9604CD3B", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2931FA0A-5F99-49DD-815C-B6C3423AE80D", + "id" : "BDBD701B-DB6C-4E90-BB28-5A7F9604CD3B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:57 GMT", + "Date" : "Sun, 24 May 2020 08:50:46 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "2931FA0A-5F99-49DD-815C-B6C3423AE80D", + "id" : "BDBD701B-DB6C-4E90-BB28-5A7F9604CD3B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "2931FA0A-5F99-49DD-815C-B6C3423AE80D", + "id" : "BDBD701B-DB6C-4E90-BB28-5A7F9604CD3B", "type" : 4 }, { - "id" : "0B8B2CCC-77AB-4896-AEBB-EE46EC065682", + "id" : "FFC131ED-FD9E-4549-B83D-B40A191C7B3E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0B8B2CCC-77AB-4896-AEBB-EE46EC065682", + "id" : "FFC131ED-FD9E-4549-B83D-B40A191C7B3E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:58 GMT", + "Date" : "Sun, 24 May 2020 08:50:47 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "0B8B2CCC-77AB-4896-AEBB-EE46EC065682", + "id" : "FFC131ED-FD9E-4549-B83D-B40A191C7B3E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTo1Ny41NzEyN1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTo1Ny41NzEyN1oiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo0Ny4wMjY0MTJaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "0B8B2CCC-77AB-4896-AEBB-EE46EC065682", + "id" : "FFC131ED-FD9E-4549-B83D-B40A191C7B3E", "type" : 4 }, { - "id" : "DE44BAD9-E545-4539-80D5-E78F71DB7935", + "id" : "7E33A9E5-B8D9-4AA5-920C-4BBEF6FF3640", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DE44BAD9-E545-4539-80D5-E78F71DB7935", + "id" : "7E33A9E5-B8D9-4AA5-920C-4BBEF6FF3640", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:58 GMT", + "Date" : "Sun, 24 May 2020 08:50:47 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "DE44BAD9-E545-4539-80D5-E78F71DB7935", + "id" : "7E33A9E5-B8D9-4AA5-920C-4BBEF6FF3640", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTo1OC4yMzczNTFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6NTguMjM3MzUxWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo0Ny4yNTI5MDRaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "DE44BAD9-E545-4539-80D5-E78F71DB7935", + "id" : "7E33A9E5-B8D9-4AA5-920C-4BBEF6FF3640", "type" : 4 }, { - "id" : "B04AD79E-3D7B-458F-A1B6-E8743323C2FD", + "id" : "9B51D097-E436-4C79-8DE5-226750BEDD49", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B04AD79E-3D7B-458F-A1B6-E8743323C2FD", + "id" : "9B51D097-E436-4C79-8DE5-226750BEDD49", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:59 GMT", + "Date" : "Sun, 24 May 2020 08:50:47 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "B04AD79E-3D7B-458F-A1B6-E8743323C2FD", + "id" : "9B51D097-E436-4C79-8DE5-226750BEDD49", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6NTguODEzMDQzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjU4LjgxMzA0M1oiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6NDcuNDczNDUyWiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" }, "type" : 2 }, { - "id" : "B04AD79E-3D7B-458F-A1B6-E8743323C2FD", + "id" : "9B51D097-E436-4C79-8DE5-226750BEDD49", "type" : 4 }, { - "id" : "20092273-5945-4249-8D51-D8EC9AE42D2A", + "id" : "0C39F8EA-7FE7-42D0-9BB2-A5D383E3622E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "20092273-5945-4249-8D51-D8EC9AE42D2A", + "id" : "0C39F8EA-7FE7-42D0-9BB2-A5D383E3622E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:59 GMT", + "Date" : "Sun, 24 May 2020 08:50:47 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "20092273-5945-4249-8D51-D8EC9AE42D2A", + "id" : "0C39F8EA-7FE7-42D0-9BB2-A5D383E3622E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6NTkuNDcwMzc1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjU5LjQ3MDM3NVoiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6NDcuNzQ3MTk2WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" }, "type" : 2 }, { - "id" : "20092273-5945-4249-8D51-D8EC9AE42D2A", + "id" : "0C39F8EA-7FE7-42D0-9BB2-A5D383E3622E", "type" : 4 }, { - "id" : "62C6C60B-617A-4899-8ED8-E38AEBB74482", + "id" : "18DFF91C-DBBE-4366-A746-0C7CD3242ECA", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,57 +342,55 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "143", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "62C6C60B-617A-4899-8ED8-E38AEBB74482", + "id" : "18DFF91C-DBBE-4366-A746-0C7CD3242ECA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:50:47 GMT", "Content-Type" : "application\/json", + "Content-Length" : "254", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:00 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "62C6C60B-617A-4899-8ED8-E38AEBB74482", + "id" : "18DFF91C-DBBE-4366-A746-0C7CD3242ECA", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjowMC4wODI4ODhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MDAuMDgyODg4WiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo0Ny45NzA5MjRaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" }, "type" : 2 }, { - "id" : "62C6C60B-617A-4899-8ED8-E38AEBB74482", + "id" : "18DFF91C-DBBE-4366-A746-0C7CD3242ECA", "type" : 4 }, { - "id" : "23A6102D-DDF6-4918-93E2-6D7DA45EAE07", + "id" : "A1D785ED-C5F2-4343-BC92-D55676C941AB", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +398,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "163", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU25vd2ZsYWtlIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "23A6102D-DDF6-4918-93E2-6D7DA45EAE07", + "id" : "A1D785ED-C5F2-4343-BC92-D55676C941AB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:01 GMT", + "Date" : "Sun, 24 May 2020 08:50:48 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,21 +434,21 @@ "type" : 1 }, { - "id" : "23A6102D-DDF6-4918-93E2-6D7DA45EAE07", + "id" : "A1D785ED-C5F2-4343-BC92-D55676C941AB", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjAwLjY1OTI5NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjowMC42NTkyOTVaIiwiZVRhZyI6IkFZZk82OTNCajhLWVlBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJTbm93Zmxha2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjQ4LjE5MTg3OVoiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifX0=" }, "type" : 2 }, { - "id" : "23A6102D-DDF6-4918-93E2-6D7DA45EAE07", + "id" : "A1D785ED-C5F2-4343-BC92-D55676C941AB", "type" : 4 }, { - "id" : "795F6F9E-8D9A-45BE-841B-A5AF7FC609C1", + "id" : "0D7220A3-162D-4896-AB3A-4D437BAC1149", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -458,35 +456,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "795F6F9E-8D9A-45BE-841B-A5AF7FC609C1", + "id" : "0D7220A3-162D-4896-AB3A-4D437BAC1149", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:02 GMT", + "Date" : "Sun, 24 May 2020 08:50:49 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -494,19 +492,19 @@ "type" : 1 }, { - "id" : "795F6F9E-8D9A-45BE-841B-A5AF7FC609C1", + "id" : "0D7220A3-162D-4896-AB3A-4D437BAC1149", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjAyLjI2Nzk0MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjowMi4yNjc5NDFaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjQ5LjQyMjg0NFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "795F6F9E-8D9A-45BE-841B-A5AF7FC609C1", + "id" : "0D7220A3-162D-4896-AB3A-4D437BAC1149", "type" : 4 }, { - "id" : "E84ED2A8-AD45-47B7-BC59-5666B0EB243C", + "id" : "61258F58-0653-4CED-88FC-DC88B1667812", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -516,35 +514,87 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "298", + "Content-Length" : "382", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiTWlkbmlnaHQtY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E84ED2A8-AD45-47B7-BC59-5666B0EB243C", + "id" : "61258F58-0653-4CED-88FC-DC88B1667812", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:50:50 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "61258F58-0653-4CED-88FC-DC88B1667812", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6NTAuNzA5ODgyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6NTAuNjg4MTMxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6NTAuNjc3MDk0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjUwLjY5ODczNloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo1MC42NjYxMTRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiU25vd2ZsYWtlLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjUwLjcyMDIzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5nIn0=" + }, + "type" : 2 + }, + { + "id" : "61258F58-0653-4CED-88FC-DC88B1667812", + "type" : 4 + }, + { + "id" : "CC6D3A3E-43AF-40FE-860A-3216C1553115", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "CC6D3A3E-43AF-40FE-860A-3216C1553115", + "data" : { + "status" : 404, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:08 GMT", + "Date" : "Sun, 24 May 2020 08:50:51 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -552,19 +602,19 @@ "type" : 1 }, { - "id" : "E84ED2A8-AD45-47B7-BC59-5666B0EB243C", + "id" : "CC6D3A3E-43AF-40FE-860A-3216C1553115", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjA0LjM4NDQ1MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjowNC4zODQ0NTFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MDUuMDgwMjIxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjA1LjA4MDIyMVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiU29sc3RpY2Utc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MDUuNzc2MDIxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjA1Ljc3NjAyMVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MDYuNDcxODUyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjA2LjQ3MTg1MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjowNy4xNjc2NDJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MDcuMTY3NjQyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTbm93Zmxha2Utc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MDcuODYzMjI3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjA3Ljg2MzIyN1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjUwLjcwOTg4MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo1MC42ODgxMzFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6NTAuNjc3MDk0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo1MC42OTg3MzZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiU29sc3RpY2UtY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjUwLjY2NjExNFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTbm93Zmxha2UtY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjUwLjcyMDIzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "E84ED2A8-AD45-47B7-BC59-5666B0EB243C", + "id" : "CC6D3A3E-43AF-40FE-860A-3216C1553115", "type" : 4 }, { - "id" : "9B622863-60AB-4DFE-A224-4B6FE18128C5", + "id" : "CC6D3A3E-43AF-40FE-860A-3216C1553125", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -573,30 +623,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9B622863-60AB-4DFE-A224-4B6FE18128C5", + "id" : "CC6D3A3E-43AF-40FE-860A-3216C1553125", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:10 GMT", + "Date" : "Sun, 24 May 2020 08:50:51 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -604,19 +654,19 @@ "type" : 1 }, { - "id" : "9B622863-60AB-4DFE-A224-4B6FE18128C5", + "id" : "CC6D3A3E-43AF-40FE-860A-3216C1553125", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjowNC4zODQ0NTFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MDQuMzg0NDUxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjowNS4wODAyMjFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MDUuMDgwMjIxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MDUuNzc2MDIxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjA1Ljc3NjAyMVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjA2LjQ3MTg1MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjowNi40NzE4NTJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjA3LjE2NzY0MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjowNy4xNjc2NDJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6MDcuODYzMjI3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjA3Ljg2MzIyN1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjUwLjcwOTg4MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo1MC42ODgxMzFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTA6NTAuNjc3MDk0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MDo1MC42OTg3MzZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiU29sc3RpY2UtY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjUwLjY2NjExNFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTbm93Zmxha2UtY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUwOjUwLjcyMDIzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik5nIn0=" }, "type" : 2 }, { - "id" : "9B622863-60AB-4DFE-A224-4B6FE18128C5", + "id" : "CC6D3A3E-43AF-40FE-860A-3216C1553125", "type" : 4 }, { - "id" : "45B9298A-C7AB-46D7-81F3-91AF53CD132F", + "id" : "111E5194-05CD-4CA6-BAC2-9D4C6ABAA3CC", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -626,31 +676,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "301", + "Content-Length" : "385", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJXeW5uLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiU29sc3RpY2UtY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "45B9298A-C7AB-46D7-81F3-91AF53CD132F", + "id" : "111E5194-05CD-4CA6-BAC2-9D4C6ABAA3CC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:12 GMT", + "Date" : "Sun, 24 May 2020 08:50:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -660,7 +710,7 @@ "type" : 1 }, { - "id" : "45B9298A-C7AB-46D7-81F3-91AF53CD132F", + "id" : "111E5194-05CD-4CA6-BAC2-9D4C6ABAA3CC", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -668,11 +718,11 @@ "type" : 2 }, { - "id" : "45B9298A-C7AB-46D7-81F3-91AF53CD132F", + "id" : "111E5194-05CD-4CA6-BAC2-9D4C6ABAA3CC", "type" : 4 }, { - "id" : "D6E5AC8B-C365-479E-8F54-B5960214C799", + "id" : "D9E13169-F628-4737-892C-29032E227003", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -681,26 +731,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D6E5AC8B-C365-479E-8F54-B5960214C799", + "id" : "D9E13169-F628-4737-892C-29032E227003", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:13 GMT", + "Date" : "Sun, 24 May 2020 08:50:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -710,7 +760,7 @@ "type" : 1 }, { - "id" : "D6E5AC8B-C365-479E-8F54-B5960214C799", + "id" : "D9E13169-F628-4737-892C-29032E227003", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -718,11 +768,11 @@ "type" : 2 }, { - "id" : "D6E5AC8B-C365-479E-8F54-B5960214C799", + "id" : "D9E13169-F628-4737-892C-29032E227003", "type" : 4 }, { - "id" : "73627E2D-0342-433B-AB63-9C0FBF81A217", + "id" : "28E1DCDE-4571-4F3C-85F7-A0E5A67A6E28", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -731,26 +781,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "73627E2D-0342-433B-AB63-9C0FBF81A217", + "id" : "28E1DCDE-4571-4F3C-85F7-A0E5A67A6E28", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:14 GMT", + "Date" : "Sun, 24 May 2020 08:50:54 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -760,7 +810,7 @@ "type" : 1 }, { - "id" : "73627E2D-0342-433B-AB63-9C0FBF81A217", + "id" : "28E1DCDE-4571-4F3C-85F7-A0E5A67A6E28", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -768,11 +818,11 @@ "type" : 2 }, { - "id" : "73627E2D-0342-433B-AB63-9C0FBF81A217", + "id" : "28E1DCDE-4571-4F3C-85F7-A0E5A67A6E28", "type" : 4 }, { - "id" : "1ED8E72D-80BE-4C2B-B40D-4705558B43D4", + "id" : "DD7A2AD6-9EFF-4CA1-9AE2-78D5870DBE77", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -781,26 +831,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1ED8E72D-80BE-4C2B-B40D-4705558B43D4", + "id" : "DD7A2AD6-9EFF-4CA1-9AE2-78D5870DBE77", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:15 GMT", + "Date" : "Sun, 24 May 2020 08:50:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -810,7 +860,7 @@ "type" : 1 }, { - "id" : "1ED8E72D-80BE-4C2B-B40D-4705558B43D4", + "id" : "DD7A2AD6-9EFF-4CA1-9AE2-78D5870DBE77", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -818,11 +868,11 @@ "type" : 2 }, { - "id" : "1ED8E72D-80BE-4C2B-B40D-4705558B43D4", + "id" : "DD7A2AD6-9EFF-4CA1-9AE2-78D5870DBE77", "type" : 4 }, { - "id" : "E02FA94C-6939-4682-94DD-8ED7E338FAA2", + "id" : "324A4847-388A-4102-80E8-8E257CED58FA", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -831,26 +881,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E02FA94C-6939-4682-94DD-8ED7E338FAA2", + "id" : "324A4847-388A-4102-80E8-8E257CED58FA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:15 GMT", + "Date" : "Sun, 24 May 2020 08:50:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -860,7 +910,7 @@ "type" : 1 }, { - "id" : "E02FA94C-6939-4682-94DD-8ED7E338FAA2", + "id" : "324A4847-388A-4102-80E8-8E257CED58FA", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -868,11 +918,11 @@ "type" : 2 }, { - "id" : "E02FA94C-6939-4682-94DD-8ED7E338FAA2", + "id" : "324A4847-388A-4102-80E8-8E257CED58FA", "type" : 4 }, { - "id" : "25D5E75B-BE69-4CCB-8FCC-3883B0FE0865", + "id" : "BCDD9628-1961-41CF-9A1E-8300FC1D9036", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -881,26 +931,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "25D5E75B-BE69-4CCB-8FCC-3883B0FE0865", + "id" : "BCDD9628-1961-41CF-9A1E-8300FC1D9036", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:16 GMT", + "Date" : "Sun, 24 May 2020 08:50:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -910,7 +960,7 @@ "type" : 1 }, { - "id" : "25D5E75B-BE69-4CCB-8FCC-3883B0FE0865", + "id" : "BCDD9628-1961-41CF-9A1E-8300FC1D9036", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -918,11 +968,11 @@ "type" : 2 }, { - "id" : "25D5E75B-BE69-4CCB-8FCC-3883B0FE0865", + "id" : "BCDD9628-1961-41CF-9A1E-8300FC1D9036", "type" : 4 }, { - "id" : "71FBB7E9-E72C-4142-8F24-D15EFBDFD497", + "id" : "EF1857CD-4E5F-4B7E-95DB-ED6AD9B31B1D", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -931,26 +981,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "71FBB7E9-E72C-4142-8F24-D15EFBDFD497", + "id" : "EF1857CD-4E5F-4B7E-95DB-ED6AD9B31B1D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:17 GMT", + "Date" : "Sun, 24 May 2020 08:50:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -960,7 +1010,7 @@ "type" : 1 }, { - "id" : "71FBB7E9-E72C-4142-8F24-D15EFBDFD497", + "id" : "EF1857CD-4E5F-4B7E-95DB-ED6AD9B31B1D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -968,11 +1018,11 @@ "type" : 2 }, { - "id" : "71FBB7E9-E72C-4142-8F24-D15EFBDFD497", + "id" : "EF1857CD-4E5F-4B7E-95DB-ED6AD9B31B1D", "type" : 4 }, { - "id" : "E64060DC-8755-4AB1-B545-AA365534E823", + "id" : "A32491DC-2ABA-4AF4-9CE7-C46B7368837A", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -981,26 +1031,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E64060DC-8755-4AB1-B545-AA365534E823", + "id" : "A32491DC-2ABA-4AF4-9CE7-C46B7368837A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:17 GMT", + "Date" : "Sun, 24 May 2020 08:50:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1010,7 +1060,7 @@ "type" : 1 }, { - "id" : "E64060DC-8755-4AB1-B545-AA365534E823", + "id" : "A32491DC-2ABA-4AF4-9CE7-C46B7368837A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1018,7 +1068,7 @@ "type" : 2 }, { - "id" : "E64060DC-8755-4AB1-B545-AA365534E823", + "id" : "A32491DC-2ABA-4AF4-9CE7-C46B7368837A", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchNextMembershipPageWhenStartAndLimitIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchNextMembershipPageWhenStartAndLimitIsSet.json index f4134716b..9045af29c 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchNextMembershipPageWhenStartAndLimitIsSet.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchNextMembershipPageWhenStartAndLimitIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "A6147AB9-821E-47C2-81E4-78DC099F3AA1", + "id" : "CB114B79-5EF2-4270-8D85-4104295EB565", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A6147AB9-821E-47C2-81E4-78DC099F3AA1", + "id" : "CB114B79-5EF2-4270-8D85-4104295EB565", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:42 GMT", + "Date" : "Sun, 24 May 2020 08:51:09 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "A6147AB9-821E-47C2-81E4-78DC099F3AA1", + "id" : "CB114B79-5EF2-4270-8D85-4104295EB565", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "A6147AB9-821E-47C2-81E4-78DC099F3AA1", + "id" : "CB114B79-5EF2-4270-8D85-4104295EB565", "type" : 4 }, { - "id" : "91A847A8-BB9F-419C-B098-DB16127195EC", + "id" : "BF3606BB-21D0-4E49-8625-FC3A46440016", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "91A847A8-BB9F-419C-B098-DB16127195EC", + "id" : "BF3606BB-21D0-4E49-8625-FC3A46440016", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:42 GMT", + "Date" : "Sun, 24 May 2020 08:51:09 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "91A847A8-BB9F-419C-B098-DB16127195EC", + "id" : "BF3606BB-21D0-4E49-8625-FC3A46440016", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "91A847A8-BB9F-419C-B098-DB16127195EC", + "id" : "BF3606BB-21D0-4E49-8625-FC3A46440016", "type" : 4 }, { - "id" : "44EA482D-0148-461B-8925-7D64885078F7", + "id" : "7B02DA99-4B85-46B0-932E-DACAE156108B", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "44EA482D-0148-461B-8925-7D64885078F7", + "id" : "7B02DA99-4B85-46B0-932E-DACAE156108B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:43 GMT", + "Date" : "Sun, 24 May 2020 08:51:10 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "44EA482D-0148-461B-8925-7D64885078F7", + "id" : "7B02DA99-4B85-46B0-932E-DACAE156108B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo0Mi45MzA1NzdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6NDIuOTMwNTc3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToxMC4xNzA4OTNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "44EA482D-0148-461B-8925-7D64885078F7", + "id" : "7B02DA99-4B85-46B0-932E-DACAE156108B", "type" : 4 }, { - "id" : "24076658-A9D4-4F13-97C2-EFE9C381C937", + "id" : "02D1BCA9-FDF3-424D-BC0D-59A68AED784B", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "24076658-A9D4-4F13-97C2-EFE9C381C937", + "id" : "02D1BCA9-FDF3-424D-BC0D-59A68AED784B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:43 GMT", + "Date" : "Sun, 24 May 2020 08:51:10 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "24076658-A9D4-4F13-97C2-EFE9C381C937", + "id" : "02D1BCA9-FDF3-424D-BC0D-59A68AED784B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo0My41MDc4ODRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6NDMuNTA3ODg0WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToxMC40ODAyMDdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "24076658-A9D4-4F13-97C2-EFE9C381C937", + "id" : "02D1BCA9-FDF3-424D-BC0D-59A68AED784B", "type" : 4 }, { - "id" : "B0D0D212-683C-420E-9FCD-4B4656E4FC15", + "id" : "8A7D714B-3374-4985-A16F-2CD61BF44947", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B0D0D212-683C-420E-9FCD-4B4656E4FC15", + "id" : "8A7D714B-3374-4985-A16F-2CD61BF44947", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:44 GMT", + "Date" : "Sun, 24 May 2020 08:51:10 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "B0D0D212-683C-420E-9FCD-4B4656E4FC15", + "id" : "8A7D714B-3374-4985-A16F-2CD61BF44947", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6NDQuMDgyNDE2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjQ0LjA4MjQxNloiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MTAuNzg5MjU2WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" }, "type" : 2 }, { - "id" : "B0D0D212-683C-420E-9FCD-4B4656E4FC15", + "id" : "8A7D714B-3374-4985-A16F-2CD61BF44947", "type" : 4 }, { - "id" : "CE9AAA82-4B2C-45A7-B4D7-C7079AE40905", + "id" : "B7C7A41C-42B0-431C-9917-6D45257FAEEE", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CE9AAA82-4B2C-45A7-B4D7-C7079AE40905", + "id" : "B7C7A41C-42B0-431C-9917-6D45257FAEEE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:45 GMT", + "Date" : "Sun, 24 May 2020 08:51:11 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "CE9AAA82-4B2C-45A7-B4D7-C7079AE40905", + "id" : "B7C7A41C-42B0-431C-9917-6D45257FAEEE", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6NDQuNzMyODQ4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjQ0LjczMjg0OFoiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MTEuMDEzMzU0WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" }, "type" : 2 }, { - "id" : "CE9AAA82-4B2C-45A7-B4D7-C7079AE40905", + "id" : "B7C7A41C-42B0-431C-9917-6D45257FAEEE", "type" : 4 }, { - "id" : "8E236885-CAA2-46F9-A44C-AB4DD5A5333D", + "id" : "04238B9C-7DFD-4F61-8E00-BE28767BB43A", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,57 +342,55 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "143", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8E236885-CAA2-46F9-A44C-AB4DD5A5333D", + "id" : "04238B9C-7DFD-4F61-8E00-BE28767BB43A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:51:11 GMT", "Content-Type" : "application\/json", + "Content-Length" : "254", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:45 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "8E236885-CAA2-46F9-A44C-AB4DD5A5333D", + "id" : "04238B9C-7DFD-4F61-8E00-BE28767BB43A", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo0NS4zMDg5MDJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6NDUuMzA4OTAyWiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToxMS4yOTg1MzdaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" }, "type" : 2 }, { - "id" : "8E236885-CAA2-46F9-A44C-AB4DD5A5333D", + "id" : "04238B9C-7DFD-4F61-8E00-BE28767BB43A", "type" : 4 }, { - "id" : "043B7581-947D-4D9D-9952-8C460EF48CA9", + "id" : "DA6A69BF-64D1-439B-9986-9CD990E46BFD", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +398,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "163", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU25vd2ZsYWtlIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "043B7581-947D-4D9D-9952-8C460EF48CA9", + "id" : "DA6A69BF-64D1-439B-9986-9CD990E46BFD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:46 GMT", + "Date" : "Sun, 24 May 2020 08:51:11 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,21 +434,21 @@ "type" : 1 }, { - "id" : "043B7581-947D-4D9D-9952-8C460EF48CA9", + "id" : "DA6A69BF-64D1-439B-9986-9CD990E46BFD", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjQ1Ljg4MzM4NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo0NS44ODMzODVaIiwiZVRhZyI6IkFZZk82OTNCajhLWVlBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJTbm93Zmxha2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjExLjYxMDUxNVoiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifX0=" }, "type" : 2 }, { - "id" : "043B7581-947D-4D9D-9952-8C460EF48CA9", + "id" : "DA6A69BF-64D1-439B-9986-9CD990E46BFD", "type" : 4 }, { - "id" : "DC11A82C-AEE2-4D93-890C-CEB26D5DFCE4", + "id" : "F42BC1EE-4266-4526-978A-E2413D086FAC", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -458,35 +456,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DC11A82C-AEE2-4D93-890C-CEB26D5DFCE4", + "id" : "F42BC1EE-4266-4526-978A-E2413D086FAC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:47 GMT", + "Date" : "Sun, 24 May 2020 08:51:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -494,19 +492,19 @@ "type" : 1 }, { - "id" : "DC11A82C-AEE2-4D93-890C-CEB26D5DFCE4", + "id" : "F42BC1EE-4266-4526-978A-E2413D086FAC", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjQ3LjQ4Nzg1MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo0Ny40ODc4NTJaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjEyLjg2NTMxOFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "DC11A82C-AEE2-4D93-890C-CEB26D5DFCE4", + "id" : "F42BC1EE-4266-4526-978A-E2413D086FAC", "type" : 4 }, { - "id" : "720E0E67-DE5E-49AC-BF90-64D36921CDC0", + "id" : "D38D2F7D-C924-431A-887F-E214F3E409BD", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -516,35 +514,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "298", + "Content-Length" : "382", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiTWlkbmlnaHQtY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "720E0E67-DE5E-49AC-BF90-64D36921CDC0", + "id" : "D38D2F7D-C924-431A-887F-E214F3E409BD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:53 GMT", + "Date" : "Sun, 24 May 2020 08:51:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -552,19 +550,19 @@ "type" : 1 }, { - "id" : "720E0E67-DE5E-49AC-BF90-64D36921CDC0", + "id" : "D38D2F7D-C924-431A-887F-E214F3E409BD", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjQ5LjQ4NTIzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjQ5LjQ4NTIzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjUwLjE3NzI0NloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo1MC4xNzcyNDZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjUwLjg2ODczNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo1MC44Njg3MzVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjUxLjU2MDUzNFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo1MS41NjA1MzRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6NTIuMjUyMTQ5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjUyLjI1MjE0OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiU25vd2ZsYWtlLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjUyLjk0MzgyOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo1Mi45NDM4MjhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTmcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MTQuMTIyOTAzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToxNC4xNDEwNjJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiU29sc3RpY2UtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MTQuMTEwNTAyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MTQuMTM1NDM4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjE0LjEyOTUxOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjE0LjExNjk0OFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOZyJ9" }, "type" : 2 }, { - "id" : "720E0E67-DE5E-49AC-BF90-64D36921CDC0", + "id" : "D38D2F7D-C924-431A-887F-E214F3E409BD", "type" : 4 }, { - "id" : "3D5E447C-EA64-488A-AFBB-269165ECA999", + "id" : "23B275D4-C77A-4436-BD45-0A3D31585187", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -573,30 +571,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=4&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?count=1&limit=4&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "3D5E447C-EA64-488A-AFBB-269165ECA999", + "id" : "23B275D4-C77A-4436-BD45-0A3D31585187", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=4&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?count=1&limit=4&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:55 GMT", + "Date" : "Sun, 24 May 2020 08:51:15 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -604,19 +602,19 @@ "type" : 1 }, { - "id" : "3D5E447C-EA64-488A-AFBB-269165ECA999", + "id" : "23B275D4-C77A-4436-BD45-0A3D31585187", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo0OS40ODUyM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo0OS40ODUyM1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6NTAuMTc3MjQ2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjUwLjE3NzI0NloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiU29sc3RpY2Utc3BhY2UtaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjUwLjg2ODczNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo1MC44Njg3MzVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo1MS41NjA1MzRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6NTEuNTYwNTM0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik5BIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjE0LjEyMjkwM1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTbm93Zmxha2UtY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjE0LjE0MTA2MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MTQuMTEwNTAyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjE0LjEzNTQzOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjYsIm5leHQiOiJOQSJ9" }, "type" : 2 }, { - "id" : "3D5E447C-EA64-488A-AFBB-269165ECA999", + "id" : "23B275D4-C77A-4436-BD45-0A3D31585187", "type" : 4 }, { - "id" : "24F7D557-9168-4D43-81D3-41D9594D587D", + "id" : "B82AAC5A-65AF-43D5-B4CA-6A48B750F898", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -625,30 +623,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100" }, "type" : 0 }, { - "id" : "24F7D557-9168-4D43-81D3-41D9594D587D", + "id" : "B82AAC5A-65AF-43D5-B4CA-6A48B750F898", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:22:55 GMT", + "Date" : "Sun, 24 May 2020 08:51:15 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -656,19 +654,19 @@ "type" : 1 }, { - "id" : "24F7D557-9168-4D43-81D3-41D9594D587D", + "id" : "B82AAC5A-65AF-43D5-B4CA-6A48B750F898", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJXeW5uLXNwYWNlLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo1Mi4yNTIxNDlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjI6NTIuMjUyMTQ5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTbm93Zmxha2Utc3BhY2UtaWRlbnRpZmllciIsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIyOjUyLjk0MzgyOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMjo1Mi45NDM4MjhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTmciLCJwcmV2IjoiTkEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToxNC4xMjk1MThaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MTQuMTE2OTQ4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik5nIiwicHJldiI6Ik5BIn0=" }, "type" : 2 }, { - "id" : "24F7D557-9168-4D43-81D3-41D9594D587D", + "id" : "B82AAC5A-65AF-43D5-B4CA-6A48B750F898", "type" : 4 }, { - "id" : "17EB37EB-420D-4415-A4C6-85EA2C369EFB", + "id" : "4E862336-93B0-4DFA-B5FF-2CD69CF41220", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -678,31 +676,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "301", + "Content-Length" : "385", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiU25vd2ZsYWtlLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJXeW5uLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "17EB37EB-420D-4415-A4C6-85EA2C369EFB", + "id" : "4E862336-93B0-4DFA-B5FF-2CD69CF41220", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:58 GMT", + "Date" : "Sun, 24 May 2020 08:51:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -712,7 +710,7 @@ "type" : 1 }, { - "id" : "17EB37EB-420D-4415-A4C6-85EA2C369EFB", + "id" : "4E862336-93B0-4DFA-B5FF-2CD69CF41220", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -720,11 +718,11 @@ "type" : 2 }, { - "id" : "17EB37EB-420D-4415-A4C6-85EA2C369EFB", + "id" : "4E862336-93B0-4DFA-B5FF-2CD69CF41220", "type" : 4 }, { - "id" : "9C66805E-D88B-4E04-8CF6-CC10BEB31D19", + "id" : "B599ADD4-4AF2-4FD1-B70E-87404947652A", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -733,26 +731,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9C66805E-D88B-4E04-8CF6-CC10BEB31D19", + "id" : "B599ADD4-4AF2-4FD1-B70E-87404947652A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:22:59 GMT", + "Date" : "Sun, 24 May 2020 08:51:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -762,7 +760,7 @@ "type" : 1 }, { - "id" : "9C66805E-D88B-4E04-8CF6-CC10BEB31D19", + "id" : "B599ADD4-4AF2-4FD1-B70E-87404947652A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -770,11 +768,11 @@ "type" : 2 }, { - "id" : "9C66805E-D88B-4E04-8CF6-CC10BEB31D19", + "id" : "B599ADD4-4AF2-4FD1-B70E-87404947652A", "type" : 4 }, { - "id" : "68D97FC6-DD22-4C1F-AE44-BF37B5C32AE5", + "id" : "A049FB0B-3FAE-4CA8-8807-A5F4389F238E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -783,26 +781,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "68D97FC6-DD22-4C1F-AE44-BF37B5C32AE5", + "id" : "A049FB0B-3FAE-4CA8-8807-A5F4389F238E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:00 GMT", + "Date" : "Sun, 24 May 2020 08:51:18 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -812,7 +810,7 @@ "type" : 1 }, { - "id" : "68D97FC6-DD22-4C1F-AE44-BF37B5C32AE5", + "id" : "A049FB0B-3FAE-4CA8-8807-A5F4389F238E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -820,11 +818,11 @@ "type" : 2 }, { - "id" : "68D97FC6-DD22-4C1F-AE44-BF37B5C32AE5", + "id" : "A049FB0B-3FAE-4CA8-8807-A5F4389F238E", "type" : 4 }, { - "id" : "B6236873-7A8B-47FE-9CF1-8D8865AC97EE", + "id" : "0A73F19E-5F1A-47CC-A2E6-5782E8FF00AF", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -833,26 +831,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B6236873-7A8B-47FE-9CF1-8D8865AC97EE", + "id" : "0A73F19E-5F1A-47CC-A2E6-5782E8FF00AF", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:01 GMT", + "Date" : "Sun, 24 May 2020 08:51:18 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -862,7 +860,7 @@ "type" : 1 }, { - "id" : "B6236873-7A8B-47FE-9CF1-8D8865AC97EE", + "id" : "0A73F19E-5F1A-47CC-A2E6-5782E8FF00AF", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -870,11 +868,11 @@ "type" : 2 }, { - "id" : "B6236873-7A8B-47FE-9CF1-8D8865AC97EE", + "id" : "0A73F19E-5F1A-47CC-A2E6-5782E8FF00AF", "type" : 4 }, { - "id" : "FF2916FF-7134-4214-BE86-41C0DC36062E", + "id" : "5F7F5302-32A1-4BE8-9043-2036186A3E4A", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -883,26 +881,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FF2916FF-7134-4214-BE86-41C0DC36062E", + "id" : "5F7F5302-32A1-4BE8-9043-2036186A3E4A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:01 GMT", + "Date" : "Sun, 24 May 2020 08:51:19 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -912,7 +910,7 @@ "type" : 1 }, { - "id" : "FF2916FF-7134-4214-BE86-41C0DC36062E", + "id" : "5F7F5302-32A1-4BE8-9043-2036186A3E4A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -920,11 +918,11 @@ "type" : 2 }, { - "id" : "FF2916FF-7134-4214-BE86-41C0DC36062E", + "id" : "5F7F5302-32A1-4BE8-9043-2036186A3E4A", "type" : 4 }, { - "id" : "EAA7B2F5-328A-4DB6-AAD9-6CE74B30CD6E", + "id" : "D9B23EF1-7737-49C6-8BC5-12A6308A812C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -933,26 +931,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EAA7B2F5-328A-4DB6-AAD9-6CE74B30CD6E", + "id" : "D9B23EF1-7737-49C6-8BC5-12A6308A812C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:02 GMT", + "Date" : "Sun, 24 May 2020 08:51:19 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -962,7 +960,7 @@ "type" : 1 }, { - "id" : "EAA7B2F5-328A-4DB6-AAD9-6CE74B30CD6E", + "id" : "D9B23EF1-7737-49C6-8BC5-12A6308A812C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -970,11 +968,11 @@ "type" : 2 }, { - "id" : "EAA7B2F5-328A-4DB6-AAD9-6CE74B30CD6E", + "id" : "D9B23EF1-7737-49C6-8BC5-12A6308A812C", "type" : 4 }, { - "id" : "D774E47D-2956-4ABB-96E0-CCCCE2AAEEB2", + "id" : "21D69B05-3024-4176-809C-F03BD4FB6F36", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -983,26 +981,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D774E47D-2956-4ABB-96E0-CCCCE2AAEEB2", + "id" : "21D69B05-3024-4176-809C-F03BD4FB6F36", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:03 GMT", + "Date" : "Sun, 24 May 2020 08:51:19 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1012,7 +1010,7 @@ "type" : 1 }, { - "id" : "D774E47D-2956-4ABB-96E0-CCCCE2AAEEB2", + "id" : "21D69B05-3024-4176-809C-F03BD4FB6F36", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1020,11 +1018,11 @@ "type" : 2 }, { - "id" : "D774E47D-2956-4ABB-96E0-CCCCE2AAEEB2", + "id" : "21D69B05-3024-4176-809C-F03BD4FB6F36", "type" : 4 }, { - "id" : "8A9B1E38-B981-47B1-95B7-DAD6DFBE6E12", + "id" : "02E795FB-AF9C-4140-B997-A0ACD796921E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -1033,26 +1031,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8A9B1E38-B981-47B1-95B7-DAD6DFBE6E12", + "id" : "02E795FB-AF9C-4140-B997-A0ACD796921E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:03 GMT", + "Date" : "Sun, 24 May 2020 08:51:19 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1062,7 +1060,7 @@ "type" : 1 }, { - "id" : "8A9B1E38-B981-47B1-95B7-DAD6DFBE6E12", + "id" : "02E795FB-AF9C-4140-B997-A0ACD796921E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1070,7 +1068,7 @@ "type" : 2 }, { - "id" : "8A9B1E38-B981-47B1-95B7-DAD6DFBE6E12", + "id" : "02E795FB-AF9C-4140-B997-A0ACD796921E", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchSortedMembershipsWhenSortedIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchSortedMembershipsWhenSortedIsSet.json index b2a6ddd50..46f80d2f1 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchSortedMembershipsWhenSortedIsSet.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldFetchSortedMembershipsWhenSortedIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "24EF33AC-1FDF-4713-946A-E3160948347B", + "id" : "BF6072EC-2B2E-4DD6-91FF-87DDD27DA23A", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -16,19 +16,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "24EF33AC-1FDF-4713-946A-E3160948347B", + "id" : "BF6072EC-2B2E-4DD6-91FF-87DDD27DA23A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:56 GMT", + "Date" : "Sun, 24 May 2020 08:51:22 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "24EF33AC-1FDF-4713-946A-E3160948347B", + "id" : "BF6072EC-2B2E-4DD6-91FF-87DDD27DA23A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "24EF33AC-1FDF-4713-946A-E3160948347B", + "id" : "BF6072EC-2B2E-4DD6-91FF-87DDD27DA23A", "type" : 4 }, { - "id" : "3A2AF32A-918D-48D7-A5A1-352BB44DA7F7", + "id" : "A89E144B-4921-4944-84E9-7E3FCA493CC8", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -66,19 +66,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3A2AF32A-918D-48D7-A5A1-352BB44DA7F7", + "id" : "A89E144B-4921-4944-84E9-7E3FCA493CC8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:12:56 GMT", + "Date" : "Sun, 24 May 2020 08:51:22 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "3A2AF32A-918D-48D7-A5A1-352BB44DA7F7", + "id" : "A89E144B-4921-4944-84E9-7E3FCA493CC8", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "3A2AF32A-918D-48D7-A5A1-352BB44DA7F7", + "id" : "A89E144B-4921-4944-84E9-7E3FCA493CC8", "type" : 4 }, { - "id" : "3ABDA3C3-2F27-4A8E-BF25-30FDEA18F144", + "id" : "FD0FAE62-7975-4129-83DB-D46A40F2646D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -112,33 +112,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3ABDA3C3-2F27-4A8E-BF25-30FDEA18F144", + "id" : "FD0FAE62-7975-4129-83DB-D46A40F2646D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:57 GMT", + "Date" : "Sun, 24 May 2020 08:51:22 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "3ABDA3C3-2F27-4A8E-BF25-30FDEA18F144", + "id" : "FD0FAE62-7975-4129-83DB-D46A40F2646D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1Ni45MjYxNTZaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTYuOTI2MTU2WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyMi41Njc4NjFaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "3ABDA3C3-2F27-4A8E-BF25-30FDEA18F144", + "id" : "FD0FAE62-7975-4129-83DB-D46A40F2646D", "type" : 4 }, { - "id" : "26F86ABF-44C0-421A-B3BA-B2A2A747254D", + "id" : "C387DABF-33B2-43EC-9B09-E23BAF5F74A3", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -170,33 +170,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "26F86ABF-44C0-421A-B3BA-B2A2A747254D", + "id" : "C387DABF-33B2-43EC-9B09-E23BAF5F74A3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:57 GMT", + "Date" : "Sun, 24 May 2020 08:51:22 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "26F86ABF-44C0-421A-B3BA-B2A2A747254D", + "id" : "C387DABF-33B2-43EC-9B09-E23BAF5F74A3", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1Ny41MDE1OTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTcuNTAxNTk0WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyMi44NzIwNDZaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "26F86ABF-44C0-421A-B3BA-B2A2A747254D", + "id" : "C387DABF-33B2-43EC-9B09-E23BAF5F74A3", "type" : 4 }, { - "id" : "704842BC-F18A-4906-9FCC-97293D228909", + "id" : "5DB305DA-61A3-4B25-9698-4C4F19ABF208", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -228,33 +228,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "704842BC-F18A-4906-9FCC-97293D228909", + "id" : "5DB305DA-61A3-4B25-9698-4C4F19ABF208", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:58 GMT", + "Date" : "Sun, 24 May 2020 08:51:23 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "704842BC-F18A-4906-9FCC-97293D228909", + "id" : "5DB305DA-61A3-4B25-9698-4C4F19ABF208", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTguMDg0MzE3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjU4LjA4NDMxN1oiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MjMuMDk5NDU2WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" }, "type" : 2 }, { - "id" : "704842BC-F18A-4906-9FCC-97293D228909", + "id" : "5DB305DA-61A3-4B25-9698-4C4F19ABF208", "type" : 4 }, { - "id" : "A2CF9CF3-1884-4F00-9BCD-460DFBED44F2", + "id" : "C3D48D26-13C8-44B0-B05F-362156C08578", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -286,33 +286,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "159", + "Content-Length" : "116", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A2CF9CF3-1884-4F00-9BCD-460DFBED44F2", + "id" : "C3D48D26-13C8-44B0-B05F-362156C08578", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:59 GMT", + "Date" : "Sun, 24 May 2020 08:51:23 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "A2CF9CF3-1884-4F00-9BCD-460DFBED44F2", + "id" : "C3D48D26-13C8-44B0-B05F-362156C08578", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTguNzI1MzNaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTguNzI1MzNaIiwiZVRhZyI6IkFaSEY0N1hGMmFPaXBBRSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MjMuMzE4OTg5WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" }, "type" : 2 }, { - "id" : "A2CF9CF3-1884-4F00-9BCD-460DFBED44F2", + "id" : "C3D48D26-13C8-44B0-B05F-362156C08578", "type" : 4 }, { - "id" : "DFA88E01-A6F5-4D84-B212-FF17A55531D3", + "id" : "2C562716-E6B6-4721-9DBD-DB66EDD09FB1", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -344,55 +344,53 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "143", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DFA88E01-A6F5-4D84-B212-FF17A55531D3", + "id" : "2C562716-E6B6-4721-9DBD-DB66EDD09FB1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:51:23 GMT", "Content-Type" : "application\/json", + "Content-Length" : "254", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:12:59 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "DFA88E01-A6F5-4D84-B212-FF17A55531D3", + "id" : "2C562716-E6B6-4721-9DBD-DB66EDD09FB1", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1OS4zMzkyMjFaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTkuMzM5MjIxWiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyMy41OTA5NjlaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" }, "type" : 2 }, { - "id" : "DFA88E01-A6F5-4D84-B212-FF17A55531D3", + "id" : "2C562716-E6B6-4721-9DBD-DB66EDD09FB1", "type" : 4 }, { - "id" : "E3643B74-05F4-4116-9580-B569DFCDF893", + "id" : "19A5CB73-7F79-49F6-9DD0-C26C74E11C72", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -402,33 +400,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "163", + "Content-Length" : "119", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU25vd2ZsYWtlIiwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E3643B74-05F4-4116-9580-B569DFCDF893", + "id" : "19A5CB73-7F79-49F6-9DD0-C26C74E11C72", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:13:00 GMT", + "Date" : "Sun, 24 May 2020 08:51:23 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,21 +434,21 @@ "type" : 1 }, { - "id" : "E3643B74-05F4-4116-9580-B569DFCDF893", + "id" : "19A5CB73-7F79-49F6-9DD0-C26C74E11C72", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjU5LjkyMDI1OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1OS45MjAyNTlaIiwiZVRhZyI6IkFZZk82OTNCajhLWVlBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU25vd2ZsYWtlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJTbm93Zmxha2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjIzLjgwOTM4M1oiLCJlVGFnIjoiQVpmTmdaRzRsNXJ2TUEifX0=" }, "type" : 2 }, { - "id" : "E3643B74-05F4-4116-9580-B569DFCDF893", + "id" : "19A5CB73-7F79-49F6-9DD0-C26C74E11C72", "type" : 4 }, { - "id" : "158BC022-D75D-4437-AB2F-C7CBAC7065F7", + "id" : "310C39E6-DDEE-4DAC-B8B2-59476239188B", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -460,33 +458,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "158BC022-D75D-4437-AB2F-C7CBAC7065F7", + "id" : "310C39E6-DDEE-4DAC-B8B2-59476239188B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:13:02 GMT", + "Date" : "Sun, 24 May 2020 08:51:25 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -494,19 +492,19 @@ "type" : 1 }, { - "id" : "158BC022-D75D-4437-AB2F-C7CBAC7065F7", + "id" : "310C39E6-DDEE-4DAC-B8B2-59476239188B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjAxLjUxNDY4NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMzowMS41MTQ2ODRaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjI1LjA1MTAzNVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "158BC022-D75D-4437-AB2F-C7CBAC7065F7", + "id" : "310C39E6-DDEE-4DAC-B8B2-59476239188B", "type" : 4 }, { - "id" : "E08F4F11-E425-44A1-88EE-0377ED8A83FE", + "id" : "4EDBF0A6-EC45-4B7A-9462-54B214CFEE95", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -518,33 +516,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "298", + "Content-Length" : "382", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiTWlkbmlnaHQtY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6IlNub3dmbGFrZS1jaGFubmVsLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E08F4F11-E425-44A1-88EE-0377ED8A83FE", + "id" : "4EDBF0A6-EC45-4B7A-9462-54B214CFEE95", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:13:07 GMT", + "Date" : "Sun, 24 May 2020 08:51:26 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -552,19 +550,19 @@ "type" : 1 }, { - "id" : "E08F4F11-E425-44A1-88EE-0377ED8A83FE", + "id" : "4EDBF0A6-EC45-4B7A-9462-54B214CFEE95", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsInNwYWNlIjp7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTYuOTI2MTU2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjU2LjkyNjE1NloiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjAzLjUxNzM4OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMzowMy41MTczODlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwic3BhY2UiOnsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1Ny41MDE1OTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTcuNTAxNTk0WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMzowNC4yMTM2ODRaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTM6MDQuMjEzNjg0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJzcGFjZSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTguMDg0MzE3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjU4LjA4NDMxN1oiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjA0LjkwOTY0M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMzowNC45MDk2NDNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsInNwYWNlIjp7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1OC43MjUzM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1OC43MjUzM1oiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjA1LjYwNTcyOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMzowNS42MDU3MjhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwic3BhY2UiOnsiaWQiOiJXeW5uLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiV3lubiIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1OS4zMzkyMjFaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTkuMzM5MjIxWiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMzowNi4zMDIxODdaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTM6MDYuMzAyMTg3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTbm93Zmxha2Utc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwic3BhY2UiOnsiaWQiOiJTbm93Zmxha2Utc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJTbm93Zmxha2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTkuOTIwMjU5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjU5LjkyMDI1OVoiLCJlVGFnIjoiQVlmTzY5M0JqOEtZWUEifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTM6MDYuOTk4MDYzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjA2Ljk5ODA2M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyMy4zMTg5ODlaIiwiZVRhZyI6IkFhU0p5c0dhb3N6cUhRIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MjYuMzQxNjc2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MjMuNTkwOTY5WiIsImVUYWciOiJBZTJ6aHBMRTBLaVJEdyJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjI2LjM1Mjk5NVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTbm93Zmxha2UtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyMy44MDkzODNaIiwiZVRhZyI6IkFaZk5nWkc0bDVydk1BIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MjYuMzYzNjYyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MjIuNTY3ODYxWiIsImVUYWciOiJBWTJCNnFISXhlVCtMZyJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjI2LjMxOTkyN1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MjMuMDk5NDU2WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyNi4zMDg0NTRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyMi44NzIwNDZaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjI2LjMzMDgyNloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOZyJ9" }, "type" : 2 }, { - "id" : "E08F4F11-E425-44A1-88EE-0377ED8A83FE", + "id" : "4EDBF0A6-EC45-4B7A-9462-54B214CFEE95", "type" : 4 }, { - "id" : "456F4E77-5785-4CF3-8C7B-53AB077469C2", + "id" : "69C98725-0CC8-4E0C-BD15-F3A5B3FFB10B", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -580,23 +578,23 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?sort=space.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel&uuid=Serhii" }, "type" : 0 }, { - "id" : "456F4E77-5785-4CF3-8C7B-53AB077469C2", + "id" : "69C98725-0CC8-4E0C-BD15-F3A5B3FFB10B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?sort=space.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 01:13:09 GMT", + "Date" : "Sun, 24 May 2020 08:51:27 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -604,19 +602,19 @@ "type" : 1 }, { - "id" : "456F4E77-5785-4CF3-8C7B-53AB077469C2", + "id" : "69C98725-0CC8-4E0C-BD15-F3A5B3FFB10B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJXeW5uLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjU5LjMzOTIyMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1OS4zMzkyMjFaIiwiZVRhZyI6IkFldUczSXl3NUp6MUJRIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjA2LjMwMjE4N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMzowNi4zMDIxODdaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTguMDg0MzE3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjU4LjA4NDMxN1oiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjA0LjkwOTY0M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMzowNC45MDk2NDNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJTbm93Zmxha2Utc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJTbm93Zmxha2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTkuOTIwMjU5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjU5LjkyMDI1OVoiLCJlVGFnIjoiQVlmTzY5M0JqOEtZWUEifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTM6MDYuOTk4MDYzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjA2Ljk5ODA2M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsInNwYWNlIjp7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1OC43MjUzM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1OC43MjUzM1oiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjA1LjYwNTcyOFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMToxMzowNS42MDU3MjhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsInNwYWNlIjp7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTcuNTAxNTk0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEyOjU3LjUwMTU5NFoiLCJlVGFnIjoiQVpyRjY0YjlpTnltSXcifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTM6MDQuMjEzNjg0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjA0LjIxMzY4NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMToxMjo1Ni45MjYxNTZaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDE6MTI6NTYuOTI2MTU2WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDE6MTM6MDMuNTE3Mzg5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAxOjEzOjAzLjUxNzM4OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjYsIm5leHQiOiJOZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MjMuNTkwOTY5WiIsImVUYWciOiJBZTJ6aHBMRTBLaVJEdyJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyNi4zNTI5OTVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiU29sc3RpY2UtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IlNvbHN0aWNlIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjIzLjA5OTQ1NloiLCJlVGFnIjoiQWFUays3T1J6TmFoMGdFIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjI2LjMwODQ1NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTbm93Zmxha2UtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyMy44MDkzODNaIiwiZVRhZyI6IkFaZk5nWkc0bDVydk1BIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjI2LjM2MzY2MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTE6MjMuMzE4OTg5WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyNi4zNDE2NzZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyMi44NzIwNDZaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyNi4zMzA4MjZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MToyMi41Njc4NjFaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUxOjI2LjMxOTkyN1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjYsIm5leHQiOiJOZyJ9" }, "type" : 2 }, { - "id" : "456F4E77-5785-4CF3-8C7B-53AB077469C2", + "id" : "69C98725-0CC8-4E0C-BD15-F3A5B3FFB10B", "type" : 4 }, { - "id" : "51F9B4E4-D035-41E7-954A-414F1B17B06C", + "id" : "18FE2E54-4DFE-4B71-9742-06676CF46FF3", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -628,29 +626,29 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "301", + "Content-Length" : "385", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifSx7ImlkIjoiV3lubi1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJTbm93Zmxha2UtY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJXeW5uLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifX1dfQ==" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "51F9B4E4-D035-41E7-954A-414F1B17B06C", + "id" : "18FE2E54-4DFE-4B71-9742-06676CF46FF3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:13:11 GMT", + "Date" : "Sun, 24 May 2020 08:51:28 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -660,7 +658,7 @@ "type" : 1 }, { - "id" : "51F9B4E4-D035-41E7-954A-414F1B17B06C", + "id" : "18FE2E54-4DFE-4B71-9742-06676CF46FF3", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -668,11 +666,11 @@ "type" : 2 }, { - "id" : "51F9B4E4-D035-41E7-954A-414F1B17B06C", + "id" : "18FE2E54-4DFE-4B71-9742-06676CF46FF3", "type" : 4 }, { - "id" : "9AE13547-A7C0-4EEB-B2BE-2B77B324662B", + "id" : "1FAA4B5A-7667-486A-BE9E-56556760028F", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -688,19 +686,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9AE13547-A7C0-4EEB-B2BE-2B77B324662B", + "id" : "1FAA4B5A-7667-486A-BE9E-56556760028F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:13:12 GMT", + "Date" : "Sun, 24 May 2020 08:51:29 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -710,7 +708,7 @@ "type" : 1 }, { - "id" : "9AE13547-A7C0-4EEB-B2BE-2B77B324662B", + "id" : "1FAA4B5A-7667-486A-BE9E-56556760028F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -718,11 +716,11 @@ "type" : 2 }, { - "id" : "9AE13547-A7C0-4EEB-B2BE-2B77B324662B", + "id" : "1FAA4B5A-7667-486A-BE9E-56556760028F", "type" : 4 }, { - "id" : "D5099B0E-7790-487C-B915-AFBB51FACEC2", + "id" : "CC5EE95B-AAD9-4565-9C34-2376CBD3291F", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -738,19 +736,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D5099B0E-7790-487C-B915-AFBB51FACEC2", + "id" : "CC5EE95B-AAD9-4565-9C34-2376CBD3291F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:13:14 GMT", + "Date" : "Sun, 24 May 2020 08:51:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -760,7 +758,7 @@ "type" : 1 }, { - "id" : "D5099B0E-7790-487C-B915-AFBB51FACEC2", + "id" : "CC5EE95B-AAD9-4565-9C34-2376CBD3291F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -768,11 +766,11 @@ "type" : 2 }, { - "id" : "D5099B0E-7790-487C-B915-AFBB51FACEC2", + "id" : "CC5EE95B-AAD9-4565-9C34-2376CBD3291F", "type" : 4 }, { - "id" : "292B97C4-C9CB-4584-B2D0-BA321EC8E12F", + "id" : "5FA383E2-DAAE-421D-B751-51172485F726", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -788,19 +786,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "292B97C4-C9CB-4584-B2D0-BA321EC8E12F", + "id" : "5FA383E2-DAAE-421D-B751-51172485F726", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:13:14 GMT", + "Date" : "Sun, 24 May 2020 08:51:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -810,7 +808,7 @@ "type" : 1 }, { - "id" : "292B97C4-C9CB-4584-B2D0-BA321EC8E12F", + "id" : "5FA383E2-DAAE-421D-B751-51172485F726", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -818,11 +816,11 @@ "type" : 2 }, { - "id" : "292B97C4-C9CB-4584-B2D0-BA321EC8E12F", + "id" : "5FA383E2-DAAE-421D-B751-51172485F726", "type" : 4 }, { - "id" : "0D7778E3-7375-4DE1-8BE6-5D323ABB72C3", + "id" : "7A6EA3A1-C02D-4E8F-AA35-5EB348FDA50C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -838,19 +836,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0D7778E3-7375-4DE1-8BE6-5D323ABB72C3", + "id" : "7A6EA3A1-C02D-4E8F-AA35-5EB348FDA50C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:13:15 GMT", + "Date" : "Sun, 24 May 2020 08:51:31 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -860,7 +858,7 @@ "type" : 1 }, { - "id" : "0D7778E3-7375-4DE1-8BE6-5D323ABB72C3", + "id" : "7A6EA3A1-C02D-4E8F-AA35-5EB348FDA50C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -868,11 +866,11 @@ "type" : 2 }, { - "id" : "0D7778E3-7375-4DE1-8BE6-5D323ABB72C3", + "id" : "7A6EA3A1-C02D-4E8F-AA35-5EB348FDA50C", "type" : 4 }, { - "id" : "C7C42959-EBC7-4E64-BCF1-7540C0B80D4A", + "id" : "73A56A27-9917-4E28-B749-336836F47E4C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -888,19 +886,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C7C42959-EBC7-4E64-BCF1-7540C0B80D4A", + "id" : "73A56A27-9917-4E28-B749-336836F47E4C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:13:15 GMT", + "Date" : "Sun, 24 May 2020 08:51:31 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -910,7 +908,7 @@ "type" : 1 }, { - "id" : "C7C42959-EBC7-4E64-BCF1-7540C0B80D4A", + "id" : "73A56A27-9917-4E28-B749-336836F47E4C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -918,11 +916,11 @@ "type" : 2 }, { - "id" : "C7C42959-EBC7-4E64-BCF1-7540C0B80D4A", + "id" : "73A56A27-9917-4E28-B749-336836F47E4C", "type" : 4 }, { - "id" : "AABB674C-A83D-4F6D-9330-61E2F0A36D0B", + "id" : "BB072217-8B1E-4C69-A3DA-D5989B7840C7", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -938,19 +936,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "AABB674C-A83D-4F6D-9330-61E2F0A36D0B", + "id" : "BB072217-8B1E-4C69-A3DA-D5989B7840C7", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:13:16 GMT", + "Date" : "Sun, 24 May 2020 08:51:31 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -960,7 +958,7 @@ "type" : 1 }, { - "id" : "AABB674C-A83D-4F6D-9330-61E2F0A36D0B", + "id" : "BB072217-8B1E-4C69-A3DA-D5989B7840C7", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -968,11 +966,11 @@ "type" : 2 }, { - "id" : "AABB674C-A83D-4F6D-9330-61E2F0A36D0B", + "id" : "BB072217-8B1E-4C69-A3DA-D5989B7840C7", "type" : 4 }, { - "id" : "256DFE9C-EFEF-49D8-A981-107DA633C9B4", + "id" : "A3BC8361-1403-4CDE-99B0-CBE9AAB5B2B5", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -988,19 +986,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "256DFE9C-EFEF-49D8-A981-107DA633C9B4", + "id" : "A3BC8361-1403-4CDE-99B0-CBE9AAB5B2B5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Snowflake-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 01:13:16 GMT", + "Date" : "Sun, 24 May 2020 08:51:31 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -1010,7 +1008,7 @@ "type" : 1 }, { - "id" : "256DFE9C-EFEF-49D8-A981-107DA633C9B4", + "id" : "A3BC8361-1403-4CDE-99B0-CBE9AAB5B2B5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -1018,7 +1016,7 @@ "type" : 2 }, { - "id" : "256DFE9C-EFEF-49D8-A981-107DA633C9B4", + "id" : "A3BC8361-1403-4CDE-99B0-CBE9AAB5B2B5", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotCreateMembershipWhenUserAlreadyHasMembershipWithTargetSpace.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotCreateMembershipWhenUserAlreadyHasMembershipWithTargetSpace.json deleted file mode 100644 index a8f68a543..000000000 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotCreateMembershipWhenUserAlreadyHasMembershipWithTargetSpace.json +++ /dev/null @@ -1,704 +0,0 @@ -[ - { - "id" : "18E264F6-32F1-4AD2-9B07-73FBA2F480E9", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "18E264F6-32F1-4AD2-9B07-73FBA2F480E9", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:05 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "18E264F6-32F1-4AD2-9B07-73FBA2F480E9", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "18E264F6-32F1-4AD2-9B07-73FBA2F480E9", - "type" : 4 - }, - { - "id" : "F02BB398-399E-4499-B575-0C063FC41E92", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F02BB398-399E-4499-B575-0C063FC41E92", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:06 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "F02BB398-399E-4499-B575-0C063FC41E92", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "F02BB398-399E-4499-B575-0C063FC41E92", - "type" : 4 - }, - { - "id" : "85EDAAC7-853B-46A5-80EC-ABB7EE5C3034", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "85EDAAC7-853B-46A5-80EC-ABB7EE5C3034", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:06 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "85EDAAC7-853B-46A5-80EC-ABB7EE5C3034", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzowNi4xOTI3NDVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MDYuMTkyNzQ1WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "85EDAAC7-853B-46A5-80EC-ABB7EE5C3034", - "type" : 4 - }, - { - "id" : "F157740D-89C5-4E7C-A7DA-2EA0A41555B8", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F157740D-89C5-4E7C-A7DA-2EA0A41555B8", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:07 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "F157740D-89C5-4E7C-A7DA-2EA0A41555B8", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzowNi44NTAyNjZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MDYuODUwMjY2WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "F157740D-89C5-4E7C-A7DA-2EA0A41555B8", - "type" : 4 - }, - { - "id" : "AB5CB91D-48A2-4057-8B42-D0EE275855D4", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "AB5CB91D-48A2-4057-8B42-D0EE275855D4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:08 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "AB5CB91D-48A2-4057-8B42-D0EE275855D4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjA4LjQ0NTkwMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzowOC40NDU5MDJaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "AB5CB91D-48A2-4057-8B42-D0EE275855D4", - "type" : 4 - }, - { - "id" : "6B567591-982E-4873-BA91-7CD290605ADD", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "105", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "6B567591-982E-4873-BA91-7CD290605ADD", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:11 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "6B567591-982E-4873-BA91-7CD290605ADD", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzowNi4xOTI3NDVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MDYuMTkyNzQ1WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MTAuNDU0MzY2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjEwLjQ1NDM2NloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MDYuODUwMjY2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjA2Ljg1MDI2NloiLCJlVGFnIjoiQVpyRjY0YjlpTnltSXcifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MTEuMTQ4NjY5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjExLjE0ODY2OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" - }, - "type" : 2 - }, - { - "id" : "6B567591-982E-4873-BA91-7CD290605ADD", - "type" : 4 - }, - { - "id" : "166BE5F4-DC9C-4CDA-957A-66FDC78F92C8", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "57", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "166BE5F4-DC9C-4CDA-957A-66FDC78F92C8", - "data" : { - "status" : 400, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:12 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "202", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "166BE5F4-DC9C-4CDA-957A-66FDC78F92C8", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwMCwiZXJyb3IiOnsibWVzc2FnZSI6IkludmFsaWQgcmVxdWVzdCBpbnB1dC4iLCJzb3VyY2UiOiJvYmplY3RzIiwiZGV0YWlscyI6W3sibWVzc2FnZSI6IlVzZXIgaXMgYWxyZWFkeSBhIG1lbWJlciBvZiBzcGFjZSB3aXRoIHNwZWNpZmllZCBpZC4iLCJsb2NhdGlvbiI6ImFkZFswXS5pZCIsImxvY2F0aW9uVHlwZSI6ImJvZHkifV19fQ==" - }, - "type" : 2 - }, - { - "id" : "166BE5F4-DC9C-4CDA-957A-66FDC78F92C8", - "type" : 4 - }, - { - "id" : "32349D31-A0D8-4210-9B0F-24FDA9E8B9A7", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "57", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "32349D31-A0D8-4210-9B0F-24FDA9E8B9A7", - "data" : { - "status" : 400, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:13 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "202", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "32349D31-A0D8-4210-9B0F-24FDA9E8B9A7", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwMCwiZXJyb3IiOnsibWVzc2FnZSI6IkludmFsaWQgcmVxdWVzdCBpbnB1dC4iLCJzb3VyY2UiOiJvYmplY3RzIiwiZGV0YWlscyI6W3sibWVzc2FnZSI6IlVzZXIgaXMgYWxyZWFkeSBhIG1lbWJlciBvZiBzcGFjZSB3aXRoIHNwZWNpZmllZCBpZC4iLCJsb2NhdGlvbiI6ImFkZFswXS5pZCIsImxvY2F0aW9uVHlwZSI6ImJvZHkifV19fQ==" - }, - "type" : 2 - }, - { - "id" : "32349D31-A0D8-4210-9B0F-24FDA9E8B9A7", - "type" : 4 - }, - { - "id" : "F42CA391-69CE-466E-9746-544952E98D51", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F42CA391-69CE-466E-9746-544952E98D51", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:13 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "F42CA391-69CE-466E-9746-544952E98D51", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzoxMC40NTQzNjZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MTAuNDU0MzY2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzoxMS4xNDg2NjlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MTEuMTQ4NjY5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" - }, - "type" : 2 - }, - { - "id" : "F42CA391-69CE-466E-9746-544952E98D51", - "type" : 4 - }, - { - "id" : "721606B2-203F-4118-94D4-5049ABC09715", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "108", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "721606B2-203F-4118-94D4-5049ABC09715", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:16 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "721606B2-203F-4118-94D4-5049ABC09715", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "721606B2-203F-4118-94D4-5049ABC09715", - "type" : 4 - }, - { - "id" : "904FCB49-D68D-476C-9838-560E6FF442A2", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "904FCB49-D68D-476C-9838-560E6FF442A2", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:16 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "904FCB49-D68D-476C-9838-560E6FF442A2", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "904FCB49-D68D-476C-9838-560E6FF442A2", - "type" : 4 - }, - { - "id" : "7DCB8B4D-7671-4D1C-BC6D-8434DC7E8E2F", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "7DCB8B4D-7671-4D1C-BC6D-8434DC7E8E2F", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:18 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "7DCB8B4D-7671-4D1C-BC6D-8434DC7E8E2F", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "7DCB8B4D-7671-4D1C-BC6D-8434DC7E8E2F", - "type" : 4 - }, - { - "id" : "DB0488E8-5F1A-4C43-A085-0DA44CECC0AB", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "DB0488E8-5F1A-4C43-A085-0DA44CECC0AB", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:19 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "DB0488E8-5F1A-4C43-A085-0DA44CECC0AB", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "DB0488E8-5F1A-4C43-A085-0DA44CECC0AB", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotFetchMembershipsWhenUserObjectNotExists.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotFetchMembershipsWhenUserObjectNotExists.json deleted file mode 100644 index 55f7638be..000000000 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotFetchMembershipsWhenUserObjectNotExists.json +++ /dev/null @@ -1,202 +0,0 @@ -[ - { - "id" : "ED21B8B0-94C2-4F9E-89C3-E6587374818A", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "ED21B8B0-94C2-4F9E-89C3-E6587374818A", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:21 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "ED21B8B0-94C2-4F9E-89C3-E6587374818A", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "ED21B8B0-94C2-4F9E-89C3-E6587374818A", - "type" : 4 - }, - { - "id" : "A9F44632-9835-4782-A3E4-4B3959F14782", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A9F44632-9835-4782-A3E4-4B3959F14782", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:21 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "A9F44632-9835-4782-A3E4-4B3959F14782", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "A9F44632-9835-4782-A3E4-4B3959F14782", - "type" : 4 - }, - { - "id" : "2CD8B191-6C52-43EE-8C3C-8AAE563CFD3A", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/not-existing-user\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "2CD8B191-6C52-43EE-8C3C-8AAE563CFD3A", - "data" : { - "status" : 404, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/not-existing-user\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:21 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "87", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "2CD8B191-6C52-43EE-8C3C-8AAE563CFD3A", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "2CD8B191-6C52-43EE-8C3C-8AAE563CFD3A", - "type" : 4 - }, - { - "id" : "FC9911D1-FC67-47FE-A5D6-9654FF26F707", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/not-existing-user\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "FC9911D1-FC67-47FE-A5D6-9654FF26F707", - "data" : { - "status" : 404, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/not-existing-user\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:21 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "87", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "FC9911D1-FC67-47FE-A5D6-9654FF26F707", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "FC9911D1-FC67-47FE-A5D6-9654FF26F707", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotUpdateMembershipWhenUserNotHaveMembershipWithSpecifiedSpaces.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotUpdateMembershipWhenUserNotHaveMembershipWithSpecifiedSpaces.json deleted file mode 100644 index 6ab7971d7..000000000 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldNotUpdateMembershipWhenUserNotHaveMembershipWithSpecifiedSpaces.json +++ /dev/null @@ -1,482 +0,0 @@ -[ - { - "id" : "6D8FC84A-82DA-44C1-867C-AAB1B81530E3", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "6D8FC84A-82DA-44C1-867C-AAB1B81530E3", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:22 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "6D8FC84A-82DA-44C1-867C-AAB1B81530E3", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "6D8FC84A-82DA-44C1-867C-AAB1B81530E3", - "type" : 4 - }, - { - "id" : "34B40B99-9E91-4767-8B7A-76E8596269C2", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "34B40B99-9E91-4767-8B7A-76E8596269C2", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:23 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "34B40B99-9E91-4767-8B7A-76E8596269C2", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "34B40B99-9E91-4767-8B7A-76E8596269C2", - "type" : 4 - }, - { - "id" : "496718A8-F1B8-46CC-A7C3-469E978C9FDF", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "496718A8-F1B8-46CC-A7C3-469E978C9FDF", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:23 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "496718A8-F1B8-46CC-A7C3-469E978C9FDF", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzoyMy4xNTQ1M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzoyMy4xNTQ1M1oiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn19" - }, - "type" : 2 - }, - { - "id" : "496718A8-F1B8-46CC-A7C3-469E978C9FDF", - "type" : 4 - }, - { - "id" : "E038EC68-812C-47FA-9DAE-1DBC57F32EB0", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "E038EC68-812C-47FA-9DAE-1DBC57F32EB0", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:24 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "E038EC68-812C-47FA-9DAE-1DBC57F32EB0", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzoyMy43NDY5NTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MjMuNzQ2OTU5WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "E038EC68-812C-47FA-9DAE-1DBC57F32EB0", - "type" : 4 - }, - { - "id" : "D0D1132E-0F9F-4205-8119-26ABDC6720FF", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "D0D1132E-0F9F-4205-8119-26ABDC6720FF", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:25 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "D0D1132E-0F9F-4205-8119-26ABDC6720FF", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjI1LjM1NDMxN1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzoyNS4zNTQzMTdaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "D0D1132E-0F9F-4205-8119-26ABDC6720FF", - "type" : 4 - }, - { - "id" : "0B28AB77-E583-44DD-B961-458A3DE4022F", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "290", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9fSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9fV19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "0B28AB77-E583-44DD-B961-458A3DE4022F", - "data" : { - "status" : 400, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:27 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "332", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "0B28AB77-E583-44DD-B961-458A3DE4022F", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwMCwiZXJyb3IiOnsibWVzc2FnZSI6IkludmFsaWQgcmVxdWVzdCBpbnB1dC4iLCJzb3VyY2UiOiJvYmplY3RzIiwiZGV0YWlscyI6W3sibWVzc2FnZSI6IlVzZXIgaXMgbm90IGFuIGV4aXN0aW5nIG1lbWJlciBvZiBzcGFjZSB3aXRoIHNwZWNpZmllZCBpZC4iLCJsb2NhdGlvbiI6InVwZGF0ZVswXS5pZCIsImxvY2F0aW9uVHlwZSI6ImJvZHkifSx7Im1lc3NhZ2UiOiJVc2VyIGlzIG5vdCBhbiBleGlzdGluZyBtZW1iZXIgb2Ygc3BhY2Ugd2l0aCBzcGVjaWZpZWQgaWQuIiwibG9jYXRpb24iOiJ1cGRhdGVbMV0uaWQiLCJsb2NhdGlvblR5cGUiOiJib2R5In1dfX0=" - }, - "type" : 2 - }, - { - "id" : "0B28AB77-E583-44DD-B961-458A3DE4022F", - "type" : 4 - }, - { - "id" : "A032D92F-9D46-42B1-A1FB-C49A76B19F05", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A032D92F-9D46-42B1-A1FB-C49A76B19F05", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:28 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "A032D92F-9D46-42B1-A1FB-C49A76B19F05", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "A032D92F-9D46-42B1-A1FB-C49A76B19F05", - "type" : 4 - }, - { - "id" : "7964781E-C22F-4FF3-AF74-80421B5FAF52", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "7964781E-C22F-4FF3-AF74-80421B5FAF52", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:30 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "7964781E-C22F-4FF3-AF74-80421B5FAF52", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "7964781E-C22F-4FF3-AF74-80421B5FAF52", - "type" : 4 - }, - { - "id" : "945F457C-C155-4DDE-B534-1D5C2F263FFD", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "945F457C-C155-4DDE-B534-1D5C2F263FFD", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:31 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "945F457C-C155-4DDE-B534-1D5C2F263FFD", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "945F457C-C155-4DDE-B534-1D5C2F263FFD", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndTriggerUpdateEventOnSpaceChannel.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMemberAndTriggerUUIDDeleteOnChannel.json similarity index 50% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndTriggerUpdateEventOnSpaceChannel.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMemberAndTriggerUUIDDeleteOnChannel.json index 254550664..ed4b3129f 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndTriggerUpdateEventOnSpaceChannel.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMemberAndTriggerUUIDDeleteOnChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "00DF5653-3664-4FA2-8BB1-AFFF1394E6F5", + "id" : "813D041A-040F-476C-AFCC-04ED7F708277", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "00DF5653-3664-4FA2-8BB1-AFFF1394E6F5", + "id" : "813D041A-040F-476C-AFCC-04ED7F708277", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:21 GMT", + "Date" : "Sun, 24 May 2020 08:53:05 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "00DF5653-3664-4FA2-8BB1-AFFF1394E6F5", + "id" : "813D041A-040F-476C-AFCC-04ED7F708277", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "00DF5653-3664-4FA2-8BB1-AFFF1394E6F5", + "id" : "813D041A-040F-476C-AFCC-04ED7F708277", "type" : 4 }, { - "id" : "7B68BCB4-E2C2-4099-8BA4-5A77581359A9", + "id" : "EA4D88A0-2D20-4E8E-AA88-19B1820F6E9F", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,28 +59,80 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7B68BCB4-E2C2-4099-8BA4-5A77581359A9", + "id" : "EA4D88A0-2D20-4E8E-AA88-19B1820F6E9F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:21 GMT", "Content-Type" : "application\/json", - "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:53:05 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "EA4D88A0-2D20-4E8E-AA88-19B1820F6E9F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiIzRENFRjRDQy1DaGlwcGVyLUFEOEItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTI6MTguMzc3MDM5WiIsImVUYWciOiJBYldJbkllRzB1eW8wZ0UifSx7ImlkIjoiQTg3M0EyQUEtQ2hhbnRlZC1BQjRBLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUyOjE4LjE0ODAwN1oiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifV0sIm5leHQiOiJNZyJ9" + }, + "type" : 2 + }, + { + "id" : "EA4D88A0-2D20-4E8E-AA88-19B1820F6E9F", + "type" : 4 + }, + { + "id" : "616E4087-3F7D-475D-93D8-7145F0622D4C", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/3DCEF4CC-Chipper-AD8B-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "616E4087-3F7D-475D-93D8-7145F0622D4C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/3DCEF4CC-Chipper-AD8B-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:05 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -88,21 +140,71 @@ "type" : 1 }, { - "id" : "7B68BCB4-E2C2-4099-8BA4-5A77581359A9", + "id" : "616E4087-3F7D-475D-93D8-7145F0622D4C", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" }, "type" : 2 }, { - "id" : "7B68BCB4-E2C2-4099-8BA4-5A77581359A9", + "id" : "616E4087-3F7D-475D-93D8-7145F0622D4C", "type" : 4 }, { - "id" : "C01A069A-1133-45D8-8E7E-93BCBEBC7039", + "id" : "CC8A956A-624B-4632-A36D-48C6A53C844E", "data" : { - "method" : "post", + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/A873A2AA-Chanted-AB4A-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "CC8A956A-624B-4632-A36D-48C6A53C844E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/A873A2AA-Chanted-AB4A-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:06 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "CC8A956A-624B-4632-A36D-48C6A53C844E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "CC8A956A-624B-4632-A36D-48C6A53C844E", + "type" : 4 + }, + { + "id" : "9BD79644-4B2F-4712-8A40-AB3A9E439A4C", + "data" : { + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +212,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C01A069A-1133-45D8-8E7E-93BCBEBC7039", + "id" : "9BD79644-4B2F-4712-8A40-AB3A9E439A4C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:22 GMT", + "Date" : "Sun, 24 May 2020 08:53:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +248,21 @@ "type" : 1 }, { - "id" : "C01A069A-1133-45D8-8E7E-93BCBEBC7039", + "id" : "9BD79644-4B2F-4712-8A40-AB3A9E439A4C", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDoyMS43OTU3NDlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MjEuNzk1NzQ5WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzowNy42NjA0ODFaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "C01A069A-1133-45D8-8E7E-93BCBEBC7039", + "id" : "9BD79644-4B2F-4712-8A40-AB3A9E439A4C", "type" : 4 }, { - "id" : "95E2E080-5FE3-4E53-AF10-678F1CF2255B", + "id" : "88F3F90C-DB83-4127-9F78-80AC62F2C64D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +270,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "95E2E080-5FE3-4E53-AF10-678F1CF2255B", + "id" : "88F3F90C-DB83-4127-9F78-80AC62F2C64D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:22 GMT", + "Date" : "Sun, 24 May 2020 08:53:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +306,21 @@ "type" : 1 }, { - "id" : "95E2E080-5FE3-4E53-AF10-678F1CF2255B", + "id" : "88F3F90C-DB83-4127-9F78-80AC62F2C64D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDoyMi4zNzY3OTZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MjIuMzc2Nzk2WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzowNy44OTk4NzdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "95E2E080-5FE3-4E53-AF10-678F1CF2255B", + "id" : "88F3F90C-DB83-4127-9F78-80AC62F2C64D", "type" : 4 }, { - "id" : "ECF18E42-F9C0-4685-845C-213DACBD973D", + "id" : "857DBF0E-2EE3-4A87-8769-CD98AB6754BD", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +328,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "ECF18E42-F9C0-4685-845C-213DACBD973D", + "id" : "857DBF0E-2EE3-4A87-8769-CD98AB6754BD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:24 GMT", + "Date" : "Sun, 24 May 2020 08:53:09 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +364,19 @@ "type" : 1 }, { - "id" : "ECF18E42-F9C0-4685-845C-213DACBD973D", + "id" : "857DBF0E-2EE3-4A87-8769-CD98AB6754BD", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjI0LjA2MDY1OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDoyNC4wNjA2NTlaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjA5LjE0NDk3OFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "ECF18E42-F9C0-4685-845C-213DACBD973D", + "id" : "857DBF0E-2EE3-4A87-8769-CD98AB6754BD", "type" : 4 }, { - "id" : "20794A8D-3791-400D-BA4D-D1651CA21F1E", + "id" : "D610738A-87D7-41D3-99C7-8388B2430599", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +386,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "20794A8D-3791-400D-BA4D-D1651CA21F1E", + "id" : "D610738A-87D7-41D3-99C7-8388B2430599", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:27 GMT", + "Date" : "Sun, 24 May 2020 08:53:10 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +422,19 @@ "type" : 1 }, { - "id" : "20794A8D-3791-400D-BA4D-D1651CA21F1E", + "id" : "D610738A-87D7-41D3-99C7-8388B2430599", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjI2LjA4ODQyOVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDoyNi4wODg0MjlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MjYuNzgzNzIyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjI2Ljc4MzcyMloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6MTAuNDAzNTY4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6MTAuNDA5NDNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" }, "type" : 2 }, { - "id" : "20794A8D-3791-400D-BA4D-D1651CA21F1E", + "id" : "D610738A-87D7-41D3-99C7-8388B2430599", "type" : 4 }, { - "id" : "8B3A9E00-E23F-4FBF-8D3F-5F9A0618CA88", + "id" : "E212B95F-48AA-4B1C-87DA-A8F5867EAF4F", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +443,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8B3A9E00-E23F-4FBF-8D3F-5F9A0618CA88", + "id" : "E212B95F-48AA-4B1C-87DA-A8F5867EAF4F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:24:28 GMT", + "Date" : "Sun, 24 May 2020 08:53:11 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +473,19 @@ "type" : 1 }, { - "id" : "8B3A9E00-E23F-4FBF-8D3F-5F9A0618CA88", + "id" : "E212B95F-48AA-4B1C-87DA-A8F5867EAF4F", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2NjY2Njk5MTIwMCIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMzkwNDA4NTQyMSIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "8B3A9E00-E23F-4FBF-8D3F-5F9A0618CA88", + "id" : "E212B95F-48AA-4B1C-87DA-A8F5867EAF4F", "type" : 4 }, { - "id" : "A2738085-ADD9-43BB-A551-9D7C1E9E044D", + "id" : "1CD88EA8-DE93-4A10-AA66-CDA118155F80", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,56 +494,67 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566666991200&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903103904085421&tr=56" }, "type" : 0 }, { - "id" : "FCFB5B4A-242C-490A-9D5E-1C51FD14F7C5", + "id" : "FC1C6026-8DC4-4460-BE2B-1710AC37AB7E", "data" : { - "method" : "patch", + "method" : "delete", "cls" : "NSURLRequest", "cellular" : true, - "network" : 0, "cache" : 1, "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "290", "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9fSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9fV19" + "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A2738085-ADD9-43BB-A551-9D7C1E9E044D", + "id" : "FC1C6026-8DC4-4460-BE2B-1710AC37AB7E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566666991200&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:12 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "1CD88EA8-DE93-4A10-AA66-CDA118155F80", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903103904085421&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:24:29 GMT", - "Content-Length" : "541", + "Date" : "Sun, 24 May 2020 08:53:12 GMT", + "Content-Length" : "324", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -449,19 +562,31 @@ "type" : 1 }, { - "id" : "A2738085-ADD9-43BB-A551-9D7C1E9E044D", + "id" : "FC1C6026-8DC4-4460-BE2B-1710AC37AB7E", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2NjY5Nzk0OTU5MiIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2NjY5Nzk0NzI0MSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoidXBkYXRlIiwidHlwZSI6Im1lbWJlcnNoaXAiLCJkYXRhIjp7ImN1c3RvbSI6eyJ1c2VyLW1lbWJlcnNoaXAtY3VzdG9tIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifSwiZVRhZyI6IkFlcVcvdTJVdHNIbllRIiwic3BhY2VJZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjI5LjUzMDQyNTM1MVoiLCJ1c2VySWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIn19fV19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" }, "type" : 2 }, { - "id" : "A2738085-ADD9-43BB-A551-9D7C1E9E044D", + "id" : "FC1C6026-8DC4-4460-BE2B-1710AC37AB7E", "type" : 4 }, { - "id" : "D752B1D9-6B6E-4D3A-B6B1-160342303960", + "id" : "1CD88EA8-DE93-4A10-AA66-CDA118155F80", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwMzkyMTc2MDc5MyIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwMzkyMTc3NDE4NyIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJkZWxldGUiLCJ0eXBlIjoidXVpZCIsImRhdGEiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fV19" + }, + "type" : 2 + }, + { + "id" : "1CD88EA8-DE93-4A10-AA66-CDA118155F80", + "type" : 4 + }, + { + "id" : "C41A4C65-B498-4F78-B4ED-4E8CA03446E0", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -470,25 +595,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566697949592&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903103921760793&tr=56" }, "type" : 0 }, { - "id" : "D752B1D9-6B6E-4D3A-B6B1-160342303960", + "id" : "C41A4C65-B498-4F78-B4ED-4E8CA03446E0", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566697949592&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903103921760793&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566697949592&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903103921760793&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -496,7 +621,7 @@ "type" : 3 }, { - "id" : "1AC75DAF-1695-4FB0-B4BB-A097FC7FD2EE", + "id" : "4D675F31-257E-4054-85CD-BC032F907601", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -505,30 +630,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1AC75DAF-1695-4FB0-B4BB-A097FC7FD2EE", + "id" : "4D675F31-257E-4054-85CD-BC032F907601", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 06:24:30 GMT", + "Date" : "Sun, 24 May 2020 08:53:12 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -538,7 +663,7 @@ "type" : 1 }, { - "id" : "1AC75DAF-1695-4FB0-B4BB-A097FC7FD2EE", + "id" : "4D675F31-257E-4054-85CD-BC032F907601", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -546,98 +671,11 @@ "type" : 2 }, { - "id" : "1AC75DAF-1695-4FB0-B4BB-A097FC7FD2EE", - "type" : 4 - }, - { - "id" : "FCFB5B4A-242C-490A-9D5E-1C51FD14F7C5", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:30 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "FCFB5B4A-242C-490A-9D5E-1C51FD14F7C5", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDoyMS43OTU3NDlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MjEuNzk1NzQ5WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MjYuMDg4NDI5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjI5LjUzMDQyNVoiLCJlVGFnIjoiQWVxVy91MlV0c0huWVEifSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MjIuMzc2Nzk2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjIyLjM3Njc5NloiLCJlVGFnIjoiQVpyRjY0YjlpTnltSXcifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MjYuNzgzNzIyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjMwLjA1Mjc2MloiLCJlVGFnIjoiQWQrM2wrcWF6SmZEdXdFIn1dLCJuZXh0IjoiTWcifQ==" - }, - "type" : 2 - }, - { - "id" : "FCFB5B4A-242C-490A-9D5E-1C51FD14F7C5", - "type" : 4 - }, - { - "id" : "DCB1C81E-AB4C-4301-B81A-FB6A816C6B84", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "108", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "DCB1C81E-AB4C-4301-B81A-FB6A816C6B84", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:32 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "DCB1C81E-AB4C-4301-B81A-FB6A816C6B84", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "DCB1C81E-AB4C-4301-B81A-FB6A816C6B84", + "id" : "4D675F31-257E-4054-85CD-BC032F907601", "type" : 4 }, { - "id" : "193B3507-06F2-43ED-9F92-453707EE3833", + "id" : "1622A025-0333-42A3-A9F8-3F944C4DBECE", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -646,26 +684,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "193B3507-06F2-43ED-9F92-453707EE3833", + "id" : "1622A025-0333-42A3-A9F8-3F944C4DBECE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:33 GMT", + "Date" : "Sun, 24 May 2020 08:53:13 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -675,7 +713,7 @@ "type" : 1 }, { - "id" : "193B3507-06F2-43ED-9F92-453707EE3833", + "id" : "1622A025-0333-42A3-A9F8-3F944C4DBECE", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -683,11 +721,11 @@ "type" : 2 }, { - "id" : "193B3507-06F2-43ED-9F92-453707EE3833", + "id" : "1622A025-0333-42A3-A9F8-3F944C4DBECE", "type" : 4 }, { - "id" : "F96BA932-799F-42CB-858D-71285DD4E639", + "id" : "BB3B1FC9-F9FF-44DD-8A9C-566130601A11", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -696,26 +734,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F96BA932-799F-42CB-858D-71285DD4E639", + "id" : "BB3B1FC9-F9FF-44DD-8A9C-566130601A11", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:34 GMT", + "Date" : "Sun, 24 May 2020 08:53:14 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -725,7 +763,7 @@ "type" : 1 }, { - "id" : "F96BA932-799F-42CB-858D-71285DD4E639", + "id" : "BB3B1FC9-F9FF-44DD-8A9C-566130601A11", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -733,11 +771,11 @@ "type" : 2 }, { - "id" : "F96BA932-799F-42CB-858D-71285DD4E639", + "id" : "BB3B1FC9-F9FF-44DD-8A9C-566130601A11", "type" : 4 }, { - "id" : "7A180E13-CA5A-4F77-B2B3-AAC87AB08CDB", + "id" : "C77DC364-4F06-46EC-B136-A27475E3CBA1", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -746,26 +784,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7A180E13-CA5A-4F77-B2B3-AAC87AB08CDB", + "id" : "C77DC364-4F06-46EC-B136-A27475E3CBA1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:35 GMT", + "Date" : "Sun, 24 May 2020 08:53:14 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -775,7 +813,7 @@ "type" : 1 }, { - "id" : "7A180E13-CA5A-4F77-B2B3-AAC87AB08CDB", + "id" : "C77DC364-4F06-46EC-B136-A27475E3CBA1", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -783,7 +821,7 @@ "type" : 2 }, { - "id" : "7A180E13-CA5A-4F77-B2B3-AAC87AB08CDB", + "id" : "C77DC364-4F06-46EC-B136-A27475E3CBA1", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReceiveStatusWithExpectedOperationAndCategory.json similarity index 53% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReceiveStatusWithExpectedOperationAndCategory.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReceiveStatusWithExpectedOperationAndCategory.json index fe3531fd5..e966d64eb 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReceiveStatusWithExpectedOperationAndCategory.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReceiveStatusWithExpectedOperationAndCategory.json @@ -1,6 +1,6 @@ [ { - "id" : "30858CDE-D7E0-4771-8743-AFFA2E5BBE2C", + "id" : "2BCBAAAE-6B56-4740-94E9-7F79031F1F2E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "30858CDE-D7E0-4771-8743-AFFA2E5BBE2C", + "id" : "2BCBAAAE-6B56-4740-94E9-7F79031F1F2E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:23:30 GMT", + "Date" : "Sun, 24 May 2020 08:34:00 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "30858CDE-D7E0-4771-8743-AFFA2E5BBE2C", + "id" : "2BCBAAAE-6B56-4740-94E9-7F79031F1F2E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "30858CDE-D7E0-4771-8743-AFFA2E5BBE2C", + "id" : "2BCBAAAE-6B56-4740-94E9-7F79031F1F2E", "type" : 4 }, { - "id" : "3B41D416-A510-4C02-A34D-5FA0D03CB4A5", + "id" : "BF791588-536C-495C-B6E2-188BA5C6482C", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3B41D416-A510-4C02-A34D-5FA0D03CB4A5", + "id" : "BF791588-536C-495C-B6E2-188BA5C6482C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:23:30 GMT", + "Date" : "Sun, 24 May 2020 08:34:00 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "3B41D416-A510-4C02-A34D-5FA0D03CB4A5", + "id" : "BF791588-536C-495C-B6E2-188BA5C6482C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "3B41D416-A510-4C02-A34D-5FA0D03CB4A5", + "id" : "BF791588-536C-495C-B6E2-188BA5C6482C", "type" : 4 }, { - "id" : "ABA77E74-8A45-456E-9297-2FB9E2946D4D", + "id" : "2E08B147-542C-41DD-9D66-5F415DF77188", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "ABA77E74-8A45-456E-9297-2FB9E2946D4D", + "id" : "2E08B147-542C-41DD-9D66-5F415DF77188", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:23:30 GMT", + "Date" : "Sun, 24 May 2020 08:34:01 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "ABA77E74-8A45-456E-9297-2FB9E2946D4D", + "id" : "2E08B147-542C-41DD-9D66-5F415DF77188", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzoyMzozMC4zMzEyNjlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MjM6MzAuMzMxMjY5WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNDowMS4yMzg2OTFaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "ABA77E74-8A45-456E-9297-2FB9E2946D4D", + "id" : "2E08B147-542C-41DD-9D66-5F415DF77188", "type" : 4 }, { - "id" : "9B83CE4B-8DB6-4540-B3D8-56C70092B595", + "id" : "AB68979C-DF66-4A6A-B26E-DB21F95309C0", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9B83CE4B-8DB6-4540-B3D8-56C70092B595", + "id" : "AB68979C-DF66-4A6A-B26E-DB21F95309C0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:23:32 GMT", + "Date" : "Sun, 24 May 2020 08:34:01 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "9B83CE4B-8DB6-4540-B3D8-56C70092B595", + "id" : "AB68979C-DF66-4A6A-B26E-DB21F95309C0", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjIzOjMxLjk0NjEyOVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzoyMzozMS45NDYxMjlaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNDowMS40NjE3ODlaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "9B83CE4B-8DB6-4540-B3D8-56C70092B595", + "id" : "AB68979C-DF66-4A6A-B26E-DB21F95309C0", "type" : 4 }, { - "id" : "63A503D2-CA24-497E-B150-B5D06EEA302E", + "id" : "0DC36FE2-AA7E-48E8-BF09-B33AD8803389", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "63A503D2-CA24-497E-B150-B5D06EEA302E", + "id" : "0DC36FE2-AA7E-48E8-BF09-B33AD8803389", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:23:33 GMT", + "Date" : "Sun, 24 May 2020 08:34:02 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "63A503D2-CA24-497E-B150-B5D06EEA302E", + "id" : "0DC36FE2-AA7E-48E8-BF09-B33AD8803389", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjIzOjMyLjUyNTEwNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzoyMzozMi41MjUxMDVaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM0OjAyLjY5NloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "63A503D2-CA24-497E-B150-B5D06EEA302E", + "id" : "0DC36FE2-AA7E-48E8-BF09-B33AD8803389", "type" : 4 }, { - "id" : "A00E84FD-48E1-4E16-ACA7-908B9B81E51B", + "id" : "499018E5-24FA-4AE6-872C-AFFAC150142B", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A00E84FD-48E1-4E16-ACA7-908B9B81E51B", + "id" : "499018E5-24FA-4AE6-872C-AFFAC150142B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:23:36 GMT", + "Date" : "Sun, 24 May 2020 08:34:03 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "A00E84FD-48E1-4E16-ACA7-908B9B81E51B", + "id" : "499018E5-24FA-4AE6-872C-AFFAC150142B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzoyMzozNC41MjEwN1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzoyMzozNC41MjEwN1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6MjM6MzUuMjE1OTU0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjIzOjM1LjIxNTk1NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzQ6MDMuOTM5NDQxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzQ6MDMuOTQ2NDg2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "A00E84FD-48E1-4E16-ACA7-908B9B81E51B", + "id" : "499018E5-24FA-4AE6-872C-AFFAC150142B", "type" : 4 }, { - "id" : "010F8EFC-6B0A-4412-8407-24A112EAC934", + "id" : "557FAF8E-2EB9-41B7-B307-1744447C0B00", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,33 +342,33 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "58", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "010F8EFC-6B0A-4412-8407-24A112EAC934", + "id" : "557FAF8E-2EB9-41B7-B307-1744447C0B00", "data" : { "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:23:38 GMT", + "Date" : "Sun, 24 May 2020 08:34:05 GMT", "Content-Type" : "application\/json", - "Content-Length" : "196", + "Content-Length" : "175", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -376,19 +376,19 @@ "type" : 1 }, { - "id" : "010F8EFC-6B0A-4412-8407-24A112EAC934", + "id" : "557FAF8E-2EB9-41B7-B307-1744447C0B00", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzoyMzozNS4yMTU5NTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MjM6MzUuMjE1OTU0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzQ6MDMuOTQ2NDg2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" }, "type" : 2 }, { - "id" : "010F8EFC-6B0A-4412-8407-24A112EAC934", + "id" : "557FAF8E-2EB9-41B7-B307-1744447C0B00", "type" : 4 }, { - "id" : "010F8EFC-6B0A-4412-8407-24A112EAC938", + "id" : "557FAF8E-2EB9-41B7-B307-1744447C0B01", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -398,33 +398,33 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "58", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "010F8EFC-6B0A-4412-8407-24A112EAC938", + "id" : "557FAF8E-2EB9-41B7-B307-1744447C0B01", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:23:38 GMT", + "Date" : "Sun, 24 May 2020 08:34:05 GMT", "Content-Type" : "application\/json", - "Content-Length" : "196", + "Content-Length" : "175", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -432,19 +432,19 @@ "type" : 1 }, { - "id" : "010F8EFC-6B0A-4412-8407-24A112EAC938", + "id" : "557FAF8E-2EB9-41B7-B307-1744447C0B01", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzoyMzozNS4yMTU5NTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MjM6MzUuMjE1OTU0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzQ6MDMuOTQ2NDg2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" }, "type" : 2 }, { - "id" : "010F8EFC-6B0A-4412-8407-24A112EAC938", + "id" : "557FAF8E-2EB9-41B7-B307-1744447C0B01", "type" : 4 }, { - "id" : "031CAD1C-3846-4924-B0B5-EC411135A17B", + "id" : "D6119065-A636-47D3-B8BD-DCCA0A07DF29", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -454,31 +454,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "55", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "031CAD1C-3846-4924-B0B5-EC411135A17B", + "id" : "D6119065-A636-47D3-B8BD-DCCA0A07DF29", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:23:40 GMT", + "Date" : "Sun, 24 May 2020 08:34:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -488,7 +488,7 @@ "type" : 1 }, { - "id" : "031CAD1C-3846-4924-B0B5-EC411135A17B", + "id" : "D6119065-A636-47D3-B8BD-DCCA0A07DF29", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -496,11 +496,11 @@ "type" : 2 }, { - "id" : "031CAD1C-3846-4924-B0B5-EC411135A17B", + "id" : "D6119065-A636-47D3-B8BD-DCCA0A07DF29", "type" : 4 }, { - "id" : "05CFD540-71DB-4171-A8D7-03996B663C2A", + "id" : "8558650F-9910-48E4-85AD-371E9E828699", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -509,26 +509,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "05CFD540-71DB-4171-A8D7-03996B663C2A", + "id" : "8558650F-9910-48E4-85AD-371E9E828699", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:23:41 GMT", + "Date" : "Sun, 24 May 2020 08:34:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -538,7 +538,7 @@ "type" : 1 }, { - "id" : "05CFD540-71DB-4171-A8D7-03996B663C2A", + "id" : "8558650F-9910-48E4-85AD-371E9E828699", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -546,11 +546,11 @@ "type" : 2 }, { - "id" : "05CFD540-71DB-4171-A8D7-03996B663C2A", + "id" : "8558650F-9910-48E4-85AD-371E9E828699", "type" : 4 }, { - "id" : "F0B22254-72B2-4447-AFB2-29F0BBC2D4A5", + "id" : "21213B6F-6F00-49BD-9B30-570601D927FA", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -559,26 +559,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F0B22254-72B2-4447-AFB2-29F0BBC2D4A5", + "id" : "21213B6F-6F00-49BD-9B30-570601D927FA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:23:42 GMT", + "Date" : "Sun, 24 May 2020 08:34:07 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -588,7 +588,7 @@ "type" : 1 }, { - "id" : "F0B22254-72B2-4447-AFB2-29F0BBC2D4A5", + "id" : "21213B6F-6F00-49BD-9B30-570601D927FA", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -596,11 +596,11 @@ "type" : 2 }, { - "id" : "F0B22254-72B2-4447-AFB2-29F0BBC2D4A5", + "id" : "21213B6F-6F00-49BD-9B30-570601D927FA", "type" : 4 }, { - "id" : "84B21FD8-6387-45D8-A398-5F4E8745F8B6", + "id" : "DC534D21-DF4B-488F-B92C-D5E57E9FD3C2", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -609,26 +609,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "84B21FD8-6387-45D8-A398-5F4E8745F8B6", + "id" : "DC534D21-DF4B-488F-B92C-D5E57E9FD3C2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:23:43 GMT", + "Date" : "Sun, 24 May 2020 08:34:08 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -638,7 +638,7 @@ "type" : 1 }, { - "id" : "84B21FD8-6387-45D8-A398-5F4E8745F8B6", + "id" : "DC534D21-DF4B-488F-B92C-D5E57E9FD3C2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -646,7 +646,7 @@ "type" : 2 }, { - "id" : "84B21FD8-6387-45D8-A398-5F4E8745F8B6", + "id" : "DC534D21-DF4B-488F-B92C-D5E57E9FD3C2", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnFilteredMembershipsInformationWhenFilterIsSet.json similarity index 52% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnFilteredMembershipsInformationWhenFilterIsSet.json index 82e441a60..eaa59695d 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnFilteredMembershipsInformationWhenFilterIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "A6E94074-D07D-4570-AC1F-7113E6DFA546", + "id" : "155F9785-1D03-4597-B1F4-94A7CFD1270D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A6E94074-D07D-4570-AC1F-7113E6DFA546", + "id" : "155F9785-1D03-4597-B1F4-94A7CFD1270D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:55 GMT", + "Date" : "Sun, 24 May 2020 08:53:16 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "A6E94074-D07D-4570-AC1F-7113E6DFA546", + "id" : "155F9785-1D03-4597-B1F4-94A7CFD1270D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "A6E94074-D07D-4570-AC1F-7113E6DFA546", + "id" : "155F9785-1D03-4597-B1F4-94A7CFD1270D", "type" : 4 }, { - "id" : "28F792E0-E82C-4D37-8BA6-11A5EEF4D446", + "id" : "9B9C2346-B825-4AD1-BF4E-577F40E78667", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "28F792E0-E82C-4D37-8BA6-11A5EEF4D446", + "id" : "9B9C2346-B825-4AD1-BF4E-577F40E78667", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:55 GMT", + "Date" : "Sun, 24 May 2020 08:53:16 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "28F792E0-E82C-4D37-8BA6-11A5EEF4D446", + "id" : "9B9C2346-B825-4AD1-BF4E-577F40E78667", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "28F792E0-E82C-4D37-8BA6-11A5EEF4D446", + "id" : "9B9C2346-B825-4AD1-BF4E-577F40E78667", "type" : 4 }, { - "id" : "22012F2E-782D-4A88-BC97-AD782D4ADB70", + "id" : "1F546CC9-8D61-448B-AF20-B240CADDDBC9", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "22012F2E-782D-4A88-BC97-AD782D4ADB70", + "id" : "1F546CC9-8D61-448B-AF20-B240CADDDBC9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:56 GMT", + "Date" : "Sun, 24 May 2020 08:53:17 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "22012F2E-782D-4A88-BC97-AD782D4ADB70", + "id" : "1F546CC9-8D61-448B-AF20-B240CADDDBC9", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzo1NS45NjQzMjRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzc6NTUuOTY0MzI0WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzoxNy4wNjc1NjRaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "22012F2E-782D-4A88-BC97-AD782D4ADB70", + "id" : "1F546CC9-8D61-448B-AF20-B240CADDDBC9", "type" : 4 }, { - "id" : "3EB69C12-50CD-4377-9BFF-7F5E15C0EE0E", + "id" : "69C19360-5853-49DD-B6C5-BDF58EEB783D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3EB69C12-50CD-4377-9BFF-7F5E15C0EE0E", + "id" : "69C19360-5853-49DD-B6C5-BDF58EEB783D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:58 GMT", + "Date" : "Sun, 24 May 2020 08:53:17 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "3EB69C12-50CD-4377-9BFF-7F5E15C0EE0E", + "id" : "69C19360-5853-49DD-B6C5-BDF58EEB783D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjU3LjU2ODkxN1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzo1Ny41Njg5MTdaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzoxNy4zNTg5MzVaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "3EB69C12-50CD-4377-9BFF-7F5E15C0EE0E", + "id" : "69C19360-5853-49DD-B6C5-BDF58EEB783D", "type" : 4 }, { - "id" : "73E923EE-6F78-4372-B33A-AE1D3E3874B5", + "id" : "4F4E8CB4-C739-46EC-B91B-80A869678AB5", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "73E923EE-6F78-4372-B33A-AE1D3E3874B5", + "id" : "4F4E8CB4-C739-46EC-B91B-80A869678AB5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:58 GMT", + "Date" : "Sun, 24 May 2020 08:53:18 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "73E923EE-6F78-4372-B33A-AE1D3E3874B5", + "id" : "4F4E8CB4-C739-46EC-B91B-80A869678AB5", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjU4LjE2NzI5NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzo1OC4xNjcyOTVaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjE4LjcwMDI1NloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "73E923EE-6F78-4372-B33A-AE1D3E3874B5", + "id" : "4F4E8CB4-C739-46EC-B91B-80A869678AB5", "type" : 4 }, { - "id" : "40BCF716-6415-45ED-8105-F37C8F69BE18", + "id" : "CA3B46A6-8C73-456A-A7FD-C3A6D3E23A1C", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "40BCF716-6415-45ED-8105-F37C8F69BE18", + "id" : "CA3B46A6-8C73-456A-A7FD-C3A6D3E23A1C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:01 GMT", + "Date" : "Sun, 24 May 2020 08:53:20 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "40BCF716-6415-45ED-8105-F37C8F69BE18", + "id" : "CA3B46A6-8C73-456A-A7FD-C3A6D3E23A1C", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODowMC4xODMzMTVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6MDAuMTgzMzE1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozODowMC44Nzc3NThaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzg6MDAuODc3NzU4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6MjAuMDE2NDk5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6MjAuMDEwMzYyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "40BCF716-6415-45ED-8105-F37C8F69BE18", + "id" : "CA3B46A6-8C73-456A-A7FD-C3A6D3E23A1C", "type" : 4 }, { - "id" : "CDC6E4D2-F2FC-4B1C-BAA9-25960CA652C0", + "id" : "B0E1C88F-B942-459E-8D2A-439E3E3CAFD1", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "58", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?filter=channel.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii" }, "type" : 0 }, { - "id" : "CDC6E4D2-F2FC-4B1C-BAA9-25960CA652C0", + "id" : "B0E1C88F-B942-459E-8D2A-439E3E3CAFD1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?filter=channel.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:38:03 GMT", + "Date" : "Sun, 24 May 2020 08:53:21 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,19 +378,19 @@ "type" : 1 }, { - "id" : "CDC6E4D2-F2FC-4B1C-BAA9-25960CA652C0", + "id" : "B0E1C88F-B942-459E-8D2A-439E3E3CAFD1", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjU4LjE2NzI5NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzo1OC4xNjcyOTVaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM4OjAwLjg3Nzc1OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozODowMC44Nzc3NThaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTVEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzoxNy4zNTg5MzVaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzoyMC4wMTY0OTlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" }, "type" : 2 }, { - "id" : "CDC6E4D2-F2FC-4B1C-BAA9-25960CA652C0", + "id" : "B0E1C88F-B942-459E-8D2A-439E3E3CAFD1", "type" : 4 }, { - "id" : "2C33DB45-15C4-4ABC-A3C2-8FB00AE61EB4", + "id" : "26259155-5022-4D56-B406-ADE90E893660", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -400,31 +400,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "55", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2C33DB45-15C4-4ABC-A3C2-8FB00AE61EB4", + "id" : "26259155-5022-4D56-B406-ADE90E893660", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:06 GMT", + "Date" : "Sun, 24 May 2020 08:53:22 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -434,7 +434,7 @@ "type" : 1 }, { - "id" : "2C33DB45-15C4-4ABC-A3C2-8FB00AE61EB4", + "id" : "26259155-5022-4D56-B406-ADE90E893660", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -442,11 +442,11 @@ "type" : 2 }, { - "id" : "2C33DB45-15C4-4ABC-A3C2-8FB00AE61EB4", + "id" : "26259155-5022-4D56-B406-ADE90E893660", "type" : 4 }, { - "id" : "A1EA7906-EF3E-4DCB-9DC6-C11C6D287B1C", + "id" : "FE9577F5-8060-497E-92EB-9F72CCB78ED4", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -455,26 +455,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A1EA7906-EF3E-4DCB-9DC6-C11C6D287B1C", + "id" : "FE9577F5-8060-497E-92EB-9F72CCB78ED4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:06 GMT", + "Date" : "Sun, 24 May 2020 08:53:22 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -484,7 +484,7 @@ "type" : 1 }, { - "id" : "A1EA7906-EF3E-4DCB-9DC6-C11C6D287B1C", + "id" : "FE9577F5-8060-497E-92EB-9F72CCB78ED4", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -492,11 +492,11 @@ "type" : 2 }, { - "id" : "A1EA7906-EF3E-4DCB-9DC6-C11C6D287B1C", + "id" : "FE9577F5-8060-497E-92EB-9F72CCB78ED4", "type" : 4 }, { - "id" : "D3DFB381-A293-48DE-835A-BB8C325F3054", + "id" : "C7185C23-4B76-423F-BB00-B5408B80D451", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -505,26 +505,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D3DFB381-A293-48DE-835A-BB8C325F3054", + "id" : "C7185C23-4B76-423F-BB00-B5408B80D451", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:07 GMT", + "Date" : "Sun, 24 May 2020 08:53:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -534,7 +534,7 @@ "type" : 1 }, { - "id" : "D3DFB381-A293-48DE-835A-BB8C325F3054", + "id" : "C7185C23-4B76-423F-BB00-B5408B80D451", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -542,11 +542,11 @@ "type" : 2 }, { - "id" : "D3DFB381-A293-48DE-835A-BB8C325F3054", + "id" : "C7185C23-4B76-423F-BB00-B5408B80D451", "type" : 4 }, { - "id" : "62F5870E-3902-426E-A1DD-748C8EFFD2D5", + "id" : "01F47C60-EC3A-4D75-BBC5-9FFE381E6DD9", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -555,26 +555,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "62F5870E-3902-426E-A1DD-748C8EFFD2D5", + "id" : "01F47C60-EC3A-4D75-BBC5-9FFE381E6DD9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:38:09 GMT", + "Date" : "Sun, 24 May 2020 08:53:24 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -584,7 +584,7 @@ "type" : 1 }, { - "id" : "62F5870E-3902-426E-A1DD-748C8EFFD2D5", + "id" : "01F47C60-EC3A-4D75-BBC5-9FFE381E6DD9", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -592,7 +592,7 @@ "type" : 2 }, { - "id" : "62F5870E-3902-426E-A1DD-748C8EFFD2D5", + "id" : "01F47C60-EC3A-4D75-BBC5-9FFE381E6DD9", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnFilteredUserInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnMembershipsInformationWhenIncludeFlagIsSet.json similarity index 52% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnFilteredUserInformationWhenFilterIsSet.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnMembershipsInformationWhenIncludeFlagIsSet.json index 89382d317..b7173b9ae 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldDeleteMembersAndReturnFilteredUserInformationWhenFilterIsSet.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnMembershipsInformationWhenIncludeFlagIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "4B71D914-87AA-4262-82E5-517E570338C5", + "id" : "F0B619D4-77C3-4E55-9D8B-E5F9C9F6F46E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4B71D914-87AA-4262-82E5-517E570338C5", + "id" : "F0B619D4-77C3-4E55-9D8B-E5F9C9F6F46E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:39 GMT", + "Date" : "Sun, 24 May 2020 08:53:26 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "4B71D914-87AA-4262-82E5-517E570338C5", + "id" : "F0B619D4-77C3-4E55-9D8B-E5F9C9F6F46E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "4B71D914-87AA-4262-82E5-517E570338C5", + "id" : "F0B619D4-77C3-4E55-9D8B-E5F9C9F6F46E", "type" : 4 }, { - "id" : "2184D7D1-6C96-4765-AAC3-CC0DE15C08F6", + "id" : "E1C81875-A9DB-4977-962F-A6E73A2C03B6", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2184D7D1-6C96-4765-AAC3-CC0DE15C08F6", + "id" : "E1C81875-A9DB-4977-962F-A6E73A2C03B6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:39 GMT", + "Date" : "Sun, 24 May 2020 08:53:26 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "2184D7D1-6C96-4765-AAC3-CC0DE15C08F6", + "id" : "E1C81875-A9DB-4977-962F-A6E73A2C03B6", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "2184D7D1-6C96-4765-AAC3-CC0DE15C08F6", + "id" : "E1C81875-A9DB-4977-962F-A6E73A2C03B6", "type" : 4 }, { - "id" : "2DDC45AA-04E2-4A19-B350-81EB8498B6C3", + "id" : "D5B7D6A9-5C64-4FF5-ADE0-B22A2D53DA07", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2DDC45AA-04E2-4A19-B350-81EB8498B6C3", + "id" : "D5B7D6A9-5C64-4FF5-ADE0-B22A2D53DA07", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:40 GMT", + "Date" : "Sun, 24 May 2020 08:53:26 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "2DDC45AA-04E2-4A19-B350-81EB8498B6C3", + "id" : "D5B7D6A9-5C64-4FF5-ADE0-B22A2D53DA07", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzozOS43MjM0NTFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzc6MzkuNzIzNDUxWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzoyNi41ODk0MzNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "2DDC45AA-04E2-4A19-B350-81EB8498B6C3", + "id" : "D5B7D6A9-5C64-4FF5-ADE0-B22A2D53DA07", "type" : 4 }, { - "id" : "1F56CB13-AE62-456A-B7B6-A935368A4734", + "id" : "70813C9C-3ECA-4169-8C97-5AACE96C7625", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1F56CB13-AE62-456A-B7B6-A935368A4734", + "id" : "70813C9C-3ECA-4169-8C97-5AACE96C7625", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:41 GMT", + "Date" : "Sun, 24 May 2020 08:53:26 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "1F56CB13-AE62-456A-B7B6-A935368A4734", + "id" : "70813C9C-3ECA-4169-8C97-5AACE96C7625", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjQxLjM4ODgwNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzo0MS4zODg4MDVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzoyNi44MDk5MDZaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "1F56CB13-AE62-456A-B7B6-A935368A4734", + "id" : "70813C9C-3ECA-4169-8C97-5AACE96C7625", "type" : 4 }, { - "id" : "42B8FF53-1D30-4EB6-950D-2291E106C220", + "id" : "7E9CD351-EDAF-4060-8248-5B0D754B71E8", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "42B8FF53-1D30-4EB6-950D-2291E106C220", + "id" : "7E9CD351-EDAF-4060-8248-5B0D754B71E8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:42 GMT", + "Date" : "Sun, 24 May 2020 08:53:28 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "42B8FF53-1D30-4EB6-950D-2291E106C220", + "id" : "7E9CD351-EDAF-4060-8248-5B0D754B71E8", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjQxLjk5MTYxMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzo0MS45OTE2MTJaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjI4LjA0ODI0N1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "42B8FF53-1D30-4EB6-950D-2291E106C220", + "id" : "7E9CD351-EDAF-4060-8248-5B0D754B71E8", "type" : 4 }, { - "id" : "5E402086-7C65-4F83-83F6-1225AE7BC276", + "id" : "D5DC332B-9B23-4D0E-8863-D1E117217B2D", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5E402086-7C65-4F83-83F6-1225AE7BC276", + "id" : "D5DC332B-9B23-4D0E-8863-D1E117217B2D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:45 GMT", + "Date" : "Sun, 24 May 2020 08:53:29 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "5E402086-7C65-4F83-83F6-1225AE7BC276", + "id" : "D5DC332B-9B23-4D0E-8863-D1E117217B2D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzo0NC4wMjU3MTZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzc6NDQuMDI1NzE2WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzo0NC43MjU1NzRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6Mzc6NDQuNzI1NTc0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6MjkuMzExN1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjI5LjMwMDcwOVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "5E402086-7C65-4F83-83F6-1225AE7BC276", + "id" : "D5DC332B-9B23-4D0E-8863-D1E117217B2D", "type" : 4 }, { - "id" : "796906AB-046C-427F-81D5-805C21AB1D63", + "id" : "00DFA507-5876-462A-A148-D46C00840A35", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "58", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?filter=user.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "796906AB-046C-427F-81D5-805C21AB1D63", + "id" : "00DFA507-5876-462A-A148-D46C00840A35", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?filter=user.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:37:47 GMT", + "Date" : "Sun, 24 May 2020 08:53:30 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,19 +378,19 @@ "type" : 1 }, { - "id" : "796906AB-046C-427F-81D5-805C21AB1D63", + "id" : "00DFA507-5876-462A-A148-D46C00840A35", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjQxLjk5MTYxMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzo0MS45OTE2MTJaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM3OjQ0LjcyNTU3NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNzo0NC43MjU1NzRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzoyNi44MDk5MDZaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzoyOS4zMTE3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" }, "type" : 2 }, { - "id" : "796906AB-046C-427F-81D5-805C21AB1D63", + "id" : "00DFA507-5876-462A-A148-D46C00840A35", "type" : 4 }, { - "id" : "706AE725-3E5E-4792-9276-F0F182A00D6E", + "id" : "92FD32CE-20EF-4DE6-95A0-77576B8827B8", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -400,31 +400,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "55", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "706AE725-3E5E-4792-9276-F0F182A00D6E", + "id" : "92FD32CE-20EF-4DE6-95A0-77576B8827B8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:50 GMT", + "Date" : "Sun, 24 May 2020 08:53:31 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -434,7 +434,7 @@ "type" : 1 }, { - "id" : "706AE725-3E5E-4792-9276-F0F182A00D6E", + "id" : "92FD32CE-20EF-4DE6-95A0-77576B8827B8", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -442,11 +442,11 @@ "type" : 2 }, { - "id" : "706AE725-3E5E-4792-9276-F0F182A00D6E", + "id" : "92FD32CE-20EF-4DE6-95A0-77576B8827B8", "type" : 4 }, { - "id" : "F95A0B63-3A12-4552-82FB-D1D71C0397E1", + "id" : "48250671-DF6D-4A57-9FF9-94D550A8B216", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -455,26 +455,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F95A0B63-3A12-4552-82FB-D1D71C0397E1", + "id" : "48250671-DF6D-4A57-9FF9-94D550A8B216", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:51 GMT", + "Date" : "Sun, 24 May 2020 08:53:32 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -484,7 +484,7 @@ "type" : 1 }, { - "id" : "F95A0B63-3A12-4552-82FB-D1D71C0397E1", + "id" : "48250671-DF6D-4A57-9FF9-94D550A8B216", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -492,11 +492,11 @@ "type" : 2 }, { - "id" : "F95A0B63-3A12-4552-82FB-D1D71C0397E1", + "id" : "48250671-DF6D-4A57-9FF9-94D550A8B216", "type" : 4 }, { - "id" : "29045478-524B-4DA6-BEBA-7B7DFE507665", + "id" : "F681CCE4-5458-4406-BA00-B0978ABADB1A", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -505,26 +505,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "29045478-524B-4DA6-BEBA-7B7DFE507665", + "id" : "F681CCE4-5458-4406-BA00-B0978ABADB1A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:51 GMT", + "Date" : "Sun, 24 May 2020 08:53:33 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -534,7 +534,7 @@ "type" : 1 }, { - "id" : "29045478-524B-4DA6-BEBA-7B7DFE507665", + "id" : "F681CCE4-5458-4406-BA00-B0978ABADB1A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -542,11 +542,11 @@ "type" : 2 }, { - "id" : "29045478-524B-4DA6-BEBA-7B7DFE507665", + "id" : "F681CCE4-5458-4406-BA00-B0978ABADB1A", "type" : 4 }, { - "id" : "7D76DD40-2A1C-437A-A5F7-92936021031A", + "id" : "C97C2EFE-AF42-4C1B-9928-A54D1FDF8C24", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -555,26 +555,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7D76DD40-2A1C-437A-A5F7-92936021031A", + "id" : "C97C2EFE-AF42-4C1B-9928-A54D1FDF8C24", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:37:53 GMT", + "Date" : "Sun, 24 May 2020 08:53:33 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -584,7 +584,7 @@ "type" : 1 }, { - "id" : "7D76DD40-2A1C-437A-A5F7-92936021031A", + "id" : "C97C2EFE-AF42-4C1B-9928-A54D1FDF8C24", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -592,7 +592,7 @@ "type" : 2 }, { - "id" : "7D76DD40-2A1C-437A-A5F7-92936021031A", + "id" : "C97C2EFE-AF42-4C1B-9928-A54D1FDF8C24", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnSortedMembershipsInformationWhenSortedIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnSortedMembershipsInformationWhenSortedIsSet.json new file mode 100644 index 000000000..c5a03e385 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndReturnSortedMembershipsInformationWhenSortedIsSet.json @@ -0,0 +1,920 @@ +[ + { + "id" : "D3D92328-55D1-40D5-BE71-5716C2A18A9A", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D3D92328-55D1-40D5-BE71-5716C2A18A9A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:35 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "D3D92328-55D1-40D5-BE71-5716C2A18A9A", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "D3D92328-55D1-40D5-BE71-5716C2A18A9A", + "type" : 4 + }, + { + "id" : "6B6611A4-6E7F-4414-BC7A-A5032D4F8847", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "6B6611A4-6E7F-4414-BC7A-A5032D4F8847", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:35 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "6B6611A4-6E7F-4414-BC7A-A5032D4F8847", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "6B6611A4-6E7F-4414-BC7A-A5032D4F8847", + "type" : 4 + }, + { + "id" : "7BB9F72B-C8A1-48C5-8E16-1E831F12E6FB", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7BB9F72B-C8A1-48C5-8E16-1E831F12E6FB", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:53:35 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "7BB9F72B-C8A1-48C5-8E16-1E831F12E6FB", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozNS45NzU4OVoiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifX0=" + }, + "type" : 2 + }, + { + "id" : "7BB9F72B-C8A1-48C5-8E16-1E831F12E6FB", + "type" : 4 + }, + { + "id" : "4BD5B253-7844-415D-8B7D-7BDEB2D5054B", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "4BD5B253-7844-415D-8B7D-7BDEB2D5054B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:53:36 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "4BD5B253-7844-415D-8B7D-7BDEB2D5054B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozNi4xOTU5NzlaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "4BD5B253-7844-415D-8B7D-7BDEB2D5054B", + "type" : 4 + }, + { + "id" : "0B728C06-A45B-4BB1-9AB0-D7E39C192630", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "0B728C06-A45B-4BB1-9AB0-D7E39C192630", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:53:36 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "0B728C06-A45B-4BB1-9AB0-D7E39C192630", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6MzYuNDI2NDc2WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" + }, + "type" : 2 + }, + { + "id" : "0B728C06-A45B-4BB1-9AB0-D7E39C192630", + "type" : 4 + }, + { + "id" : "3C055769-039E-4D1E-9E69-4B882D688B57", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3C055769-039E-4D1E-9E69-4B882D688B57", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:53:36 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "3C055769-039E-4D1E-9E69-4B882D688B57", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6MzYuNjUxMTgzWiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "3C055769-039E-4D1E-9E69-4B882D688B57", + "type" : 4 + }, + { + "id" : "AAC43F25-D700-4F3D-B498-5F894B37406D", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "AAC43F25-D700-4F3D-B498-5F894B37406D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:36 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "254", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "AAC43F25-D700-4F3D-B498-5F894B37406D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozNi44NzY0NjJaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" + }, + "type" : 2 + }, + { + "id" : "AAC43F25-D700-4F3D-B498-5F894B37406D", + "type" : 4 + }, + { + "id" : "E86556FE-FAFC-4CA0-9BD1-4319755A434C", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "E86556FE-FAFC-4CA0-9BD1-4319755A434C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:53:38 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "E86556FE-FAFC-4CA0-9BD1-4319755A434C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjM4LjEyMzY4OFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "E86556FE-FAFC-4CA0-9BD1-4319755A434C", + "type" : 4 + }, + { + "id" : "465413FD-27A8-4D67-A0C2-EB1BACF22849", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "318", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiTWlkbmlnaHQtY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "465413FD-27A8-4D67-A0C2-EB1BACF22849", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:53:39 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "465413FD-27A8-4D67-A0C2-EB1BACF22849", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6MzYuODc2NDYyWiIsImVUYWciOiJBZTJ6aHBMRTBLaVJEdyJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjM5LjM4ODAzOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6MzYuNDI2NDc2WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozOS4zNjc1ODNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozNS45NzU4OVoiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozOS4zNzMwMjlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiTWlkbmlnaHQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ik1pZG5pZ2h0IiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjM2LjY1MTE4M1oiLCJlVGFnIjoiQWFTSnlzR2Fvc3pxSFEifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozOS4zODMxMTVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozNi4xOTU5NzlaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjM5LjM3ODMwMVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOUSJ9" + }, + "type" : 2 + }, + { + "id" : "465413FD-27A8-4D67-A0C2-EB1BACF22849", + "type" : 4 + }, + { + "id" : "08CF4951-93D9-41D0-A3E8-3297BDF998FF", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "74", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "08CF4951-93D9-41D0-A3E8-3297BDF998FF", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:53:40 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "08CF4951-93D9-41D0-A3E8-3297BDF998FF", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozNi44NzY0NjJaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjM5LjM4ODAzOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjM2LjQyNjQ3NloiLCJlVGFnIjoiQWFUays3T1J6TmFoMGdFIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjM5LjM2NzU4M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjM2LjY1MTE4M1oiLCJlVGFnIjoiQWFTSnlzR2Fvc3pxSFEifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6MzkuMzgzMTE1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozNi4xOTU5NzlaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1MzozOS4zNzgzMDFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50Ijo0LCJuZXh0IjoiTkEifQ==" + }, + "type" : 2 + }, + { + "id" : "08CF4951-93D9-41D0-A3E8-3297BDF998FF", + "type" : 4 + }, + { + "id" : "FCEC0B97-C37C-442C-A739-E50DD3AB52E9", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "259", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiV3lubi1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiU29sc3RpY2UtY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "FCEC0B97-C37C-442C-A739-E50DD3AB52E9", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:41 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "FCEC0B97-C37C-442C-A739-E50DD3AB52E9", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "FCEC0B97-C37C-442C-A739-E50DD3AB52E9", + "type" : 4 + }, + { + "id" : "0C7273AB-208D-405E-8E98-07D863DDD41C", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "0C7273AB-208D-405E-8E98-07D863DDD41C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:42 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "0C7273AB-208D-405E-8E98-07D863DDD41C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "0C7273AB-208D-405E-8E98-07D863DDD41C", + "type" : 4 + }, + { + "id" : "802302F2-C83B-466B-A517-48D0443A201A", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "802302F2-C83B-466B-A517-48D0443A201A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:43 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "802302F2-C83B-466B-A517-48D0443A201A", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "802302F2-C83B-466B-A517-48D0443A201A", + "type" : 4 + }, + { + "id" : "CE86F507-46E6-4E2E-BA23-C08EC2F2FC54", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "CE86F507-46E6-4E2E-BA23-C08EC2F2FC54", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:43 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "CE86F507-46E6-4E2E-BA23-C08EC2F2FC54", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "CE86F507-46E6-4E2E-BA23-C08EC2F2FC54", + "type" : 4 + }, + { + "id" : "D70637C6-B310-405F-ACA1-D48CF0693995", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D70637C6-B310-405F-ACA1-D48CF0693995", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:43 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "D70637C6-B310-405F-ACA1-D48CF0693995", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "D70637C6-B310-405F-ACA1-D48CF0693995", + "type" : 4 + }, + { + "id" : "8BC45FF2-7171-4115-9868-43BD02C74C8C", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8BC45FF2-7171-4115-9868-43BD02C74C8C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:44 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "8BC45FF2-7171-4115-9868-43BD02C74C8C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "8BC45FF2-7171-4115-9868-43BD02C74C8C", + "type" : 4 + }, + { + "id" : "4040B009-AF89-4A62-AC88-0823A12D8330", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "4040B009-AF89-4A62-AC88-0823A12D8330", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:44 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "4040B009-AF89-4A62-AC88-0823A12D8330", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "4040B009-AF89-4A62-AC88-0823A12D8330", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndTriggerDeleteEventOnSpaceChannel.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndTriggerDeleteEventOnChannel.json similarity index 55% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndTriggerDeleteEventOnSpaceChannel.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndTriggerDeleteEventOnChannel.json index 41aa32126..9213d24aa 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndTriggerDeleteEventOnSpaceChannel.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndTriggerDeleteEventOnChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "C60685BF-F5F2-4149-9A30-AF171CE3F919", + "id" : "C1C0AA61-C8F3-4322-AF06-6144F1876ACF", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C60685BF-F5F2-4149-9A30-AF171CE3F919", + "id" : "C1C0AA61-C8F3-4322-AF06-6144F1876ACF", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:06 GMT", + "Date" : "Sun, 24 May 2020 08:53:46 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "C60685BF-F5F2-4149-9A30-AF171CE3F919", + "id" : "C1C0AA61-C8F3-4322-AF06-6144F1876ACF", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "C60685BF-F5F2-4149-9A30-AF171CE3F919", + "id" : "C1C0AA61-C8F3-4322-AF06-6144F1876ACF", "type" : 4 }, { - "id" : "D9B3D5E8-1B8F-4099-8610-A78D10B2BCA6", + "id" : "FC50EED5-9FF8-4A8C-BCDE-19D0C73E4DCC", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D9B3D5E8-1B8F-4099-8610-A78D10B2BCA6", + "id" : "FC50EED5-9FF8-4A8C-BCDE-19D0C73E4DCC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:06 GMT", + "Date" : "Sun, 24 May 2020 08:53:46 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "D9B3D5E8-1B8F-4099-8610-A78D10B2BCA6", + "id" : "FC50EED5-9FF8-4A8C-BCDE-19D0C73E4DCC", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "D9B3D5E8-1B8F-4099-8610-A78D10B2BCA6", + "id" : "FC50EED5-9FF8-4A8C-BCDE-19D0C73E4DCC", "type" : 4 }, { - "id" : "9AFED682-F16D-4E74-8804-5AAB38BD4BC1", + "id" : "D324E403-E376-44EB-B1F2-12B8EF2AA2EB", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9AFED682-F16D-4E74-8804-5AAB38BD4BC1", + "id" : "D324E403-E376-44EB-B1F2-12B8EF2AA2EB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:07 GMT", + "Date" : "Sun, 24 May 2020 08:53:46 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "9AFED682-F16D-4E74-8804-5AAB38BD4BC1", + "id" : "D324E403-E376-44EB-B1F2-12B8EF2AA2EB", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTowNi41NTY5NTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6MDYuNTU2OTU0WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1Mzo0Ni44OTk5MjRaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "9AFED682-F16D-4E74-8804-5AAB38BD4BC1", + "id" : "D324E403-E376-44EB-B1F2-12B8EF2AA2EB", "type" : 4 }, { - "id" : "E288CFE1-4086-49C3-8A50-6B1868392023", + "id" : "94F7C919-C0CA-40F3-A3A9-59220936213E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E288CFE1-4086-49C3-8A50-6B1868392023", + "id" : "94F7C919-C0CA-40F3-A3A9-59220936213E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:07 GMT", + "Date" : "Sun, 24 May 2020 08:53:47 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "E288CFE1-4086-49C3-8A50-6B1868392023", + "id" : "94F7C919-C0CA-40F3-A3A9-59220936213E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTowNy4yNDU0N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTowNy4yNDU0N1oiLCJlVGFnIjoiQVpyRjY0YjlpTnltSXcifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1Mzo0Ny4xMTk3WiIsImVUYWciOiJBYldJbkllRzB1eW8wZ0UifX0=" }, "type" : 2 }, { - "id" : "E288CFE1-4086-49C3-8A50-6B1868392023", + "id" : "94F7C919-C0CA-40F3-A3A9-59220936213E", "type" : 4 }, { - "id" : "68FE50C1-7B1B-47E9-A88B-199B39ABE5A9", + "id" : "44A6FEEB-B66D-43A8-B788-6C777C20FFA5", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "68FE50C1-7B1B-47E9-A88B-199B39ABE5A9", + "id" : "44A6FEEB-B66D-43A8-B788-6C777C20FFA5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:09 GMT", + "Date" : "Sun, 24 May 2020 08:53:48 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "68FE50C1-7B1B-47E9-A88B-199B39ABE5A9", + "id" : "44A6FEEB-B66D-43A8-B788-6C777C20FFA5", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjA4Ljg4MjU3OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMTowOC44ODI1NzlaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjQ4LjM1NzU3MloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "68FE50C1-7B1B-47E9-A88B-199B39ABE5A9", + "id" : "44A6FEEB-B66D-43A8-B788-6C777C20FFA5", "type" : 4 }, { - "id" : "4D3BBD16-60E4-47DE-87A9-D23DDC8CD5C4", + "id" : "D5F6E93F-B780-4EC8-AEED-DD188804B73F", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4D3BBD16-60E4-47DE-87A9-D23DDC8CD5C4", + "id" : "D5F6E93F-B780-4EC8-AEED-DD188804B73F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:12 GMT", + "Date" : "Sun, 24 May 2020 08:53:49 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "4D3BBD16-60E4-47DE-87A9-D23DDC8CD5C4", + "id" : "D5F6E93F-B780-4EC8-AEED-DD188804B73F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjEwLjkxOTAyOVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMToxMC45MTkwMjlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6MTEuNjE0NTdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6MTEuNjE0NTdaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6NDkuNjE0Nzg4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6NDkuNjA4NzlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" }, "type" : 2 }, { - "id" : "4D3BBD16-60E4-47DE-87A9-D23DDC8CD5C4", + "id" : "D5F6E93F-B780-4EC8-AEED-DD188804B73F", "type" : 4 }, { - "id" : "A6B42FDA-2D2D-4E39-B594-7728365FEA47", + "id" : "EE95A113-1880-4EB6-B5E8-48CE0DB3D745", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +341,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A6B42FDA-2D2D-4E39-B594-7728365FEA47", + "id" : "EE95A113-1880-4EB6-B5E8-48CE0DB3D745", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:21:13 GMT", + "Date" : "Sun, 24 May 2020 08:53:51 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +371,19 @@ "type" : 1 }, { - "id" : "A6B42FDA-2D2D-4E39-B594-7728365FEA47", + "id" : "EE95A113-1880-4EB6-B5E8-48CE0DB3D745", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2NDcxNTM2MjgwMCIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNDI5NjEzNDg1NyIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "A6B42FDA-2D2D-4E39-B594-7728365FEA47", + "id" : "EE95A113-1880-4EB6-B5E8-48CE0DB3D745", "type" : 4 }, { - "id" : "7B64628C-6366-41A0-9355-D72CA5045BD9", + "id" : "3260B40C-830A-4BFA-8FA2-4645A359BF8D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,19 +392,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564715362800&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104296134857&tr=56" }, "type" : 0 }, { - "id" : "C6F1BCE3-1075-4F8B-B3CE-CC7492C429D8", + "id" : "22F117D6-A55E-47E7-85C2-13B10A5E90AD", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -414,34 +414,34 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "108", + "Content-Length" : "136", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7B64628C-6366-41A0-9355-D72CA5045BD9", + "id" : "3260B40C-830A-4BFA-8FA2-4645A359BF8D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564715362800&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104296134857&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:21:14 GMT", - "Content-Length" : "383", + "Date" : "Sun, 24 May 2020 08:53:51 GMT", + "Content-Length" : "399", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -449,19 +449,48 @@ "type" : 1 }, { - "id" : "7B64628C-6366-41A0-9355-D72CA5045BD9", + "id" : "22F117D6-A55E-47E7-85C2-13B10A5E90AD", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:53:51 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "3260B40C-830A-4BFA-8FA2-4645A359BF8D", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2NDc0Njk0NTY1MCIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2NDc0NjkzNjg1OSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoiZGVsZXRlIiwidHlwZSI6Im1lbWJlcnNoaXAiLCJkYXRhIjp7InNwYWNlSWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJ1c2VySWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIn19fV19" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNDMxMzIyOTA4NiIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNDMxMzI0MTk3MyIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJkZWxldGUiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" }, "type" : 2 }, { - "id" : "7B64628C-6366-41A0-9355-D72CA5045BD9", + "id" : "22F117D6-A55E-47E7-85C2-13B10A5E90AD", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "22F117D6-A55E-47E7-85C2-13B10A5E90AD", "type" : 4 }, { - "id" : "AD2776DA-3428-4D22-BDEA-61D6EBB8CD3D", + "id" : "3260B40C-830A-4BFA-8FA2-4645A359BF8D", + "type" : 4 + }, + { + "id" : "E91622A3-4746-402D-82FC-45C17A075DFD", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -470,25 +499,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564746945650&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104313229086&tr=56" }, "type" : 0 }, { - "id" : "AD2776DA-3428-4D22-BDEA-61D6EBB8CD3D", + "id" : "E91622A3-4746-402D-82FC-45C17A075DFD", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564746945650&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104313229086&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564746945650&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104313229086&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -496,7 +525,7 @@ "type" : 3 }, { - "id" : "14E3E9DB-139C-4FE4-B21D-9F76F5FEA0B8", + "id" : "7B76EFA5-FE95-4EAE-806E-6FD627BF0836", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -505,59 +534,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C6F1BCE3-1075-4F8B-B3CE-CC7492C429D8", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:14 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "C6F1BCE3-1075-4F8B-B3CE-CC7492C429D8", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "C6F1BCE3-1075-4F8B-B3CE-CC7492C429D8", - "type" : 4 - }, - { - "id" : "14E3E9DB-139C-4FE4-B21D-9F76F5FEA0B8", + "id" : "7B76EFA5-FE95-4EAE-806E-6FD627BF0836", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 06:21:15 GMT", + "Date" : "Sun, 24 May 2020 08:53:51 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -567,7 +567,7 @@ "type" : 1 }, { - "id" : "14E3E9DB-139C-4FE4-B21D-9F76F5FEA0B8", + "id" : "7B76EFA5-FE95-4EAE-806E-6FD627BF0836", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -575,11 +575,11 @@ "type" : 2 }, { - "id" : "14E3E9DB-139C-4FE4-B21D-9F76F5FEA0B8", + "id" : "7B76EFA5-FE95-4EAE-806E-6FD627BF0836", "type" : 4 }, { - "id" : "666A269E-E4D0-45B3-A490-C0D08078119C", + "id" : "E1848E7B-1130-49D4-A0F9-F48A0D6D1583", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -588,26 +588,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "666A269E-E4D0-45B3-A490-C0D08078119C", + "id" : "E1848E7B-1130-49D4-A0F9-F48A0D6D1583", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:15 GMT", + "Date" : "Sun, 24 May 2020 08:53:52 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -617,7 +617,7 @@ "type" : 1 }, { - "id" : "666A269E-E4D0-45B3-A490-C0D08078119C", + "id" : "E1848E7B-1130-49D4-A0F9-F48A0D6D1583", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -625,11 +625,11 @@ "type" : 2 }, { - "id" : "666A269E-E4D0-45B3-A490-C0D08078119C", + "id" : "E1848E7B-1130-49D4-A0F9-F48A0D6D1583", "type" : 4 }, { - "id" : "52C49124-DEB5-47C1-B143-1D1B9ADD450D", + "id" : "46FFB65C-454A-430E-9829-6B1758E08560", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -638,26 +638,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "52C49124-DEB5-47C1-B143-1D1B9ADD450D", + "id" : "46FFB65C-454A-430E-9829-6B1758E08560", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:17 GMT", + "Date" : "Sun, 24 May 2020 08:53:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -667,7 +667,7 @@ "type" : 1 }, { - "id" : "52C49124-DEB5-47C1-B143-1D1B9ADD450D", + "id" : "46FFB65C-454A-430E-9829-6B1758E08560", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -675,11 +675,11 @@ "type" : 2 }, { - "id" : "52C49124-DEB5-47C1-B143-1D1B9ADD450D", + "id" : "46FFB65C-454A-430E-9829-6B1758E08560", "type" : 4 }, { - "id" : "89D28DB6-2982-4EE2-BF34-277C324C8C7F", + "id" : "CDAAA632-686C-4135-B52E-42C54FD65526", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -688,26 +688,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "89D28DB6-2982-4EE2-BF34-277C324C8C7F", + "id" : "CDAAA632-686C-4135-B52E-42C54FD65526", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:18 GMT", + "Date" : "Sun, 24 May 2020 08:53:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -717,7 +717,7 @@ "type" : 1 }, { - "id" : "89D28DB6-2982-4EE2-BF34-277C324C8C7F", + "id" : "CDAAA632-686C-4135-B52E-42C54FD65526", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -725,7 +725,7 @@ "type" : 2 }, { - "id" : "89D28DB6-2982-4EE2-BF34-277C324C8C7F", + "id" : "CDAAA632-686C-4135-B52E-42C54FD65526", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndTriggerDeleteEventOnUserChannel.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndTriggerDeleteEventOnUUIDChannel.json similarity index 55% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndTriggerDeleteEventOnUserChannel.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndTriggerDeleteEventOnUUIDChannel.json index e23ae7f30..993d3dbf7 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndTriggerDeleteEventOnUserChannel.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipAndTriggerDeleteEventOnUUIDChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "FDD01802-0F7E-4F09-9BDF-33875865BABB", + "id" : "B451C88A-D76C-4437-A36A-1C4CF285ACAB", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FDD01802-0F7E-4F09-9BDF-33875865BABB", + "id" : "B451C88A-D76C-4437-A36A-1C4CF285ACAB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:20 GMT", + "Date" : "Sun, 24 May 2020 08:53:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "FDD01802-0F7E-4F09-9BDF-33875865BABB", + "id" : "B451C88A-D76C-4437-A36A-1C4CF285ACAB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "FDD01802-0F7E-4F09-9BDF-33875865BABB", + "id" : "B451C88A-D76C-4437-A36A-1C4CF285ACAB", "type" : 4 }, { - "id" : "A213B2D8-B856-4988-96B2-784E942CAB4D", + "id" : "1B1E94B8-2681-449D-B9C3-A43ABCB87063", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A213B2D8-B856-4988-96B2-784E942CAB4D", + "id" : "1B1E94B8-2681-449D-B9C3-A43ABCB87063", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:20 GMT", + "Date" : "Sun, 24 May 2020 08:53:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "A213B2D8-B856-4988-96B2-784E942CAB4D", + "id" : "1B1E94B8-2681-449D-B9C3-A43ABCB87063", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "A213B2D8-B856-4988-96B2-784E942CAB4D", + "id" : "1B1E94B8-2681-449D-B9C3-A43ABCB87063", "type" : 4 }, { - "id" : "23F56C75-6A7D-4202-8A25-1F6303AE1680", + "id" : "13AC79D2-CB72-4EE3-896B-C22D9537DDEF", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "23F56C75-6A7D-4202-8A25-1F6303AE1680", + "id" : "13AC79D2-CB72-4EE3-896B-C22D9537DDEF", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:21 GMT", + "Date" : "Sun, 24 May 2020 08:53:56 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "23F56C75-6A7D-4202-8A25-1F6303AE1680", + "id" : "13AC79D2-CB72-4EE3-896B-C22D9537DDEF", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMToyMC42MjY3MzFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6MjAuNjI2NzMxWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1Mzo1Ni4xMTQ1MloiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifX0=" }, "type" : 2 }, { - "id" : "23F56C75-6A7D-4202-8A25-1F6303AE1680", + "id" : "13AC79D2-CB72-4EE3-896B-C22D9537DDEF", "type" : 4 }, { - "id" : "8DB2D149-CF62-431F-B48A-3374D47FE8EB", + "id" : "2D86CBE0-269D-4B7B-A28B-4C71ABD515CB", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8DB2D149-CF62-431F-B48A-3374D47FE8EB", + "id" : "2D86CBE0-269D-4B7B-A28B-4C71ABD515CB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:21 GMT", + "Date" : "Sun, 24 May 2020 08:53:56 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "8DB2D149-CF62-431F-B48A-3374D47FE8EB", + "id" : "2D86CBE0-269D-4B7B-A28B-4C71ABD515CB", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMToyMS4yMTAyNzlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6MjEuMjEwMjc5WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1Mzo1Ni4zMzkzMTRaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "8DB2D149-CF62-431F-B48A-3374D47FE8EB", + "id" : "2D86CBE0-269D-4B7B-A28B-4C71ABD515CB", "type" : 4 }, { - "id" : "580B131E-9A45-4336-AB81-C693871AC465", + "id" : "D9D497C3-6264-4D11-BD9C-3E4C5A28FEDA", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "580B131E-9A45-4336-AB81-C693871AC465", + "id" : "D9D497C3-6264-4D11-BD9C-3E4C5A28FEDA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:23 GMT", + "Date" : "Sun, 24 May 2020 08:53:57 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "580B131E-9A45-4336-AB81-C693871AC465", + "id" : "D9D497C3-6264-4D11-BD9C-3E4C5A28FEDA", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjIyLjgxMjQ0M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMToyMi44MTI0NDNaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjUzOjU3LjU3MjczOFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "580B131E-9A45-4336-AB81-C693871AC465", + "id" : "D9D497C3-6264-4D11-BD9C-3E4C5A28FEDA", "type" : 4 }, { - "id" : "1161BF84-EA22-474F-A668-623C245186B7", + "id" : "ED7F6CEE-0DF9-41AE-ABE6-8C9FA47129C8", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1161BF84-EA22-474F-A668-623C245186B7", + "id" : "ED7F6CEE-0DF9-41AE-ABE6-8C9FA47129C8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:21:26 GMT", + "Date" : "Sun, 24 May 2020 08:53:58 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "1161BF84-EA22-474F-A668-623C245186B7", + "id" : "ED7F6CEE-0DF9-41AE-ABE6-8C9FA47129C8", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjI0Ljc5NjMwOVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMToyNC43OTYzMDlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjE6MjUuNDg4MDU5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIxOjI1LjQ4ODA1OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6NTguOTI1OTkxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTM6NTguOTIwMTUzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "1161BF84-EA22-474F-A668-623C245186B7", + "id" : "ED7F6CEE-0DF9-41AE-ABE6-8C9FA47129C8", "type" : 4 }, { - "id" : "4F37A45C-1DD8-43EB-B2EF-96F6EE7A2C13", + "id" : "36A136EF-9765-4016-B7AA-CB1CA08C5733", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +341,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4F37A45C-1DD8-43EB-B2EF-96F6EE7A2C13", + "id" : "36A136EF-9765-4016-B7AA-CB1CA08C5733", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:21:27 GMT", + "Date" : "Sun, 24 May 2020 08:54:00 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +371,19 @@ "type" : 1 }, { - "id" : "4F37A45C-1DD8-43EB-B2EF-96F6EE7A2C13", + "id" : "36A136EF-9765-4016-B7AA-CB1CA08C5733", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2NDg2MDk0ODY2NiIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNDM4OTI4MDQ4MyIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "4F37A45C-1DD8-43EB-B2EF-96F6EE7A2C13", + "id" : "36A136EF-9765-4016-B7AA-CB1CA08C5733", "type" : 4 }, { - "id" : "7DD56ECC-B9A4-4F49-8EEB-9D691E37EBE7", + "id" : "B83FD72E-6152-465A-AEE6-74529F32ECED", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,19 +392,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564860948666&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104389280483&tr=56" }, "type" : 0 }, { - "id" : "181ACB38-389B-4324-BEC1-1DD4019E0433", + "id" : "E1E2A7A0-E6A9-4965-A768-C408A2C4B3DE", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -414,34 +414,34 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "108", + "Content-Length" : "136", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7DD56ECC-B9A4-4F49-8EEB-9D691E37EBE7", + "id" : "B83FD72E-6152-465A-AEE6-74529F32ECED", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564860948666&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104389280483&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:21:28 GMT", - "Content-Length" : "381", + "Date" : "Sun, 24 May 2020 08:54:00 GMT", + "Content-Length" : "395", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -449,19 +449,48 @@ "type" : 1 }, { - "id" : "7DD56ECC-B9A4-4F49-8EEB-9D691E37EBE7", + "id" : "E1E2A7A0-E6A9-4965-A768-C408A2C4B3DE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:00 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "B83FD72E-6152-465A-AEE6-74529F32ECED", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2NDg4NDkwMDEyOCIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2NDg4NDg4ODk4MCIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJzcGFjZUlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwidXNlcklkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNDQwODIwMDA0MiIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNDQwODIxMDc4MSIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX19fV19" }, "type" : 2 }, { - "id" : "7DD56ECC-B9A4-4F49-8EEB-9D691E37EBE7", + "id" : "E1E2A7A0-E6A9-4965-A768-C408A2C4B3DE", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "E1E2A7A0-E6A9-4965-A768-C408A2C4B3DE", "type" : 4 }, { - "id" : "28883EF2-6F0F-4DE3-AD33-C482A796C098", + "id" : "B83FD72E-6152-465A-AEE6-74529F32ECED", + "type" : 4 + }, + { + "id" : "2DB5B11D-67EF-4F65-869A-07F65504824C", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -470,29 +499,29 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564884900128&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104408200042&tr=56" }, "type" : 0 }, { - "id" : "28883EF2-6F0F-4DE3-AD33-C482A796C098", + "id" : "2DB5B11D-67EF-4F65-869A-07F65504824C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564884900128&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104408200042&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:21:28 GMT", - "Content-Length" : "381", + "Date" : "Sun, 24 May 2020 08:54:01 GMT", + "Content-Length" : "395", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -500,19 +529,19 @@ "type" : 1 }, { - "id" : "28883EF2-6F0F-4DE3-AD33-C482A796C098", + "id" : "2DB5B11D-67EF-4F65-869A-07F65504824C", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2NDg4NDk0Mjg4MSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2NDg4NDkyODg4NyIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJzcGFjZUlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwidXNlcklkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNDQwODIyNzA2NiIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNDQwODI0MDM0OSIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifSwidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX19fV19" }, "type" : 2 }, { - "id" : "28883EF2-6F0F-4DE3-AD33-C482A796C098", + "id" : "2DB5B11D-67EF-4F65-869A-07F65504824C", "type" : 4 }, { - "id" : "B6971A74-4DD1-42F2-B4AF-AFDBCEF4CBBC", + "id" : "B26D6C8E-FE85-45A9-AD0C-4C90B2EE3948", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -521,25 +550,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564884942881&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104408227066&tr=56" }, "type" : 0 }, { - "id" : "B6971A74-4DD1-42F2-B4AF-AFDBCEF4CBBC", + "id" : "B26D6C8E-FE85-45A9-AD0C-4C90B2EE3948", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564884942881&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104408227066&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810564884942881&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104408227066&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -547,7 +576,7 @@ "type" : 3 }, { - "id" : "B7A385B4-164F-4300-A579-292BB3C6604B", + "id" : "68AA65EF-35A2-4CBC-B2AC-294CB97CD8DA", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -556,59 +585,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "181ACB38-389B-4324-BEC1-1DD4019E0433", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:28 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "181ACB38-389B-4324-BEC1-1DD4019E0433", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "181ACB38-389B-4324-BEC1-1DD4019E0433", - "type" : 4 - }, - { - "id" : "B7A385B4-164F-4300-A579-292BB3C6604B", + "id" : "68AA65EF-35A2-4CBC-B2AC-294CB97CD8DA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 06:21:28 GMT", + "Date" : "Sun, 24 May 2020 08:54:02 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -618,7 +618,7 @@ "type" : 1 }, { - "id" : "B7A385B4-164F-4300-A579-292BB3C6604B", + "id" : "68AA65EF-35A2-4CBC-B2AC-294CB97CD8DA", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -626,11 +626,11 @@ "type" : 2 }, { - "id" : "B7A385B4-164F-4300-A579-292BB3C6604B", + "id" : "68AA65EF-35A2-4CBC-B2AC-294CB97CD8DA", "type" : 4 }, { - "id" : "305277A9-EA98-4661-B5C4-2D7134C6E311", + "id" : "A04C1A42-B143-4773-B244-68BA627C55CB", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -639,26 +639,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "305277A9-EA98-4661-B5C4-2D7134C6E311", + "id" : "A04C1A42-B143-4773-B244-68BA627C55CB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:29 GMT", + "Date" : "Sun, 24 May 2020 08:54:02 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -668,7 +668,7 @@ "type" : 1 }, { - "id" : "305277A9-EA98-4661-B5C4-2D7134C6E311", + "id" : "A04C1A42-B143-4773-B244-68BA627C55CB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -676,11 +676,11 @@ "type" : 2 }, { - "id" : "305277A9-EA98-4661-B5C4-2D7134C6E311", + "id" : "A04C1A42-B143-4773-B244-68BA627C55CB", "type" : 4 }, { - "id" : "4A60ABAE-D286-43E9-B1DD-05CFB12BAF9B", + "id" : "8F97AB98-2687-4FC4-AC2C-44AEBEE9086A", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -689,26 +689,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4A60ABAE-D286-43E9-B1DD-05CFB12BAF9B", + "id" : "8F97AB98-2687-4FC4-AC2C-44AEBEE9086A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:31 GMT", + "Date" : "Sun, 24 May 2020 08:54:03 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -718,7 +718,7 @@ "type" : 1 }, { - "id" : "4A60ABAE-D286-43E9-B1DD-05CFB12BAF9B", + "id" : "8F97AB98-2687-4FC4-AC2C-44AEBEE9086A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -726,11 +726,11 @@ "type" : 2 }, { - "id" : "4A60ABAE-D286-43E9-B1DD-05CFB12BAF9B", + "id" : "8F97AB98-2687-4FC4-AC2C-44AEBEE9086A", "type" : 4 }, { - "id" : "C8498714-BA11-4820-8D1B-940264C2F71F", + "id" : "5A075B55-CD27-47CE-A5ED-8BC6264E5E1A", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -739,26 +739,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C8498714-BA11-4820-8D1B-940264C2F71F", + "id" : "5A075B55-CD27-47CE-A5ED-8BC6264E5E1A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:32 GMT", + "Date" : "Sun, 24 May 2020 08:54:03 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -768,7 +768,7 @@ "type" : 1 }, { - "id" : "C8498714-BA11-4820-8D1B-940264C2F71F", + "id" : "5A075B55-CD27-47CE-A5ED-8BC6264E5E1A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -776,7 +776,7 @@ "type" : 2 }, { - "id" : "C8498714-BA11-4820-8D1B-940264C2F71F", + "id" : "5A075B55-CD27-47CE-A5ED-8BC6264E5E1A", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json similarity index 52% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReceiveStatusWithExpectedOperationAndCategory.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json index 769c7395d..e6d3d88a8 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReceiveStatusWithExpectedOperationAndCategory.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json @@ -1,6 +1,6 @@ [ { - "id" : "843A0F15-9F85-47EE-8D18-2D5E418BF3E7", + "id" : "74F4CA8A-837C-4110-906F-5276D1AC5652", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "843A0F15-9F85-47EE-8D18-2D5E418BF3E7", + "id" : "74F4CA8A-837C-4110-906F-5276D1AC5652", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:26:49 GMT", + "Date" : "Sun, 24 May 2020 08:35:38 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "843A0F15-9F85-47EE-8D18-2D5E418BF3E7", + "id" : "74F4CA8A-837C-4110-906F-5276D1AC5652", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "843A0F15-9F85-47EE-8D18-2D5E418BF3E7", + "id" : "74F4CA8A-837C-4110-906F-5276D1AC5652", "type" : 4 }, { - "id" : "C08DFA18-EFD1-49F8-9934-57B02B94F730", + "id" : "5C9740DB-1FAC-41CA-A1A6-DDC5ADB742F5", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C08DFA18-EFD1-49F8-9934-57B02B94F730", + "id" : "5C9740DB-1FAC-41CA-A1A6-DDC5ADB742F5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:26:49 GMT", + "Date" : "Sun, 24 May 2020 08:35:38 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "C08DFA18-EFD1-49F8-9934-57B02B94F730", + "id" : "5C9740DB-1FAC-41CA-A1A6-DDC5ADB742F5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "C08DFA18-EFD1-49F8-9934-57B02B94F730", + "id" : "5C9740DB-1FAC-41CA-A1A6-DDC5ADB742F5", "type" : 4 }, { - "id" : "BE465088-6C8B-4D43-BB25-B48E861937F1", + "id" : "A4376721-6AE9-48D5-9624-C3543E1E7A9B", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BE465088-6C8B-4D43-BB25-B48E861937F1", + "id" : "A4376721-6AE9-48D5-9624-C3543E1E7A9B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:26:50 GMT", + "Date" : "Sun, 24 May 2020 08:35:38 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "BE465088-6C8B-4D43-BB25-B48E861937F1", + "id" : "A4376721-6AE9-48D5-9624-C3543E1E7A9B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzoyNjo0OS42Mjk2MTVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MjY6NDkuNjI5NjE1WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNTozOC44MDg4MzNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "BE465088-6C8B-4D43-BB25-B48E861937F1", + "id" : "A4376721-6AE9-48D5-9624-C3543E1E7A9B", "type" : 4 }, { - "id" : "F751793A-5F79-400B-B1C2-01C0A05469CA", + "id" : "C26FC8ED-3809-48A0-BC43-2E4FBA657C09", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F751793A-5F79-400B-B1C2-01C0A05469CA", + "id" : "C26FC8ED-3809-48A0-BC43-2E4FBA657C09", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:26:50 GMT", + "Date" : "Sun, 24 May 2020 08:35:39 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "F751793A-5F79-400B-B1C2-01C0A05469CA", + "id" : "C26FC8ED-3809-48A0-BC43-2E4FBA657C09", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzoyNjo1MC4yMDc5MDFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MjY6NTAuMjA3OTAxWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozNTozOS4wMzU2ODJaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "F751793A-5F79-400B-B1C2-01C0A05469CA", + "id" : "C26FC8ED-3809-48A0-BC43-2E4FBA657C09", "type" : 4 }, { - "id" : "FA2A9E1A-DBD3-47A1-94EB-498FFFC89E9C", + "id" : "FB659E07-CAEE-4CC2-BD08-201AEE641E02", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FA2A9E1A-DBD3-47A1-94EB-498FFFC89E9C", + "id" : "FB659E07-CAEE-4CC2-BD08-201AEE641E02", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:26:52 GMT", + "Date" : "Sun, 24 May 2020 08:35:40 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "FA2A9E1A-DBD3-47A1-94EB-498FFFC89E9C", + "id" : "FB659E07-CAEE-4CC2-BD08-201AEE641E02", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjI2OjUxLjg5Mzg3OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzoyNjo1MS44OTM4NzhaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM1OjQwLjI3Nzg2NFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "FA2A9E1A-DBD3-47A1-94EB-498FFFC89E9C", + "id" : "FB659E07-CAEE-4CC2-BD08-201AEE641E02", "type" : 4 }, { - "id" : "649868DB-8F91-4D1B-BFFD-C7AA45216E21", + "id" : "E30D3AEA-7B0B-4BB1-975B-9FDF3C6137DE", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "649868DB-8F91-4D1B-BFFD-C7AA45216E21", + "id" : "E30D3AEA-7B0B-4BB1-975B-9FDF3C6137DE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:26:55 GMT", + "Date" : "Sun, 24 May 2020 08:35:41 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "649868DB-8F91-4D1B-BFFD-C7AA45216E21", + "id" : "E30D3AEA-7B0B-4BB1-975B-9FDF3C6137DE", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjI2OjUzLjkzOTgzNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzoyNjo1My45Mzk4MzVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6MjY6NTQuNjM1NTA0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjI2OjU0LjYzNTUwNFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzU6NDEuNTE5OTk1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzU6NDEuNTE0NjI1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "649868DB-8F91-4D1B-BFFD-C7AA45216E21", + "id" : "E30D3AEA-7B0B-4BB1-975B-9FDF3C6137DE", "type" : 4 }, { - "id" : "3013CC32-D5F9-4D2C-BCBF-2EC907EBB107", + "id" : "80D0268D-E5A6-45CF-8969-B2A312C7A8BB", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,33 +342,33 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "60", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3013CC32-D5F9-4D2C-BCBF-2EC907EBB107", + "id" : "80D0268D-E5A6-45CF-8969-B2A312C7A8BB", "data" : { "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:26:57 GMT", + "Date" : "Sun, 24 May 2020 08:35:42 GMT", "Content-Type" : "application\/json", - "Content-Length" : "201", + "Content-Length" : "175", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -376,19 +376,19 @@ "type" : 1 }, { - "id" : "3013CC32-D5F9-4D2C-BCBF-2EC907EBB107", + "id" : "80D0268D-E5A6-45CF-8969-B2A312C7A8BB", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjI2OjU0LjYzNTUwNFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzoyNjo1NC42MzU1MDRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTVEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzU6NDEuNTE5OTk1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" }, "type" : 2 }, { - "id" : "3013CC32-D5F9-4D2C-BCBF-2EC907EBB107", + "id" : "80D0268D-E5A6-45CF-8969-B2A312C7A8BB", "type" : 4 }, { - "id" : "3013CC32-D5F9-4D2C-BCBF-2EC907EBB109", + "id" : "80D0268D-E5A6-45CF-8969-B2A312C7A82B", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -398,33 +398,33 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "60", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3013CC32-D5F9-4D2C-BCBF-2EC907EBB109", + "id" : "80D0268D-E5A6-45CF-8969-B2A312C7A82B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:26:57 GMT", + "Date" : "Sun, 24 May 2020 08:35:42 GMT", "Content-Type" : "application\/json", - "Content-Length" : "201", + "Content-Length" : "175", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -432,19 +432,19 @@ "type" : 1 }, { - "id" : "3013CC32-D5F9-4D2C-BCBF-2EC907EBB109", + "id" : "80D0268D-E5A6-45CF-8969-B2A312C7A82B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjI2OjU0LjYzNTUwNFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzoyNjo1NC42MzU1MDRaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTVEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6MzU6NDEuNTE5OTk1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" }, "type" : 2 }, { - "id" : "3013CC32-D5F9-4D2C-BCBF-2EC907EBB109", + "id" : "80D0268D-E5A6-45CF-8969-B2A312C7A82B", "type" : 4 }, { - "id" : "5F723D60-F39B-47A4-AA22-528F1BBCD5FB", + "id" : "681EAFC3-B735-4698-ADF4-CE1BFFE5D88A", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -454,31 +454,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "60", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5F723D60-F39B-47A4-AA22-528F1BBCD5FB", + "id" : "681EAFC3-B735-4698-ADF4-CE1BFFE5D88A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:26:59 GMT", + "Date" : "Sun, 24 May 2020 08:35:44 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -488,7 +488,7 @@ "type" : 1 }, { - "id" : "5F723D60-F39B-47A4-AA22-528F1BBCD5FB", + "id" : "681EAFC3-B735-4698-ADF4-CE1BFFE5D88A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -496,11 +496,11 @@ "type" : 2 }, { - "id" : "5F723D60-F39B-47A4-AA22-528F1BBCD5FB", + "id" : "681EAFC3-B735-4698-ADF4-CE1BFFE5D88A", "type" : 4 }, { - "id" : "2F8001DE-C90D-408F-834E-4E87A33594E1", + "id" : "88C66ECA-281F-4005-8716-0C8FC770D2AC", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -509,26 +509,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2F8001DE-C90D-408F-834E-4E87A33594E1", + "id" : "88C66ECA-281F-4005-8716-0C8FC770D2AC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:27:00 GMT", + "Date" : "Sun, 24 May 2020 08:35:44 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -538,7 +538,7 @@ "type" : 1 }, { - "id" : "2F8001DE-C90D-408F-834E-4E87A33594E1", + "id" : "88C66ECA-281F-4005-8716-0C8FC770D2AC", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -546,11 +546,11 @@ "type" : 2 }, { - "id" : "2F8001DE-C90D-408F-834E-4E87A33594E1", + "id" : "88C66ECA-281F-4005-8716-0C8FC770D2AC", "type" : 4 }, { - "id" : "B84AED64-3FA5-4F81-93F9-5EE153F89BBA", + "id" : "C8096FB9-98F2-4ED2-A05B-8CEE22BA8C99", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -559,26 +559,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B84AED64-3FA5-4F81-93F9-5EE153F89BBA", + "id" : "C8096FB9-98F2-4ED2-A05B-8CEE22BA8C99", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:27:02 GMT", + "Date" : "Sun, 24 May 2020 08:35:45 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -588,7 +588,7 @@ "type" : 1 }, { - "id" : "B84AED64-3FA5-4F81-93F9-5EE153F89BBA", + "id" : "C8096FB9-98F2-4ED2-A05B-8CEE22BA8C99", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -596,11 +596,11 @@ "type" : 2 }, { - "id" : "B84AED64-3FA5-4F81-93F9-5EE153F89BBA", + "id" : "C8096FB9-98F2-4ED2-A05B-8CEE22BA8C99", "type" : 4 }, { - "id" : "038C72DD-05F6-4150-BFB4-04191A3B99D8", + "id" : "B2B820F0-E50D-4368-BB22-7253E056841E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -609,26 +609,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "038C72DD-05F6-4150-BFB4-04191A3B99D8", + "id" : "B2B820F0-E50D-4368-BB22-7253E056841E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:27:02 GMT", + "Date" : "Sun, 24 May 2020 08:35:45 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -638,7 +638,7 @@ "type" : 1 }, { - "id" : "038C72DD-05F6-4150-BFB4-04191A3B99D8", + "id" : "B2B820F0-E50D-4368-BB22-7253E056841E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -646,7 +646,7 @@ "type" : 2 }, { - "id" : "038C72DD-05F6-4150-BFB4-04191A3B99D8", + "id" : "B2B820F0-E50D-4368-BB22-7253E056841E", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReturnFilteredMembershipsInformationWhenFilterIsSet.json similarity index 52% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReturnFilteredMembershipsInformationWhenFilterIsSet.json index bc5d07151..643d43962 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReturnFilteredMembershipsInformationWhenFilterIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "0C0B7DA2-1113-4614-AE40-0DF9714187D3", + "id" : "B80DEC70-C945-46E6-8F4C-DFCEA4FC2167", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0C0B7DA2-1113-4614-AE40-0DF9714187D3", + "id" : "B80DEC70-C945-46E6-8F4C-DFCEA4FC2167", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:50 GMT", + "Date" : "Sun, 24 May 2020 08:54:05 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "0C0B7DA2-1113-4614-AE40-0DF9714187D3", + "id" : "B80DEC70-C945-46E6-8F4C-DFCEA4FC2167", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "0C0B7DA2-1113-4614-AE40-0DF9714187D3", + "id" : "B80DEC70-C945-46E6-8F4C-DFCEA4FC2167", "type" : 4 }, { - "id" : "F9030E66-F8DF-4800-88E8-4FDD18E518C1", + "id" : "469A5D3F-222D-400D-B6CC-89B9AE31B8B9", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F9030E66-F8DF-4800-88E8-4FDD18E518C1", + "id" : "469A5D3F-222D-400D-B6CC-89B9AE31B8B9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:50 GMT", + "Date" : "Sun, 24 May 2020 08:54:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "F9030E66-F8DF-4800-88E8-4FDD18E518C1", + "id" : "469A5D3F-222D-400D-B6CC-89B9AE31B8B9", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "F9030E66-F8DF-4800-88E8-4FDD18E518C1", + "id" : "469A5D3F-222D-400D-B6CC-89B9AE31B8B9", "type" : 4 }, { - "id" : "5B7ED63F-5AB8-4C3F-9D88-C66099C63C9E", + "id" : "A252FA40-4704-4364-9DCF-2CDC6E42B81E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5B7ED63F-5AB8-4C3F-9D88-C66099C63C9E", + "id" : "A252FA40-4704-4364-9DCF-2CDC6E42B81E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:20:51 GMT", + "Date" : "Sun, 24 May 2020 08:54:06 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "5B7ED63F-5AB8-4C3F-9D88-C66099C63C9E", + "id" : "A252FA40-4704-4364-9DCF-2CDC6E42B81E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDo1MC44NDcwMDFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjA6NTAuODQ3MDAxWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDowNi4zMDM0N1oiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifX0=" }, "type" : 2 }, { - "id" : "5B7ED63F-5AB8-4C3F-9D88-C66099C63C9E", + "id" : "A252FA40-4704-4364-9DCF-2CDC6E42B81E", "type" : 4 }, { - "id" : "AA7F666A-1576-4ABE-923B-FD435EF35216", + "id" : "40B06061-3261-40AC-91CC-A9312E7525CC", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "AA7F666A-1576-4ABE-923B-FD435EF35216", + "id" : "40B06061-3261-40AC-91CC-A9312E7525CC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:20:51 GMT", + "Date" : "Sun, 24 May 2020 08:54:06 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "AA7F666A-1576-4ABE-923B-FD435EF35216", + "id" : "40B06061-3261-40AC-91CC-A9312E7525CC", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDo1MS40MjMyMzhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjA6NTEuNDIzMjM4WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDowNi41MjM1NzFaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "AA7F666A-1576-4ABE-923B-FD435EF35216", + "id" : "40B06061-3261-40AC-91CC-A9312E7525CC", "type" : 4 }, { - "id" : "E1B6501B-866B-4D84-825F-4298638989E5", + "id" : "BCAC15EA-5DBB-4E8C-B30F-35EEABB037E4", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E1B6501B-866B-4D84-825F-4298638989E5", + "id" : "BCAC15EA-5DBB-4E8C-B30F-35EEABB037E4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:20:53 GMT", + "Date" : "Sun, 24 May 2020 08:54:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "E1B6501B-866B-4D84-825F-4298638989E5", + "id" : "BCAC15EA-5DBB-4E8C-B30F-35EEABB037E4", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIwOjUzLjA4NzM1NloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDo1My4wODczNTZaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjA3Ljg0NDc2NFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "E1B6501B-866B-4D84-825F-4298638989E5", + "id" : "BCAC15EA-5DBB-4E8C-B30F-35EEABB037E4", "type" : 4 }, { - "id" : "B97677A9-0863-453B-85FA-7F94877464C2", + "id" : "AE021635-7B20-4B63-9C10-B9B7845CE682", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B97677A9-0863-453B-85FA-7F94877464C2", + "id" : "AE021635-7B20-4B63-9C10-B9B7845CE682", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:20:56 GMT", + "Date" : "Sun, 24 May 2020 08:54:09 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "B97677A9-0863-453B-85FA-7F94877464C2", + "id" : "AE021635-7B20-4B63-9C10-B9B7845CE682", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIwOjU1LjA4MjAzMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDo1NS4wODIwMzFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjA6NTUuNzc3NjY5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIwOjU1Ljc3NzY2OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MDkuMTE1Mjk1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MDkuMTAzNjYyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "B97677A9-0863-453B-85FA-7F94877464C2", + "id" : "AE021635-7B20-4B63-9C10-B9B7845CE682", "type" : 4 }, { - "id" : "D8F2C2E2-FECC-417E-815F-490B5A9DF36F", + "id" : "CD00A9E9-D8F5-45AA-98EC-F828635AE9C1", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "60", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?filter=channel.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii" }, "type" : 0 }, { - "id" : "D8F2C2E2-FECC-417E-815F-490B5A9DF36F", + "id" : "CD00A9E9-D8F5-45AA-98EC-F828635AE9C1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?filter=channel.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:20:58 GMT", + "Date" : "Sun, 24 May 2020 08:54:10 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,19 +378,19 @@ "type" : 1 }, { - "id" : "D8F2C2E2-FECC-417E-815F-490B5A9DF36F", + "id" : "CD00A9E9-D8F5-45AA-98EC-F828635AE9C1", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDo1MS40MjMyMzhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjA6NTEuNDIzMjM4WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDo1NS43Nzc2NjlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjA6NTUuNzc3NjY5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDowNi41MjM1NzFaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDowOS4xMTUyOTVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" }, "type" : 2 }, { - "id" : "D8F2C2E2-FECC-417E-815F-490B5A9DF36F", + "id" : "CD00A9E9-D8F5-45AA-98EC-F828635AE9C1", "type" : 4 }, { - "id" : "EFE17B9B-AC99-49A2-AB33-485C9857EDC1", + "id" : "B42BA181-30E8-4134-A448-F98E240EC480", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -400,31 +400,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "60", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EFE17B9B-AC99-49A2-AB33-485C9857EDC1", + "id" : "B42BA181-30E8-4134-A448-F98E240EC480", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:00 GMT", + "Date" : "Sun, 24 May 2020 08:54:11 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -434,7 +434,7 @@ "type" : 1 }, { - "id" : "EFE17B9B-AC99-49A2-AB33-485C9857EDC1", + "id" : "B42BA181-30E8-4134-A448-F98E240EC480", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -442,11 +442,11 @@ "type" : 2 }, { - "id" : "EFE17B9B-AC99-49A2-AB33-485C9857EDC1", + "id" : "B42BA181-30E8-4134-A448-F98E240EC480", "type" : 4 }, { - "id" : "D0305E5F-D73E-46CB-B88E-788C2223170A", + "id" : "DCF2811C-5B14-4DF1-8E28-C166CBA38864", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -455,26 +455,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D0305E5F-D73E-46CB-B88E-788C2223170A", + "id" : "DCF2811C-5B14-4DF1-8E28-C166CBA38864", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:01 GMT", + "Date" : "Sun, 24 May 2020 08:54:11 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -484,7 +484,7 @@ "type" : 1 }, { - "id" : "D0305E5F-D73E-46CB-B88E-788C2223170A", + "id" : "DCF2811C-5B14-4DF1-8E28-C166CBA38864", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -492,11 +492,11 @@ "type" : 2 }, { - "id" : "D0305E5F-D73E-46CB-B88E-788C2223170A", + "id" : "DCF2811C-5B14-4DF1-8E28-C166CBA38864", "type" : 4 }, { - "id" : "18E02928-1DD2-4F5C-9E70-5FB9DEBCE9BE", + "id" : "4A87F3F7-EF7F-4CD4-B954-B9D784B52DFB", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -505,26 +505,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "18E02928-1DD2-4F5C-9E70-5FB9DEBCE9BE", + "id" : "4A87F3F7-EF7F-4CD4-B954-B9D784B52DFB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:03 GMT", + "Date" : "Sun, 24 May 2020 08:54:13 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -534,7 +534,7 @@ "type" : 1 }, { - "id" : "18E02928-1DD2-4F5C-9E70-5FB9DEBCE9BE", + "id" : "4A87F3F7-EF7F-4CD4-B954-B9D784B52DFB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -542,11 +542,11 @@ "type" : 2 }, { - "id" : "18E02928-1DD2-4F5C-9E70-5FB9DEBCE9BE", + "id" : "4A87F3F7-EF7F-4CD4-B954-B9D784B52DFB", "type" : 4 }, { - "id" : "B8786020-75D8-4A78-9E64-F0D1F03E72E6", + "id" : "46283147-2EB6-485A-B743-EBDCCF681CA3", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -555,26 +555,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B8786020-75D8-4A78-9E64-F0D1F03E72E6", + "id" : "46283147-2EB6-485A-B743-EBDCCF681CA3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:21:04 GMT", + "Date" : "Sun, 24 May 2020 08:54:13 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -584,7 +584,7 @@ "type" : 1 }, { - "id" : "B8786020-75D8-4A78-9E64-F0D1F03E72E6", + "id" : "46283147-2EB6-485A-B743-EBDCCF681CA3", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -592,7 +592,7 @@ "type" : 2 }, { - "id" : "B8786020-75D8-4A78-9E64-F0D1F03E72E6", + "id" : "46283147-2EB6-485A-B743-EBDCCF681CA3", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReturnFilteredSpaceInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReturnMembershipsInformationWhenIncludeFlagIsSet.json similarity index 51% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReturnFilteredSpaceInformationWhenFilterIsSet.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReturnMembershipsInformationWhenIncludeFlagIsSet.json index 4b5a358b3..357d5ea10 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMembershipAndReturnFilteredSpaceInformationWhenFilterIsSet.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReturnMembershipsInformationWhenIncludeFlagIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "5A0D52F1-F889-4FC6-8140-714FC6A92D94", + "id" : "97A34A83-253E-4B70-AFC6-8B054DCE5292", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5A0D52F1-F889-4FC6-8140-714FC6A92D94", + "id" : "97A34A83-253E-4B70-AFC6-8B054DCE5292", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:34 GMT", + "Date" : "Sun, 24 May 2020 08:54:15 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "5A0D52F1-F889-4FC6-8140-714FC6A92D94", + "id" : "97A34A83-253E-4B70-AFC6-8B054DCE5292", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "5A0D52F1-F889-4FC6-8140-714FC6A92D94", + "id" : "97A34A83-253E-4B70-AFC6-8B054DCE5292", "type" : 4 }, { - "id" : "5B07C281-EFF2-484B-8AEF-442A2A10CC93", + "id" : "711C2166-9B43-468F-9177-29588F757CFF", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5B07C281-EFF2-484B-8AEF-442A2A10CC93", + "id" : "711C2166-9B43-468F-9177-29588F757CFF", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:34 GMT", + "Date" : "Sun, 24 May 2020 08:54:15 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "5B07C281-EFF2-484B-8AEF-442A2A10CC93", + "id" : "711C2166-9B43-468F-9177-29588F757CFF", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "5B07C281-EFF2-484B-8AEF-442A2A10CC93", + "id" : "711C2166-9B43-468F-9177-29588F757CFF", "type" : 4 }, { - "id" : "01D342A6-0110-48C8-BEAE-54F46C994124", + "id" : "28A6EBB2-2902-4D49-A1B7-B4C9EF35E557", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "01D342A6-0110-48C8-BEAE-54F46C994124", + "id" : "28A6EBB2-2902-4D49-A1B7-B4C9EF35E557", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:20:35 GMT", + "Date" : "Sun, 24 May 2020 08:54:15 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "01D342A6-0110-48C8-BEAE-54F46C994124", + "id" : "28A6EBB2-2902-4D49-A1B7-B4C9EF35E557", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDozNS4wNjA3NjdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjA6MzUuMDYwNzY3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoxNS43NzUyODVaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "01D342A6-0110-48C8-BEAE-54F46C994124", + "id" : "28A6EBB2-2902-4D49-A1B7-B4C9EF35E557", "type" : 4 }, { - "id" : "FD8EE451-AF79-4AD3-BB12-9163DEC7E4F9", + "id" : "E9B278A9-691D-4637-9B5B-5AF32527C121", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FD8EE451-AF79-4AD3-BB12-9163DEC7E4F9", + "id" : "E9B278A9-691D-4637-9B5B-5AF32527C121", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:20:36 GMT", + "Date" : "Sun, 24 May 2020 08:54:16 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "FD8EE451-AF79-4AD3-BB12-9163DEC7E4F9", + "id" : "E9B278A9-691D-4637-9B5B-5AF32527C121", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDozNS43NDQzMzdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjA6MzUuNzQ0MzM3WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoxNS45OTcxNzRaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "FD8EE451-AF79-4AD3-BB12-9163DEC7E4F9", + "id" : "E9B278A9-691D-4637-9B5B-5AF32527C121", "type" : 4 }, { - "id" : "12FED21D-EE75-4CAD-80B5-B96C211640C7", + "id" : "AC4951AD-B053-4A5A-8807-29694E6F9C87", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "12FED21D-EE75-4CAD-80B5-B96C211640C7", + "id" : "AC4951AD-B053-4A5A-8807-29694E6F9C87", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:20:37 GMT", + "Date" : "Sun, 24 May 2020 08:54:17 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "12FED21D-EE75-4CAD-80B5-B96C211640C7", + "id" : "AC4951AD-B053-4A5A-8807-29694E6F9C87", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIwOjM3LjM1MTAzNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDozNy4zNTEwMzVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjE3LjI0Mjk1OVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "12FED21D-EE75-4CAD-80B5-B96C211640C7", + "id" : "AC4951AD-B053-4A5A-8807-29694E6F9C87", "type" : 4 }, { - "id" : "C6CE9E94-B1BF-41EC-8106-53DF2D89CF97", + "id" : "B92858E0-97D4-4951-8F6F-9F97B8596A7F", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C6CE9E94-B1BF-41EC-8106-53DF2D89CF97", + "id" : "B92858E0-97D4-4951-8F6F-9F97B8596A7F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:20:40 GMT", + "Date" : "Sun, 24 May 2020 08:54:18 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "C6CE9E94-B1BF-41EC-8106-53DF2D89CF97", + "id" : "B92858E0-97D4-4951-8F6F-9F97B8596A7F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIwOjM5LjM2OTc4OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDozOS4zNjk3ODlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjA6NDAuMDY0MTk5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIwOjQwLjA2NDE5OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MTguNDc4ODNaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoxOC40ODk4MjVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" }, "type" : 2 }, { - "id" : "C6CE9E94-B1BF-41EC-8106-53DF2D89CF97", + "id" : "B92858E0-97D4-4951-8F6F-9F97B8596A7F", "type" : 4 }, { - "id" : "C8216D2E-5A83-4AE0-9BD6-711BB32947D4", + "id" : "28133518-76D5-4AA9-B313-35B8EF5B6786", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "60", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?filter=space.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C8216D2E-5A83-4AE0-9BD6-711BB32947D4", + "id" : "28133518-76D5-4AA9-B313-35B8EF5B6786", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?filter=space.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:20:43 GMT", + "Date" : "Sun, 24 May 2020 08:54:19 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,19 +378,19 @@ "type" : 1 }, { - "id" : "C8216D2E-5A83-4AE0-9BD6-711BB32947D4", + "id" : "28133518-76D5-4AA9-B313-35B8EF5B6786", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDozNS43NDQzMzdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjA6MzUuNzQ0MzM3WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMDo0MC4wNjQxOTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjA6NDAuMDY0MTk5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwidG90YWxDb3VudCI6MSwibmV4dCI6Ik1RIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoxNS45OTcxNzRaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoxOC40ODk4MjVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTVEifQ==" }, "type" : 2 }, { - "id" : "C8216D2E-5A83-4AE0-9BD6-711BB32947D4", + "id" : "28133518-76D5-4AA9-B313-35B8EF5B6786", "type" : 4 }, { - "id" : "122D6755-5A36-4D52-8A49-BE5E2473F478", + "id" : "53ABCB58-4989-4303-AD75-4DF9AF421C34", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -400,31 +400,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "60", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "122D6755-5A36-4D52-8A49-BE5E2473F478", + "id" : "53ABCB58-4989-4303-AD75-4DF9AF421C34", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:45 GMT", + "Date" : "Sun, 24 May 2020 08:54:20 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -434,7 +434,7 @@ "type" : 1 }, { - "id" : "122D6755-5A36-4D52-8A49-BE5E2473F478", + "id" : "53ABCB58-4989-4303-AD75-4DF9AF421C34", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -442,11 +442,11 @@ "type" : 2 }, { - "id" : "122D6755-5A36-4D52-8A49-BE5E2473F478", + "id" : "53ABCB58-4989-4303-AD75-4DF9AF421C34", "type" : 4 }, { - "id" : "882079A9-8F08-4BAD-AD0E-BC2D5CA16624", + "id" : "34D1EAAF-6932-4931-953C-82CA90E9D75B", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -455,26 +455,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "882079A9-8F08-4BAD-AD0E-BC2D5CA16624", + "id" : "34D1EAAF-6932-4931-953C-82CA90E9D75B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:46 GMT", + "Date" : "Sun, 24 May 2020 08:54:21 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -484,7 +484,7 @@ "type" : 1 }, { - "id" : "882079A9-8F08-4BAD-AD0E-BC2D5CA16624", + "id" : "34D1EAAF-6932-4931-953C-82CA90E9D75B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -492,11 +492,11 @@ "type" : 2 }, { - "id" : "882079A9-8F08-4BAD-AD0E-BC2D5CA16624", + "id" : "34D1EAAF-6932-4931-953C-82CA90E9D75B", "type" : 4 }, { - "id" : "C8056A45-7FB4-4B6C-A219-3333D4E1239B", + "id" : "80F86897-A225-4AE4-BD0A-EF094F25EC6E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -505,26 +505,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C8056A45-7FB4-4B6C-A219-3333D4E1239B", + "id" : "80F86897-A225-4AE4-BD0A-EF094F25EC6E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:47 GMT", + "Date" : "Sun, 24 May 2020 08:54:22 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -534,7 +534,7 @@ "type" : 1 }, { - "id" : "C8056A45-7FB4-4B6C-A219-3333D4E1239B", + "id" : "80F86897-A225-4AE4-BD0A-EF094F25EC6E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -542,11 +542,11 @@ "type" : 2 }, { - "id" : "C8056A45-7FB4-4B6C-A219-3333D4E1239B", + "id" : "80F86897-A225-4AE4-BD0A-EF094F25EC6E", "type" : 4 }, { - "id" : "F783CA01-A482-4BBC-A5EC-26C938B67950", + "id" : "6603DBDE-7E31-4535-A33A-8AFC0F679DEE", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -555,26 +555,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F783CA01-A482-4BBC-A5EC-26C938B67950", + "id" : "6603DBDE-7E31-4535-A33A-8AFC0F679DEE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:48 GMT", + "Date" : "Sun, 24 May 2020 08:54:22 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -584,7 +584,7 @@ "type" : 1 }, { - "id" : "F783CA01-A482-4BBC-A5EC-26C938B67950", + "id" : "6603DBDE-7E31-4535-A33A-8AFC0F679DEE", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -592,7 +592,7 @@ "type" : 2 }, { - "id" : "F783CA01-A482-4BBC-A5EC-26C938B67950", + "id" : "6603DBDE-7E31-4535-A33A-8AFC0F679DEE", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReturnSortedMembershipsInformationWhenSortedIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReturnSortedMembershipsInformationWhenSortedIsSet.json new file mode 100644 index 000000000..db2792a05 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndReturnSortedMembershipsInformationWhenSortedIsSet.json @@ -0,0 +1,920 @@ +[ + { + "id" : "C99B2BED-F5CC-4E39-8216-A66F57B5B37E", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "C99B2BED-F5CC-4E39-8216-A66F57B5B37E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:24 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "C99B2BED-F5CC-4E39-8216-A66F57B5B37E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "C99B2BED-F5CC-4E39-8216-A66F57B5B37E", + "type" : 4 + }, + { + "id" : "BE35E7F4-7E76-49D9-BD18-F21574179A37", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "BE35E7F4-7E76-49D9-BD18-F21574179A37", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:24 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "BE35E7F4-7E76-49D9-BD18-F21574179A37", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "BE35E7F4-7E76-49D9-BD18-F21574179A37", + "type" : 4 + }, + { + "id" : "951A3E26-3E16-4311-A4DC-8D2735C6E59D", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "951A3E26-3E16-4311-A4DC-8D2735C6E59D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:25 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "951A3E26-3E16-4311-A4DC-8D2735C6E59D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoyNS4wNTk5ODlaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "951A3E26-3E16-4311-A4DC-8D2735C6E59D", + "type" : 4 + }, + { + "id" : "3F79E7C8-E4AB-4A5B-99D3-0D663074AB1D", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3F79E7C8-E4AB-4A5B-99D3-0D663074AB1D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:25 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "3F79E7C8-E4AB-4A5B-99D3-0D663074AB1D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoyNS4yNzkyMDZaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "3F79E7C8-E4AB-4A5B-99D3-0D663074AB1D", + "type" : 4 + }, + { + "id" : "D9A63B6D-E656-4545-8DDE-3C67BB47809E", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D9A63B6D-E656-4545-8DDE-3C67BB47809E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:25 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "D9A63B6D-E656-4545-8DDE-3C67BB47809E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MjUuNDk3NTg4WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifX0=" + }, + "type" : 2 + }, + { + "id" : "D9A63B6D-E656-4545-8DDE-3C67BB47809E", + "type" : 4 + }, + { + "id" : "580E0C6F-3B32-4B97-855B-146A708CC1E8", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "116", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "580E0C6F-3B32-4B97-855B-146A708CC1E8", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:25 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "580E0C6F-3B32-4B97-855B-146A708CC1E8", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MjUuNzE2NTY4WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "580E0C6F-3B32-4B97-855B-146A708CC1E8", + "type" : 4 + }, + { + "id" : "EA88C8E6-48E2-4D8E-8435-9769A96BC621", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiV3lubiIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJXeW5uLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "EA88C8E6-48E2-4D8E-8435-9769A96BC621", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:25 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "254", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "EA88C8E6-48E2-4D8E-8435-9769A96BC621", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoyNS45Mzc3NjlaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In19" + }, + "type" : 2 + }, + { + "id" : "EA88C8E6-48E2-4D8E-8435-9769A96BC621", + "type" : 4 + }, + { + "id" : "69257963-45A2-44E4-8708-38C176009AA7", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "69257963-45A2-44E4-8708-38C176009AA7", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:27 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "69257963-45A2-44E4-8708-38C176009AA7", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjI3LjE3ODQ1WiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "69257963-45A2-44E4-8708-38C176009AA7", + "type" : 4 + }, + { + "id" : "BCE834C7-F8DC-4227-BA3D-73CF257091EE", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "318", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJTb2xzdGljZS1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiTWlkbmlnaHQtY2hhbm5lbC1pZGVudGlmaWVyIn19LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "BCE834C7-F8DC-4227-BA3D-73CF257091EE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:28 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "BCE834C7-F8DC-4227-BA3D-73CF257091EE", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoyNS43MTY1NjhaIiwiZVRhZyI6IkFhU0p5c0dhb3N6cUhRIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MjguNDM0OTQyWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MjUuOTM3NzY5WiIsImVUYWciOiJBZTJ6aHBMRTBLaVJEdyJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjI4LjQ0Mjc3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MjUuMDU5OTg5WiIsImVUYWciOiJBWTJCNnFISXhlVCtMZyJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjI4LjQyMjY5OFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjI1LjI3OTIwNloiLCJlVGFnIjoiQWJXSW5JZUcwdXlvMGdFIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MjguNDI4MzI5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoyNS40OTc1ODhaIiwiZVRhZyI6IkFhVGsrN09Sek5haDBnRSJ9LCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjI4LjQxNzIzNFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJOUSJ9" + }, + "type" : 2 + }, + { + "id" : "BCE834C7-F8DC-4227-BA3D-73CF257091EE", + "type" : 4 + }, + { + "id" : "4BC6EE6A-372F-405D-ABEB-12922F56AAAA", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "74", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "4BC6EE6A-372F-405D-ABEB-12922F56AAAA", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:29 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "4BC6EE6A-372F-405D-ABEB-12922F56AAAA", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6Ild5bm4tY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6Ild5bm4iLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6Ild5bm4tY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoyNS45Mzc3NjlaIiwiZVRhZyI6IkFlMnpocExFMEtpUkR3In0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjI4LjQ0Mjc3WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IlNvbHN0aWNlLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJTb2xzdGljZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MjUuNDk3NTg4WiIsImVUYWciOiJBYVRrKzdPUnpOYWgwZ0UifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MjguNDE3MjM0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6Ik1pZG5pZ2h0LWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MjUuNzE2NTY4WiIsImVUYWciOiJBYVNKeXNHYW9zenFIUSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDoyOC40MzQ5NDJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjI1LjI3OTIwNloiLCJlVGFnIjoiQWJXSW5JZUcwdXlvMGdFIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjI4LjQyODMyOVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjQsIm5leHQiOiJOQSJ9" + }, + "type" : 2 + }, + { + "id" : "4BC6EE6A-372F-405D-ABEB-12922F56AAAA", + "type" : 4 + }, + { + "id" : "B3D59B06-FA39-4AD4-8755-67AED3616AE1", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "259", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJNaWRuaWdodC1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiV3lubi1jaGFubmVsLWlkZW50aWZpZXIifX0seyJjaGFubmVsIjp7ImlkIjoiU29sc3RpY2UtY2hhbm5lbC1pZGVudGlmaWVyIn19XX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "B3D59B06-FA39-4AD4-8755-67AED3616AE1", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:30 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "B3D59B06-FA39-4AD4-8755-67AED3616AE1", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "B3D59B06-FA39-4AD4-8755-67AED3616AE1", + "type" : 4 + }, + { + "id" : "5E3F50DE-584D-4BB2-BEF5-0329BECDF153", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5E3F50DE-584D-4BB2-BEF5-0329BECDF153", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:31 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "5E3F50DE-584D-4BB2-BEF5-0329BECDF153", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "5E3F50DE-584D-4BB2-BEF5-0329BECDF153", + "type" : 4 + }, + { + "id" : "F82CDBBF-BB08-4D1F-ADA5-ED8B6BD2D69D", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "F82CDBBF-BB08-4D1F-ADA5-ED8B6BD2D69D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:32 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "F82CDBBF-BB08-4D1F-ADA5-ED8B6BD2D69D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "F82CDBBF-BB08-4D1F-ADA5-ED8B6BD2D69D", + "type" : 4 + }, + { + "id" : "2A07CEB2-D896-4DEF-B826-4A3A99B8EBFE", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "2A07CEB2-D896-4DEF-B826-4A3A99B8EBFE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:32 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "2A07CEB2-D896-4DEF-B826-4A3A99B8EBFE", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "2A07CEB2-D896-4DEF-B826-4A3A99B8EBFE", + "type" : 4 + }, + { + "id" : "AE380C9F-AA33-4CD6-B7C6-9CA5B210423C", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "AE380C9F-AA33-4CD6-B7C6-9CA5B210423C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Solstice-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:33 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "AE380C9F-AA33-4CD6-B7C6-9CA5B210423C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "AE380C9F-AA33-4CD6-B7C6-9CA5B210423C", + "type" : 4 + }, + { + "id" : "FB529D6F-2D62-46C9-A860-872D16891B6C", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "FB529D6F-2D62-46C9-A860-872D16891B6C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Midnight-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:33 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "FB529D6F-2D62-46C9-A860-872D16891B6C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "FB529D6F-2D62-46C9-A860-872D16891B6C", + "type" : 4 + }, + { + "id" : "26F7F3B9-4324-42E0-A7FC-9A150BE1D0EB", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "26F7F3B9-4324-42E0-A7FC-9A150BE1D0EB", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Wynn-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:33 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "26F7F3B9-4324-42E0-A7FC-9A150BE1D0EB", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "26F7F3B9-4324-42E0-A7FC-9A150BE1D0EB", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMemberAndTriggerUserDeleteOnSpaceChannel.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndTriggerDeleteEventOnChannel.json similarity index 54% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMemberAndTriggerUserDeleteOnSpaceChannel.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndTriggerDeleteEventOnChannel.json index 5ad334b02..fa7aa3671 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldDeleteMemberAndTriggerUserDeleteOnSpaceChannel.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndTriggerDeleteEventOnChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "09B0EF31-B5A8-4B9E-98A8-B3D5C1822BE1", + "id" : "788A795D-C1D9-4AFA-A8A4-FB1B450F12B3", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "09B0EF31-B5A8-4B9E-98A8-B3D5C1822BE1", + "id" : "788A795D-C1D9-4AFA-A8A4-FB1B450F12B3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:51 GMT", + "Date" : "Sun, 24 May 2020 08:54:35 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "09B0EF31-B5A8-4B9E-98A8-B3D5C1822BE1", + "id" : "788A795D-C1D9-4AFA-A8A4-FB1B450F12B3", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "09B0EF31-B5A8-4B9E-98A8-B3D5C1822BE1", + "id" : "788A795D-C1D9-4AFA-A8A4-FB1B450F12B3", "type" : 4 }, { - "id" : "1BD2201A-A439-4A6C-9A62-3C71D4FE8E78", + "id" : "D143D585-BB5F-41C2-8EE4-7412A624C6D0", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1BD2201A-A439-4A6C-9A62-3C71D4FE8E78", + "id" : "D143D585-BB5F-41C2-8EE4-7412A624C6D0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:51 GMT", + "Date" : "Sun, 24 May 2020 08:54:35 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "1BD2201A-A439-4A6C-9A62-3C71D4FE8E78", + "id" : "D143D585-BB5F-41C2-8EE4-7412A624C6D0", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "1BD2201A-A439-4A6C-9A62-3C71D4FE8E78", + "id" : "D143D585-BB5F-41C2-8EE4-7412A624C6D0", "type" : 4 }, { - "id" : "CDE5C1A8-F3C3-4977-9DC5-88CF78822051", + "id" : "4BF9E90B-5C26-4E20-925C-0142DF7756D7", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CDE5C1A8-F3C3-4977-9DC5-88CF78822051", + "id" : "4BF9E90B-5C26-4E20-925C-0142DF7756D7", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:52 GMT", + "Date" : "Sun, 24 May 2020 08:54:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "CDE5C1A8-F3C3-4977-9DC5-88CF78822051", + "id" : "4BF9E90B-5C26-4E20-925C-0142DF7756D7", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTo1MS44NTU3MzJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6NTEuODU1NzMyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDozNi4zMTE2NjNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "CDE5C1A8-F3C3-4977-9DC5-88CF78822051", + "id" : "4BF9E90B-5C26-4E20-925C-0142DF7756D7", "type" : 4 }, { - "id" : "3410A783-3547-4375-ADB9-6F2BDCDD9406", + "id" : "878FBE25-9197-4BCD-97DC-437AB9694516", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3410A783-3547-4375-ADB9-6F2BDCDD9406", + "id" : "878FBE25-9197-4BCD-97DC-437AB9694516", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:52 GMT", + "Date" : "Sun, 24 May 2020 08:54:36 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "3410A783-3547-4375-ADB9-6F2BDCDD9406", + "id" : "878FBE25-9197-4BCD-97DC-437AB9694516", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTo1Mi40MzI1MTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6NTIuNDMyNTEyWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDozNi42MTM1MjlaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "3410A783-3547-4375-ADB9-6F2BDCDD9406", + "id" : "878FBE25-9197-4BCD-97DC-437AB9694516", "type" : 4 }, { - "id" : "C2DCBAD3-ABE4-4E73-833B-7691E37B784D", + "id" : "FFAB177A-3887-4AF4-ACE3-6EB46AD6F636", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C2DCBAD3-ABE4-4E73-833B-7691E37B784D", + "id" : "FFAB177A-3887-4AF4-ACE3-6EB46AD6F636", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:54 GMT", + "Date" : "Sun, 24 May 2020 08:54:37 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "C2DCBAD3-ABE4-4E73-833B-7691E37B784D", + "id" : "FFAB177A-3887-4AF4-ACE3-6EB46AD6F636", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjU0LjAzMjk2OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTo1NC4wMzI5NjlaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjM3Ljk0MjQ4MVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "C2DCBAD3-ABE4-4E73-833B-7691E37B784D", + "id" : "FFAB177A-3887-4AF4-ACE3-6EB46AD6F636", "type" : 4 }, { - "id" : "58703C85-A528-4058-B141-981520D6563A", + "id" : "84A3CA6C-662A-43BD-BACF-A5434FCE8B79", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "58703C85-A528-4058-B141-981520D6563A", + "id" : "84A3CA6C-662A-43BD-BACF-A5434FCE8B79", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:57 GMT", + "Date" : "Sun, 24 May 2020 08:54:39 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "58703C85-A528-4058-B141-981520D6563A", + "id" : "84A3CA6C-662A-43BD-BACF-A5434FCE8B79", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjU2LjAyMDUwNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTo1Ni4wMjA1MDZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6NTYuNzEyNTE2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjU2LjcxMjUxNloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MzkuMTc0MDc5WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6MzkuMTgxNjgxWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "58703C85-A528-4058-B141-981520D6563A", + "id" : "84A3CA6C-662A-43BD-BACF-A5434FCE8B79", "type" : 4 }, { - "id" : "72821CFB-E917-4093-B2F6-A7630A2D2059", + "id" : "ABEC481C-34B1-4545-B3DA-83063AAC363A", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +341,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "72821CFB-E917-4093-B2F6-A7630A2D2059", + "id" : "ABEC481C-34B1-4545-B3DA-83063AAC363A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:19:58 GMT", + "Date" : "Sun, 24 May 2020 08:54:40 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +371,19 @@ "type" : 1 }, { - "id" : "72821CFB-E917-4093-B2F6-A7630A2D2059", + "id" : "ABEC481C-34B1-4545-B3DA-83063AAC363A", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2Mzk2NjI4MzExMyIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNDc5MTc4Mzk5NiIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "72821CFB-E917-4093-B2F6-A7630A2D2059", + "id" : "ABEC481C-34B1-4545-B3DA-83063AAC363A", "type" : 4 }, { - "id" : "4BE37EC0-9E20-4CF6-B6E7-49A48B8B0ECD", + "id" : "ABC94E5F-2606-43DC-BE2E-412797E90C4D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,49 +392,55 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563966283113&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104791783996&tr=56" }, "type" : 0 }, { - "id" : "3910A8E9-DFBA-4B19-B71D-7EA1B8406F4A", + "id" : "1F191724-58C6-4BF5-BF4F-FA23415672D4", "data" : { - "method" : "delete", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, + "network" : 0, "cache" : 1, "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", + "Content-Length" : "136", "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3910A8E9-DFBA-4B19-B71D-7EA1B8406F4A", + "id" : "1F191724-58C6-4BF5-BF4F-FA23415672D4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:59 GMT", + "Date" : "Sun, 24 May 2020 08:54:40 GMT", "Content-Type" : "application\/json", - "Content-Length" : "26", + "Content-Length" : "24", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -442,29 +448,17 @@ "type" : 1 }, { - "id" : "3910A8E9-DFBA-4B19-B71D-7EA1B8406F4A", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "3910A8E9-DFBA-4B19-B71D-7EA1B8406F4A", - "type" : 4 - }, - { - "id" : "4BE37EC0-9E20-4CF6-B6E7-49A48B8B0ECD", + "id" : "ABC94E5F-2606-43DC-BE2E-412797E90C4D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563966283113&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104791783996&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:19:59 GMT", - "Content-Length" : "322", + "Date" : "Sun, 24 May 2020 08:54:40 GMT", + "Content-Length" : "399", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -472,19 +466,31 @@ "type" : 1 }, { - "id" : "4BE37EC0-9E20-4CF6-B6E7-49A48B8B0ECD", + "id" : "1F191724-58C6-4BF5-BF4F-FA23415672D4", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "1F191724-58C6-4BF5-BF4F-FA23415672D4", + "type" : 4 + }, + { + "id" : "ABC94E5F-2606-43DC-BE2E-412797E90C4D", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2Mzk5NzAwMzQ3OSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2Mzk5Njk4Nzk3OSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoiZGVsZXRlIiwidHlwZSI6InVzZXIiLCJkYXRhIjp7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNDgwODcwMzE3OSIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNDgwODcxNjU2MSIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJkZWxldGUiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" }, "type" : 2 }, { - "id" : "4BE37EC0-9E20-4CF6-B6E7-49A48B8B0ECD", + "id" : "ABC94E5F-2606-43DC-BE2E-412797E90C4D", "type" : 4 }, { - "id" : "81A6A341-AEED-468C-8B02-0EEEF816D4B1", + "id" : "42CE0151-655C-4244-A4C3-759B1C6F1810", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -493,25 +499,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563997003479&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104808703179&tr=56" }, "type" : 0 }, { - "id" : "81A6A341-AEED-468C-8B02-0EEEF816D4B1", + "id" : "42CE0151-655C-4244-A4C3-759B1C6F1810", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563997003479&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104808703179&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563997003479&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104808703179&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -519,7 +525,7 @@ "type" : 3 }, { - "id" : "C3655D30-22B7-4F84-A0EC-EBB48E08B55F", + "id" : "2903397C-3B1A-47C4-9017-6CA21776FB3E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -528,30 +534,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C3655D30-22B7-4F84-A0EC-EBB48E08B55F", + "id" : "2903397C-3B1A-47C4-9017-6CA21776FB3E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 06:20:00 GMT", + "Date" : "Sun, 24 May 2020 08:54:41 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -561,7 +567,7 @@ "type" : 1 }, { - "id" : "C3655D30-22B7-4F84-A0EC-EBB48E08B55F", + "id" : "2903397C-3B1A-47C4-9017-6CA21776FB3E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -569,11 +575,11 @@ "type" : 2 }, { - "id" : "C3655D30-22B7-4F84-A0EC-EBB48E08B55F", + "id" : "2903397C-3B1A-47C4-9017-6CA21776FB3E", "type" : 4 }, { - "id" : "ECC7E44C-F1B3-433D-B298-6F7E5D3767D6", + "id" : "AD322EA3-AD63-41FD-AAC6-BE195D6E72A0", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -582,26 +588,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "ECC7E44C-F1B3-433D-B298-6F7E5D3767D6", + "id" : "AD322EA3-AD63-41FD-AAC6-BE195D6E72A0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:00 GMT", + "Date" : "Sun, 24 May 2020 08:54:41 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -611,7 +617,7 @@ "type" : 1 }, { - "id" : "ECC7E44C-F1B3-433D-B298-6F7E5D3767D6", + "id" : "AD322EA3-AD63-41FD-AAC6-BE195D6E72A0", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -619,11 +625,11 @@ "type" : 2 }, { - "id" : "ECC7E44C-F1B3-433D-B298-6F7E5D3767D6", + "id" : "AD322EA3-AD63-41FD-AAC6-BE195D6E72A0", "type" : 4 }, { - "id" : "2ECA8852-5538-4A4E-B79C-BB3188C39312", + "id" : "D152836A-ED4E-4FBE-951D-A8D7C9AA3683", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -632,26 +638,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2ECA8852-5538-4A4E-B79C-BB3188C39312", + "id" : "D152836A-ED4E-4FBE-951D-A8D7C9AA3683", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:02 GMT", + "Date" : "Sun, 24 May 2020 08:54:42 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -661,7 +667,7 @@ "type" : 1 }, { - "id" : "2ECA8852-5538-4A4E-B79C-BB3188C39312", + "id" : "D152836A-ED4E-4FBE-951D-A8D7C9AA3683", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -669,11 +675,11 @@ "type" : 2 }, { - "id" : "2ECA8852-5538-4A4E-B79C-BB3188C39312", + "id" : "D152836A-ED4E-4FBE-951D-A8D7C9AA3683", "type" : 4 }, { - "id" : "2EEA53C8-60B7-472B-9CEC-2541DCAB1094", + "id" : "0560432C-3D42-45AA-845E-A41AEED05AF1", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -682,26 +688,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2EEA53C8-60B7-472B-9CEC-2541DCAB1094", + "id" : "0560432C-3D42-45AA-845E-A41AEED05AF1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:20:02 GMT", + "Date" : "Sun, 24 May 2020 08:54:43 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -711,7 +717,7 @@ "type" : 1 }, { - "id" : "2EEA53C8-60B7-472B-9CEC-2541DCAB1094", + "id" : "0560432C-3D42-45AA-845E-A41AEED05AF1", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -719,7 +725,7 @@ "type" : 2 }, { - "id" : "2EEA53C8-60B7-472B-9CEC-2541DCAB1094", + "id" : "0560432C-3D42-45AA-845E-A41AEED05AF1", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndTriggerDeleteEventOnUUIDChannel.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndTriggerDeleteEventOnUUIDChannel.json new file mode 100644 index 000000000..6ae8719f0 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldRemoveMembershipUsingManageAndTriggerDeleteEventOnUUIDChannel.json @@ -0,0 +1,782 @@ +[ + { + "id" : "6EC1A68B-610D-4046-8174-CBFBE5A48A33", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "6EC1A68B-610D-4046-8174-CBFBE5A48A33", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:45 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "6EC1A68B-610D-4046-8174-CBFBE5A48A33", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "6EC1A68B-610D-4046-8174-CBFBE5A48A33", + "type" : 4 + }, + { + "id" : "85E4A143-E7E2-4D75-9984-07AC65812383", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "85E4A143-E7E2-4D75-9984-07AC65812383", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:45 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "85E4A143-E7E2-4D75-9984-07AC65812383", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "85E4A143-E7E2-4D75-9984-07AC65812383", + "type" : 4 + }, + { + "id" : "B6453B26-ED7C-42CB-9F86-0D6A5F137150", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "B6453B26-ED7C-42CB-9F86-0D6A5F137150", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:45 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "B6453B26-ED7C-42CB-9F86-0D6A5F137150", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDo0NS45MzE2MzhaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "B6453B26-ED7C-42CB-9F86-0D6A5F137150", + "type" : 4 + }, + { + "id" : "0AD7CE5F-D82A-49E9-A358-607627363712", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "0AD7CE5F-D82A-49E9-A358-607627363712", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:46 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "0AD7CE5F-D82A-49E9-A358-607627363712", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDo0Ni4yNDM5NDRaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "0AD7CE5F-D82A-49E9-A358-607627363712", + "type" : 4 + }, + { + "id" : "3FFC5374-AD61-4809-A211-3FF2109E8CC3", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3FFC5374-AD61-4809-A211-3FF2109E8CC3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:47 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "3FFC5374-AD61-4809-A211-3FF2109E8CC3", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjQ3LjU2NzUxMVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "3FFC5374-AD61-4809-A211-3FF2109E8CC3", + "type" : 4 + }, + { + "id" : "E1E40A63-3344-4996-8867-6521DAED37BD", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "133", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "E1E40A63-3344-4996-8867-6521DAED37BD", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:54:48 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "E1E40A63-3344-4996-8867-6521DAED37BD", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6NDguODkzNjM4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6NDguODk5MDg4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + }, + "type" : 2 + }, + { + "id" : "E1E40A63-3344-4996-8867-6521DAED37BD", + "type" : 4 + }, + { + "id" : "EBBA9DFB-C0A0-44BC-8D2B-A9839329990E", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "EBBA9DFB-C0A0-44BC-8D2B-A9839329990E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:54:50 GMT", + "Content-Length" : "45", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "EBBA9DFB-C0A0-44BC-8D2B-A9839329990E", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNDg4OTAwOTg4OCIsInIiOjU2fSwibSI6W119" + }, + "type" : 2 + }, + { + "id" : "EBBA9DFB-C0A0-44BC-8D2B-A9839329990E", + "type" : 4 + }, + { + "id" : "ED765F87-1421-4257-97B0-CCB9C5B83659", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104889009888&tr=56" + }, + "type" : 0 + }, + { + "id" : "B36B7FE1-F17E-4E94-8670-5B40E4EC4B32", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "136", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "ED765F87-1421-4257-97B0-CCB9C5B83659", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104889009888&tr=56", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:54:50 GMT", + "Content-Length" : "395", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "ED765F87-1421-4257-97B0-CCB9C5B83659", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNDkwNTcwODMxMyIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNDkwNTcyMTAzNyIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX19fV19" + }, + "type" : 2 + }, + { + "id" : "B36B7FE1-F17E-4E94-8670-5B40E4EC4B32", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:50 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "B36B7FE1-F17E-4E94-8670-5B40E4EC4B32", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "B36B7FE1-F17E-4E94-8670-5B40E4EC4B32", + "type" : 4 + }, + { + "id" : "ED765F87-1421-4257-97B0-CCB9C5B83659", + "type" : 4 + }, + { + "id" : "90AB64C3-7D83-47AC-80D9-0EED11899D10", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104905708313&tr=56" + }, + "type" : 0 + }, + { + "id" : "90AB64C3-7D83-47AC-80D9-0EED11899D10", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104905708313&tr=56", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:54:50 GMT", + "Content-Length" : "395", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "90AB64C3-7D83-47AC-80D9-0EED11899D10", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNDkwNTczMzE2MCIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNDkwNTc0NjU5NCIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifSwidXVpZCI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX19fV19" + }, + "type" : 2 + }, + { + "id" : "90AB64C3-7D83-47AC-80D9-0EED11899D10", + "type" : 4 + }, + { + "id" : "665E37F0-CB49-4251-9795-00F16667F081", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104905733160&tr=56" + }, + "type" : 0 + }, + { + "id" : "665E37F0-CB49-4251-9795-00F16667F081", + "data" : { + "code" : -999, + "info" : { + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104905733160&tr=56", + "NSLocalizedDescription" : "cancelled", + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903104905733160&tr=56" + }, + "cls" : "NSError", + "domain" : "NSURLErrorDomain" + }, + "type" : 3 + }, + { + "id" : "A1DC75E9-56A2-4395-AEFB-AA15735ECDBA", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "A1DC75E9-56A2-4395-AEFB-AA15735ECDBA", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Server" : "Pubnub Presence", + "Access-Control-Allow-Origin" : "*", + "Age" : "0", + "Date" : "Sun, 24 May 2020 08:54:51 GMT", + "Accept-Ranges" : "bytes", + "Content-Length" : "74", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "A1DC75E9-56A2-4395-AEFB-AA15735ECDBA", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" + }, + "type" : 2 + }, + { + "id" : "A1DC75E9-56A2-4395-AEFB-AA15735ECDBA", + "type" : 4 + }, + { + "id" : "310DAFF6-96BB-43C5-B933-ABA597C09D89", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "310DAFF6-96BB-43C5-B933-ABA597C09D89", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:51 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "310DAFF6-96BB-43C5-B933-ABA597C09D89", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "310DAFF6-96BB-43C5-B933-ABA597C09D89", + "type" : 4 + }, + { + "id" : "882172E4-70F9-4830-BF5E-AA17ED05D755", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "882172E4-70F9-4830-BF5E-AA17ED05D755", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:52 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "882172E4-70F9-4830-BF5E-AA17ED05D755", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "882172E4-70F9-4830-BF5E-AA17ED05D755", + "type" : 4 + }, + { + "id" : "7BA6F5FC-C8F6-4641-A9AE-000C6AC6576F", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7BA6F5FC-C8F6-4641-A9AE-000C6AC6576F", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:54:53 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "7BA6F5FC-C8F6-4641-A9AE-000C6AC6576F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "7BA6F5FC-C8F6-4641-A9AE-000C6AC6576F", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReceiveStatusWithExpectedOperationAndCategory.json similarity index 52% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReceiveStatusWithExpectedOperationAndCategory.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReceiveStatusWithExpectedOperationAndCategory.json index c85fe9fcf..cf6a89813 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReceiveStatusWithExpectedOperationAndCategory.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReceiveStatusWithExpectedOperationAndCategory.json @@ -1,6 +1,6 @@ [ { - "id" : "21850A42-1EA2-4B0D-917F-60450226DE9D", + "id" : "D8940DA6-B035-4C6A-99C5-72F9C8E414A6", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "21850A42-1EA2-4B0D-917F-60450226DE9D", + "id" : "D8940DA6-B035-4C6A-99C5-72F9C8E414A6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:01 GMT", + "Date" : "Sun, 24 May 2020 08:54:54 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "21850A42-1EA2-4B0D-917F-60450226DE9D", + "id" : "D8940DA6-B035-4C6A-99C5-72F9C8E414A6", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "21850A42-1EA2-4B0D-917F-60450226DE9D", + "id" : "D8940DA6-B035-4C6A-99C5-72F9C8E414A6", "type" : 4 }, { - "id" : "94B3A8A7-21E5-4F61-8564-FB14C0D8A466", + "id" : "9DA17ACD-74AA-49DD-BFEF-BCCEF2BE1817", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "94B3A8A7-21E5-4F61-8564-FB14C0D8A466", + "id" : "9DA17ACD-74AA-49DD-BFEF-BCCEF2BE1817", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:01 GMT", + "Date" : "Sun, 24 May 2020 08:54:55 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "94B3A8A7-21E5-4F61-8564-FB14C0D8A466", + "id" : "9DA17ACD-74AA-49DD-BFEF-BCCEF2BE1817", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "94B3A8A7-21E5-4F61-8564-FB14C0D8A466", + "id" : "9DA17ACD-74AA-49DD-BFEF-BCCEF2BE1817", "type" : 4 }, { - "id" : "306C8EB8-95B8-45D9-ACD7-34C583126A43", + "id" : "90E19F1E-201A-4C3D-AC61-4C08F913570A", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "306C8EB8-95B8-45D9-ACD7-34C583126A43", + "id" : "90E19F1E-201A-4C3D-AC61-4C08F913570A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:01 GMT", + "Date" : "Sun, 24 May 2020 08:54:55 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "306C8EB8-95B8-45D9-ACD7-34C583126A43", + "id" : "90E19F1E-201A-4C3D-AC61-4C08F913570A", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjowMS40MzA3ODdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6MDEuNDMwNzg3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDo1NS4zODk0MDVaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "306C8EB8-95B8-45D9-ACD7-34C583126A43", + "id" : "90E19F1E-201A-4C3D-AC61-4C08F913570A", "type" : 4 }, { - "id" : "05B8A778-9F7F-4179-ACE3-3D12DC4B9214", + "id" : "8B7D34F8-C085-49E5-A145-49BC0438F8D9", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "05B8A778-9F7F-4179-ACE3-3D12DC4B9214", + "id" : "8B7D34F8-C085-49E5-A145-49BC0438F8D9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:03 GMT", + "Date" : "Sun, 24 May 2020 08:54:55 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "05B8A778-9F7F-4179-ACE3-3D12DC4B9214", + "id" : "8B7D34F8-C085-49E5-A145-49BC0438F8D9", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjAzLjA0MDI5MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjowMy4wNDAyOTFaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDo1NS42MDg2MjJaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "05B8A778-9F7F-4179-ACE3-3D12DC4B9214", + "id" : "8B7D34F8-C085-49E5-A145-49BC0438F8D9", "type" : 4 }, { - "id" : "FBC9DE35-9134-4F94-B4FC-A47159F281BC", + "id" : "3219C25B-988D-4136-807E-7850C781AFF2", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FBC9DE35-9134-4F94-B4FC-A47159F281BC", + "id" : "3219C25B-988D-4136-807E-7850C781AFF2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:04 GMT", + "Date" : "Sun, 24 May 2020 08:54:56 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "FBC9DE35-9134-4F94-B4FC-A47159F281BC", + "id" : "3219C25B-988D-4136-807E-7850C781AFF2", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjAzLjY4MTE5M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjowMy42ODExOTNaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU0OjU2Ljg0MjM3OFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "FBC9DE35-9134-4F94-B4FC-A47159F281BC", + "id" : "3219C25B-988D-4136-807E-7850C781AFF2", "type" : 4 }, { - "id" : "AD68A459-8E19-4852-8001-58059D8DB46D", + "id" : "D8CD0045-C371-4379-B653-17396F415F4B", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "265", + "Content-Length" : "319", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlci1jdXN0b20iOiJTZXJoaWktdXNlci1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifX0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXItY3VzdG9tIjoiS2ltLXVzZXItaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn19XX0=" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOnsidXVpZC1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn19XX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "AD68A459-8E19-4852-8001-58059D8DB46D", + "id" : "D8CD0045-C371-4379-B653-17396F415F4B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:07 GMT", + "Date" : "Sun, 24 May 2020 08:54:58 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "AD68A459-8E19-4852-8001-58059D8DB46D", + "id" : "D8CD0045-C371-4379-B653-17396F415F4B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyLWN1c3RvbSI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjowNS43MjI4OTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6MDUuNzIyODk5WiIsImVUYWciOiJBWlBJdzVmdjg5YmhLUSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyLWN1c3RvbSI6IktpbS11c2VyLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjowNi40MjYxNDFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6MDYuNDI2MTQxWiIsImVUYWciOiJBZkgxOC9YdXo5YlN4QUUifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6eyJ1dWlkLW1lbWJlcnNoaXAtY3VzdG9tIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NDo1OC4wODEzNFoiLCJlVGFnIjoiQWFqcjg5N2xnOVdJQ2cifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOnsidXVpZC1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTEifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTQ6NTguMDkyMjczWiIsImVUYWciOiJBZVA5ODQrUDZJdVFTUSJ9XSwibmV4dCI6Ik1nIn0=" }, "type" : 2 }, { - "id" : "AD68A459-8E19-4852-8001-58059D8DB46D", + "id" : "D8CD0045-C371-4379-B653-17396F415F4B", "type" : 4 }, { - "id" : "8B566BC5-EF8D-4E9D-A5FB-F304F45012A4", + "id" : "A5425797-3082-459E-9E39-94CB62E8452F", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,31 +342,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "101", + "Content-Length" : "136", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8B566BC5-EF8D-4E9D-A5FB-F304F45012A4", + "id" : "A5425797-3082-459E-9E39-94CB62E8452F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:09 GMT", + "Date" : "Sun, 24 May 2020 08:54:59 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -376,7 +376,7 @@ "type" : 1 }, { - "id" : "8B566BC5-EF8D-4E9D-A5FB-F304F45012A4", + "id" : "A5425797-3082-459E-9E39-94CB62E8452F", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -384,11 +384,11 @@ "type" : 2 }, { - "id" : "8B566BC5-EF8D-4E9D-A5FB-F304F45012A4", + "id" : "A5425797-3082-459E-9E39-94CB62E8452F", "type" : 4 }, { - "id" : "B956BA6F-2F68-47F4-969E-4A93D29D728C", + "id" : "8C9B7F3A-CE74-4E66-8C6C-D28EFAA1D348", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -397,26 +397,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B956BA6F-2F68-47F4-969E-4A93D29D728C", + "id" : "8C9B7F3A-CE74-4E66-8C6C-D28EFAA1D348", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:10 GMT", + "Date" : "Sun, 24 May 2020 08:54:59 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -426,7 +426,7 @@ "type" : 1 }, { - "id" : "B956BA6F-2F68-47F4-969E-4A93D29D728C", + "id" : "8C9B7F3A-CE74-4E66-8C6C-D28EFAA1D348", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -434,11 +434,11 @@ "type" : 2 }, { - "id" : "B956BA6F-2F68-47F4-969E-4A93D29D728C", + "id" : "8C9B7F3A-CE74-4E66-8C6C-D28EFAA1D348", "type" : 4 }, { - "id" : "AD334878-B0A6-434D-84A3-84A94ABB65AB", + "id" : "702B58CD-65AE-4CDC-A77F-98FCAC89E136", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -447,26 +447,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "AD334878-B0A6-434D-84A3-84A94ABB65AB", + "id" : "702B58CD-65AE-4CDC-A77F-98FCAC89E136", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:11 GMT", + "Date" : "Sun, 24 May 2020 08:55:00 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -476,7 +476,7 @@ "type" : 1 }, { - "id" : "AD334878-B0A6-434D-84A3-84A94ABB65AB", + "id" : "702B58CD-65AE-4CDC-A77F-98FCAC89E136", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -484,11 +484,11 @@ "type" : 2 }, { - "id" : "AD334878-B0A6-434D-84A3-84A94ABB65AB", + "id" : "702B58CD-65AE-4CDC-A77F-98FCAC89E136", "type" : 4 }, { - "id" : "01DE3625-A2DA-4047-92B7-5A8C95E3EACA", + "id" : "8E5ECE9A-0AA3-49F8-A79E-E9CF6925B489", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -497,26 +497,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "01DE3625-A2DA-4047-92B7-5A8C95E3EACA", + "id" : "8E5ECE9A-0AA3-49F8-A79E-E9CF6925B489", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:12 GMT", + "Date" : "Sun, 24 May 2020 08:55:01 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -526,7 +526,7 @@ "type" : 1 }, { - "id" : "01DE3625-A2DA-4047-92B7-5A8C95E3EACA", + "id" : "8E5ECE9A-0AA3-49F8-A79E-E9CF6925B489", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -534,7 +534,7 @@ "type" : 2 }, { - "id" : "01DE3625-A2DA-4047-92B7-5A8C95E3EACA", + "id" : "8E5ECE9A-0AA3-49F8-A79E-E9CF6925B489", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnFilteredUserInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnFilteredMembershipsInformationWhenFilterIsSet.json similarity index 51% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnFilteredUserInformationWhenFilterIsSet.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnFilteredMembershipsInformationWhenFilterIsSet.json index 3265df8ea..ef2f99148 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnFilteredUserInformationWhenFilterIsSet.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnFilteredMembershipsInformationWhenFilterIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "2F0BB509-FA86-4CE0-983C-481A8719EDF6", + "id" : "C2D64748-A2D1-442C-86F1-E76AD0A76F34", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2F0BB509-FA86-4CE0-983C-481A8719EDF6", + "id" : "C2D64748-A2D1-442C-86F1-E76AD0A76F34", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:14 GMT", + "Date" : "Sun, 24 May 2020 08:55:03 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "2F0BB509-FA86-4CE0-983C-481A8719EDF6", + "id" : "C2D64748-A2D1-442C-86F1-E76AD0A76F34", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "2F0BB509-FA86-4CE0-983C-481A8719EDF6", + "id" : "C2D64748-A2D1-442C-86F1-E76AD0A76F34", "type" : 4 }, { - "id" : "4E2169D1-F3D9-4FFD-B622-F4A5E70D8B4F", + "id" : "B2C06C17-3C18-4ACE-B2E2-713847DC20CB", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4E2169D1-F3D9-4FFD-B622-F4A5E70D8B4F", + "id" : "B2C06C17-3C18-4ACE-B2E2-713847DC20CB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:15 GMT", + "Date" : "Sun, 24 May 2020 08:55:03 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "4E2169D1-F3D9-4FFD-B622-F4A5E70D8B4F", + "id" : "B2C06C17-3C18-4ACE-B2E2-713847DC20CB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "4E2169D1-F3D9-4FFD-B622-F4A5E70D8B4F", + "id" : "B2C06C17-3C18-4ACE-B2E2-713847DC20CB", "type" : 4 }, { - "id" : "463BC77B-260F-4B1C-8C96-1EF9222A639D", + "id" : "4582A89D-3670-4802-8BBD-46D9EB1D358B", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "463BC77B-260F-4B1C-8C96-1EF9222A639D", + "id" : "4582A89D-3670-4802-8BBD-46D9EB1D358B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:15 GMT", + "Date" : "Sun, 24 May 2020 08:55:03 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "463BC77B-260F-4B1C-8C96-1EF9222A639D", + "id" : "4582A89D-3670-4802-8BBD-46D9EB1D358B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjoxNS4xODk1NTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6MTUuMTg5NTU0WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTowMy41MjYxNzNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "463BC77B-260F-4B1C-8C96-1EF9222A639D", + "id" : "4582A89D-3670-4802-8BBD-46D9EB1D358B", "type" : 4 }, { - "id" : "2EB704BA-6743-498C-ADD8-73B26BE23035", + "id" : "5F610B7D-7305-43E7-B26A-6169E8420F91", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2EB704BA-6743-498C-ADD8-73B26BE23035", + "id" : "5F610B7D-7305-43E7-B26A-6169E8420F91", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:17 GMT", + "Date" : "Sun, 24 May 2020 08:55:03 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "2EB704BA-6743-498C-ADD8-73B26BE23035", + "id" : "5F610B7D-7305-43E7-B26A-6169E8420F91", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjE2LjgwMjQ1NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjoxNi44MDI0NTRaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTowMy43NDg3MTJaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "2EB704BA-6743-498C-ADD8-73B26BE23035", + "id" : "5F610B7D-7305-43E7-B26A-6169E8420F91", "type" : 4 }, { - "id" : "7F494E05-E2C2-4413-B0DC-6592DA03913A", + "id" : "D66FF90E-691D-42D9-990B-BB096F6D1F4E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7F494E05-E2C2-4413-B0DC-6592DA03913A", + "id" : "D66FF90E-691D-42D9-990B-BB096F6D1F4E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:17 GMT", + "Date" : "Sun, 24 May 2020 08:55:05 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "7F494E05-E2C2-4413-B0DC-6592DA03913A", + "id" : "D66FF90E-691D-42D9-990B-BB096F6D1F4E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjE3LjM4NDQ5MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjoxNy4zODQ0OTJaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjA0Ljk5ODYzNVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "7F494E05-E2C2-4413-B0DC-6592DA03913A", + "id" : "D66FF90E-691D-42D9-990B-BB096F6D1F4E", "type" : 4 }, { - "id" : "59DB98B2-DB8A-4EAD-A8B4-FF012DA975F7", + "id" : "DFA3F2D7-FF7B-4AEF-822B-DC3D81A19FDB", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?filter=user.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?filter=channel.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii" }, "type" : 0 }, { - "id" : "59DB98B2-DB8A-4EAD-A8B4-FF012DA975F7", + "id" : "DFA3F2D7-FF7B-4AEF-822B-DC3D81A19FDB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?filter=user.name%20like%20'K*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=user,user.custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?filter=channel.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:21 GMT", + "Date" : "Sun, 24 May 2020 08:55:06 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "59DB98B2-DB8A-4EAD-A8B4-FF012DA975F7", + "id" : "DFA3F2D7-FF7B-4AEF-822B-DC3D81A19FDB", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjE3LjM4NDQ5MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjoxNy4zODQ0OTJaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjIwLjA3MjU2MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjoyMC4wNzI1NjJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTowMy43NDg3MTJaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTowNi4yNTEwNDJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" }, "type" : 2 }, { - "id" : "59DB98B2-DB8A-4EAD-A8B4-FF012DA975F7", + "id" : "DFA3F2D7-FF7B-4AEF-822B-DC3D81A19FDB", "type" : 4 }, { - "id" : "7E0EC756-1E33-481D-8C52-398C603C52D3", + "id" : "DBB9E1B2-08CE-46CB-AF14-3010A70DF879", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,33 +342,33 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "55", + "Content-Length" : "74", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7E0EC756-1E33-481D-8C52-398C603C52D3", + "id" : "DBB9E1B2-08CE-46CB-AF14-3010A70DF879", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:23 GMT", + "Date" : "Sun, 24 May 2020 08:55:07 GMT", "Content-Type" : "application\/json", - "Content-Length" : "185", + "Content-Length" : "161", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -376,19 +376,19 @@ "type" : 1 }, { - "id" : "7E0EC756-1E33-481D-8C52-398C603C52D3", + "id" : "DBB9E1B2-08CE-46CB-AF14-3010A70DF879", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6MTkuMzc3MjQ0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjE5LjM3NzI0NFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNUSJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjA2LjI0NTE4N1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNUSJ9" }, "type" : 2 }, { - "id" : "7E0EC756-1E33-481D-8C52-398C603C52D3", + "id" : "DBB9E1B2-08CE-46CB-AF14-3010A70DF879", "type" : 4 }, { - "id" : "34974D67-A0CC-4AF3-A5A3-5DA932EAB45B", + "id" : "7B7AF573-7B08-4B8E-AF13-4BA1A02157E2", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -397,26 +397,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "34974D67-A0CC-4AF3-A5A3-5DA932EAB45B", + "id" : "7B7AF573-7B08-4B8E-AF13-4BA1A02157E2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:24 GMT", + "Date" : "Sun, 24 May 2020 08:55:07 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -426,7 +426,7 @@ "type" : 1 }, { - "id" : "34974D67-A0CC-4AF3-A5A3-5DA932EAB45B", + "id" : "7B7AF573-7B08-4B8E-AF13-4BA1A02157E2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -434,11 +434,11 @@ "type" : 2 }, { - "id" : "34974D67-A0CC-4AF3-A5A3-5DA932EAB45B", + "id" : "7B7AF573-7B08-4B8E-AF13-4BA1A02157E2", "type" : 4 }, { - "id" : "F4B787A3-AAEA-47E5-8DA9-2CDA54069D17", + "id" : "36A8C9E0-13BC-42CB-A7BB-F8D14011B278", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -447,26 +447,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F4B787A3-AAEA-47E5-8DA9-2CDA54069D17", + "id" : "36A8C9E0-13BC-42CB-A7BB-F8D14011B278", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:25 GMT", + "Date" : "Sun, 24 May 2020 08:55:08 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -476,7 +476,7 @@ "type" : 1 }, { - "id" : "F4B787A3-AAEA-47E5-8DA9-2CDA54069D17", + "id" : "36A8C9E0-13BC-42CB-A7BB-F8D14011B278", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -484,11 +484,11 @@ "type" : 2 }, { - "id" : "F4B787A3-AAEA-47E5-8DA9-2CDA54069D17", + "id" : "36A8C9E0-13BC-42CB-A7BB-F8D14011B278", "type" : 4 }, { - "id" : "6AD2099E-3D7C-444D-AEF0-455B246B4686", + "id" : "B1A6933A-D3E0-415F-B8C3-496BD1719B51", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -497,26 +497,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6AD2099E-3D7C-444D-AEF0-455B246B4686", + "id" : "B1A6933A-D3E0-415F-B8C3-496BD1719B51", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:26 GMT", + "Date" : "Sun, 24 May 2020 08:55:09 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -526,7 +526,7 @@ "type" : 1 }, { - "id" : "6AD2099E-3D7C-444D-AEF0-455B246B4686", + "id" : "B1A6933A-D3E0-415F-B8C3-496BD1719B51", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -534,7 +534,7 @@ "type" : 2 }, { - "id" : "6AD2099E-3D7C-444D-AEF0-455B246B4686", + "id" : "B1A6933A-D3E0-415F-B8C3-496BD1719B51", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnMembershipInformationWhenIncludeFlagIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnMembershipInformationWhenIncludeFlagIsSet.json new file mode 100644 index 000000000..2b5fa96de --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnMembershipInformationWhenIncludeFlagIsSet.json @@ -0,0 +1,540 @@ +[ + { + "id" : "3B31FEC1-AD1D-467C-ADC3-AB42FF87D2EB", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3B31FEC1-AD1D-467C-ADC3-AB42FF87D2EB", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:11 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "3B31FEC1-AD1D-467C-ADC3-AB42FF87D2EB", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "3B31FEC1-AD1D-467C-ADC3-AB42FF87D2EB", + "type" : 4 + }, + { + "id" : "DAA01056-87ED-4BD4-9B5A-8340C055FA2D", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "DAA01056-87ED-4BD4-9B5A-8340C055FA2D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:11 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "DAA01056-87ED-4BD4-9B5A-8340C055FA2D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "DAA01056-87ED-4BD4-9B5A-8340C055FA2D", + "type" : 4 + }, + { + "id" : "78D0A596-267A-495A-A3F0-F4DFA4E07456", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "78D0A596-267A-495A-A3F0-F4DFA4E07456", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:11 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "78D0A596-267A-495A-A3F0-F4DFA4E07456", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToxMS42NDUyNDJaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "78D0A596-267A-495A-A3F0-F4DFA4E07456", + "type" : 4 + }, + { + "id" : "9603908F-0CC5-49F3-8F97-736850DBBEA0", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "9603908F-0CC5-49F3-8F97-736850DBBEA0", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:11 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "9603908F-0CC5-49F3-8F97-736850DBBEA0", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToxMS44NjcxODVaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "9603908F-0CC5-49F3-8F97-736850DBBEA0", + "type" : 4 + }, + { + "id" : "6784446B-DC99-4A48-BF22-99413FF2DD51", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "6784446B-DC99-4A48-BF22-99413FF2DD51", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:13 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "6784446B-DC99-4A48-BF22-99413FF2DD51", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjEzLjExNzczOFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "6784446B-DC99-4A48-BF22-99413FF2DD51", + "type" : 4 + }, + { + "id" : "49EF42E1-FF7C-45A6-A861-8995ABDB6933", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "133", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "49EF42E1-FF7C-45A6-A861-8995ABDB6933", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:14 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "49EF42E1-FF7C-45A6-A861-8995ABDB6933", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToxMS44NjcxODVaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToxNC4zNjI2MjhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjExLjY0NTI0MloiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTU6MTQuMzU3MzE0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + }, + "type" : 2 + }, + { + "id" : "49EF42E1-FF7C-45A6-A861-8995ABDB6933", + "type" : 4 + }, + { + "id" : "8413559E-4B0A-4F8A-8AD0-20AF36B51D15", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "136", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8413559E-4B0A-4F8A-8AD0-20AF36B51D15", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:15 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "8413559E-4B0A-4F8A-8AD0-20AF36B51D15", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "8413559E-4B0A-4F8A-8AD0-20AF36B51D15", + "type" : 4 + }, + { + "id" : "A78F7FCD-C4BD-47C3-B4D9-27675FEA755A", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "A78F7FCD-C4BD-47C3-B4D9-27675FEA755A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:15 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "A78F7FCD-C4BD-47C3-B4D9-27675FEA755A", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "A78F7FCD-C4BD-47C3-B4D9-27675FEA755A", + "type" : 4 + }, + { + "id" : "F525487B-AF8A-4047-90C7-7619D7BE2D0C", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "F525487B-AF8A-4047-90C7-7619D7BE2D0C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:17 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "F525487B-AF8A-4047-90C7-7619D7BE2D0C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "F525487B-AF8A-4047-90C7-7619D7BE2D0C", + "type" : 4 + }, + { + "id" : "861C8826-36D8-4E2F-9872-CE79FD586A6C", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "861C8826-36D8-4E2F-9872-CE79FD586A6C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:17 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "861C8826-36D8-4E2F-9872-CE79FD586A6C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "861C8826-36D8-4E2F-9872-CE79FD586A6C", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnSortedMembershipsInformationWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnSortedMembershipsInformationWhenSortIsSet.json new file mode 100644 index 000000000..9033c6acd --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndReturnSortedMembershipsInformationWhenSortIsSet.json @@ -0,0 +1,598 @@ +[ + { + "id" : "8334AE4B-6FEC-436D-A120-E31DE59A62ED", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8334AE4B-6FEC-436D-A120-E31DE59A62ED", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:19 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "8334AE4B-6FEC-436D-A120-E31DE59A62ED", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "8334AE4B-6FEC-436D-A120-E31DE59A62ED", + "type" : 4 + }, + { + "id" : "2524EDFD-DF68-4BE9-80B2-C81F0049376F", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "2524EDFD-DF68-4BE9-80B2-C81F0049376F", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:19 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "2524EDFD-DF68-4BE9-80B2-C81F0049376F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "2524EDFD-DF68-4BE9-80B2-C81F0049376F", + "type" : 4 + }, + { + "id" : "D540C0FE-8DF8-45A3-8E78-E51E9ED75152", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D540C0FE-8DF8-45A3-8E78-E51E9ED75152", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:19 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "D540C0FE-8DF8-45A3-8E78-E51E9ED75152", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToxOS45ODE2ODhaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "D540C0FE-8DF8-45A3-8E78-E51E9ED75152", + "type" : 4 + }, + { + "id" : "BE1227E2-92E8-47A3-8479-8F4A1F539F04", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "BE1227E2-92E8-47A3-8479-8F4A1F539F04", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:20 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "BE1227E2-92E8-47A3-8479-8F4A1F539F04", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToyMC4yMDY3MloiLCJlVGFnIjoiQWJXSW5JZUcwdXlvMGdFIn19" + }, + "type" : 2 + }, + { + "id" : "BE1227E2-92E8-47A3-8479-8F4A1F539F04", + "type" : 4 + }, + { + "id" : "FD9E83AC-F0FF-4119-97DD-C91A66675FF1", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "FD9E83AC-F0FF-4119-97DD-C91A66675FF1", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:21 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "FD9E83AC-F0FF-4119-97DD-C91A66675FF1", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjIxLjQ0OTUwOFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "FD9E83AC-F0FF-4119-97DD-C91A66675FF1", + "type" : 4 + }, + { + "id" : "8EF8E041-E3BA-4328-9BEE-A9A53358754E", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "133", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "8EF8E041-E3BA-4328-9BEE-A9A53358754E", + "data" : { + "status" : 404, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:22 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "8EF8E041-E3BA-4328-9BEE-A9A53358754E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToyMC4yMDY3MloiLCJlVGFnIjoiQWJXSW5JZUcwdXlvMGdFIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjIyLjc5MTYyNloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTU6MTkuOTgxNjg4WiIsImVUYWciOiJBWTJCNnFISXhlVCtMZyJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToyMi43ODY0MDhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50IjoyLCJuZXh0IjoiTWcifQ==" + }, + "type" : 2 + }, + { + "id" : "8EF8E041-E3BA-4328-9BEE-A9A53358754E", + "type" : 4 + }, + { + "id" : "8EF8E041-E3BA-4328-9BEE-A9A53358751E", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "133", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "8EF8E041-E3BA-4328-9BEE-A9A53358751E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:22 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "8EF8E041-E3BA-4328-9BEE-A9A53358751E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToyMC4yMDY3MloiLCJlVGFnIjoiQWJXSW5JZUcwdXlvMGdFIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjIyLjc5MTYyNloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTU6MTkuOTgxNjg4WiIsImVUYWciOiJBWTJCNnFISXhlVCtMZyJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToyMi43ODY0MDhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50IjoyLCJuZXh0IjoiTWcifQ==" + }, + "type" : 2 + }, + { + "id" : "8EF8E041-E3BA-4328-9BEE-A9A53358751E", + "type" : 4 + }, + { + "id" : "49E5DBD1-9668-4BED-A868-DCE450AB1065", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "136", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "49E5DBD1-9668-4BED-A868-DCE450AB1065", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:24 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "49E5DBD1-9668-4BED-A868-DCE450AB1065", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "49E5DBD1-9668-4BED-A868-DCE450AB1065", + "type" : 4 + }, + { + "id" : "7FD33348-0A5A-48F0-A3CF-65E8E5601AE5", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7FD33348-0A5A-48F0-A3CF-65E8E5601AE5", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:24 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "7FD33348-0A5A-48F0-A3CF-65E8E5601AE5", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "7FD33348-0A5A-48F0-A3CF-65E8E5601AE5", + "type" : 4 + }, + { + "id" : "3A8CE9D4-08D9-4993-B598-96509D12A90B", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3A8CE9D4-08D9-4993-B598-96509D12A90B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:25 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "3A8CE9D4-08D9-4993-B598-96509D12A90B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "3A8CE9D4-08D9-4993-B598-96509D12A90B", + "type" : 4 + }, + { + "id" : "A4E9DDEE-CA15-4021-B51E-07DA649B25CE", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "A4E9DDEE-CA15-4021-B51E-07DA649B25CE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:25 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "A4E9DDEE-CA15-4021-B51E-07DA649B25CE", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "A4E9DDEE-CA15-4021-B51E-07DA649B25CE", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndTriggerSetEventOnChannel.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndTriggerSetEventOnChannel.json new file mode 100644 index 000000000..345e72ed2 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndTriggerSetEventOnChannel.json @@ -0,0 +1,731 @@ +[ + { + "id" : "3CB16F28-6BCC-4837-ACEA-59F558CF40CA", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3CB16F28-6BCC-4837-ACEA-59F558CF40CA", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:27 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "3CB16F28-6BCC-4837-ACEA-59F558CF40CA", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "3CB16F28-6BCC-4837-ACEA-59F558CF40CA", + "type" : 4 + }, + { + "id" : "28E043F8-DD3C-4E98-B846-2F8C88D04940", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "28E043F8-DD3C-4E98-B846-2F8C88D04940", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:27 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "28E043F8-DD3C-4E98-B846-2F8C88D04940", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "28E043F8-DD3C-4E98-B846-2F8C88D04940", + "type" : 4 + }, + { + "id" : "650018F2-33AC-4CD1-B675-863ACC0A11BF", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "650018F2-33AC-4CD1-B675-863ACC0A11BF", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:28 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "650018F2-33AC-4CD1-B675-863ACC0A11BF", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToyOC40MDgxNjdaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "650018F2-33AC-4CD1-B675-863ACC0A11BF", + "type" : 4 + }, + { + "id" : "6E5BEF86-5BFE-42BA-98B3-F862842E284F", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "6E5BEF86-5BFE-42BA-98B3-F862842E284F", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:28 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "6E5BEF86-5BFE-42BA-98B3-F862842E284F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToyOC42MjgyMDVaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "6E5BEF86-5BFE-42BA-98B3-F862842E284F", + "type" : 4 + }, + { + "id" : "8CC353E7-7979-4E9D-AEC8-9941D0FB0D44", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "8CC353E7-7979-4E9D-AEC8-9941D0FB0D44", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:29 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "8CC353E7-7979-4E9D-AEC8-9941D0FB0D44", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjI5Ljg2Mzg1M1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "8CC353E7-7979-4E9D-AEC8-9941D0FB0D44", + "type" : 4 + }, + { + "id" : "3B0A286B-8048-4545-BBDC-4017612A1930", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "3B0A286B-8048-4545-BBDC-4017612A1930", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:55:31 GMT", + "Content-Length" : "45", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "3B0A286B-8048-4545-BBDC-4017612A1930", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNTI4NDEwNjA2NiIsInIiOjU2fSwibSI6W119" + }, + "type" : 2 + }, + { + "id" : "3B0A286B-8048-4545-BBDC-4017612A1930", + "type" : 4 + }, + { + "id" : "36CD45C9-E8D2-4922-B2B0-F93C59BCDE6A", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105284106066&tr=56" + }, + "type" : 0 + }, + { + "id" : "76E51772-5371-40B4-ABD5-A3DF786A1AAA", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "133", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "36CD45C9-E8D2-4922-B2B0-F93C59BCDE6A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105284106066&tr=56", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:55:31 GMT", + "Content-Length" : "463", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "36CD45C9-E8D2-4922-B2B0-F93C59BCDE6A", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNTMxNjI1NzE2MyIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNTMxNjI3MDAyOCIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJzZXQiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImVUYWciOiJBWTM5bUpLSy8vQzBWQSIsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjMxLjYyMDk3MjkwNFoiLCJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9fX19XX0=" + }, + "type" : 2 + }, + { + "id" : "76E51772-5371-40B4-ABD5-A3DF786A1AAA", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:31 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "76E51772-5371-40B4-ABD5-A3DF786A1AAA", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NToyOC40MDgxNjdaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjMxLjYyMDk3M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTU6MjguNjI4MjA1WiIsImVUYWciOiJBYldJbkllRzB1eW8wZ0UifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTU6MzEuNjMxNzczWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + }, + "type" : 2 + }, + { + "id" : "76E51772-5371-40B4-ABD5-A3DF786A1AAA", + "type" : 4 + }, + { + "id" : "36CD45C9-E8D2-4922-B2B0-F93C59BCDE6A", + "type" : 4 + }, + { + "id" : "0EFE32D3-EE6F-46F4-84A6-0047485D4003", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105316257163&tr=56" + }, + "type" : 0 + }, + { + "id" : "0EFE32D3-EE6F-46F4-84A6-0047485D4003", + "data" : { + "code" : -999, + "info" : { + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105316257163&tr=56", + "NSLocalizedDescription" : "cancelled", + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105316257163&tr=56" + }, + "cls" : "NSError", + "domain" : "NSURLErrorDomain" + }, + "type" : 3 + }, + { + "id" : "D96344D5-D32C-4019-A8C8-457717A4E5FF", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D96344D5-D32C-4019-A8C8-457717A4E5FF", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Server" : "Pubnub Presence", + "Access-Control-Allow-Origin" : "*", + "Age" : "0", + "Date" : "Sun, 24 May 2020 08:55:32 GMT", + "Accept-Ranges" : "bytes", + "Content-Length" : "74", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "D96344D5-D32C-4019-A8C8-457717A4E5FF", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" + }, + "type" : 2 + }, + { + "id" : "D96344D5-D32C-4019-A8C8-457717A4E5FF", + "type" : 4 + }, + { + "id" : "534878ED-615E-44BB-A3E9-3CF758BA5EE0", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "136", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "534878ED-615E-44BB-A3E9-3CF758BA5EE0", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:33 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "534878ED-615E-44BB-A3E9-3CF758BA5EE0", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "534878ED-615E-44BB-A3E9-3CF758BA5EE0", + "type" : 4 + }, + { + "id" : "858BEE33-5E73-4DCB-8801-0193124CABFA", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "858BEE33-5E73-4DCB-8801-0193124CABFA", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:33 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "858BEE33-5E73-4DCB-8801-0193124CABFA", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "858BEE33-5E73-4DCB-8801-0193124CABFA", + "type" : 4 + }, + { + "id" : "36E9F4F6-DD55-438F-8C0F-C2C5B6E9C187", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "36E9F4F6-DD55-438F-8C0F-C2C5B6E9C187", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:34 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "36E9F4F6-DD55-438F-8C0F-C2C5B6E9C187", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "36E9F4F6-DD55-438F-8C0F-C2C5B6E9C187", + "type" : 4 + }, + { + "id" : "348CCD79-5C32-4102-A54A-CDCC16D14FFF", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "348CCD79-5C32-4102-A54A-CDCC16D14FFF", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:35 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "348CCD79-5C32-4102-A54A-CDCC16D14FFF", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "348CCD79-5C32-4102-A54A-CDCC16D14FFF", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndTriggerCreateEventOnUserChannel.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndTriggerSetEventOnUUIDChannel.json similarity index 52% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndTriggerCreateEventOnUserChannel.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndTriggerSetEventOnUUIDChannel.json index 701a4b21d..fb6489ff6 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndTriggerCreateEventOnUserChannel.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipAndTriggerSetEventOnUUIDChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "17DF2513-B3D4-458E-98E2-BA401F1798DA", + "id" : "146A7B56-2D40-4FCB-8CA9-9A2D488556A9", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "17DF2513-B3D4-458E-98E2-BA401F1798DA", + "id" : "146A7B56-2D40-4FCB-8CA9-9A2D488556A9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:37 GMT", + "Date" : "Sun, 24 May 2020 08:55:37 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "17DF2513-B3D4-458E-98E2-BA401F1798DA", + "id" : "146A7B56-2D40-4FCB-8CA9-9A2D488556A9", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "17DF2513-B3D4-458E-98E2-BA401F1798DA", + "id" : "146A7B56-2D40-4FCB-8CA9-9A2D488556A9", "type" : 4 }, { - "id" : "347E47DD-D27A-41FA-9E06-C4CB05BFD917", + "id" : "39E0FEA0-DFB0-4C62-A9E1-B0BB4820F1A5", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "347E47DD-D27A-41FA-9E06-C4CB05BFD917", + "id" : "39E0FEA0-DFB0-4C62-A9E1-B0BB4820F1A5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:37 GMT", + "Date" : "Sun, 24 May 2020 08:55:37 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "347E47DD-D27A-41FA-9E06-C4CB05BFD917", + "id" : "39E0FEA0-DFB0-4C62-A9E1-B0BB4820F1A5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "347E47DD-D27A-41FA-9E06-C4CB05BFD917", + "id" : "39E0FEA0-DFB0-4C62-A9E1-B0BB4820F1A5", "type" : 4 }, { - "id" : "45D61C06-895F-4597-8E00-C8AF5F9865D0", + "id" : "C9174D8D-769F-4AA7-BB30-BED32EE417FD", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "45D61C06-895F-4597-8E00-C8AF5F9865D0", + "id" : "C9174D8D-769F-4AA7-BB30-BED32EE417FD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:38 GMT", + "Date" : "Sun, 24 May 2020 08:55:37 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "45D61C06-895F-4597-8E00-C8AF5F9865D0", + "id" : "C9174D8D-769F-4AA7-BB30-BED32EE417FD", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTozNy42NzcwNTdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MzcuNjc3MDU3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTozNy43NjY5MjNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "45D61C06-895F-4597-8E00-C8AF5F9865D0", + "id" : "C9174D8D-769F-4AA7-BB30-BED32EE417FD", "type" : 4 }, { - "id" : "87FBBE71-24EC-4727-9017-FF5C7F391BA3", + "id" : "08ABE7E0-D259-45B4-9B95-582E38510111", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "87FBBE71-24EC-4727-9017-FF5C7F391BA3", + "id" : "08ABE7E0-D259-45B4-9B95-582E38510111", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:38 GMT", + "Date" : "Sun, 24 May 2020 08:55:37 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "87FBBE71-24EC-4727-9017-FF5C7F391BA3", + "id" : "08ABE7E0-D259-45B4-9B95-582E38510111", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTozOC4yNTQ0NjRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MzguMjU0NDY0WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTozNy45ODY3MzdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "87FBBE71-24EC-4727-9017-FF5C7F391BA3", + "id" : "08ABE7E0-D259-45B4-9B95-582E38510111", "type" : 4 }, { - "id" : "501F07A7-9534-4643-BB23-DFDF92258318", + "id" : "19544F1F-7EB9-4E1A-A373-F22F30589640", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "501F07A7-9534-4643-BB23-DFDF92258318", + "id" : "19544F1F-7EB9-4E1A-A373-F22F30589640", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:40 GMT", + "Date" : "Sun, 24 May 2020 08:55:39 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "501F07A7-9534-4643-BB23-DFDF92258318", + "id" : "19544F1F-7EB9-4E1A-A373-F22F30589640", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjM5Ljg5MTY4NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTozOS44OTE2ODRaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjM5LjIzMzU3NFoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "501F07A7-9534-4643-BB23-DFDF92258318", + "id" : "19544F1F-7EB9-4E1A-A373-F22F30589640", "type" : 4 }, { - "id" : "C84F5AC5-0AAF-4B20-AD1F-9F476A10BE08", + "id" : "C84CC4E5-404F-4FBB-BF37-C6CBB013FF50", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -283,28 +283,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C84F5AC5-0AAF-4B20-AD1F-9F476A10BE08", + "id" : "C84CC4E5-404F-4FBB-BF37-C6CBB013FF50", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:19:41 GMT", + "Date" : "Sun, 24 May 2020 08:55:40 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -313,19 +313,19 @@ "type" : 1 }, { - "id" : "C84F5AC5-0AAF-4B20-AD1F-9F476A10BE08", + "id" : "C84CC4E5-404F-4FBB-BF37-C6CBB013FF50", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2MzgxNTMwMDM0MyIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNTM5MjM2NTc2NyIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "C84F5AC5-0AAF-4B20-AD1F-9F476A10BE08", + "id" : "C84CC4E5-404F-4FBB-BF37-C6CBB013FF50", "type" : 4 }, { - "id" : "BFA47652-8895-4993-B24D-4007884E3C80", + "id" : "D459D7A5-E97D-46FD-8FB7-63712FA9676F", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -334,19 +334,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563815300343&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105392365767&tr=56" }, "type" : 0 }, { - "id" : "4AAC6D50-DB60-47EC-A176-87242E89F7E6", + "id" : "CAFB2891-FDDB-4870-AD91-ABBC1B1C10B8", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -356,34 +356,34 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BFA47652-8895-4993-B24D-4007884E3C80", + "id" : "D459D7A5-E97D-46FD-8FB7-63712FA9676F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563815300343&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105392365767&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:19:42 GMT", - "Content-Length" : "505", + "Date" : "Sun, 24 May 2020 08:55:41 GMT", + "Content-Length" : "459", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -391,19 +391,50 @@ "type" : 1 }, { - "id" : "BFA47652-8895-4993-B24D-4007884E3C80", + "id" : "CAFB2891-FDDB-4870-AD91-ABBC1B1C10B8", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:41 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "D459D7A5-E97D-46FD-8FB7-63712FA9676F", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2MzgyNzYwMTg3NSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2MzgyNzU4OTY0MSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6ImNyZWF0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTo0Mi4xNTA4ODAzODVaIiwiY3VzdG9tIjpudWxsLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEiLCJzcGFjZUlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6NDIuMTUwODgwMzg1WiIsInVzZXJJZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIifX19XX0=" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNTQxMDM3NjA4NCIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNTQxMDM4ODk3MiIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6InNldCIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwiZVRhZyI6IkFZMzltSktLLy9DMFZBIiwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTU6NDEuMDM1MTA0NTMyWiIsInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" }, "type" : 2 }, { - "id" : "BFA47652-8895-4993-B24D-4007884E3C80", + "id" : "D459D7A5-E97D-46FD-8FB7-63712FA9676F", "type" : 4 }, { - "id" : "F41C7757-79EE-4307-981C-714024301F68", + "id" : "CAFB2891-FDDB-4870-AD91-ABBC1B1C10B8", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTozNy45ODY3MzdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTo0MS4wNDA4NjZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjM3Ljc2NjkyM1oiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTU6NDEuMDM1MTA1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + }, + "type" : 2 + }, + { + "id" : "CAFB2891-FDDB-4870-AD91-ABBC1B1C10B8", + "type" : 4 + }, + { + "id" : "44015BD2-D97E-4BB8-A369-8CE4942BAE2D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -412,29 +443,29 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563827601875&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105410376084&tr=56" }, "type" : 0 }, { - "id" : "F41C7757-79EE-4307-981C-714024301F68", + "id" : "44015BD2-D97E-4BB8-A369-8CE4942BAE2D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563827601875&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105410376084&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:19:43 GMT", - "Content-Length" : "505", + "Date" : "Sun, 24 May 2020 08:55:41 GMT", + "Content-Length" : "459", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -442,19 +473,19 @@ "type" : 1 }, { - "id" : "F41C7757-79EE-4307-981C-714024301F68", + "id" : "44015BD2-D97E-4BB8-A369-8CE4942BAE2D", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2MzgzNDQ5OTg2MCIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2MzgzNDQ5MzMyNSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6ImNyZWF0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTo0Mi44NDI3NjkzOThaIiwiY3VzdG9tIjpudWxsLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEiLCJzcGFjZUlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6NDIuODQyNzY5Mzk4WiIsInVzZXJJZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIifX19XX0=" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNTQxMDQzMTU2MSIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNTQxMDQ0Mzc2NSIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6InNldCIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifSwiZVRhZyI6IkFZMzltSktLLy9DMFZBIiwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTU6NDEuMDQwODY1OTg0WiIsInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" }, "type" : 2 }, { - "id" : "F41C7757-79EE-4307-981C-714024301F68", + "id" : "44015BD2-D97E-4BB8-A369-8CE4942BAE2D", "type" : 4 }, { - "id" : "FE288FC7-CB56-41A3-9531-EEE929F8B7B0", + "id" : "DFEB9B7A-0E8F-401E-8559-95612715AA52", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -463,25 +494,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563834499860&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105410431561&tr=56" }, "type" : 0 }, { - "id" : "FE288FC7-CB56-41A3-9531-EEE929F8B7B0", + "id" : "DFEB9B7A-0E8F-401E-8559-95612715AA52", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563834499860&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105410431561&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810563834499860&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105410431561&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -489,7 +520,7 @@ "type" : 3 }, { - "id" : "725924D8-CA15-4130-8A11-2EBE522FB958", + "id" : "638AB456-0641-47C2-B47C-29D8B4357B46", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -498,61 +529,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4AAC6D50-DB60-47EC-A176-87242E89F7E6", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:43 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "4AAC6D50-DB60-47EC-A176-87242E89F7E6", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTozNy42NzcwNTdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6MzcuNjc3MDU3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6NDIuMTUwODhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6NDIuMTUwODhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsInNwYWNlIjp7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJzcGFjZS1jdXN0b20yIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjM4LjI1NDQ2NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTozOC4yNTQ0NjRaIiwiZVRhZyI6IkFackY2NGI5aU55bUl3In0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjQyLjg0Mjc2OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTo0Mi44NDI3NjlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" - }, - "type" : 2 - }, - { - "id" : "4AAC6D50-DB60-47EC-A176-87242E89F7E6", - "type" : 4 - }, - { - "id" : "725924D8-CA15-4130-8A11-2EBE522FB958", + "id" : "638AB456-0641-47C2-B47C-29D8B4357B46", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 06:19:43 GMT", + "Date" : "Sun, 24 May 2020 08:55:41 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -562,7 +562,7 @@ "type" : 1 }, { - "id" : "725924D8-CA15-4130-8A11-2EBE522FB958", + "id" : "638AB456-0641-47C2-B47C-29D8B4357B46", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -570,11 +570,11 @@ "type" : 2 }, { - "id" : "725924D8-CA15-4130-8A11-2EBE522FB958", + "id" : "638AB456-0641-47C2-B47C-29D8B4357B46", "type" : 4 }, { - "id" : "EF31DBAC-235E-43AE-989B-A31540C59FA5", + "id" : "FAA9B6DF-765C-4DFA-A861-2CE92D6FE8E9", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -583,30 +583,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EF31DBAC-235E-43AE-989B-A31540C59FA5", + "id" : "FAA9B6DF-765C-4DFA-A861-2CE92D6FE8E9", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:19:44 GMT", + "Date" : "Sun, 24 May 2020 08:55:42 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -614,19 +614,19 @@ "type" : 1 }, { - "id" : "EF31DBAC-235E-43AE-989B-A31540C59FA5", + "id" : "FAA9B6DF-765C-4DFA-A861-2CE92D6FE8E9", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTo0Mi4xNTA4OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxOTo0Mi4xNTA4OFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MTk6NDIuODQyNzY5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE5OjQyLjg0Mjc2OVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjQxLjA0MDg2NloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTo0MS4wMzUxMDVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" }, "type" : 2 }, { - "id" : "EF31DBAC-235E-43AE-989B-A31540C59FA5", + "id" : "FAA9B6DF-765C-4DFA-A861-2CE92D6FE8E9", "type" : 4 }, { - "id" : "034337DB-CEA3-4076-982A-B8BFBB0E43D8", + "id" : "BD973AF5-A1C0-477F-BDF3-ADF2294EB449", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -636,31 +636,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "108", + "Content-Length" : "136", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "034337DB-CEA3-4076-982A-B8BFBB0E43D8", + "id" : "BD973AF5-A1C0-477F-BDF3-ADF2294EB449", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:46 GMT", + "Date" : "Sun, 24 May 2020 08:55:43 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -670,7 +670,7 @@ "type" : 1 }, { - "id" : "034337DB-CEA3-4076-982A-B8BFBB0E43D8", + "id" : "BD973AF5-A1C0-477F-BDF3-ADF2294EB449", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -678,11 +678,11 @@ "type" : 2 }, { - "id" : "034337DB-CEA3-4076-982A-B8BFBB0E43D8", + "id" : "BD973AF5-A1C0-477F-BDF3-ADF2294EB449", "type" : 4 }, { - "id" : "1746792D-E7B1-4AFD-9433-58DFA099AF9D", + "id" : "82B865AF-E38C-4D19-B69D-57FE04BD4BF0", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -691,26 +691,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1746792D-E7B1-4AFD-9433-58DFA099AF9D", + "id" : "82B865AF-E38C-4D19-B69D-57FE04BD4BF0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:47 GMT", + "Date" : "Sun, 24 May 2020 08:55:43 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -720,7 +720,7 @@ "type" : 1 }, { - "id" : "1746792D-E7B1-4AFD-9433-58DFA099AF9D", + "id" : "82B865AF-E38C-4D19-B69D-57FE04BD4BF0", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -728,11 +728,11 @@ "type" : 2 }, { - "id" : "1746792D-E7B1-4AFD-9433-58DFA099AF9D", + "id" : "82B865AF-E38C-4D19-B69D-57FE04BD4BF0", "type" : 4 }, { - "id" : "DB866A20-7714-4D78-A3A5-C2F0393AEB92", + "id" : "F2C3D37B-41AA-4E03-A236-192BAAB3A883", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -741,26 +741,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DB866A20-7714-4D78-A3A5-C2F0393AEB92", + "id" : "F2C3D37B-41AA-4E03-A236-192BAAB3A883", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:48 GMT", + "Date" : "Sun, 24 May 2020 08:55:44 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -770,7 +770,7 @@ "type" : 1 }, { - "id" : "DB866A20-7714-4D78-A3A5-C2F0393AEB92", + "id" : "F2C3D37B-41AA-4E03-A236-192BAAB3A883", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -778,11 +778,11 @@ "type" : 2 }, { - "id" : "DB866A20-7714-4D78-A3A5-C2F0393AEB92", + "id" : "F2C3D37B-41AA-4E03-A236-192BAAB3A883", "type" : 4 }, { - "id" : "3BB5A959-68E2-4A59-8824-56AF30934B0D", + "id" : "188A15A5-BB44-4A03-BF42-ACB232BA2386", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -791,26 +791,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3BB5A959-68E2-4A59-8824-56AF30934B0D", + "id" : "188A15A5-BB44-4A03-BF42-ACB232BA2386", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:19:49 GMT", + "Date" : "Sun, 24 May 2020 08:55:45 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -820,7 +820,7 @@ "type" : 1 }, { - "id" : "3BB5A959-68E2-4A59-8824-56AF30934B0D", + "id" : "188A15A5-BB44-4A03-BF42-ACB232BA2386", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -828,7 +828,7 @@ "type" : 2 }, { - "id" : "3BB5A959-68E2-4A59-8824-56AF30934B0D", + "id" : "188A15A5-BB44-4A03-BF42-ACB232BA2386", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json similarity index 52% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReceiveStatusWithExpectedOperationAndCategory.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json index 07cc88808..2b23f3cc0 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldCreateMembershipAndReceiveStatusWithExpectedOperationAndCategory.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json @@ -1,6 +1,6 @@ [ { - "id" : "7D7C2EE0-B142-4665-83D8-CA139F9463A1", + "id" : "E7D3AEAE-1D05-4534-9812-F318C9D4487B", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7D7C2EE0-B142-4665-83D8-CA139F9463A1", + "id" : "E7D3AEAE-1D05-4534-9812-F318C9D4487B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:18:45 GMT", + "Date" : "Sun, 24 May 2020 08:55:46 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "7D7C2EE0-B142-4665-83D8-CA139F9463A1", + "id" : "E7D3AEAE-1D05-4534-9812-F318C9D4487B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "7D7C2EE0-B142-4665-83D8-CA139F9463A1", + "id" : "E7D3AEAE-1D05-4534-9812-F318C9D4487B", "type" : 4 }, { - "id" : "D40D9135-0B49-4695-A0FF-A6C139AE4917", + "id" : "A78B8382-361C-4346-990F-AD543B465C8D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D40D9135-0B49-4695-A0FF-A6C139AE4917", + "id" : "A78B8382-361C-4346-990F-AD543B465C8D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:18:45 GMT", + "Date" : "Sun, 24 May 2020 08:55:47 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "D40D9135-0B49-4695-A0FF-A6C139AE4917", + "id" : "A78B8382-361C-4346-990F-AD543B465C8D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "D40D9135-0B49-4695-A0FF-A6C139AE4917", + "id" : "A78B8382-361C-4346-990F-AD543B465C8D", "type" : 4 }, { - "id" : "6C6F80A6-7F42-4EA0-80C1-BB8A329FB23B", + "id" : "ED83D679-9490-43CD-B19E-CB42562183C1", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6C6F80A6-7F42-4EA0-80C1-BB8A329FB23B", + "id" : "ED83D679-9490-43CD-B19E-CB42562183C1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:18:46 GMT", + "Date" : "Sun, 24 May 2020 08:55:47 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "6C6F80A6-7F42-4EA0-80C1-BB8A329FB23B", + "id" : "ED83D679-9490-43CD-B19E-CB42562183C1", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxODo0NS44MDg3ODhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTg6NDUuODA4Nzg4WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTo0Ny41ODIzNVoiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifX0=" }, "type" : 2 }, { - "id" : "6C6F80A6-7F42-4EA0-80C1-BB8A329FB23B", + "id" : "ED83D679-9490-43CD-B19E-CB42562183C1", "type" : 4 }, { - "id" : "80BABB37-EDB5-486D-AB42-A982CC8737AA", + "id" : "98D8E480-2C97-4F7E-88DD-74F1D6F57917", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "80BABB37-EDB5-486D-AB42-A982CC8737AA", + "id" : "98D8E480-2C97-4F7E-88DD-74F1D6F57917", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:18:46 GMT", + "Date" : "Sun, 24 May 2020 08:55:47 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "80BABB37-EDB5-486D-AB42-A982CC8737AA", + "id" : "98D8E480-2C97-4F7E-88DD-74F1D6F57917", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoxODo0Ni4zODI1OTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MTg6NDYuMzgyNTk5WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTo0Ny44ODUxMzVaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "80BABB37-EDB5-486D-AB42-A982CC8737AA", + "id" : "98D8E480-2C97-4F7E-88DD-74F1D6F57917", "type" : 4 }, { - "id" : "3E08C726-410F-4CD2-B13F-932A481EC9EB", + "id" : "A5B3CC42-AD07-46E5-99DA-494D38055EC7", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3E08C726-410F-4CD2-B13F-932A481EC9EB", + "id" : "A5B3CC42-AD07-46E5-99DA-494D38055EC7", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:18:48 GMT", + "Date" : "Sun, 24 May 2020 08:55:49 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "3E08C726-410F-4CD2-B13F-932A481EC9EB", + "id" : "A5B3CC42-AD07-46E5-99DA-494D38055EC7", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE4OjQ3Ljk4MDMyMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxODo0Ny45ODAzMjJaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjQ5LjEzMzYzWiIsImVUYWciOiJBYUxaOUpEczQ5aUZHUSJ9fQ==" }, "type" : 2 }, { - "id" : "3E08C726-410F-4CD2-B13F-932A481EC9EB", + "id" : "A5B3CC42-AD07-46E5-99DA-494D38055EC7", "type" : 4 }, { - "id" : "45931325-4A13-48A6-9672-237775AD296E", + "id" : "184A1985-9A41-46E7-9E99-6E34A6BD5870", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "287", + "Content-Length" : "319", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9fSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9fV19" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJjdXN0b20iOnsidXVpZC1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifX0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn19XX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "45931325-4A13-48A6-9672-237775AD296E", + "id" : "184A1985-9A41-46E7-9E99-6E34A6BD5870", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:18:51 GMT", + "Date" : "Sun, 24 May 2020 08:55:50 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "45931325-4A13-48A6-9672-237775AD296E", + "id" : "184A1985-9A41-46E7-9E99-6E34A6BD5870", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE4OjQ5Ljk4NjEwMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoxODo0OS45ODYxMDJaIiwiZVRhZyI6IkFZdTRuTS9pbHB2NUF3In0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLW1lbWJlcnNoaXAtY3VzdG9tIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MTg6NTAuNjgxOTQ2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjE4OjUwLjY4MTk0NloiLCJlVGFnIjoiQWVlcTB2VHd6T2ZvMXdFIn1dLCJuZXh0IjoiTWcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sImN1c3RvbSI6eyJ1dWlkLW1lbWJlcnNoaXAtY3VzdG9tIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTo1MC40MzAxOVoiLCJlVGFnIjoiQWN6MGkvKzg2cWFSa1FFIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwiY3VzdG9tIjp7InV1aWQtbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjUwLjQ1NTExNFoiLCJlVGFnIjoiQVlhcXVJR3FpcVBhU0EifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "45931325-4A13-48A6-9672-237775AD296E", + "id" : "184A1985-9A41-46E7-9E99-6E34A6BD5870", "type" : 4 }, { - "id" : "24FC8310-CBA8-437B-AE3A-51640A20F705", + "id" : "24B6C86D-9C01-4F77-8672-38FA06917F71", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,31 +342,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "108", + "Content-Length" : "136", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "24FC8310-CBA8-437B-AE3A-51640A20F705", + "id" : "24B6C86D-9C01-4F77-8672-38FA06917F71", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:18:53 GMT", + "Date" : "Sun, 24 May 2020 08:55:51 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -376,7 +376,7 @@ "type" : 1 }, { - "id" : "24FC8310-CBA8-437B-AE3A-51640A20F705", + "id" : "24B6C86D-9C01-4F77-8672-38FA06917F71", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -384,11 +384,11 @@ "type" : 2 }, { - "id" : "24FC8310-CBA8-437B-AE3A-51640A20F705", + "id" : "24B6C86D-9C01-4F77-8672-38FA06917F71", "type" : 4 }, { - "id" : "9D101D03-88F5-4660-8877-8FE5FD32605F", + "id" : "37813E74-8A90-4116-BFE9-3DFD25863482", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -397,26 +397,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9D101D03-88F5-4660-8877-8FE5FD32605F", + "id" : "37813E74-8A90-4116-BFE9-3DFD25863482", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:18:54 GMT", + "Date" : "Sun, 24 May 2020 08:55:51 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -426,7 +426,7 @@ "type" : 1 }, { - "id" : "9D101D03-88F5-4660-8877-8FE5FD32605F", + "id" : "37813E74-8A90-4116-BFE9-3DFD25863482", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -434,11 +434,11 @@ "type" : 2 }, { - "id" : "9D101D03-88F5-4660-8877-8FE5FD32605F", + "id" : "37813E74-8A90-4116-BFE9-3DFD25863482", "type" : 4 }, { - "id" : "A30FDFA1-015D-4A69-9424-5E3FC7B46B84", + "id" : "2CA03E07-0EC2-4B5F-A170-475C7A53622D", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -447,26 +447,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A30FDFA1-015D-4A69-9424-5E3FC7B46B84", + "id" : "2CA03E07-0EC2-4B5F-A170-475C7A53622D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:18:56 GMT", + "Date" : "Sun, 24 May 2020 08:55:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -476,7 +476,7 @@ "type" : 1 }, { - "id" : "A30FDFA1-015D-4A69-9424-5E3FC7B46B84", + "id" : "2CA03E07-0EC2-4B5F-A170-475C7A53622D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -484,11 +484,11 @@ "type" : 2 }, { - "id" : "A30FDFA1-015D-4A69-9424-5E3FC7B46B84", + "id" : "2CA03E07-0EC2-4B5F-A170-475C7A53622D", "type" : 4 }, { - "id" : "72564B73-85E0-46C0-9798-68018611E359", + "id" : "357CA69F-357F-427C-9178-F3F07A305F0E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -497,26 +497,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "72564B73-85E0-46C0-9798-68018611E359", + "id" : "357CA69F-357F-427C-9178-F3F07A305F0E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:18:56 GMT", + "Date" : "Sun, 24 May 2020 08:55:53 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -526,7 +526,7 @@ "type" : 1 }, { - "id" : "72564B73-85E0-46C0-9798-68018611E359", + "id" : "357CA69F-357F-427C-9178-F3F07A305F0E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -534,7 +534,7 @@ "type" : 2 }, { - "id" : "72564B73-85E0-46C0-9798-68018611E359", + "id" : "357CA69F-357F-427C-9178-F3F07A305F0E", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnFilteredMembershipsInformationWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnFilteredMembershipsInformationWhenFilterIsSet.json new file mode 100644 index 000000000..671f55d28 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnFilteredMembershipsInformationWhenFilterIsSet.json @@ -0,0 +1,540 @@ +[ + { + "id" : "A9D1431A-658E-44E0-92E6-A8C535F82E8F", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "A9D1431A-658E-44E0-92E6-A8C535F82E8F", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:55 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "A9D1431A-658E-44E0-92E6-A8C535F82E8F", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "A9D1431A-658E-44E0-92E6-A8C535F82E8F", + "type" : 4 + }, + { + "id" : "D3C9E5C1-B876-4530-B71B-72D573EB728E", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D3C9E5C1-B876-4530-B71B-72D573EB728E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:55 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "D3C9E5C1-B876-4530-B71B-72D573EB728E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "D3C9E5C1-B876-4530-B71B-72D573EB728E", + "type" : 4 + }, + { + "id" : "7FC2924D-23B3-4DEF-85EE-86C7C9528433", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "7FC2924D-23B3-4DEF-85EE-86C7C9528433", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:55 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "7FC2924D-23B3-4DEF-85EE-86C7C9528433", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTo1NS44ODI0NzJaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "7FC2924D-23B3-4DEF-85EE-86C7C9528433", + "type" : 4 + }, + { + "id" : "A26467AE-AB3F-4521-9F20-9D4F95EAAFA5", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "A26467AE-AB3F-4521-9F20-9D4F95EAAFA5", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:56 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "A26467AE-AB3F-4521-9F20-9D4F95EAAFA5", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTo1Ni4xODQ1MzdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "A26467AE-AB3F-4521-9F20-9D4F95EAAFA5", + "type" : 4 + }, + { + "id" : "5607AAE0-D2F0-46DC-94E4-3B1C84157A4B", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5607AAE0-D2F0-46DC-94E4-3B1C84157A4B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:57 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "5607AAE0-D2F0-46DC-94E4-3B1C84157A4B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjU3LjQzMDA2NVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "5607AAE0-D2F0-46DC-94E4-3B1C84157A4B", + "type" : 4 + }, + { + "id" : "0E1132BE-E88E-4A4B-91A2-00FDB6F6B6AF", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "133", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?filter=channel.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii" + }, + "type" : 0 + }, + { + "id" : "0E1132BE-E88E-4A4B-91A2-00FDB6F6B6AF", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?filter=channel.name%20like%20'Chi*'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:55:58 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "0E1132BE-E88E-4A4B-91A2-00FDB6F6B6AF", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTo1Ni4xODQ1MzdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NTo1OC42ODM1NVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sInRvdGFsQ291bnQiOjEsIm5leHQiOiJNUSJ9" + }, + "type" : 2 + }, + { + "id" : "0E1132BE-E88E-4A4B-91A2-00FDB6F6B6AF", + "type" : 4 + }, + { + "id" : "1723B94A-DEF3-470E-9DCA-BAA1C3F345AE", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "74", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "1723B94A-DEF3-470E-9DCA-BAA1C3F345AE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:55:59 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "160", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "1723B94A-DEF3-470E-9DCA-BAA1C3F345AE", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU1OjU4LjY3ODM1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1RIn0=" + }, + "type" : 2 + }, + { + "id" : "1723B94A-DEF3-470E-9DCA-BAA1C3F345AE", + "type" : 4 + }, + { + "id" : "9D454642-2035-4A29-8AE0-102BE211BA7C", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "9D454642-2035-4A29-8AE0-102BE211BA7C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:00 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "9D454642-2035-4A29-8AE0-102BE211BA7C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "9D454642-2035-4A29-8AE0-102BE211BA7C", + "type" : 4 + }, + { + "id" : "70D8AA18-3DC6-4A78-A9C2-0FE0BFDCCF4D", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "70D8AA18-3DC6-4A78-A9C2-0FE0BFDCCF4D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:01 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "70D8AA18-3DC6-4A78-A9C2-0FE0BFDCCF4D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "70D8AA18-3DC6-4A78-A9C2-0FE0BFDCCF4D", + "type" : 4 + }, + { + "id" : "71D9B5AF-4F50-4F5C-AADC-843C0A234328", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "71D9B5AF-4F50-4F5C-AADC-843C0A234328", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:01 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "71D9B5AF-4F50-4F5C-AADC-843C0A234328", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "71D9B5AF-4F50-4F5C-AADC-843C0A234328", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnMembershipInformationWhenIncludeFlagIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnMembershipInformationWhenIncludeFlagIsSet.json new file mode 100644 index 000000000..abe073093 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnMembershipInformationWhenIncludeFlagIsSet.json @@ -0,0 +1,540 @@ +[ + { + "id" : "D2839333-0B7A-4F9F-91E3-81408C022D1E", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "D2839333-0B7A-4F9F-91E3-81408C022D1E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:03 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "D2839333-0B7A-4F9F-91E3-81408C022D1E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "D2839333-0B7A-4F9F-91E3-81408C022D1E", + "type" : 4 + }, + { + "id" : "5A26F980-2C93-49CA-83BA-70AC60AC4AA2", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5A26F980-2C93-49CA-83BA-70AC60AC4AA2", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:04 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "5A26F980-2C93-49CA-83BA-70AC60AC4AA2", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "5A26F980-2C93-49CA-83BA-70AC60AC4AA2", + "type" : 4 + }, + { + "id" : "6F8EFF30-C50E-4DCE-AADD-A0D8ED0F6F64", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "6F8EFF30-C50E-4DCE-AADD-A0D8ED0F6F64", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:56:04 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "6F8EFF30-C50E-4DCE-AADD-A0D8ED0F6F64", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjowNC40NzMyMDNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "6F8EFF30-C50E-4DCE-AADD-A0D8ED0F6F64", + "type" : 4 + }, + { + "id" : "74BC0ACC-5049-45D3-AD83-1B34C3CB95A5", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "74BC0ACC-5049-45D3-AD83-1B34C3CB95A5", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:56:04 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "74BC0ACC-5049-45D3-AD83-1B34C3CB95A5", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjowNC42OTQwNjhaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "74BC0ACC-5049-45D3-AD83-1B34C3CB95A5", + "type" : 4 + }, + { + "id" : "49B88DB6-C1BA-4FB7-88D5-A61DD749285A", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "49B88DB6-C1BA-4FB7-88D5-A61DD749285A", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:56:05 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "49B88DB6-C1BA-4FB7-88D5-A61DD749285A", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU2OjA1LjkyNzY1NloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "49B88DB6-C1BA-4FB7-88D5-A61DD749285A", + "type" : 4 + }, + { + "id" : "5D444F75-0A11-4FED-8D09-645A516846BA", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "133", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5D444F75-0A11-4FED-8D09-645A516846BA", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:56:07 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "5D444F75-0A11-4FED-8D09-645A516846BA", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjowNC40NzMyMDNaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU2OjA3LjE1Nzc2N1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTY6MDQuNjk0MDY4WiIsImVUYWciOiJBYldJbkllRzB1eW8wZ0UifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTY6MDcuMTY5MjM1WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + }, + "type" : 2 + }, + { + "id" : "5D444F75-0A11-4FED-8D09-645A516846BA", + "type" : 4 + }, + { + "id" : "92B5C9EE-9FD7-43A8-B749-E26A544595F5", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "136", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "92B5C9EE-9FD7-43A8-B749-E26A544595F5", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:08 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "92B5C9EE-9FD7-43A8-B749-E26A544595F5", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "92B5C9EE-9FD7-43A8-B749-E26A544595F5", + "type" : 4 + }, + { + "id" : "E4438D64-7977-49B6-9199-667DF5FD92DE", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "E4438D64-7977-49B6-9199-667DF5FD92DE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:08 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "E4438D64-7977-49B6-9199-667DF5FD92DE", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "E4438D64-7977-49B6-9199-667DF5FD92DE", + "type" : 4 + }, + { + "id" : "32B88F7D-3A39-4B38-9F47-749D36AEECBD", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "32B88F7D-3A39-4B38-9F47-749D36AEECBD", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:09 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "32B88F7D-3A39-4B38-9F47-749D36AEECBD", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "32B88F7D-3A39-4B38-9F47-749D36AEECBD", + "type" : 4 + }, + { + "id" : "46414583-7C59-414B-AC34-693FF2F442E3", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "46414583-7C59-414B-AC34-693FF2F442E3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:10 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "46414583-7C59-414B-AC34-693FF2F442E3", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "46414583-7C59-414B-AC34-693FF2F442E3", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnSortedMembershipsInformationWhenSortIsSet.json similarity index 51% rename from Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnSortedMembershipsInformationWhenSortIsSet.json index 59c1ae512..d28aa841d 100644 --- a/Tests/Support Files/Fixtures/PNMemberIntegrationTest.bundle/ItShouldAddMembersAndReturnUserInformationWhenUserIncludeFlagIsSet.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndReturnSortedMembershipsInformationWhenSortIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "483E6557-50A6-462B-A109-94AA8058C347", + "id" : "8D6B5DFA-C8C4-45E7-8171-DF2563CEF26C", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "483E6557-50A6-462B-A109-94AA8058C347", + "id" : "8D6B5DFA-C8C4-45E7-8171-DF2563CEF26C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:28 GMT", + "Date" : "Sun, 24 May 2020 08:56:12 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "483E6557-50A6-462B-A109-94AA8058C347", + "id" : "8D6B5DFA-C8C4-45E7-8171-DF2563CEF26C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "483E6557-50A6-462B-A109-94AA8058C347", + "id" : "8D6B5DFA-C8C4-45E7-8171-DF2563CEF26C", "type" : 4 }, { - "id" : "029D867C-B600-4053-86DB-FC7BE0A4146B", + "id" : "E9D3BD37-5D5E-464F-A601-FD1BB96B3A88", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "029D867C-B600-4053-86DB-FC7BE0A4146B", + "id" : "E9D3BD37-5D5E-464F-A601-FD1BB96B3A88", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:29 GMT", + "Date" : "Sun, 24 May 2020 08:56:12 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "029D867C-B600-4053-86DB-FC7BE0A4146B", + "id" : "E9D3BD37-5D5E-464F-A601-FD1BB96B3A88", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "029D867C-B600-4053-86DB-FC7BE0A4146B", + "id" : "E9D3BD37-5D5E-464F-A601-FD1BB96B3A88", "type" : 4 }, { - "id" : "353DF77B-BA06-4D8E-94E8-08370EA0A7E6", + "id" : "FE825B08-486F-499B-AE0C-D380F872E21D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "353DF77B-BA06-4D8E-94E8-08370EA0A7E6", + "id" : "FE825B08-486F-499B-AE0C-D380F872E21D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:29 GMT", + "Date" : "Sun, 24 May 2020 08:56:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "353DF77B-BA06-4D8E-94E8-08370EA0A7E6", + "id" : "FE825B08-486F-499B-AE0C-D380F872E21D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjoyOS4xMjY1NTNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6MjkuMTI2NTUzWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjoxMi41Njc2OFoiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifX0=" }, "type" : 2 }, { - "id" : "353DF77B-BA06-4D8E-94E8-08370EA0A7E6", + "id" : "FE825B08-486F-499B-AE0C-D380F872E21D", "type" : 4 }, { - "id" : "5057F58F-B7DA-499C-8DD8-329367E36E0B", + "id" : "CA404203-1E42-418B-B2D3-3D8E57CBEA60", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5057F58F-B7DA-499C-8DD8-329367E36E0B", + "id" : "CA404203-1E42-418B-B2D3-3D8E57CBEA60", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:31 GMT", + "Date" : "Sun, 24 May 2020 08:56:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "5057F58F-B7DA-499C-8DD8-329367E36E0B", + "id" : "CA404203-1E42-418B-B2D3-3D8E57CBEA60", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjMwLjcyNjQyNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjozMC43MjY0MjVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjoxMi44NzA5MjdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "5057F58F-B7DA-499C-8DD8-329367E36E0B", + "id" : "CA404203-1E42-418B-B2D3-3D8E57CBEA60", "type" : 4 }, { - "id" : "6D29C888-7A1D-4C6F-B44B-948CE7D1B8E5", + "id" : "D69A73CF-7F81-45EE-BFCF-586928DABEB1", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6D29C888-7A1D-4C6F-B44B-948CE7D1B8E5", + "id" : "D69A73CF-7F81-45EE-BFCF-586928DABEB1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:31 GMT", + "Date" : "Sun, 24 May 2020 08:56:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +262,19 @@ "type" : 1 }, { - "id" : "6D29C888-7A1D-4C6F-B44B-948CE7D1B8E5", + "id" : "D69A73CF-7F81-45EE-BFCF-586928DABEB1", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjMxLjMwNjU1MVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjozMS4zMDY1NTFaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU2OjE0LjE5NjQ5MVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "6D29C888-7A1D-4C6F-B44B-948CE7D1B8E5", + "id" : "D69A73CF-7F81-45EE-BFCF-586928DABEB1", "type" : 4 }, { - "id" : "39859564-B322-4884-BC77-6051D8E2486A", + "id" : "8024D003-CE14-424C-973D-A01C73B14C1F", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "98", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii" }, "type" : 0 }, { - "id" : "39859564-B322-4884-BC77-6051D8E2486A", + "id" : "8024D003-CE14-424C-973D-A01C73B14C1F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&include=user,user.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?sort=channel.name:desc&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=channel,channel.custom&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 01:36:34 GMT", + "Date" : "Sun, 24 May 2020 08:56:15 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +320,19 @@ "type" : 1 }, { - "id" : "39859564-B322-4884-BC77-6051D8E2486A", + "id" : "8024D003-CE14-424C-973D-A01C73B14C1F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwidXNlciI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjMwLjcyNjQyNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjozMC43MjY0MjVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjMzLjMwNjQ0OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwMTozNjozMy4zMDY0NDhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJ1c2VyIjp7ImlkIjoiS2ltLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJLaW0iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IktpbS1jdXN0b20tZGF0YS0xIiwidXNlci1jdXN0b20yIjoiS2ltLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6MzEuMzA2NTUxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjMxLjMwNjU1MVoiLCJlVGFnIjoiQWJqTHkvTE52N0hWTncifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDE6MzY6MzQuMDA0NDE4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDAxOjM2OjM0LjAwNDQxOFoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjoxMi44NzA5MjdaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjoxNS41NTEyOTlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU2OjEyLjU2NzY4WiIsImVUYWciOiJBWTJCNnFISXhlVCtMZyJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjoxNS41NDYyMDVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJ0b3RhbENvdW50IjoyLCJuZXh0IjoiTWcifQ==" }, "type" : 2 }, { - "id" : "39859564-B322-4884-BC77-6051D8E2486A", + "id" : "8024D003-CE14-424C-973D-A01C73B14C1F", "type" : 4 }, { - "id" : "95D670E4-CD5B-4502-A54C-4A7B7EABE0FC", + "id" : "910BF9CD-8EB0-4FE0-B67A-3FA2F2D0230B", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -342,31 +342,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "101", + "Content-Length" : "136", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIn1dfQ==" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "95D670E4-CD5B-4502-A54C-4A7B7EABE0FC", + "id" : "910BF9CD-8EB0-4FE0-B67A-3FA2F2D0230B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:36 GMT", + "Date" : "Sun, 24 May 2020 08:56:16 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -376,7 +376,7 @@ "type" : 1 }, { - "id" : "95D670E4-CD5B-4502-A54C-4A7B7EABE0FC", + "id" : "910BF9CD-8EB0-4FE0-B67A-3FA2F2D0230B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -384,11 +384,11 @@ "type" : 2 }, { - "id" : "95D670E4-CD5B-4502-A54C-4A7B7EABE0FC", + "id" : "910BF9CD-8EB0-4FE0-B67A-3FA2F2D0230B", "type" : 4 }, { - "id" : "62170330-B1BE-4686-B80C-16507C552E4C", + "id" : "CD27C12E-404C-4AB3-831B-E236F41072C4", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -397,26 +397,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "62170330-B1BE-4686-B80C-16507C552E4C", + "id" : "CD27C12E-404C-4AB3-831B-E236F41072C4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:37 GMT", + "Date" : "Sun, 24 May 2020 08:56:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -426,7 +426,7 @@ "type" : 1 }, { - "id" : "62170330-B1BE-4686-B80C-16507C552E4C", + "id" : "CD27C12E-404C-4AB3-831B-E236F41072C4", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -434,11 +434,11 @@ "type" : 2 }, { - "id" : "62170330-B1BE-4686-B80C-16507C552E4C", + "id" : "CD27C12E-404C-4AB3-831B-E236F41072C4", "type" : 4 }, { - "id" : "9B7FD841-D5C1-4110-9974-36D4104D3832", + "id" : "96207673-0942-4805-8A65-8C3EEDE66660", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -447,26 +447,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9B7FD841-D5C1-4110-9974-36D4104D3832", + "id" : "96207673-0942-4805-8A65-8C3EEDE66660", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:39 GMT", + "Date" : "Sun, 24 May 2020 08:56:18 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -476,7 +476,7 @@ "type" : 1 }, { - "id" : "9B7FD841-D5C1-4110-9974-36D4104D3832", + "id" : "96207673-0942-4805-8A65-8C3EEDE66660", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -484,11 +484,11 @@ "type" : 2 }, { - "id" : "9B7FD841-D5C1-4110-9974-36D4104D3832", + "id" : "96207673-0942-4805-8A65-8C3EEDE66660", "type" : 4 }, { - "id" : "333186EE-5065-49A9-9592-E9B493A29390", + "id" : "EA8E5477-1DF7-423D-9C60-90284E79E9FA", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -497,26 +497,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "333186EE-5065-49A9-9592-E9B493A29390", + "id" : "EA8E5477-1DF7-423D-9C60-90284E79E9FA", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 01:36:40 GMT", + "Date" : "Sun, 24 May 2020 08:56:18 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -526,7 +526,7 @@ "type" : 1 }, { - "id" : "333186EE-5065-49A9-9592-E9B493A29390", + "id" : "EA8E5477-1DF7-423D-9C60-90284E79E9FA", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -534,7 +534,7 @@ "type" : 2 }, { - "id" : "333186EE-5065-49A9-9592-E9B493A29390", + "id" : "EA8E5477-1DF7-423D-9C60-90284E79E9FA", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndTriggerSetEventOnChannel.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndTriggerSetEventOnChannel.json new file mode 100644 index 000000000..2c25440d3 --- /dev/null +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndTriggerSetEventOnChannel.json @@ -0,0 +1,731 @@ +[ + { + "id" : "AE24D11E-D589-4461-BBCB-C93AC04D8861", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "AE24D11E-D589-4461-BBCB-C93AC04D8861", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:20 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "AE24D11E-D589-4461-BBCB-C93AC04D8861", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "AE24D11E-D589-4461-BBCB-C93AC04D8861", + "type" : 4 + }, + { + "id" : "1341E805-761B-4425-B380-1A46C1FBBCC5", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "1341E805-761B-4425-B380-1A46C1FBBCC5", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:20 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "1341E805-761B-4425-B380-1A46C1FBBCC5", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "1341E805-761B-4425-B380-1A46C1FBBCC5", + "type" : 4 + }, + { + "id" : "B3970FC4-DD01-483A-A98F-C5E8A5F3B37B", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "B3970FC4-DD01-483A-A98F-C5E8A5F3B37B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:56:21 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "B3970FC4-DD01-483A-A98F-C5E8A5F3B37B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjoyMS40OTUyNjdaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" + }, + "type" : 2 + }, + { + "id" : "B3970FC4-DD01-483A-A98F-C5E8A5F3B37B", + "type" : 4 + }, + { + "id" : "B86E0B55-818A-46CA-8462-9A10B18E9BC1", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "113", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "B86E0B55-818A-46CA-8462-9A10B18E9BC1", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:56:21 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "B86E0B55-818A-46CA-8462-9A10B18E9BC1", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjoyMS43MTkzOTlaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" + }, + "type" : 2 + }, + { + "id" : "B86E0B55-818A-46CA-8462-9A10B18E9BC1", + "type" : 4 + }, + { + "id" : "F742407F-392D-4BE7-BCF4-5B476006EAE0", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "F742407F-392D-4BE7-BCF4-5B476006EAE0", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:56:23 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "F742407F-392D-4BE7-BCF4-5B476006EAE0", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU2OjIzLjAwNjA3M1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "F742407F-392D-4BE7-BCF4-5B476006EAE0", + "type" : 4 + }, + { + "id" : "F40AB1C1-3DE2-4015-9309-7B5930815CAE", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "F40AB1C1-3DE2-4015-9309-7B5930815CAE", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:56:24 GMT", + "Content-Length" : "45", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "F40AB1C1-3DE2-4015-9309-7B5930815CAE", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNTgxNDk3NzQ1MCIsInIiOjU2fSwibSI6W119" + }, + "type" : 2 + }, + { + "id" : "F40AB1C1-3DE2-4015-9309-7B5930815CAE", + "type" : 4 + }, + { + "id" : "5211AA0A-B87A-4517-AF01-E38DBB9389B3", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105814977450&tr=56" + }, + "type" : 0 + }, + { + "id" : "DA345092-F1EC-4EB6-A8AA-F343D787A46C", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "133", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5211AA0A-B87A-4517-AF01-E38DBB9389B3", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105814977450&tr=56", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Sun, 24 May 2020 08:56:24 GMT", + "Content-Length" : "463", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "5211AA0A-B87A-4517-AF01-E38DBB9389B3", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNTg0NzY4ODk1MSIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNTg0NzcwMjE5OCIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJkIjp7InNvdXJjZSI6Im9iamVjdHMiLCJ2ZXJzaW9uIjoiMi4wIiwiZXZlbnQiOiJzZXQiLCJ0eXBlIjoibWVtYmVyc2hpcCIsImRhdGEiOnsiY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIn0sImVUYWciOiJBWTM5bUpLSy8vQzBWQSIsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU2OjI0Ljc2NTI2MTE5OVoiLCJ1dWlkIjp7ImlkIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciJ9fX19XX0=" + }, + "type" : 2 + }, + { + "id" : "DA345092-F1EC-4EB6-A8AA-F343D787A46C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:56:24 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "DA345092-F1EC-4EB6-A8AA-F343D787A46C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjoyMS40OTUyNjdaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU2OjI0Ljc2NTI2MVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTY6MjEuNzE5Mzk5WiIsImVUYWciOiJBYldJbkllRzB1eW8wZ0UifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTY6MjQuNzcwNDk0WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9XSwibmV4dCI6Ik1nIn0=" + }, + "type" : 2 + }, + { + "id" : "DA345092-F1EC-4EB6-A8AA-F343D787A46C", + "type" : 4 + }, + { + "id" : "5211AA0A-B87A-4517-AF01-E38DBB9389B3", + "type" : 4 + }, + { + "id" : "E377A490-7A0C-483B-AE81-8E08FE4A466F", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105847688951&tr=56" + }, + "type" : 0 + }, + { + "id" : "E377A490-7A0C-483B-AE81-8E08FE4A466F", + "data" : { + "code" : -999, + "info" : { + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105847688951&tr=56", + "NSLocalizedDescription" : "cancelled", + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-channel-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105847688951&tr=56" + }, + "cls" : "NSError", + "domain" : "NSURLErrorDomain" + }, + "type" : 3 + }, + { + "id" : "C3EAE905-C749-418C-8BB8-A11709D3A899", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "C3EAE905-C749-418C-8BB8-A11709D3A899", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-channel-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Server" : "Pubnub Presence", + "Access-Control-Allow-Origin" : "*", + "Age" : "0", + "Date" : "Sun, 24 May 2020 08:56:25 GMT", + "Accept-Ranges" : "bytes", + "Content-Length" : "74", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "C3EAE905-C749-418C-8BB8-A11709D3A899", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" + }, + "type" : 2 + }, + { + "id" : "C3EAE905-C749-418C-8BB8-A11709D3A899", + "type" : 4 + }, + { + "id" : "51C98C7C-459E-4292-8592-F7D275E0E0FA", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Content-Length" : "136", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "51C98C7C-459E-4292-8592-F7D275E0E0FA", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:26 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "51C98C7C-459E-4292-8592-F7D275E0E0FA", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "51C98C7C-459E-4292-8592-F7D275E0E0FA", + "type" : 4 + }, + { + "id" : "99B4A6FC-B57C-449C-80C0-9A60B6BE6407", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "99B4A6FC-B57C-449C-80C0-9A60B6BE6407", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:26 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "99B4A6FC-B57C-449C-80C0-9A60B6BE6407", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "99B4A6FC-B57C-449C-80C0-9A60B6BE6407", + "type" : 4 + }, + { + "id" : "34B7FC48-EFD9-4251-A837-9AC2DC88EA1C", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "34B7FC48-EFD9-4251-A837-9AC2DC88EA1C", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:28 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "34B7FC48-EFD9-4251-A837-9AC2DC88EA1C", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "34B7FC48-EFD9-4251-A837-9AC2DC88EA1C", + "type" : 4 + }, + { + "id" : "304D93B7-54D8-42EB-8F76-39C0B7D3CD6D", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "304D93B7-54D8-42EB-8F76-39C0B7D3CD6D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:56:28 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "304D93B7-54D8-42EB-8F76-39C0B7D3CD6D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "304D93B7-54D8-42EB-8F76-39C0B7D3CD6D", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndTriggerUpdateEventOnUserChannel.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndTriggerSetEventOnUUIDChannel.json similarity index 51% rename from Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndTriggerUpdateEventOnUserChannel.json rename to Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndTriggerSetEventOnUUIDChannel.json index 5239e3e43..08dd233d9 100644 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndTriggerUpdateEventOnUserChannel.json +++ b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldSetMembershipUsingManageAndTriggerSetEventOnUUIDChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "F1C6A3B0-64B4-44E1-8B94-6DF1FFB8F7EF", + "id" : "95EB718A-AC9A-4291-A4DD-F1F27745A7BB", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F1C6A3B0-64B4-44E1-8B94-6DF1FFB8F7EF", + "id" : "95EB718A-AC9A-4291-A4DD-F1F27745A7BB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:37 GMT", + "Date" : "Sun, 24 May 2020 08:56:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "F1C6A3B0-64B4-44E1-8B94-6DF1FFB8F7EF", + "id" : "95EB718A-AC9A-4291-A4DD-F1F27745A7BB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "F1C6A3B0-64B4-44E1-8B94-6DF1FFB8F7EF", + "id" : "95EB718A-AC9A-4291-A4DD-F1F27745A7BB", "type" : 4 }, { - "id" : "709F25BC-B825-4BF6-8F8D-46495DD50984", + "id" : "B8FC3AB1-F889-4DB4-B9FD-74B49FEBE131", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "709F25BC-B825-4BF6-8F8D-46495DD50984", + "id" : "B8FC3AB1-F889-4DB4-B9FD-74B49FEBE131", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:37 GMT", + "Date" : "Sun, 24 May 2020 08:56:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "709F25BC-B825-4BF6-8F8D-46495DD50984", + "id" : "B8FC3AB1-F889-4DB4-B9FD-74B49FEBE131", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,71 +96,13 @@ "type" : 2 }, { - "id" : "709F25BC-B825-4BF6-8F8D-46495DD50984", + "id" : "B8FC3AB1-F889-4DB4-B9FD-74B49FEBE131", "type" : 4 }, { - "id" : "67AC8821-FEBF-488B-8782-C8AF6195BECC", + "id" : "275BE209-CFB1-4461-A719-5CA9C5CBE0B4", "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "67AC8821-FEBF-488B-8782-C8AF6195BECC", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:38 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "67AC8821-FEBF-488B-8782-C8AF6195BECC", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDozOC40NDU2MTFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MzguNDQ1NjExWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "67AC8821-FEBF-488B-8782-C8AF6195BECC", - "type" : 4 - }, - { - "id" : "E74EEE72-DB6A-44CB-A55F-55DEFBCE31D2", - "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiQ2hhbnRlZCIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E74EEE72-DB6A-44CB-A55F-55DEFBCE31D2", + "id" : "275BE209-CFB1-4461-A719-5CA9C5CBE0B4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:39 GMT", + "Date" : "Sun, 24 May 2020 08:56:31 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +146,21 @@ "type" : 1 }, { - "id" : "E74EEE72-DB6A-44CB-A55F-55DEFBCE31D2", + "id" : "275BE209-CFB1-4461-A719-5CA9C5CBE0B4", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDozOS4xNTk5WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjM5LjE1OTlaIiwiZVRhZyI6IkFackY2NGI5aU55bUl3In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjozMC45OTY4MjFaIiwiZVRhZyI6IkFZMkI2cUhJeGVUK0xnIn19" }, "type" : 2 }, { - "id" : "E74EEE72-DB6A-44CB-A55F-55DEFBCE31D2", + "id" : "275BE209-CFB1-4461-A719-5CA9C5CBE0B4", "type" : 4 }, { - "id" : "48894DE7-1C83-4ABE-9182-1CE73D4EDE6B", + "id" : "231ECC6A-7047-4ABA-BD11-280BED0515D0", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "113", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiQ2hpcHBlciIsImN1c3RvbSI6eyJjaGFubmVsLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJjaGFubmVsLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "48894DE7-1C83-4ABE-9182-1CE73D4EDE6B", + "id" : "231ECC6A-7047-4ABA-BD11-280BED0515D0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:41 GMT", + "Date" : "Sun, 24 May 2020 08:56:31 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,19 +204,19 @@ "type" : 1 }, { - "id" : "48894DE7-1C83-4ABE-9182-1CE73D4EDE6B", + "id" : "231ECC6A-7047-4ABA-BD11-280BED0515D0", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjQwLjg2NjE1NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDo0MC44NjYxNTVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjozMS4yMTkzNDJaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9fQ==" }, "type" : 2 }, { - "id" : "48894DE7-1C83-4ABE-9182-1CE73D4EDE6B", + "id" : "231ECC6A-7047-4ABA-BD11-280BED0515D0", "type" : 4 }, { - "id" : "547265C1-D03A-418B-B720-CF66719AB5AD", + "id" : "F0B500B7-FAB6-45FC-A590-82C7612CC6AD", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -284,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "105", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "547265C1-D03A-418B-B720-CF66719AB5AD", + "id" : "F0B500B7-FAB6-45FC-A590-82C7612CC6AD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:44 GMT", + "Date" : "Sun, 24 May 2020 08:56:32 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,19 +262,19 @@ "type" : 1 }, { - "id" : "547265C1-D03A-418B-B720-CF66719AB5AD", + "id" : "F0B500B7-FAB6-45FC-A590-82C7612CC6AD", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjQyLjk0MTA4OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDo0Mi45NDEwODhaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6NDMuNjM2MTcyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjQzLjYzNjE3MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU2OjMyLjUyODA2NVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "547265C1-D03A-418B-B720-CF66719AB5AD", + "id" : "F0B500B7-FAB6-45FC-A590-82C7612CC6AD", "type" : 4 }, { - "id" : "1CC2F646-6863-49F8-95F6-93005F79B77D", + "id" : "3B3CFFE1-260C-4CCE-B555-7C2C69F0D50E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -341,28 +283,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1CC2F646-6863-49F8-95F6-93005F79B77D", + "id" : "3B3CFFE1-260C-4CCE-B555-7C2C69F0D50E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:24:45 GMT", + "Date" : "Sun, 24 May 2020 08:56:34 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -371,19 +313,19 @@ "type" : 1 }, { - "id" : "1CC2F646-6863-49F8-95F6-93005F79B77D", + "id" : "3B3CFFE1-260C-4CCE-B555-7C2C69F0D50E", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2Njg0MjQ1OTQwOCIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNTkyNTMxMjg0MCIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "1CC2F646-6863-49F8-95F6-93005F79B77D", + "id" : "3B3CFFE1-260C-4CCE-B555-7C2C69F0D50E", "type" : 4 }, { - "id" : "8912EAB8-F26C-4654-84B0-691157A01C4B", + "id" : "26CDA842-ACFD-43E0-9349-0EC9DC55577D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -392,19 +334,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566842459408&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105925312840&tr=56" }, "type" : 0 }, { - "id" : "31FA84EA-E46B-46C6-A58E-C247BB42F4D3", + "id" : "502B703E-52E5-4FF3-8ABB-968F4585E486", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -414,34 +356,34 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "290", + "Content-Length" : "133", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9fSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9fV19" + "base64" : "eyJzZXQiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8912EAB8-F26C-4654-84B0-691157A01C4B", + "id" : "26CDA842-ACFD-43E0-9349-0EC9DC55577D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566842459408&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105925312840&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:24:46 GMT", - "Content-Length" : "540", + "Date" : "Sun, 24 May 2020 08:56:34 GMT", + "Content-Length" : "459", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -449,19 +391,50 @@ "type" : 1 }, { - "id" : "8912EAB8-F26C-4654-84B0-691157A01C4B", + "id" : "26CDA842-ACFD-43E0-9349-0EC9DC55577D", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2Njg2NjQxODI5NiIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2Njg2NjQxNTcyMiIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6InVwZGF0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjdXN0b20iOnsidXNlci1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sImVUYWciOiJBZVdJdkpYeTZiWHh1d0UiLCJzcGFjZUlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6NDYuMzgwMTcxNDg4WiIsInVzZXJJZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIifX19XX0=" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNTk0MjcyMjg3NCIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNTk0MjczNTc1MCIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6InNldCIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIifSwiZVRhZyI6IkFZMzltSktLLy9DMFZBIiwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTY6MzQuMjY4NjYwMzUzWiIsInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" }, "type" : 2 }, { - "id" : "8912EAB8-F26C-4654-84B0-691157A01C4B", + "id" : "502B703E-52E5-4FF3-8ABB-968F4585E486", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&include=channel,channel.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*", + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:56:34 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" + } + }, + "type" : 1 + }, + { + "id" : "502B703E-52E5-4FF3-8ABB-968F4585E486", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7ImNoYW5uZWwtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsImNoYW5uZWwtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjozMS4yMTkzNDJaIiwiZVRhZyI6IkFiV0luSWVHMHV5bzBnRSJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjozNC4yNzk3ODJaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJjaGFubmVsIjp7ImlkIjoiQ2hhbnRlZC1jaGFubmVsLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsiY2hhbm5lbC1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwiY2hhbm5lbC1jdXN0b20yIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU2OjMwLjk5NjgyMVoiLCJlVGFnIjoiQVkyQjZxSEl4ZVQrTGcifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTY6MzQuMjY4NjZaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" + }, + "type" : 2 + }, + { + "id" : "502B703E-52E5-4FF3-8ABB-968F4585E486", + "type" : 4 + }, + { + "id" : "26CDA842-ACFD-43E0-9349-0EC9DC55577D", "type" : 4 }, { - "id" : "52F27936-4B25-4E43-9BD2-F69A9ABECE26", + "id" : "C38ECDAE-8F37-414B-B237-94914B172A0D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -470,29 +443,29 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566866418296&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105942722874&tr=56" }, "type" : 0 }, { - "id" : "52F27936-4B25-4E43-9BD2-F69A9ABECE26", + "id" : "C38ECDAE-8F37-414B-B237-94914B172A0D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566866418296&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105942722874&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:24:47 GMT", - "Content-Length" : "539", + "Date" : "Sun, 24 May 2020 08:56:34 GMT", + "Content-Length" : "459", "Cache-Control" : "no-cache", "Connection" : "keep-alive" } @@ -500,19 +473,19 @@ "type" : 1 }, { - "id" : "52F27936-4B25-4E43-9BD2-F69A9ABECE26", + "id" : "C38ECDAE-8F37-414B-B237-94914B172A0D", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2Njg3MTY0NjE1OSIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2Njg3MTYzMDc1MSIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6InVwZGF0ZSIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjdXN0b20iOnsidXNlci1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn0sImVUYWciOiJBYis0djRqbnI4N29KQSIsInNwYWNlSWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDo0Ni45MDIwMzIyMjFaIiwidXNlcklkIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciJ9fX1dfQ==" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzEwNTk0MjgzMzczOCIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzEwNTk0Mjg0NjIzMyIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6InNldCIsInR5cGUiOiJtZW1iZXJzaGlwIiwiZGF0YSI6eyJjaGFubmVsIjp7ImlkIjoiQ2hpcHBlci1jaGFubmVsLWlkZW50aWZpZXIifSwiZVRhZyI6IkFZMzltSktLLy9DMFZBIiwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NTY6MzQuMjc5NzgxNTkxWiIsInV1aWQiOnsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIn19fX1dfQ==" }, "type" : 2 }, { - "id" : "52F27936-4B25-4E43-9BD2-F69A9ABECE26", + "id" : "C38ECDAE-8F37-414B-B237-94914B172A0D", "type" : 4 }, { - "id" : "BE199A6B-C730-4BBA-B301-8EAA0877A4FF", + "id" : "13B2C5BA-BE56-4401-9FBC-22F8CDE141E8", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -521,25 +494,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566871646159&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105942833738&tr=56" }, "type" : 0 }, { - "id" : "BE199A6B-C730-4BBA-B301-8EAA0877A4FF", + "id" : "13B2C5BA-BE56-4401-9FBC-22F8CDE141E8", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566871646159&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105942833738&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810566871646159&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903105942833738&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -547,7 +520,7 @@ "type" : 3 }, { - "id" : "4391E0DD-61AC-44EE-B969-BEB5FBC0B80C", + "id" : "329884C1-6190-46E8-AE3A-166FFD53A779", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -556,83 +529,104 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "31FA84EA-E46B-46C6-A58E-C247BB42F4D3", + "id" : "329884C1-6190-46E8-AE3A-166FFD53A779", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", + "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:47 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Age" : "0", + "Date" : "Sun, 24 May 2020 08:56:35 GMT", + "Accept-Ranges" : "bytes", + "Content-Length" : "74", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" } }, "type" : 1 }, { - "id" : "31FA84EA-E46B-46C6-A58E-C247BB42F4D3", + "id" : "329884C1-6190-46E8-AE3A-166FFD53A779", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDozOC40NDU2MTFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MzguNDQ1NjExWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6NDIuOTQxMDg4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjQ2LjM4MDE3MVoiLCJlVGFnIjoiQWVXSXZKWHk2Ylh4dXdFIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsInNwYWNlIjp7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IkNoaXBwZXIiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTEiLCJzcGFjZS1jdXN0b20yIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjM5LjE1OTlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MzkuMTU5OVoiLCJlVGFnIjoiQVpyRjY0YjlpTnltSXcifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6NDMuNjM2MTcyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjQ2LjkwMjAzMloiLCJlVGFnIjoiQWIrNHY0am5yODdvSkEifV0sIm5leHQiOiJNZyJ9" + "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" }, "type" : 2 }, { - "id" : "31FA84EA-E46B-46C6-A58E-C247BB42F4D3", + "id" : "329884C1-6190-46E8-AE3A-166FFD53A779", "type" : 4 }, { - "id" : "4391E0DD-61AC-44EE-B969-BEB5FBC0B80C", + "id" : "28F2DC2A-73EC-4872-BFC9-DEB1AB54ADD6", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "28F2DC2A-73EC-4872-BFC9-DEB1AB54ADD6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { - "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Server" : "Pubnub Presence", + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", - "Age" : "0", - "Date" : "Fri, 07 Feb 2020 06:24:47 GMT", - "Accept-Ranges" : "bytes", - "Content-Length" : "74", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" + "Transfer-Encoding" : "Identity", + "Date" : "Sun, 24 May 2020 08:56:35 GMT", + "Content-Encoding" : "gzip", + "Vary" : "Accept-Encoding" } }, "type" : 1 }, { - "id" : "4391E0DD-61AC-44EE-B969-BEB5FBC0B80C", + "id" : "28F2DC2A-73EC-4872-BFC9-DEB1AB54ADD6", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siY2hhbm5lbCI6eyJpZCI6IkNoaXBwZXItY2hhbm5lbC1pZGVudGlmaWVyIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjU2OjM0LjI3OTc4MloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo1NjozNC4yNjg2NloiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifV0sIm5leHQiOiJNZyJ9" }, "type" : 2 }, { - "id" : "4391E0DD-61AC-44EE-B969-BEB5FBC0B80C", + "id" : "28F2DC2A-73EC-4872-BFC9-DEB1AB54ADD6", "type" : 4 }, { - "id" : "ABDCDD44-2A2D-4AC0-AC15-962F702A807D", + "id" : "955AD64C-3236-4D91-9530-6D140A138252", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -642,31 +636,31 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "108", + "Content-Length" : "136", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" + "base64" : "eyJkZWxldGUiOlt7ImNoYW5uZWwiOnsiaWQiOiJDaGlwcGVyLWNoYW5uZWwtaWRlbnRpZmllciJ9fSx7ImNoYW5uZWwiOnsiaWQiOiJDaGFudGVkLWNoYW5uZWwtaWRlbnRpZmllciJ9fV19" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "ABDCDD44-2A2D-4AC0-AC15-962F702A807D", + "id" : "955AD64C-3236-4D91-9530-6D140A138252", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier\/channels?uuid=serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:49 GMT", + "Date" : "Sun, 24 May 2020 08:56:36 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -676,7 +670,7 @@ "type" : 1 }, { - "id" : "ABDCDD44-2A2D-4AC0-AC15-962F702A807D", + "id" : "955AD64C-3236-4D91-9530-6D140A138252", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -684,11 +678,11 @@ "type" : 2 }, { - "id" : "ABDCDD44-2A2D-4AC0-AC15-962F702A807D", + "id" : "955AD64C-3236-4D91-9530-6D140A138252", "type" : 4 }, { - "id" : "67D8D054-4025-4252-B9F7-C088A2D466C0", + "id" : "A78705DB-7D20-4BC3-90A2-763FCC6F3998", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -697,26 +691,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "67D8D054-4025-4252-B9F7-C088A2D466C0", + "id" : "A78705DB-7D20-4BC3-90A2-763FCC6F3998", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:50 GMT", + "Date" : "Sun, 24 May 2020 08:56:36 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -726,7 +720,7 @@ "type" : 1 }, { - "id" : "67D8D054-4025-4252-B9F7-C088A2D466C0", + "id" : "A78705DB-7D20-4BC3-90A2-763FCC6F3998", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -734,11 +728,11 @@ "type" : 2 }, { - "id" : "67D8D054-4025-4252-B9F7-C088A2D466C0", + "id" : "A78705DB-7D20-4BC3-90A2-763FCC6F3998", "type" : 4 }, { - "id" : "2ACAB7EB-3EE8-4EB4-BF9B-EBC6D31AD138", + "id" : "023DE6B1-2680-4DE3-998B-3C9F51257561", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -747,26 +741,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "2ACAB7EB-3EE8-4EB4-BF9B-EBC6D31AD138", + "id" : "023DE6B1-2680-4DE3-998B-3C9F51257561", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chanted-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:52 GMT", + "Date" : "Sun, 24 May 2020 08:56:37 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -776,7 +770,7 @@ "type" : 1 }, { - "id" : "2ACAB7EB-3EE8-4EB4-BF9B-EBC6D31AD138", + "id" : "023DE6B1-2680-4DE3-998B-3C9F51257561", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -784,11 +778,11 @@ "type" : 2 }, { - "id" : "2ACAB7EB-3EE8-4EB4-BF9B-EBC6D31AD138", + "id" : "023DE6B1-2680-4DE3-998B-3C9F51257561", "type" : 4 }, { - "id" : "4723687B-9BC7-4479-99D1-64F93575F771", + "id" : "2026DACF-52C2-42D5-9568-78B2BD67FF3A", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -797,26 +791,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4723687B-9BC7-4479-99D1-64F93575F771", + "id" : "2026DACF-52C2-42D5-9568-78B2BD67FF3A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels\/Chipper-channel-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:52 GMT", + "Date" : "Sun, 24 May 2020 08:56:38 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -826,7 +820,7 @@ "type" : 1 }, { - "id" : "4723687B-9BC7-4479-99D1-64F93575F771", + "id" : "2026DACF-52C2-42D5-9568-78B2BD67FF3A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -834,7 +828,7 @@ "type" : 2 }, { - "id" : "4723687B-9BC7-4479-99D1-64F93575F771", + "id" : "2026DACF-52C2-42D5-9568-78B2BD67FF3A", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReceiveStatusWithExpectedOperationAndCategory.json deleted file mode 100644 index 78b1b6339..000000000 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReceiveStatusWithExpectedOperationAndCategory.json +++ /dev/null @@ -1,598 +0,0 @@ -[ - { - "id" : "7F76BD82-B1D2-4312-A47A-4B043536F823", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "7F76BD82-B1D2-4312-A47A-4B043536F823", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:33 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "7F76BD82-B1D2-4312-A47A-4B043536F823", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "7F76BD82-B1D2-4312-A47A-4B043536F823", - "type" : 4 - }, - { - "id" : "E9462132-6E33-48AF-9705-93319ABC3776", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "E9462132-6E33-48AF-9705-93319ABC3776", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:33 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "E9462132-6E33-48AF-9705-93319ABC3776", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "E9462132-6E33-48AF-9705-93319ABC3776", - "type" : 4 - }, - { - "id" : "A4A3EBBF-E189-41B7-BD00-5AF65ABDAF25", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A4A3EBBF-E189-41B7-BD00-5AF65ABDAF25", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:33 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "A4A3EBBF-E189-41B7-BD00-5AF65ABDAF25", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzozMy4zODIwOTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MzMuMzgyMDkyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "A4A3EBBF-E189-41B7-BD00-5AF65ABDAF25", - "type" : 4 - }, - { - "id" : "C320A259-E014-46F6-A266-258039F92DAB", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C320A259-E014-46F6-A266-258039F92DAB", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:34 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "C320A259-E014-46F6-A266-258039F92DAB", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzozMy45NTk5NjJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjM6MzMuOTU5OTYyWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "C320A259-E014-46F6-A266-258039F92DAB", - "type" : 4 - }, - { - "id" : "E23835AF-28EB-41CE-AD6F-77EFD3FBA32D", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "E23835AF-28EB-41CE-AD6F-77EFD3FBA32D", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:36 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "E23835AF-28EB-41CE-AD6F-77EFD3FBA32D", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjM1LjYxNzExNFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzozNS42MTcxMTRaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "E23835AF-28EB-41CE-AD6F-77EFD3FBA32D", - "type" : 4 - }, - { - "id" : "0026576D-BB59-4EC2-8C26-381CB2817507", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "287", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9fSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9fV19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "0026576D-BB59-4EC2-8C26-381CB2817507", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:39 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "0026576D-BB59-4EC2-8C26-381CB2817507", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllci1jdXN0b20tZGF0YS0xIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjM3LjYyMDkzOVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzozNy42MjA5MzlaIiwiZVRhZyI6IkFkM2s1NldndStPWjlRRSJ9LHsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllci1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjM4LjMxMjU0M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzozOC4zMTI1NDNaIiwiZVRhZyI6IkFZcU9qWm50L0orRlJnIn1dLCJuZXh0IjoiTWcifQ==" - }, - "type" : 2 - }, - { - "id" : "0026576D-BB59-4EC2-8C26-381CB2817507", - "type" : 4 - }, - { - "id" : "53E6BE82-EED7-46F6-BD1C-0FF32267F8FC", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "290", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMyJ9fSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtNCJ9fV19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "53E6BE82-EED7-46F6-BD1C-0FF32267F8FC", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:23:41 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "53E6BE82-EED7-46F6-BD1C-0FF32267F8FC", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllci1jdXN0b20tZGF0YS0zIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjM3LjYyMDkzOVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzo0MC43ODg5MjhaIiwiZVRhZyI6IkFlNlJ2UHpldUpiUjh3RSJ9LHsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXNlci1tZW1iZXJzaGlwLWN1c3RvbSI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllci1jdXN0b20tZGF0YS00In0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjIzOjM4LjMxMjU0M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyMzo0MS4zMTMyNjNaIiwiZVRhZyI6IkFiQ3ZuZGJlbk9HLzFRRSJ9XSwibmV4dCI6Ik1nIn0=" - }, - "type" : 2 - }, - { - "id" : "53E6BE82-EED7-46F6-BD1C-0FF32267F8FC", - "type" : 4 - }, - { - "id" : "44ACB8C2-D92B-4BA3-9EBD-017D471E2C3E", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "108", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "44ACB8C2-D92B-4BA3-9EBD-017D471E2C3E", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:43 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "44ACB8C2-D92B-4BA3-9EBD-017D471E2C3E", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "44ACB8C2-D92B-4BA3-9EBD-017D471E2C3E", - "type" : 4 - }, - { - "id" : "66A6296D-E05B-41FD-88E2-6138E53A51C0", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "66A6296D-E05B-41FD-88E2-6138E53A51C0", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:44 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "66A6296D-E05B-41FD-88E2-6138E53A51C0", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "66A6296D-E05B-41FD-88E2-6138E53A51C0", - "type" : 4 - }, - { - "id" : "B23D0A0D-24FF-406F-8563-CE66D5A60BA4", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "B23D0A0D-24FF-406F-8563-CE66D5A60BA4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:46 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "B23D0A0D-24FF-406F-8563-CE66D5A60BA4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "B23D0A0D-24FF-406F-8563-CE66D5A60BA4", - "type" : 4 - }, - { - "id" : "83B012D0-16BC-40FE-8D53-AFEFE4A5C64D", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "83B012D0-16BC-40FE-8D53-AFEFE4A5C64D", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:23:47 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "83B012D0-16BC-40FE-8D53-AFEFE4A5C64D", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "83B012D0-16BC-40FE-8D53-AFEFE4A5C64D", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnSortedSpaceInformationWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnSortedSpaceInformationWhenSortIsSet.json deleted file mode 100644 index 1f8e1b200..000000000 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnSortedSpaceInformationWhenSortIsSet.json +++ /dev/null @@ -1,814 +0,0 @@ -[ - { - "id" : "FEB5B613-ABA2-44C1-A9DA-275D20A783C2", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "FEB5B613-ABA2-44C1-A9DA-275D20A783C2", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:25 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "FEB5B613-ABA2-44C1-A9DA-275D20A783C2", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "FEB5B613-ABA2-44C1-A9DA-275D20A783C2", - "type" : 4 - }, - { - "id" : "2F207EF0-6691-4105-8629-90D3F95D9F51", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "2F207EF0-6691-4105-8629-90D3F95D9F51", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:25 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "2F207EF0-6691-4105-8629-90D3F95D9F51", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "2F207EF0-6691-4105-8629-90D3F95D9F51", - "type" : 4 - }, - { - "id" : "A39ECD0B-899A-4FC7-97F8-814DBB6D0F31", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A39ECD0B-899A-4FC7-97F8-814DBB6D0F31", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:53:25 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "A39ECD0B-899A-4FC7-97F8-814DBB6D0F31", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzoyNS40OTAwNTdaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjUuNDkwMDU3WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "A39ECD0B-899A-4FC7-97F8-814DBB6D0F31", - "type" : 4 - }, - { - "id" : "830B3513-3C6E-4F74-B66D-7264200018E9", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "830B3513-3C6E-4F74-B66D-7264200018E9", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:53:26 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "830B3513-3C6E-4F74-B66D-7264200018E9", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzoyNi4wNjQ2MTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjYuMDY0NjEyWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "830B3513-3C6E-4F74-B66D-7264200018E9", - "type" : 4 - }, - { - "id" : "60D65EE2-62B3-40D6-A573-16114B6343D4", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "159", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "60D65EE2-62B3-40D6-A573-16114B6343D4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:53:27 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "60D65EE2-62B3-40D6-A573-16114B6343D4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjYuNjQxODI0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjI2LjY0MTgyNFoiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" - }, - "type" : 2 - }, - { - "id" : "60D65EE2-62B3-40D6-A573-16114B6343D4", - "type" : 4 - }, - { - "id" : "7E4A81B8-7312-4FE2-ADA3-8BD8D6F7F8BF", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "159", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "7E4A81B8-7312-4FE2-ADA3-8BD8D6F7F8BF", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:53:27 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "7E4A81B8-7312-4FE2-ADA3-8BD8D6F7F8BF", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjcuMjE3Mjk1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjI3LjIxNzI5NVoiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" - }, - "type" : 2 - }, - { - "id" : "7E4A81B8-7312-4FE2-ADA3-8BD8D6F7F8BF", - "type" : 4 - }, - { - "id" : "35073A54-FF53-417A-829B-26C959816C21", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "35073A54-FF53-417A-829B-26C959816C21", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:53:29 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "35073A54-FF53-417A-829B-26C959816C21", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjI4LjgwODMyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjI4LjgwODMyWiIsImVUYWciOiJBZVAyNjdmYXV2YkJQQSJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "35073A54-FF53-417A-829B-26C959816C21", - "type" : 4 - }, - { - "id" : "A911BC89-9000-48F6-B609-4E2E85BD3CA4", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "203", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifV19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A911BC89-9000-48F6-B609-4E2E85BD3CA4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:53:33 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "A911BC89-9000-48F6-B609-4E2E85BD3CA4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsInNwYWNlIjp7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IkNoYW50ZWQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjUuNDkwMDU3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjI1LjQ5MDA1N1oiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjMwLjc5OTc0N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzozMC43OTk3NDdaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwic3BhY2UiOnsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzoyNi4wNjQ2MTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjYuMDY0NjEyWiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzozMS40ODgyMThaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MzEuNDg4MjE4WiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJzcGFjZSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjYuNjQxODI0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjI2LjY0MTgyNFoiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjMyLjE3NjYzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjMyLjE3NjYzWiIsImVUYWciOiJBWTM5bUpLSy8vQzBWQSJ9LHsiaWQiOiJNaWRuaWdodC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjpudWxsLCJzcGFjZSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjcuMjE3Mjk1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjI3LjIxNzI5NVoiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjMyLjg2NTAxNVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzozMi44NjUwMTVaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTkEifQ==" - }, - "type" : 2 - }, - { - "id" : "A911BC89-9000-48F6-B609-4E2E85BD3CA4", - "type" : 4 - }, - { - "id" : "30CF0E86-CC6C-40CD-93E2-8E0105A338DB", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "290", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9fSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9fV19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?sort=space.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii" - }, - "type" : 0 - }, - { - "id" : "30CF0E86-CC6C-40CD-93E2-8E0105A338DB", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?sort=space.name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=space,space.custom&uuid=Serhii", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Tue, 25 Feb 2020 00:53:36 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "30CF0E86-CC6C-40CD-93E2-8E0105A338DB", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNvbHN0aWNlIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjI2LjY0MTgyNFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzoyNi42NDE4MjRaIiwiZVRhZyI6IkFjdUJ4THEweE1PYW93RSJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzozMi4xNzY2M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzozMi4xNzY2M1oiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsInNwYWNlIjp7ImlkIjoiTWlkbmlnaHQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJNaWRuaWdodCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTEiLCJzcGFjZS1jdXN0b20yIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzoyNy4yMTcyOTVaIiwidXBkYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjcuMjE3Mjk1WiIsImVUYWciOiJBWkhGNDdYRjJhT2lwQUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MzIuODY1MDE1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjMyLjg2NTAxNVoiLCJlVGFnIjoiQVkzOW1KS0svL0MwVkEifSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjYuMDY0NjEyWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjI2LjA2NDYxMloiLCJlVGFnIjoiQVpyRjY0YjlpTnltSXcifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MzEuNDg4MjE4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjM1Ljg0NDA5NFoiLCJlVGFnIjoiQVpDRityalh4dHY5UGcifSx7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMjVUMDA6NTM6MjUuNDkwMDU3WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjI1LjQ5MDA1N1oiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI1VDAwOjUzOjMwLjc5OTc0N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNVQwMDo1MzozNS4zMjM5NDlaIiwiZVRhZyI6IkFaQzg1TU9ZeWI3YWdnRSJ9XSwidG90YWxDb3VudCI6NCwibmV4dCI6Ik5BIn0=" - }, - "type" : 2 - }, - { - "id" : "30CF0E86-CC6C-40CD-93E2-8E0105A338DB", - "type" : 4 - }, - { - "id" : "62938E45-432F-42B1-85AB-581042FE6B76", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Content-Length" : "206", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9LHsiaWQiOiJTb2xzdGljZS1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIifV19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "62938E45-432F-42B1-85AB-581042FE6B76", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:38 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "62938E45-432F-42B1-85AB-581042FE6B76", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "62938E45-432F-42B1-85AB-581042FE6B76", - "type" : 4 - }, - { - "id" : "847238A5-FB8B-4D18-B596-9F08FA5FD969", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "847238A5-FB8B-4D18-B596-9F08FA5FD969", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:39 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "847238A5-FB8B-4D18-B596-9F08FA5FD969", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "847238A5-FB8B-4D18-B596-9F08FA5FD969", - "type" : 4 - }, - { - "id" : "E10AFA56-45CA-4CCD-AB9D-06C5F28111FB", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "E10AFA56-45CA-4CCD-AB9D-06C5F28111FB", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:41 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "E10AFA56-45CA-4CCD-AB9D-06C5F28111FB", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "E10AFA56-45CA-4CCD-AB9D-06C5F28111FB", - "type" : 4 - }, - { - "id" : "CBB133E4-355F-473C-B99D-16CC6EDFFC06", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "CBB133E4-355F-473C-B99D-16CC6EDFFC06", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:41 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "CBB133E4-355F-473C-B99D-16CC6EDFFC06", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "CBB133E4-355F-473C-B99D-16CC6EDFFC06", - "type" : 4 - }, - { - "id" : "DE185C9A-2228-4FB8-B069-AA66B0752AAC", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "DE185C9A-2228-4FB8-B069-AA66B0752AAC", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:42 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "DE185C9A-2228-4FB8-B069-AA66B0752AAC", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "DE185C9A-2228-4FB8-B069-AA66B0752AAC", - "type" : 4 - }, - { - "id" : "72291249-912E-41C3-B4E9-A84B0CE14AA4", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "72291249-912E-41C3-B4E9-A84B0CE14AA4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Tue, 25 Feb 2020 00:53:42 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "72291249-912E-41C3-B4E9-A84B0CE14AA4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "72291249-912E-41C3-B4E9-A84B0CE14AA4", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json b/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json deleted file mode 100644 index ba229b180..000000000 --- a/Tests/Support Files/Fixtures/PNMembershipIntegrationTest.bundle/ItShouldUpdateMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet.json +++ /dev/null @@ -1,598 +0,0 @@ -[ - { - "id" : "5C5A1B80-043D-4CA5-89B4-1BA4FD99D2E9", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "5C5A1B80-043D-4CA5-89B4-1BA4FD99D2E9", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:05 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "5C5A1B80-043D-4CA5-89B4-1BA4FD99D2E9", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "5C5A1B80-043D-4CA5-89B4-1BA4FD99D2E9", - "type" : 4 - }, - { - "id" : "34F6BD2F-89DE-41A9-A35F-A134F4E5EBA7", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "34F6BD2F-89DE-41A9-A35F-A134F4E5EBA7", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:05 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "34F6BD2F-89DE-41A9-A35F-A134F4E5EBA7", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "34F6BD2F-89DE-41A9-A35F-A134F4E5EBA7", - "type" : 4 - }, - { - "id" : "46158C5E-4D6A-4879-B49D-202797B1ACF3", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "46158C5E-4D6A-4879-B49D-202797B1ACF3", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:05 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "46158C5E-4D6A-4879-B49D-202797B1ACF3", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDowNS41MDM3OTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MDUuNTAzNzk0WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "46158C5E-4D6A-4879-B49D-202797B1ACF3", - "type" : 4 - }, - { - "id" : "436B1C4B-140C-43F0-94DE-78329F96D12F", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "436B1C4B-140C-43F0-94DE-78329F96D12F", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:06 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "436B1C4B-140C-43F0-94DE-78329F96D12F", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDowNi4wNzk4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjA2LjA3OThaIiwiZVRhZyI6IkFackY2NGI5aU55bUl3In19" - }, - "type" : 2 - }, - { - "id" : "436B1C4B-140C-43F0-94DE-78329F96D12F", - "type" : 4 - }, - { - "id" : "732863A5-D64D-4C5D-8721-A3502D9923E2", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "732863A5-D64D-4C5D-8721-A3502D9923E2", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:08 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "732863A5-D64D-4C5D-8721-A3502D9923E2", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjA3LjY5MzU5OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDowNy42OTM1OTlaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "732863A5-D64D-4C5D-8721-A3502D9923E2", - "type" : 4 - }, - { - "id" : "1C072CF5-FBD6-47EF-B5FF-4C88AAE77A40", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "105", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJhZGQiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "1C072CF5-FBD6-47EF-B5FF-4C88AAE77A40", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:11 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "1C072CF5-FBD6-47EF-B5FF-4C88AAE77A40", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjA5LjY5MTEyMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDowOS42OTExMjFaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsImN1c3RvbSI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MTAuNTA1ODlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MTAuNTA1ODlaIiwiZVRhZyI6IkFZMzltSktLLy9DMFZBIn1dLCJuZXh0IjoiTWcifQ==" - }, - "type" : 2 - }, - { - "id" : "1C072CF5-FBD6-47EF-B5FF-4C88AAE77A40", - "type" : 4 - }, - { - "id" : "A39A4C5C-00F7-4023-B303-FAF0AC7737EB", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "290", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJ1cGRhdGUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMSJ9fSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwiY3VzdG9tIjp7InVzZXItbWVtYmVyc2hpcC1jdXN0b20iOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXItY3VzdG9tLWRhdGEtMiJ9fV19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A39A4C5C-00F7-4023-B303-FAF0AC7737EB", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&include=space,space.custom&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:24:13 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "A39A4C5C-00F7-4023-B303-FAF0AC7737EB", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJzcGFjZSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDowNS41MDM3OTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MDUuNTAzNzk0WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MDkuNjkxMTIxWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI0OjEyLjk5NzE2NFoiLCJlVGFnIjoiQWFubzY3SzZoTzZYQWcifSx7ImlkIjoiQ2hpcHBlci1zcGFjZS1pZGVudGlmaWVyIiwic3BhY2UiOnsiaWQiOiJDaGlwcGVyLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hpcHBlciIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMDY6MjQ6MDYuMDc5OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDowNi4wNzk4WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDoxMC41MDU4OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNDoxMy41MjE4MzhaIiwiZVRhZyI6IkFlVEt6TXYrODhlWnVnRSJ9XSwibmV4dCI6Ik1nIn0=" - }, - "type" : 2 - }, - { - "id" : "A39A4C5C-00F7-4023-B303-FAF0AC7737EB", - "type" : 4 - }, - { - "id" : "9FBE5265-E509-4CFA-AF12-A616CFB35864", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "108", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJyZW1vdmUiOlt7ImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciJ9XX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "9FBE5265-E509-4CFA-AF12-A616CFB35864", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:16 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "9FBE5265-E509-4CFA-AF12-A616CFB35864", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "9FBE5265-E509-4CFA-AF12-A616CFB35864", - "type" : 4 - }, - { - "id" : "9590A76F-F853-4769-BFDA-D7FADE2BC705", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "9590A76F-F853-4769-BFDA-D7FADE2BC705", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:17 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "9590A76F-F853-4769-BFDA-D7FADE2BC705", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "9590A76F-F853-4769-BFDA-D7FADE2BC705", - "type" : 4 - }, - { - "id" : "E10EB909-A858-4EC5-A061-71761798F8F8", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "E10EB909-A858-4EC5-A061-71761798F8F8", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:18 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "E10EB909-A858-4EC5-A061-71761798F8F8", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "E10EB909-A858-4EC5-A061-71761798F8F8", - "type" : 4 - }, - { - "id" : "659F655C-1528-481F-8562-65F816EEFA7C", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "659F655C-1528-481F-8562-65F816EEFA7C", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:24:19 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "659F655C-1528-481F-8562-65F816EEFA7C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "659F655C-1528-481F-8562-65F816EEFA7C", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldCreateSpaceWhenAdditionalInformationIsSet.json b/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldCreateSpaceWhenAdditionalInformationIsSet.json deleted file mode 100644 index 940886675..000000000 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldCreateSpaceWhenAdditionalInformationIsSet.json +++ /dev/null @@ -1,210 +0,0 @@ -[ - { - "id" : "1DA8B415-496E-458C-B774-2472D5D16A17", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "1DA8B415-496E-458C-B774-2472D5D16A17", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:26:37 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "1DA8B415-496E-458C-B774-2472D5D16A17", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "1DA8B415-496E-458C-B774-2472D5D16A17", - "type" : 4 - }, - { - "id" : "77539604-8FDE-4650-8E42-B57BD580FF87", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "77539604-8FDE-4650-8E42-B57BD580FF87", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:26:38 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "77539604-8FDE-4650-8E42-B57BD580FF87", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "77539604-8FDE-4650-8E42-B57BD580FF87", - "type" : 4 - }, - { - "id" : "CF5EE775-131C-4B7B-8AE5-E7129609CFA0", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "260", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6InRlc3Qtc3BhY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6InRlc3Qtc3BhY2UtbmFtZS1jdXN0b20tZGF0YS0yIiwic3BhY2UtY3VzdG9tMSI6InRlc3Qtc3BhY2UtbmFtZS1jdXN0b20tZGF0YS0xIn0sIm5hbWUiOiJ0ZXN0LXNwYWNlLW5hbWUiLCJkZXNjcmlwdGlvbiI6InRlc3Qtc3BhY2UtaW5mb3JtYXRpb24ifQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "CF5EE775-131C-4B7B-8AE5-E7129609CFA0", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:26:38 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "CF5EE775-131C-4B7B-8AE5-E7129609CFA0", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6InRlc3Qtc3BhY2UiLCJuYW1lIjoidGVzdC1zcGFjZS1uYW1lIiwiZGVzY3JpcHRpb24iOiJ0ZXN0LXNwYWNlLWluZm9ybWF0aW9uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJ0ZXN0LXNwYWNlLW5hbWUtY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJ0ZXN0LXNwYWNlLW5hbWUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyNjozOC4xNDYwOTRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6MjY6MzguMTQ2MDk0WiIsImVUYWciOiJBZHo4c2JhUDRmSE1tZ0UifX0=" - }, - "type" : 2 - }, - { - "id" : "CF5EE775-131C-4B7B-8AE5-E7129609CFA0", - "type" : 4 - }, - { - "id" : "F5B824D8-038C-4BC0-AE4E-EC5152416DE7", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F5B824D8-038C-4BC0-AE4E-EC5152416DE7", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:26:39 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "F5B824D8-038C-4BC0-AE4E-EC5152416DE7", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "F5B824D8-038C-4BC0-AE4E-EC5152416DE7", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchAllSpacesAndReceiveResultWithExpectedOperation.json b/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchAllSpacesAndReceiveResultWithExpectedOperation.json deleted file mode 100644 index a39e44691..000000000 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldFetchAllSpacesAndReceiveResultWithExpectedOperation.json +++ /dev/null @@ -1,854 +0,0 @@ -[ - { - "id" : "6F785882-D28D-4A08-A127-210809B436EC", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "6F785882-D28D-4A08-A127-210809B436EC", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:36:06 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "6F785882-D28D-4A08-A127-210809B436EC", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "6F785882-D28D-4A08-A127-210809B436EC", - "type" : 4 - }, - { - "id" : "8B308297-0968-4027-A85D-9240D30D94C4", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "8B308297-0968-4027-A85D-9240D30D94C4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:36:06 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "8B308297-0968-4027-A85D-9240D30D94C4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "8B308297-0968-4027-A85D-9240D30D94C4", - "type" : 4 - }, - { - "id" : "3AC7234D-CA9D-4589-99B0-DFE37010BED9", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "3AC7234D-CA9D-4589-99B0-DFE37010BED9", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:36:07 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "3AC7234D-CA9D-4589-99B0-DFE37010BED9", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowNi45NjU1OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowNi45NjU1OFoiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn19" - }, - "type" : 2 - }, - { - "id" : "3AC7234D-CA9D-4589-99B0-DFE37010BED9", - "type" : 4 - }, - { - "id" : "26A565F9-6310-48FA-A13A-22ECA0E33FB8", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGlwcGVyLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "26A565F9-6310-48FA-A13A-22ECA0E33FB8", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:36:08 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "26A565F9-6310-48FA-A13A-22ECA0E33FB8", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hpcHBlci1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoaXBwZXItY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowNy42MzAzNDhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MzY6MDcuNjMwMzQ4WiIsImVUYWciOiJBWnJGNjRiOWlOeW1JdyJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "26A565F9-6310-48FA-A13A-22ECA0E33FB8", - "type" : 4 - }, - { - "id" : "C55956AC-125D-4185-AB81-0B482751CBFB", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "159", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU29sc3RpY2UtY3VzdG9tLWRhdGEtMSJ9fQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C55956AC-125D-4185-AB81-0B482751CBFB", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:36:08 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "C55956AC-125D-4185-AB81-0B482751CBFB", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJTb2xzdGljZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNvbHN0aWNlLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6MzY6MDguMjQ1NDk0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjA4LjI0NTQ5NFoiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn19" - }, - "type" : 2 - }, - { - "id" : "C55956AC-125D-4185-AB81-0B482751CBFB", - "type" : 4 - }, - { - "id" : "5C1DB0BA-AC66-4F28-82FF-90D167A964D9", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "159", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiTWlkbmlnaHQtY3VzdG9tLWRhdGEtMSJ9fQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "5C1DB0BA-AC66-4F28-82FF-90D167A964D9", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:36:09 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "5C1DB0BA-AC66-4F28-82FF-90D167A964D9", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJNaWRuaWdodC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ik1pZG5pZ2h0LWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6MzY6MDguODYwMzI0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjA4Ljg2MDMyNFoiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn19" - }, - "type" : 2 - }, - { - "id" : "5C1DB0BA-AC66-4F28-82FF-90D167A964D9", - "type" : 4 - }, - { - "id" : "0F52C626-8DDF-4781-AE13-76D4B85C9CCB", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "143", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJXeW5uLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "0F52C626-8DDF-4781-AE13-76D4B85C9CCB", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:36:09 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "0F52C626-8DDF-4781-AE13-76D4B85C9CCB", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiV3lubi1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6Ild5bm4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowOS40MzUzNjVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MzY6MDkuNDM1MzY1WiIsImVUYWciOiJBZXVHM0l5dzVKejFCUSJ9fQ==" - }, - "type" : 2 - }, - { - "id" : "0F52C626-8DDF-4781-AE13-76D4B85C9CCB", - "type" : 4 - }, - { - "id" : "8207BD3B-3AD3-401A-AF1F-3DEBCC12BE6B", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "163", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20yIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiU25vd2ZsYWtlLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "8207BD3B-3AD3-401A-AF1F-3DEBCC12BE6B", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:36:10 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "8207BD3B-3AD3-401A-AF1F-3DEBCC12BE6B", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IlNub3dmbGFrZS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjEwLjAxMTU5OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjoxMC4wMTE1OThaIiwiZVRhZyI6IkFZZk82OTNCajhLWVlBIn19" - }, - "type" : 2 - }, - { - "id" : "8207BD3B-3AD3-401A-AF1F-3DEBCC12BE6B", - "type" : 4 - }, - { - "id" : "4F636ACA-10E0-4B69-AC20-C22F6BB70472", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "4F636ACA-10E0-4B69-AC20-C22F6BB70472", - "data" : { - "status" : 404, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:36:11 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "4F636ACA-10E0-4B69-AC20-C22F6BB70472", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowNi45NjU1OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowNi45NjU1OFoiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjA3LjYzMDM0OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowNy42MzAzNDhaIiwiZVRhZyI6IkFackY2NGI5aU55bUl3In0seyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6MzY6MDguMjQ1NDk0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjA4LjI0NTQ5NFoiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6MzY6MDguODYwMzI0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjA4Ljg2MDMyNFoiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn0seyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjA5LjQzNTM2NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowOS40MzUzNjVaIiwiZVRhZyI6IkFldUczSXl3NUp6MUJRIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjoxMC4wMTE1OThaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MzY6MTAuMDExNTk4WiIsImVUYWciOiJBWWZPNjkzQmo4S1lZQSJ9XSwibmV4dCI6Ik5nIn0=" - }, - "type" : 2 - }, - { - "id" : "4F636ACA-10E0-4B69-AC20-C22F6BB70472", - "type" : 4 - }, - { - "id" : "4F636ACA-10E0-4B69-AC20-C22F6BB70474", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "4F636ACA-10E0-4B69-AC20-C22F6BB70474", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:36:11 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "4F636ACA-10E0-4B69-AC20-C22F6BB70474", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJDaGFudGVkLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiQ2hhbnRlZCIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowNi45NjU1OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowNi45NjU1OFoiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn0seyJpZCI6IkNoaXBwZXItc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGlwcGVyIiwiZGVzY3JpcHRpb24iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjA3LjYzMDM0OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowNy42MzAzNDhaIiwiZVRhZyI6IkFackY2NGI5aU55bUl3In0seyJpZCI6IlNvbHN0aWNlLXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiU29sc3RpY2UiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6MzY6MDguMjQ1NDk0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjA4LjI0NTQ5NFoiLCJlVGFnIjoiQWN1QnhMcTB4TU9hb3dFIn0seyJpZCI6Ik1pZG5pZ2h0LXNwYWNlLWlkZW50aWZpZXIiLCJuYW1lIjoiTWlkbmlnaHQiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6MzY6MDguODYwMzI0WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjA4Ljg2MDMyNFoiLCJlVGFnIjoiQVpIRjQ3WEYyYU9pcEFFIn0seyJpZCI6Ild5bm4tc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJXeW5uIiwiZGVzY3JpcHRpb24iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM2OjA5LjQzNTM2NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjowOS40MzUzNjVaIiwiZVRhZyI6IkFldUczSXl3NUp6MUJRIn0seyJpZCI6IlNub3dmbGFrZS1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6IlNub3dmbGFrZSIsImRlc2NyaXB0aW9uIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozNjoxMC4wMTE1OThaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6MzY6MTAuMDExNTk4WiIsImVUYWciOiJBWWZPNjkzQmo4S1lZQSJ9XSwibmV4dCI6Ik5nIn0=" - }, - "type" : 2 - }, - { - "id" : "4F636ACA-10E0-4B69-AC20-C22F6BB70474", - "type" : 4 - }, - { - "id" : "2EE1E60D-6A89-496F-A11C-89C03E1E4EB1", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "2EE1E60D-6A89-496F-A11C-89C03E1E4EB1", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:36:12 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "2EE1E60D-6A89-496F-A11C-89C03E1E4EB1", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "2EE1E60D-6A89-496F-A11C-89C03E1E4EB1", - "type" : 4 - }, - { - "id" : "57C864FF-6F20-4320-B779-9A062940B144", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "57C864FF-6F20-4320-B779-9A062940B144", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chipper-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:36:12 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "57C864FF-6F20-4320-B779-9A062940B144", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "57C864FF-6F20-4320-B779-9A062940B144", - "type" : 4 - }, - { - "id" : "F7C7EA0D-55FA-475F-9A5F-F5C273743A6A", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F7C7EA0D-55FA-475F-9A5F-F5C273743A6A", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Solstice-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:36:13 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "F7C7EA0D-55FA-475F-9A5F-F5C273743A6A", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "F7C7EA0D-55FA-475F-9A5F-F5C273743A6A", - "type" : 4 - }, - { - "id" : "473D121E-53DA-4BE3-BE06-C899CBC0C935", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "473D121E-53DA-4BE3-BE06-C899CBC0C935", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Midnight-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:36:14 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "473D121E-53DA-4BE3-BE06-C899CBC0C935", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "473D121E-53DA-4BE3-BE06-C899CBC0C935", - "type" : 4 - }, - { - "id" : "8806F2BA-A912-4E2D-B6F3-7BB841F338E3", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "8806F2BA-A912-4E2D-B6F3-7BB841F338E3", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Wynn-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:36:15 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "8806F2BA-A912-4E2D-B6F3-7BB841F338E3", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "8806F2BA-A912-4E2D-B6F3-7BB841F338E3", - "type" : 4 - }, - { - "id" : "3B293505-F0AB-40D9-BA5E-AF78E67B8526", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "3B293505-F0AB-40D9-BA5E-AF78E67B8526", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Snowflake-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:36:15 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "3B293505-F0AB-40D9-BA5E-AF78E67B8526", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "3B293505-F0AB-40D9-BA5E-AF78E67B8526", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotCreateSpaceWhenSameSpaceAlreadyExists.json b/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotCreateSpaceWhenSameSpaceAlreadyExists.json deleted file mode 100644 index c72e30758..000000000 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotCreateSpaceWhenSameSpaceAlreadyExists.json +++ /dev/null @@ -1,322 +0,0 @@ -[ - { - "id" : "2C53A1EB-5758-4BC0-97A4-0763BBE1A8A7", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "2C53A1EB-5758-4BC0-97A4-0763BBE1A8A7", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:14 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "2C53A1EB-5758-4BC0-97A4-0763BBE1A8A7", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "2C53A1EB-5758-4BC0-97A4-0763BBE1A8A7", - "type" : 4 - }, - { - "id" : "3DDF31BE-ADCF-4BE0-8D6A-D65FDC104771", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "3DDF31BE-ADCF-4BE0-8D6A-D65FDC104771", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:14 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "3DDF31BE-ADCF-4BE0-8D6A-D65FDC104771", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "3DDF31BE-ADCF-4BE0-8D6A-D65FDC104771", - "type" : 4 - }, - { - "id" : "D9E807EA-7D6F-4AAD-9C19-CF3F75A2F4A7", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "D9E807EA-7D6F-4AAD-9C19-CF3F75A2F4A7", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:15 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "D9E807EA-7D6F-4AAD-9C19-CF3F75A2F4A7", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODoxNC44MDExOTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjg6MTQuODAxMTkyWiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" - }, - "type" : 2 - }, - { - "id" : "D9E807EA-7D6F-4AAD-9C19-CF3F75A2F4A7", - "type" : 4 - }, - { - "id" : "F512F2C6-6DEC-4394-9251-6311D9A07381", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "64", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIn0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F512F2C6-6DEC-4394-9251-6311D9A07381", - "data" : { - "status" : 409, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:16 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "108", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "F512F2C6-6DEC-4394-9251-6311D9A07381", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwOSwiZXJyb3IiOnsibWVzc2FnZSI6Ik9iamVjdCB3aXRoIHRoZSByZXF1ZXN0ZWQgaWRlbnRpZmllciBhbHJlYWR5IGV4aXN0cy4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "F512F2C6-6DEC-4394-9251-6311D9A07381", - "type" : 4 - }, - { - "id" : "83E27ED4-D06B-4DE4-8160-E653A4EF30DC", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "64", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIn0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "83E27ED4-D06B-4DE4-8160-E653A4EF30DC", - "data" : { - "status" : 409, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:17 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "108", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "83E27ED4-D06B-4DE4-8160-E653A4EF30DC", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwOSwiZXJyb3IiOnsibWVzc2FnZSI6Ik9iamVjdCB3aXRoIHRoZSByZXF1ZXN0ZWQgaWRlbnRpZmllciBhbHJlYWR5IGV4aXN0cy4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "83E27ED4-D06B-4DE4-8160-E653A4EF30DC", - "type" : 4 - }, - { - "id" : "A5592EB6-97B4-490B-BC20-71603E6B8274", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A5592EB6-97B4-490B-BC20-71603E6B8274", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:17 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "A5592EB6-97B4-490B-BC20-71603E6B8274", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "A5592EB6-97B4-490B-BC20-71603E6B8274", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotUpdateSpaceWhenTargetSpaceNotExists.json b/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotUpdateSpaceWhenTargetSpaceNotExists.json deleted file mode 100644 index 9bf19a27e..000000000 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldNotUpdateSpaceWhenTargetSpaceNotExists.json +++ /dev/null @@ -1,214 +0,0 @@ -[ - { - "id" : "FCFAD3B8-1222-4AEE-8BB6-733557E192F3", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "FCFAD3B8-1222-4AEE-8BB6-733557E192F3", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:21 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "FCFAD3B8-1222-4AEE-8BB6-733557E192F3", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "FCFAD3B8-1222-4AEE-8BB6-733557E192F3", - "type" : 4 - }, - { - "id" : "D64723EB-7CF1-466D-A208-935C8FF5A337", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "D64723EB-7CF1-466D-A208-935C8FF5A337", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:21 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "D64723EB-7CF1-466D-A208-935C8FF5A337", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "D64723EB-7CF1-466D-A208-935C8FF5A337", - "type" : 4 - }, - { - "id" : "CC6805BE-4DC2-4152-81BA-B0787FA7022C", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "72", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6InRlc3Qtc3BhY2UiLCJuYW1lIjoidGVzdC1zcGFjZS1uYW1lIn0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "CC6805BE-4DC2-4152-81BA-B0787FA7022C", - "data" : { - "status" : 404, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:22 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "87", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "CC6805BE-4DC2-4152-81BA-B0787FA7022C", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "CC6805BE-4DC2-4152-81BA-B0787FA7022C", - "type" : 4 - }, - { - "id" : "A2598D53-F193-42F0-A177-D4D2AAB2CE8D", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "72", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6InRlc3Qtc3BhY2UiLCJuYW1lIjoidGVzdC1zcGFjZS1uYW1lIn0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A2598D53-F193-42F0-A177-D4D2AAB2CE8D", - "data" : { - "status" : 404, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/test-space?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:22 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "87", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "A2598D53-F193-42F0-A177-D4D2AAB2CE8D", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "A2598D53-F193-42F0-A177-D4D2AAB2CE8D", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldUpdateSpaceAndTriggerUpdateEventToSpaceChannel.json b/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldUpdateSpaceAndTriggerUpdateEventToSpaceChannel.json deleted file mode 100644 index 53a7b1578..000000000 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldUpdateSpaceAndTriggerUpdateEventToSpaceChannel.json +++ /dev/null @@ -1,459 +0,0 @@ -[ - { - "id" : "20C9415D-146F-4CCD-B70E-D6231B2CE4D8", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "20C9415D-146F-4CCD-B70E-D6231B2CE4D8", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:28 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "20C9415D-146F-4CCD-B70E-D6231B2CE4D8", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "20C9415D-146F-4CCD-B70E-D6231B2CE4D8", - "type" : 4 - }, - { - "id" : "C889A540-80FA-4BA2-94E2-3ACE511AC7D5", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "C889A540-80FA-4BA2-94E2-3ACE511AC7D5", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:28 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "C889A540-80FA-4BA2-94E2-3ACE511AC7D5", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "C889A540-80FA-4BA2-94E2-3ACE511AC7D5", - "type" : 4 - }, - { - "id" : "450B5FE9-EE3E-4CBF-A81B-3E69BE7C91CE", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "155", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "450B5FE9-EE3E-4CBF-A81B-3E69BE7C91CE", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:29 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "450B5FE9-EE3E-4CBF-A81B-3E69BE7C91CE", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODoyOC45MDYxM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODoyOC45MDYxM1oiLCJlVGFnIjoiQWNXajlPVFF3TWFtcFFFIn19" - }, - "type" : 2 - }, - { - "id" : "450B5FE9-EE3E-4CBF-A81B-3E69BE7C91CE", - "type" : 4 - }, - { - "id" : "93ECC556-7125-4085-9E7D-1EEF0186CBEA", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "93ECC556-7125-4085-9E7D-1EEF0186CBEA", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Methods" : "GET", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:28:30 GMT", - "Content-Length" : "45", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" - } - }, - "type" : 1 - }, - { - "id" : "93ECC556-7125-4085-9E7D-1EEF0186CBEA", - "data" : { - "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2OTEwNTkyOTI4OSIsInIiOjEyfSwibSI6W119" - }, - "type" : 2 - }, - { - "id" : "93ECC556-7125-4085-9E7D-1EEF0186CBEA", - "type" : 4 - }, - { - "id" : "01A3BA81-C379-4424-95BF-6D2116021FAE", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810569105929289&tr=12" - }, - "type" : 0 - }, - { - "id" : "80A7A595-1F38-42FB-9316-0F84BEEE4884", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "221", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJ0ZXN0LXNwYWNlLW5hbWUiLCJjdXN0b20iOnsic3BhY2UtY3VzdG9tMiI6InRlc3Qtc3BhY2UtbmFtZS1jdXN0b20tZGF0YS0yIiwic3BhY2UtY3VzdG9tMSI6InRlc3Qtc3BhY2UtbmFtZS1jdXN0b20tZGF0YS0xIn19" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "80A7A595-1F38-42FB-9316-0F84BEEE4884", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:31 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "80A7A595-1F38-42FB-9316-0F84BEEE4884", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJ0ZXN0LXNwYWNlLW5hbWUiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJ0ZXN0LXNwYWNlLW5hbWUtY3VzdG9tLWRhdGEtMSIsInNwYWNlLWN1c3RvbTIiOiJ0ZXN0LXNwYWNlLW5hbWUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODoyOC45MDYxM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODozMS4wMzcyMTdaIiwiZVRhZyI6IkFkYk13dXlRakk2dGN3In19" - }, - "type" : 2 - }, - { - "id" : "80A7A595-1F38-42FB-9316-0F84BEEE4884", - "type" : 4 - }, - { - "id" : "01A3BA81-C379-4424-95BF-6D2116021FAE", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810569105929289&tr=12", - "headers" : { - "Access-Control-Allow-Methods" : "GET", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 06:28:31 GMT", - "Content-Length" : "563", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" - } - }, - "type" : 1 - }, - { - "id" : "01A3BA81-C379-4424-95BF-6D2116021FAE", - "data" : { - "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDU2OTExMzAxMjcwOCIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDU2OTExMjk5OTQxMiIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwiZCI6eyJzb3VyY2UiOiJvYmplY3RzIiwidmVyc2lvbiI6IjEuMCIsImV2ZW50IjoidXBkYXRlIiwidHlwZSI6InNwYWNlIiwiZGF0YSI6eyJjdXN0b20iOnsic3BhY2UtY3VzdG9tMSI6InRlc3Qtc3BhY2UtbmFtZS1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6InRlc3Qtc3BhY2UtbmFtZS1jdXN0b20tZGF0YS0yIn0sImVUYWciOiJBZGJNd3V5UWpJNnRjdyIsImlkIjoiQ2hhbnRlZC1zcGFjZS1pZGVudGlmaWVyIiwibmFtZSI6InRlc3Qtc3BhY2UtbmFtZSIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI4OjMxLjAzNzIxN1oifX19XX0=" - }, - "type" : 2 - }, - { - "id" : "01A3BA81-C379-4424-95BF-6D2116021FAE", - "type" : 4 - }, - { - "id" : "9E4B973F-A6BE-41CD-8B13-0F8E5E44DC09", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810569113012708&tr=12" - }, - "type" : 0 - }, - { - "id" : "9E4B973F-A6BE-41CD-8B13-0F8E5E44DC09", - "data" : { - "code" : -999, - "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810569113012708&tr=12", - "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Chanted-space-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810569113012708&tr=12" - }, - "cls" : "NSError", - "domain" : "NSURLErrorDomain" - }, - "type" : 3 - }, - { - "id" : "1A799524-43A0-45B0-A855-8A3D9ADDC7B1", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "1A799524-43A0-45B0-A855-8A3D9ADDC7B1", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Chanted-space-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Server" : "Pubnub Presence", - "Access-Control-Allow-Origin" : "*", - "Age" : "0", - "Date" : "Fri, 07 Feb 2020 06:28:31 GMT", - "Accept-Ranges" : "bytes", - "Content-Length" : "74", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" - } - }, - "type" : 1 - }, - { - "id" : "1A799524-43A0-45B0-A855-8A3D9ADDC7B1", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" - }, - "type" : 2 - }, - { - "id" : "1A799524-43A0-45B0-A855-8A3D9ADDC7B1", - "type" : 4 - }, - { - "id" : "8D206472-8BE6-4D74-B5D4-A87C16612D94", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "8D206472-8BE6-4D74-B5D4-A87C16612D94", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:32 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "8D206472-8BE6-4D74-B5D4-A87C16612D94", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "8D206472-8BE6-4D74-B5D4-A87C16612D94", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchAllUsersAndReceiveResultWithExpectedOperation.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchAllUUIDMetadataAndReceiveResultWithExpectedOperation.json similarity index 50% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchAllUsersAndReceiveResultWithExpectedOperation.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchAllUUIDMetadataAndReceiveResultWithExpectedOperation.json index adaf0cd00..2a6e6bb64 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchAllUsersAndReceiveResultWithExpectedOperation.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchAllUUIDMetadataAndReceiveResultWithExpectedOperation.json @@ -1,6 +1,6 @@ [ { - "id" : "60197354-D8E6-445C-AB50-1319D96A7E35", + "id" : "ED0392EC-C496-496C-B555-02580C94F58D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "60197354-D8E6-445C-AB50-1319D96A7E35", + "id" : "ED0392EC-C496-496C-B555-02580C94F58D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:40:22 GMT", + "Date" : "Sun, 24 May 2020 08:41:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "60197354-D8E6-445C-AB50-1319D96A7E35", + "id" : "ED0392EC-C496-496C-B555-02580C94F58D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "60197354-D8E6-445C-AB50-1319D96A7E35", + "id" : "ED0392EC-C496-496C-B555-02580C94F58D", "type" : 4 }, { - "id" : "5D3D13DB-D92C-4B34-B5AE-5EB740E40BEB", + "id" : "84EA7D32-8530-4ED6-9AE7-CDCA26845D3D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5D3D13DB-D92C-4B34-B5AE-5EB740E40BEB", + "id" : "84EA7D32-8530-4ED6-9AE7-CDCA26845D3D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:40:23 GMT", + "Date" : "Sun, 24 May 2020 08:41:11 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "5D3D13DB-D92C-4B34-B5AE-5EB740E40BEB", + "id" : "84EA7D32-8530-4ED6-9AE7-CDCA26845D3D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "5D3D13DB-D92C-4B34-B5AE-5EB740E40BEB", + "id" : "84EA7D32-8530-4ED6-9AE7-CDCA26845D3D", "type" : 4 }, { - "id" : "1786C801-7E14-46CF-83EA-427B13977D3A", + "id" : "4944B59A-D7E5-42F3-8AE5-0A671BAA6D29", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1786C801-7E14-46CF-83EA-427B13977D3A", + "id" : "4944B59A-D7E5-42F3-8AE5-0A671BAA6D29", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:40:23 GMT", + "Date" : "Sun, 24 May 2020 08:41:11 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "1786C801-7E14-46CF-83EA-427B13977D3A", + "id" : "4944B59A-D7E5-42F3-8AE5-0A671BAA6D29", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjQwOjIzLjIxMDQxNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyMy4yMTA0MTZaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQxOjExLjUzODg3OVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "1786C801-7E14-46CF-83EA-427B13977D3A", + "id" : "4944B59A-D7E5-42F3-8AE5-0A671BAA6D29", "type" : 4 }, { - "id" : "B05B28AE-697C-4920-AEA3-896D65620E6C", + "id" : "40F23E0A-6CEA-40C4-BC25-A9FF9A8EE3B1", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B05B28AE-697C-4920-AEA3-896D65620E6C", + "id" : "40F23E0A-6CEA-40C4-BC25-A9FF9A8EE3B1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:40:24 GMT", + "Date" : "Sun, 24 May 2020 08:41:11 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "B05B28AE-697C-4920-AEA3-896D65620E6C", + "id" : "40F23E0A-6CEA-40C4-BC25-A9FF9A8EE3B1", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjQwOjIzLjgzOTg2MloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyMy44Mzk4NjJaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQxOjExLjgzOTQxNVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "B05B28AE-697C-4920-AEA3-896D65620E6C", + "id" : "40F23E0A-6CEA-40C4-BC25-A9FF9A8EE3B1", "type" : 4 }, { - "id" : "9F9E514D-8BDE-4506-9A8C-CD3A6FE3BB24", + "id" : "A8DBC9DD-34AA-409C-99AF-EEF7DE35A3C2", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9F9E514D-8BDE-4506-9A8C-CD3A6FE3BB24", + "id" : "A8DBC9DD-34AA-409C-99AF-EEF7DE35A3C2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:40:24 GMT", + "Date" : "Sun, 24 May 2020 08:41:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "9F9E514D-8BDE-4506-9A8C-CD3A6FE3BB24", + "id" : "A8DBC9DD-34AA-409C-99AF-EEF7DE35A3C2", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyNC40MTUzODdaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjQuNDE1Mzg3WiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MToxMi4wNzIyMjNaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "9F9E514D-8BDE-4506-9A8C-CD3A6FE3BB24", + "id" : "A8DBC9DD-34AA-409C-99AF-EEF7DE35A3C2", "type" : 4 }, { - "id" : "4EFA382B-D6F5-4470-AF0F-110434D30700", + "id" : "8E5541ED-AA1E-4A51-8A30-E8CC0DC9C501", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4EFA382B-D6F5-4470-AF0F-110434D30700", + "id" : "8E5541ED-AA1E-4A51-8A30-E8CC0DC9C501", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:40:25 GMT", + "Date" : "Sun, 24 May 2020 08:41:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "4EFA382B-D6F5-4470-AF0F-110434D30700", + "id" : "8E5541ED-AA1E-4A51-8A30-E8CC0DC9C501", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyNS4wNjc1MzJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjUuMDY3NTMyWiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MToxMi4zMDA3NjJaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "4EFA382B-D6F5-4470-AF0F-110434D30700", + "id" : "8E5541ED-AA1E-4A51-8A30-E8CC0DC9C501", "type" : 4 }, { - "id" : "D82A7D5B-AF2D-479B-93EF-88C414737C37", + "id" : "A176FEF3-9E2C-4386-82E5-7A41F5E12C3F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D82A7D5B-AF2D-479B-93EF-88C414737C37", + "id" : "A176FEF3-9E2C-4386-82E5-7A41F5E12C3F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:40:26 GMT", + "Date" : "Sun, 24 May 2020 08:41:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,21 +378,21 @@ "type" : 1 }, { - "id" : "D82A7D5B-AF2D-479B-93EF-88C414737C37", + "id" : "A176FEF3-9E2C-4386-82E5-7A41F5E12C3F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyNS42NjUxMjNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjUuNjY1MTIzWiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MToxMi41NTEwNVoiLCJlVGFnIjoiQWNXb3ZjMmMxNVQ5MFFFIn19" }, "type" : 2 }, { - "id" : "D82A7D5B-AF2D-479B-93EF-88C414737C37", + "id" : "A176FEF3-9E2C-4386-82E5-7A41F5E12C3F", "type" : 4 }, { - "id" : "6EDF98FE-CF99-47C4-9D79-417233D6FC69", + "id" : "DD62E7E7-09C6-4EA7-A062-05066DAAFEE6", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +400,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2hhbm5vbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6EDF98FE-CF99-47C4-9D79-417233D6FC69", + "id" : "DD62E7E7-09C6-4EA7-A062-05066DAAFEE6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:40:26 GMT", + "Date" : "Sun, 24 May 2020 08:41:12 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,19 +436,19 @@ "type" : 1 }, { - "id" : "6EDF98FE-CF99-47C4-9D79-417233D6FC69", + "id" : "DD62E7E7-09C6-4EA7-A062-05066DAAFEE6", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyNi4yOTU4OThaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjYuMjk1ODk4WiIsImVUYWciOiJBZEd4aHNPLzB2aVdUQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MToxMi43NzU1NThaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9fQ==" }, "type" : 2 }, { - "id" : "6EDF98FE-CF99-47C4-9D79-417233D6FC69", + "id" : "DD62E7E7-09C6-4EA7-A062-05066DAAFEE6", "type" : 4 }, { - "id" : "C7F66257-F10A-4522-BAD2-145139F8E2B8", + "id" : "2A30D379-500A-4756-847F-8185752F3D78", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -457,30 +457,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C7F66257-F10A-4522-BAD2-145139F8E2B8", + "id" : "2A30D379-500A-4756-847F-8185752F3D78", "data" : { "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:40:28 GMT", + "Date" : "Sun, 24 May 2020 08:41:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -488,19 +488,19 @@ "type" : 1 }, { - "id" : "C7F66257-F10A-4522-BAD2-145139F8E2B8", + "id" : "2A30D379-500A-4756-847F-8185752F3D78", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNlcmhpaSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyMy4yMTA0MTZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjMuMjEwNDE2WiIsImVUYWciOiJBZVAyNjdmYXV2YkJQQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyMy44Mzk4NjJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjMuODM5ODYyWiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9LHsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJFYXJsaW5lIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjQwOjI0LjQxNTM4N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyNC40MTUzODdaIiwiZVRhZyI6IkFkNmJ6cm5jcktXM3JRRSJ9LHsiaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjQwOjI1LjA2NzUzMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyNS4wNjc1MzJaIiwiZVRhZyI6IkFmLzV3TVNoM3JlSWRBIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjUuNjY1MTIzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjQwOjI1LjY2NTEyM1oiLCJlVGFnIjoiQWRpSmwvejRzT2FOK2dFIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjYuMjk1ODk4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjQwOjI2LjI5NTg5OFoiLCJlVGFnIjoiQWRHeGhzTy8wdmlXVEEifV0sIm5leHQiOiJOZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNlcmhpaSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MToxMS41Mzg4NzlaIiwiZVRhZyI6IkFhTFo5SkRzNDlpRkdRIn0seyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQxOjExLjgzOTQxNVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSx7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2hhbm5vbiIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MToxMi43NzU1NThaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9LHsiaWQiOiJOaWNvbGFzLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJOaWNvbGFzIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQxOjEyLjU1MTA1WiIsImVUYWciOiJBY1dvdmMyYzE1VDkwUUUifSx7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MToxMi4wNzIyMjNaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn0seyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDE6MTIuMzAwNzYyWiIsImVUYWciOiJBZktEMnZmTTI2VzUvUUUifV0sIm5leHQiOiJOZyJ9" }, "type" : 2 }, { - "id" : "C7F66257-F10A-4522-BAD2-145139F8E2B8", + "id" : "2A30D379-500A-4756-847F-8185752F3D78", "type" : 4 }, { - "id" : "C7F66257-F10A-4522-BAD2-145139F8E2B7", + "id" : "2A30D379-500A-4756-847F-8185752F3D58", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -509,30 +509,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C7F66257-F10A-4522-BAD2-145139F8E2B7", + "id" : "2A30D379-500A-4756-847F-8185752F3D58", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:40:28 GMT", + "Date" : "Sun, 24 May 2020 08:41:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -540,19 +540,19 @@ "type" : 1 }, { - "id" : "C7F66257-F10A-4522-BAD2-145139F8E2B7", + "id" : "2A30D379-500A-4756-847F-8185752F3D58", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNlcmhpaSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyMy4yMTA0MTZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjMuMjEwNDE2WiIsImVUYWciOiJBZVAyNjdmYXV2YkJQQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyMy44Mzk4NjJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjMuODM5ODYyWiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9LHsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJFYXJsaW5lIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjQwOjI0LjQxNTM4N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyNC40MTUzODdaIiwiZVRhZyI6IkFkNmJ6cm5jcktXM3JRRSJ9LHsiaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjQwOjI1LjA2NzUzMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzo0MDoyNS4wNjc1MzJaIiwiZVRhZyI6IkFmLzV3TVNoM3JlSWRBIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjUuNjY1MTIzWiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjQwOjI1LjY2NTEyM1oiLCJlVGFnIjoiQWRpSmwvejRzT2FOK2dFIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTM6NDA6MjYuMjk1ODk4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjQwOjI2LjI5NTg5OFoiLCJlVGFnIjoiQWRHeGhzTy8wdmlXVEEifV0sIm5leHQiOiJOZyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNlcmhpaSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MToxMS41Mzg4NzlaIiwiZVRhZyI6IkFhTFo5SkRzNDlpRkdRIn0seyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQxOjExLjgzOTQxNVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSx7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2hhbm5vbiIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MToxMi43NzU1NThaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9LHsiaWQiOiJOaWNvbGFzLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJOaWNvbGFzIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQxOjEyLjU1MTA1WiIsImVUYWciOiJBY1dvdmMyYzE1VDkwUUUifSx7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MToxMi4wNzIyMjNaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn0seyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDE6MTIuMzAwNzYyWiIsImVUYWciOiJBZktEMnZmTTI2VzUvUUUifV0sIm5leHQiOiJOZyJ9" }, "type" : 2 }, { - "id" : "C7F66257-F10A-4522-BAD2-145139F8E2B7", + "id" : "2A30D379-500A-4756-847F-8185752F3D58", "type" : 4 }, { - "id" : "918E76D9-0518-482D-850C-C5C0A8EB237C", + "id" : "3514ED34-2A97-47C6-800A-77CB0014FE38", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -561,26 +561,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "918E76D9-0518-482D-850C-C5C0A8EB237C", + "id" : "3514ED34-2A97-47C6-800A-77CB0014FE38", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:40:29 GMT", + "Date" : "Sun, 24 May 2020 08:41:14 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -590,7 +590,7 @@ "type" : 1 }, { - "id" : "918E76D9-0518-482D-850C-C5C0A8EB237C", + "id" : "3514ED34-2A97-47C6-800A-77CB0014FE38", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -598,11 +598,11 @@ "type" : 2 }, { - "id" : "918E76D9-0518-482D-850C-C5C0A8EB237C", + "id" : "3514ED34-2A97-47C6-800A-77CB0014FE38", "type" : 4 }, { - "id" : "67F454CF-12BE-4AD2-B1F6-BCA0E2E4B288", + "id" : "91C126E4-4062-40A2-ABFD-9104D6F25380", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -611,26 +611,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "67F454CF-12BE-4AD2-B1F6-BCA0E2E4B288", + "id" : "91C126E4-4062-40A2-ABFD-9104D6F25380", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:40:29 GMT", + "Date" : "Sun, 24 May 2020 08:41:14 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -640,7 +640,7 @@ "type" : 1 }, { - "id" : "67F454CF-12BE-4AD2-B1F6-BCA0E2E4B288", + "id" : "91C126E4-4062-40A2-ABFD-9104D6F25380", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -648,11 +648,11 @@ "type" : 2 }, { - "id" : "67F454CF-12BE-4AD2-B1F6-BCA0E2E4B288", + "id" : "91C126E4-4062-40A2-ABFD-9104D6F25380", "type" : 4 }, { - "id" : "E8A8166E-9E6D-4629-89EF-B64B9CA8C377", + "id" : "F67EC8A6-763C-402B-827D-FAD37F17C827", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -661,26 +661,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E8A8166E-9E6D-4629-89EF-B64B9CA8C377", + "id" : "F67EC8A6-763C-402B-827D-FAD37F17C827", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:40:30 GMT", + "Date" : "Sun, 24 May 2020 08:41:14 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -690,7 +690,7 @@ "type" : 1 }, { - "id" : "E8A8166E-9E6D-4629-89EF-B64B9CA8C377", + "id" : "F67EC8A6-763C-402B-827D-FAD37F17C827", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -698,11 +698,11 @@ "type" : 2 }, { - "id" : "E8A8166E-9E6D-4629-89EF-B64B9CA8C377", + "id" : "F67EC8A6-763C-402B-827D-FAD37F17C827", "type" : 4 }, { - "id" : "00B61E07-E9B1-4979-9CF1-2B9AE3F08C27", + "id" : "04C4CE7D-8441-4847-9448-C5F3FFD63562", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -711,26 +711,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "00B61E07-E9B1-4979-9CF1-2B9AE3F08C27", + "id" : "04C4CE7D-8441-4847-9448-C5F3FFD63562", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:40:31 GMT", + "Date" : "Sun, 24 May 2020 08:41:15 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -740,7 +740,7 @@ "type" : 1 }, { - "id" : "00B61E07-E9B1-4979-9CF1-2B9AE3F08C27", + "id" : "04C4CE7D-8441-4847-9448-C5F3FFD63562", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -748,11 +748,11 @@ "type" : 2 }, { - "id" : "00B61E07-E9B1-4979-9CF1-2B9AE3F08C27", + "id" : "04C4CE7D-8441-4847-9448-C5F3FFD63562", "type" : 4 }, { - "id" : "E6B7FA19-2CA6-454F-9524-8C919E4CA897", + "id" : "94AB7060-7124-4DB5-A343-8E1CCF987687", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -761,26 +761,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E6B7FA19-2CA6-454F-9524-8C919E4CA897", + "id" : "94AB7060-7124-4DB5-A343-8E1CCF987687", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:40:32 GMT", + "Date" : "Sun, 24 May 2020 08:41:15 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -790,7 +790,7 @@ "type" : 1 }, { - "id" : "E6B7FA19-2CA6-454F-9524-8C919E4CA897", + "id" : "94AB7060-7124-4DB5-A343-8E1CCF987687", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -798,11 +798,11 @@ "type" : 2 }, { - "id" : "E6B7FA19-2CA6-454F-9524-8C919E4CA897", + "id" : "94AB7060-7124-4DB5-A343-8E1CCF987687", "type" : 4 }, { - "id" : "A502D57D-1815-4135-9943-14182AF5E17E", + "id" : "3D62FC04-5B8F-4C46-BFB8-3351BB1A65C3", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -811,26 +811,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A502D57D-1815-4135-9943-14182AF5E17E", + "id" : "3D62FC04-5B8F-4C46-BFB8-3351BB1A65C3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:40:33 GMT", + "Date" : "Sun, 24 May 2020 08:41:15 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -840,7 +840,7 @@ "type" : 1 }, { - "id" : "A502D57D-1815-4135-9943-14182AF5E17E", + "id" : "3D62FC04-5B8F-4C46-BFB8-3351BB1A65C3", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -848,7 +848,7 @@ "type" : 2 }, { - "id" : "A502D57D-1815-4135-9943-14182AF5E17E", + "id" : "3D62FC04-5B8F-4C46-BFB8-3351BB1A65C3", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchAllUsersWhenLimitItSet.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchAllUUIDMetadataWhenLimitItSet.json similarity index 53% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchAllUsersWhenLimitItSet.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchAllUUIDMetadataWhenLimitItSet.json index 64c295edc..98951416e 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchAllUsersWhenLimitItSet.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchAllUUIDMetadataWhenLimitItSet.json @@ -1,6 +1,6 @@ [ { - "id" : "A8E4D16B-EA77-48F8-A84B-A369B2791287", + "id" : "88ED8455-C42C-42B2-9417-B99FEE580713", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A8E4D16B-EA77-48F8-A84B-A369B2791287", + "id" : "88ED8455-C42C-42B2-9417-B99FEE580713", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:33 GMT", + "Date" : "Sun, 24 May 2020 08:42:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "A8E4D16B-EA77-48F8-A84B-A369B2791287", + "id" : "88ED8455-C42C-42B2-9417-B99FEE580713", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "A8E4D16B-EA77-48F8-A84B-A369B2791287", + "id" : "88ED8455-C42C-42B2-9417-B99FEE580713", "type" : 4 }, { - "id" : "596142B4-1F47-4A53-BC8E-A9021C964DFE", + "id" : "396AA72D-3124-4F74-A647-11A261E4E212", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "596142B4-1F47-4A53-BC8E-A9021C964DFE", + "id" : "396AA72D-3124-4F74-A647-11A261E4E212", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:33 GMT", + "Date" : "Sun, 24 May 2020 08:42:06 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "596142B4-1F47-4A53-BC8E-A9021C964DFE", + "id" : "396AA72D-3124-4F74-A647-11A261E4E212", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "596142B4-1F47-4A53-BC8E-A9021C964DFE", + "id" : "396AA72D-3124-4F74-A647-11A261E4E212", "type" : 4 }, { - "id" : "E74A293A-4057-42D7-8F6C-07717234BD00", + "id" : "800A0B43-E7B5-449E-9B01-6E776F250209", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E74A293A-4057-42D7-8F6C-07717234BD00", + "id" : "800A0B43-E7B5-449E-9B01-6E776F250209", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:34 GMT", + "Date" : "Sun, 24 May 2020 08:42:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "E74A293A-4057-42D7-8F6C-07717234BD00", + "id" : "800A0B43-E7B5-449E-9B01-6E776F250209", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ5OjMzLjgxODcxMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTozMy44MTg3MTFaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjA3LjEyMDg1N1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "E74A293A-4057-42D7-8F6C-07717234BD00", + "id" : "800A0B43-E7B5-449E-9B01-6E776F250209", "type" : 4 }, { - "id" : "D59F9477-BC7F-43C7-8F37-6528678A2034", + "id" : "FDBFCB03-1E5C-42CC-8950-A086C932FF7D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D59F9477-BC7F-43C7-8F37-6528678A2034", + "id" : "FDBFCB03-1E5C-42CC-8950-A086C932FF7D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:34 GMT", + "Date" : "Sun, 24 May 2020 08:42:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "D59F9477-BC7F-43C7-8F37-6528678A2034", + "id" : "FDBFCB03-1E5C-42CC-8950-A086C932FF7D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ5OjM0LjQwMDg1M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTozNC40MDA4NTNaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjA3LjM0MzkyOVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "D59F9477-BC7F-43C7-8F37-6528678A2034", + "id" : "FDBFCB03-1E5C-42CC-8950-A086C932FF7D", "type" : 4 }, { - "id" : "0D530536-BDBA-424F-B663-4F14D9D0C58E", + "id" : "B685219D-37BA-4238-B224-73A7CC7B1EE7", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0D530536-BDBA-424F-B663-4F14D9D0C58E", + "id" : "B685219D-37BA-4238-B224-73A7CC7B1EE7", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:35 GMT", + "Date" : "Sun, 24 May 2020 08:42:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "0D530536-BDBA-424F-B663-4F14D9D0C58E", + "id" : "B685219D-37BA-4238-B224-73A7CC7B1EE7", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTozNC45ODI0NzFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6MzQuOTgyNDcxWiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjowNy41NjM3OTVaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "0D530536-BDBA-424F-B663-4F14D9D0C58E", + "id" : "B685219D-37BA-4238-B224-73A7CC7B1EE7", "type" : 4 }, { - "id" : "1A2FB42A-5507-4CBB-A0BF-9A8A583257A4", + "id" : "9CD130F0-1429-4A7D-BA8D-899D4590004D", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1A2FB42A-5507-4CBB-A0BF-9A8A583257A4", + "id" : "9CD130F0-1429-4A7D-BA8D-899D4590004D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:36 GMT", + "Date" : "Sun, 24 May 2020 08:42:07 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "1A2FB42A-5507-4CBB-A0BF-9A8A583257A4", + "id" : "9CD130F0-1429-4A7D-BA8D-899D4590004D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTozNS42MDgyNzJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6MzUuNjA4MjcyWiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjowNy43ODM4NzlaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "1A2FB42A-5507-4CBB-A0BF-9A8A583257A4", + "id" : "9CD130F0-1429-4A7D-BA8D-899D4590004D", "type" : 4 }, { - "id" : "BB81239A-F00D-4D13-8675-1658A15B9E3E", + "id" : "99C469CE-FB9E-4D32-AA42-12BF3217E11E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BB81239A-F00D-4D13-8675-1658A15B9E3E", + "id" : "99C469CE-FB9E-4D32-AA42-12BF3217E11E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:36 GMT", + "Date" : "Sun, 24 May 2020 08:42:08 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,21 +378,21 @@ "type" : 1 }, { - "id" : "BB81239A-F00D-4D13-8675-1658A15B9E3E", + "id" : "99C469CE-FB9E-4D32-AA42-12BF3217E11E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTozNi4yMDk3NjZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6MzYuMjA5NzY2WiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjowOC4wMDI5NzFaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9fQ==" }, "type" : 2 }, { - "id" : "BB81239A-F00D-4D13-8675-1658A15B9E3E", + "id" : "99C469CE-FB9E-4D32-AA42-12BF3217E11E", "type" : 4 }, { - "id" : "DEA7F1EB-495A-4A7F-81D9-C5378B6065ED", + "id" : "9625BB0D-22FF-44F9-BADE-C60FAE3326A7", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +400,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2hhbm5vbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "DEA7F1EB-495A-4A7F-81D9-C5378B6065ED", + "id" : "9625BB0D-22FF-44F9-BADE-C60FAE3326A7", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:37 GMT", + "Date" : "Sun, 24 May 2020 08:42:08 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,19 +436,19 @@ "type" : 1 }, { - "id" : "DEA7F1EB-495A-4A7F-81D9-C5378B6065ED", + "id" : "9625BB0D-22FF-44F9-BADE-C60FAE3326A7", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTozNi44Mzk3MjNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6MzYuODM5NzIzWiIsImVUYWciOiJBZEd4aHNPLzB2aVdUQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjowOC4yMjU5MjFaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9fQ==" }, "type" : 2 }, { - "id" : "DEA7F1EB-495A-4A7F-81D9-C5378B6065ED", + "id" : "9625BB0D-22FF-44F9-BADE-C60FAE3326A7", "type" : 4 }, { - "id" : "02CF2625-A7AC-4883-8828-F86BBE85FA24", + "id" : "02F36D4A-A7AB-4C98-8659-BBC3839D359C", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -457,30 +457,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii" }, "type" : 0 }, { - "id" : "02CF2625-A7AC-4883-8828-F86BBE85FA24", + "id" : "02F36D4A-A7AB-4C98-8659-BBC3839D359C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?count=1&limit=2&pnsdk=PubNub-ObjC-iOS\/4.x.x&include=custom&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:38 GMT", + "Date" : "Sun, 24 May 2020 08:42:09 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -488,19 +488,19 @@ "type" : 1 }, { - "id" : "02CF2625-A7AC-4883-8828-F86BBE85FA24", + "id" : "02F36D4A-A7AB-4C98-8659-BBC3839D359C", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNlcmhpaSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEiLCJ1c2VyLWN1c3RvbTIiOiJTZXJoaWktY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTozMy44MTg3MTFaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6MzMuODE4NzExWiIsImVUYWciOiJBZVAyNjdmYXV2YkJQQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEiLCJ1c2VyLWN1c3RvbTIiOiJLaW0tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTozNC40MDA4NTNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6MzQuNDAwODUzWiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9XSwidG90YWxDb3VudCI6NiwibmV4dCI6Ik1nIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJFYXJsaW5lLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJFYXJsaW5lIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEiLCJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDI6MDcuNTYzNzk1WiIsImVUYWciOiJBYW10cWJqRHFidThjQSJ9LHsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOnsidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEiLCJ1dWlkLWN1c3RvbTIiOiJLaW0tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjowNy4zNDM5MjlaIiwiZVRhZyI6IkFaRytqYy9oL3FtSFdRIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTWcifQ==" }, "type" : 2 }, { - "id" : "02CF2625-A7AC-4883-8828-F86BBE85FA24", + "id" : "02F36D4A-A7AB-4C98-8659-BBC3839D359C", "type" : 4 }, { - "id" : "20D08129-5148-436D-B3C7-1D9DC37082F3", + "id" : "8E75514F-23BA-4E85-9CD3-E85AAD9F7927", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -509,26 +509,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "20D08129-5148-436D-B3C7-1D9DC37082F3", + "id" : "8E75514F-23BA-4E85-9CD3-E85AAD9F7927", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:39 GMT", + "Date" : "Sun, 24 May 2020 08:42:09 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -538,7 +538,7 @@ "type" : 1 }, { - "id" : "20D08129-5148-436D-B3C7-1D9DC37082F3", + "id" : "8E75514F-23BA-4E85-9CD3-E85AAD9F7927", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -546,11 +546,11 @@ "type" : 2 }, { - "id" : "20D08129-5148-436D-B3C7-1D9DC37082F3", + "id" : "8E75514F-23BA-4E85-9CD3-E85AAD9F7927", "type" : 4 }, { - "id" : "A1B40806-319C-4DC1-89D5-7B76C2DA61DC", + "id" : "B0AC3ECB-A6B7-4968-BE07-A7A2B5326EBD", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -559,26 +559,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "A1B40806-319C-4DC1-89D5-7B76C2DA61DC", + "id" : "B0AC3ECB-A6B7-4968-BE07-A7A2B5326EBD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:40 GMT", + "Date" : "Sun, 24 May 2020 08:42:09 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -588,7 +588,7 @@ "type" : 1 }, { - "id" : "A1B40806-319C-4DC1-89D5-7B76C2DA61DC", + "id" : "B0AC3ECB-A6B7-4968-BE07-A7A2B5326EBD", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -596,11 +596,11 @@ "type" : 2 }, { - "id" : "A1B40806-319C-4DC1-89D5-7B76C2DA61DC", + "id" : "B0AC3ECB-A6B7-4968-BE07-A7A2B5326EBD", "type" : 4 }, { - "id" : "15E6FF64-1545-46DE-9EE9-AF3BE497DCB5", + "id" : "DBA00F27-BC6F-457F-ABC6-FE32F389E7CC", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -609,26 +609,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "15E6FF64-1545-46DE-9EE9-AF3BE497DCB5", + "id" : "DBA00F27-BC6F-457F-ABC6-FE32F389E7CC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:41 GMT", + "Date" : "Sun, 24 May 2020 08:42:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -638,7 +638,7 @@ "type" : 1 }, { - "id" : "15E6FF64-1545-46DE-9EE9-AF3BE497DCB5", + "id" : "DBA00F27-BC6F-457F-ABC6-FE32F389E7CC", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -646,11 +646,11 @@ "type" : 2 }, { - "id" : "15E6FF64-1545-46DE-9EE9-AF3BE497DCB5", + "id" : "DBA00F27-BC6F-457F-ABC6-FE32F389E7CC", "type" : 4 }, { - "id" : "7D1084F1-C157-4D50-957F-55F1F4E90234", + "id" : "45C258CB-DDCE-41A7-836C-F9ACC26EB9EB", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -659,26 +659,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7D1084F1-C157-4D50-957F-55F1F4E90234", + "id" : "45C258CB-DDCE-41A7-836C-F9ACC26EB9EB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:42 GMT", + "Date" : "Sun, 24 May 2020 08:42:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -688,7 +688,7 @@ "type" : 1 }, { - "id" : "7D1084F1-C157-4D50-957F-55F1F4E90234", + "id" : "45C258CB-DDCE-41A7-836C-F9ACC26EB9EB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -696,11 +696,11 @@ "type" : 2 }, { - "id" : "7D1084F1-C157-4D50-957F-55F1F4E90234", + "id" : "45C258CB-DDCE-41A7-836C-F9ACC26EB9EB", "type" : 4 }, { - "id" : "3506A9F8-AFC2-4F21-A0F3-C885458C7B34", + "id" : "A47231CB-B54A-4743-9F5A-DE0E4EB6336E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -709,26 +709,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3506A9F8-AFC2-4F21-A0F3-C885458C7B34", + "id" : "A47231CB-B54A-4743-9F5A-DE0E4EB6336E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:43 GMT", + "Date" : "Sun, 24 May 2020 08:42:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -738,7 +738,7 @@ "type" : 1 }, { - "id" : "3506A9F8-AFC2-4F21-A0F3-C885458C7B34", + "id" : "A47231CB-B54A-4743-9F5A-DE0E4EB6336E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -746,11 +746,11 @@ "type" : 2 }, { - "id" : "3506A9F8-AFC2-4F21-A0F3-C885458C7B34", + "id" : "A47231CB-B54A-4743-9F5A-DE0E4EB6336E", "type" : 4 }, { - "id" : "052CF43B-C92B-4EDA-88BD-310313D3CF7F", + "id" : "A92DA99B-0498-42B5-BCF3-1FC056A99F21", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -759,26 +759,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "052CF43B-C92B-4EDA-88BD-310313D3CF7F", + "id" : "A92DA99B-0498-42B5-BCF3-1FC056A99F21", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:44 GMT", + "Date" : "Sun, 24 May 2020 08:42:10 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -788,7 +788,7 @@ "type" : 1 }, { - "id" : "052CF43B-C92B-4EDA-88BD-310313D3CF7F", + "id" : "A92DA99B-0498-42B5-BCF3-1FC056A99F21", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -796,7 +796,7 @@ "type" : 2 }, { - "id" : "052CF43B-C92B-4EDA-88BD-310313D3CF7F", + "id" : "A92DA99B-0498-42B5-BCF3-1FC056A99F21", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchFilteredUsersWhenFilterIsSet.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchFilteredUUIDsMetadataWhenFilterIsSet.json similarity index 53% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchFilteredUsersWhenFilterIsSet.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchFilteredUUIDsMetadataWhenFilterIsSet.json index 461a2d868..f143bdd36 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchFilteredUsersWhenFilterIsSet.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchFilteredUUIDsMetadataWhenFilterIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "4ACEE333-C1A1-42B8-927C-BD10902199AA", + "id" : "68B6CFA4-8F6C-4B1A-8C83-F47F56FD1903", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4ACEE333-C1A1-42B8-927C-BD10902199AA", + "id" : "68B6CFA4-8F6C-4B1A-8C83-F47F56FD1903", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:46 GMT", + "Date" : "Sun, 24 May 2020 08:42:12 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "4ACEE333-C1A1-42B8-927C-BD10902199AA", + "id" : "68B6CFA4-8F6C-4B1A-8C83-F47F56FD1903", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "4ACEE333-C1A1-42B8-927C-BD10902199AA", + "id" : "68B6CFA4-8F6C-4B1A-8C83-F47F56FD1903", "type" : 4 }, { - "id" : "5A8D89B6-5105-416D-B72A-912CE6328BFF", + "id" : "F41BED47-0A91-4F76-855F-2FC833C40FC0", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5A8D89B6-5105-416D-B72A-912CE6328BFF", + "id" : "F41BED47-0A91-4F76-855F-2FC833C40FC0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:46 GMT", + "Date" : "Sun, 24 May 2020 08:42:13 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "5A8D89B6-5105-416D-B72A-912CE6328BFF", + "id" : "F41BED47-0A91-4F76-855F-2FC833C40FC0", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "5A8D89B6-5105-416D-B72A-912CE6328BFF", + "id" : "F41BED47-0A91-4F76-855F-2FC833C40FC0", "type" : 4 }, { - "id" : "D57141D8-5790-4710-9ECE-3D7E8CFC3C3D", + "id" : "A99E8D03-BB4D-41DA-9436-DD7DC279414E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D57141D8-5790-4710-9ECE-3D7E8CFC3C3D", + "id" : "A99E8D03-BB4D-41DA-9436-DD7DC279414E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:47 GMT", + "Date" : "Sun, 24 May 2020 08:42:13 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "D57141D8-5790-4710-9ECE-3D7E8CFC3C3D", + "id" : "A99E8D03-BB4D-41DA-9436-DD7DC279414E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ5OjQ2LjkyNDgzNloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTo0Ni45MjQ4MzZaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjEzLjM5OTM0MVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "D57141D8-5790-4710-9ECE-3D7E8CFC3C3D", + "id" : "A99E8D03-BB4D-41DA-9436-DD7DC279414E", "type" : 4 }, { - "id" : "D5AC5406-214E-443D-9C81-7E30699A9D00", + "id" : "1E5738A3-C676-4F64-876F-B756F906D850", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D5AC5406-214E-443D-9C81-7E30699A9D00", + "id" : "1E5738A3-C676-4F64-876F-B756F906D850", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:47 GMT", + "Date" : "Sun, 24 May 2020 08:42:13 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "D5AC5406-214E-443D-9C81-7E30699A9D00", + "id" : "1E5738A3-C676-4F64-876F-B756F906D850", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ5OjQ3LjQ5NTc5OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTo0Ny40OTU3OTlaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjEzLjYxOTczOFoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "D5AC5406-214E-443D-9C81-7E30699A9D00", + "id" : "1E5738A3-C676-4F64-876F-B756F906D850", "type" : 4 }, { - "id" : "EC719E8A-C75C-45FE-95E9-CA17BBE05987", + "id" : "DAA54539-42B0-4B74-BD70-7F5E8B99CA01", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EC719E8A-C75C-45FE-95E9-CA17BBE05987", + "id" : "DAA54539-42B0-4B74-BD70-7F5E8B99CA01", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:48 GMT", + "Date" : "Sun, 24 May 2020 08:42:13 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "EC719E8A-C75C-45FE-95E9-CA17BBE05987", + "id" : "DAA54539-42B0-4B74-BD70-7F5E8B99CA01", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTo0OC4wNjcyNzJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6NDguMDY3MjcyWiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoxMy44NDQyODNaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "EC719E8A-C75C-45FE-95E9-CA17BBE05987", + "id" : "DAA54539-42B0-4B74-BD70-7F5E8B99CA01", "type" : 4 }, { - "id" : "42387EB4-CA5C-49CB-B72D-28DE681847FB", + "id" : "6E47A3A5-D145-44AA-A2CE-6A31B301843A", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "42387EB4-CA5C-49CB-B72D-28DE681847FB", + "id" : "6E47A3A5-D145-44AA-A2CE-6A31B301843A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:49 GMT", + "Date" : "Sun, 24 May 2020 08:42:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "42387EB4-CA5C-49CB-B72D-28DE681847FB", + "id" : "6E47A3A5-D145-44AA-A2CE-6A31B301843A", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTo0OC42NDI5MTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6NDguNjQyOTEyWiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoxNC4xMDA0MDlaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "42387EB4-CA5C-49CB-B72D-28DE681847FB", + "id" : "6E47A3A5-D145-44AA-A2CE-6A31B301843A", "type" : 4 }, { - "id" : "622530F0-917D-4301-8888-B1F2A834BBCB", + "id" : "2182AE38-F110-4F55-B832-C31A5A37A490", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "622530F0-917D-4301-8888-B1F2A834BBCB", + "id" : "2182AE38-F110-4F55-B832-C31A5A37A490", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:49 GMT", + "Date" : "Sun, 24 May 2020 08:42:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,21 +378,21 @@ "type" : 1 }, { - "id" : "622530F0-917D-4301-8888-B1F2A834BBCB", + "id" : "2182AE38-F110-4F55-B832-C31A5A37A490", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTo0OS4yMjA1MjhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6NDkuMjIwNTI4WiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoxNC4zMjQ2ODdaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9fQ==" }, "type" : 2 }, { - "id" : "622530F0-917D-4301-8888-B1F2A834BBCB", + "id" : "2182AE38-F110-4F55-B832-C31A5A37A490", "type" : 4 }, { - "id" : "B5FD0EBF-835B-4CC5-9070-C8B2A94819C6", + "id" : "408D9969-3098-4214-84CD-1A81C0CCD942", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +400,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2hhbm5vbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B5FD0EBF-835B-4CC5-9070-C8B2A94819C6", + "id" : "408D9969-3098-4214-84CD-1A81C0CCD942", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:50 GMT", + "Date" : "Sun, 24 May 2020 08:42:14 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,19 +436,19 @@ "type" : 1 }, { - "id" : "B5FD0EBF-835B-4CC5-9070-C8B2A94819C6", + "id" : "408D9969-3098-4214-84CD-1A81C0CCD942", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTo0OS44MDAzNDhaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6NDkuODAwMzQ4WiIsImVUYWciOiJBZEd4aHNPLzB2aVdUQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoxNC41NDQ1NzdaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9fQ==" }, "type" : 2 }, { - "id" : "B5FD0EBF-835B-4CC5-9070-C8B2A94819C6", + "id" : "408D9969-3098-4214-84CD-1A81C0CCD942", "type" : 4 }, { - "id" : "EF627E2E-D94D-4C61-99FE-FA1CE52AB051", + "id" : "3E060FAB-4B42-48FA-8083-6F2599E6C683", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -457,30 +457,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?filter=updated%20%3E=%20'2020-02-07T11:49:48.642Z'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?filter=updated%20%3E=%20'2020-05-24T08:42:14.100Z'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "EF627E2E-D94D-4C61-99FE-FA1CE52AB051", + "id" : "3E060FAB-4B42-48FA-8083-6F2599E6C683", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?filter=updated%20%3E=%20'2020-02-07T11:49:48.642Z'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?filter=updated%20%3E=%20'2020-05-24T08:42:14.100Z'&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:51 GMT", + "Date" : "Sun, 24 May 2020 08:42:16 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -488,19 +488,19 @@ "type" : 1 }, { - "id" : "EF627E2E-D94D-4C61-99FE-FA1CE52AB051", + "id" : "3E060FAB-4B42-48FA-8083-6F2599E6C683", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ5OjQ4LjY0MjkxMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTo0OC42NDI5MTJaIiwiZVRhZyI6IkFmLzV3TVNoM3JlSWRBIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6NDkuMjIwNTI4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ5OjQ5LjIyMDUyOFoiLCJlVGFnIjoiQWRpSmwvejRzT2FOK2dFIn0seyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6NDkuODAwMzQ4WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ5OjQ5LjgwMDM0OFoiLCJlVGFnIjoiQWRHeGhzTy8wdmlXVEEifV0sInRvdGFsQ291bnQiOjMsIm5leHQiOiJNdyJ9" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJHbGVuLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjE0LjEwMDQwOVoiLCJlVGFnIjoiQWZLRDJ2Zk0yNlc1L1FFIn0seyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDI6MTQuNTQ0NTc3WiIsImVUYWciOiJBWWZ3dXErdSs0QzAxZ0UifSx7ImlkIjoiTmljb2xhcy11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiTmljb2xhcyIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoxNC4zMjQ2ODdaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9XSwidG90YWxDb3VudCI6MywibmV4dCI6Ik13In0=" }, "type" : 2 }, { - "id" : "EF627E2E-D94D-4C61-99FE-FA1CE52AB051", + "id" : "3E060FAB-4B42-48FA-8083-6F2599E6C683", "type" : 4 }, { - "id" : "CD35B14E-633A-42DB-BD59-391FAE138E4F", + "id" : "520397A5-D73A-4762-97A3-5E020C831A7D", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -509,26 +509,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "CD35B14E-633A-42DB-BD59-391FAE138E4F", + "id" : "520397A5-D73A-4762-97A3-5E020C831A7D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:52 GMT", + "Date" : "Sun, 24 May 2020 08:42:16 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -538,7 +538,7 @@ "type" : 1 }, { - "id" : "CD35B14E-633A-42DB-BD59-391FAE138E4F", + "id" : "520397A5-D73A-4762-97A3-5E020C831A7D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -546,11 +546,11 @@ "type" : 2 }, { - "id" : "CD35B14E-633A-42DB-BD59-391FAE138E4F", + "id" : "520397A5-D73A-4762-97A3-5E020C831A7D", "type" : 4 }, { - "id" : "00CA7A79-C8A8-4A4E-955B-93DB699FE1CE", + "id" : "886FE7A1-F043-4158-80DA-2A580B1BE524", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -559,26 +559,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "00CA7A79-C8A8-4A4E-955B-93DB699FE1CE", + "id" : "886FE7A1-F043-4158-80DA-2A580B1BE524", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:53 GMT", + "Date" : "Sun, 24 May 2020 08:42:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -588,7 +588,7 @@ "type" : 1 }, { - "id" : "00CA7A79-C8A8-4A4E-955B-93DB699FE1CE", + "id" : "886FE7A1-F043-4158-80DA-2A580B1BE524", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -596,11 +596,11 @@ "type" : 2 }, { - "id" : "00CA7A79-C8A8-4A4E-955B-93DB699FE1CE", + "id" : "886FE7A1-F043-4158-80DA-2A580B1BE524", "type" : 4 }, { - "id" : "54D4EFBF-CB02-46E0-8BA8-A276839CA6F0", + "id" : "CAD82E52-1DF6-426E-A78E-25DC165BE5A8", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -609,26 +609,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "54D4EFBF-CB02-46E0-8BA8-A276839CA6F0", + "id" : "CAD82E52-1DF6-426E-A78E-25DC165BE5A8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:54 GMT", + "Date" : "Sun, 24 May 2020 08:42:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -638,7 +638,7 @@ "type" : 1 }, { - "id" : "54D4EFBF-CB02-46E0-8BA8-A276839CA6F0", + "id" : "CAD82E52-1DF6-426E-A78E-25DC165BE5A8", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -646,11 +646,11 @@ "type" : 2 }, { - "id" : "54D4EFBF-CB02-46E0-8BA8-A276839CA6F0", + "id" : "CAD82E52-1DF6-426E-A78E-25DC165BE5A8", "type" : 4 }, { - "id" : "1C81AE4B-460B-4469-AB58-4B6936ACDED4", + "id" : "7EE65131-E5DF-48AA-B649-EDF34CD9025A", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -659,26 +659,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1C81AE4B-460B-4469-AB58-4B6936ACDED4", + "id" : "7EE65131-E5DF-48AA-B649-EDF34CD9025A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:55 GMT", + "Date" : "Sun, 24 May 2020 08:42:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -688,7 +688,7 @@ "type" : 1 }, { - "id" : "1C81AE4B-460B-4469-AB58-4B6936ACDED4", + "id" : "7EE65131-E5DF-48AA-B649-EDF34CD9025A", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -696,11 +696,11 @@ "type" : 2 }, { - "id" : "1C81AE4B-460B-4469-AB58-4B6936ACDED4", + "id" : "7EE65131-E5DF-48AA-B649-EDF34CD9025A", "type" : 4 }, { - "id" : "AEA7C33E-3769-4AC5-A8DC-6B5C9736D9DB", + "id" : "3D095613-924F-4ED7-97A2-20E9796AF226", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -709,26 +709,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "AEA7C33E-3769-4AC5-A8DC-6B5C9736D9DB", + "id" : "3D095613-924F-4ED7-97A2-20E9796AF226", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:56 GMT", + "Date" : "Sun, 24 May 2020 08:42:17 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -738,7 +738,7 @@ "type" : 1 }, { - "id" : "AEA7C33E-3769-4AC5-A8DC-6B5C9736D9DB", + "id" : "3D095613-924F-4ED7-97A2-20E9796AF226", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -746,11 +746,11 @@ "type" : 2 }, { - "id" : "AEA7C33E-3769-4AC5-A8DC-6B5C9736D9DB", + "id" : "3D095613-924F-4ED7-97A2-20E9796AF226", "type" : 4 }, { - "id" : "3BBC1EC0-46E1-4DF0-A86D-10210D8813A2", + "id" : "33DDF264-FF7F-439F-AB64-4DE0CC819D73", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -759,26 +759,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3BBC1EC0-46E1-4DF0-A86D-10210D8813A2", + "id" : "33DDF264-FF7F-439F-AB64-4DE0CC819D73", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:57 GMT", + "Date" : "Sun, 24 May 2020 08:42:18 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -788,7 +788,7 @@ "type" : 1 }, { - "id" : "3BBC1EC0-46E1-4DF0-A86D-10210D8813A2", + "id" : "33DDF264-FF7F-439F-AB64-4DE0CC819D73", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -796,7 +796,7 @@ "type" : 2 }, { - "id" : "3BBC1EC0-46E1-4DF0-A86D-10210D8813A2", + "id" : "33DDF264-FF7F-439F-AB64-4DE0CC819D73", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchNextUsersPageWhenStartAndLimitIsSet.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchNextUUIDMetadataPageWhenStartAndLimitIsSet.json similarity index 52% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchNextUsersPageWhenStartAndLimitIsSet.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchNextUUIDMetadataPageWhenStartAndLimitIsSet.json index 0c291c707..95cbe3eac 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchNextUsersPageWhenStartAndLimitIsSet.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchNextUUIDMetadataPageWhenStartAndLimitIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "E5D93142-D290-4EFD-A37E-57166313E686", + "id" : "D1290BCA-C11C-4E7D-85FC-F327A875B06B", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E5D93142-D290-4EFD-A37E-57166313E686", + "id" : "D1290BCA-C11C-4E7D-85FC-F327A875B06B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:59 GMT", + "Date" : "Sun, 24 May 2020 08:42:20 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "E5D93142-D290-4EFD-A37E-57166313E686", + "id" : "D1290BCA-C11C-4E7D-85FC-F327A875B06B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "E5D93142-D290-4EFD-A37E-57166313E686", + "id" : "D1290BCA-C11C-4E7D-85FC-F327A875B06B", "type" : 4 }, { - "id" : "28355619-E48A-4FB9-8CC8-091DF1D5DE83", + "id" : "32C9E252-F138-4822-A54F-6DFEE358265D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "28355619-E48A-4FB9-8CC8-091DF1D5DE83", + "id" : "32C9E252-F138-4822-A54F-6DFEE358265D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:59 GMT", + "Date" : "Sun, 24 May 2020 08:42:20 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "28355619-E48A-4FB9-8CC8-091DF1D5DE83", + "id" : "32C9E252-F138-4822-A54F-6DFEE358265D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "28355619-E48A-4FB9-8CC8-091DF1D5DE83", + "id" : "32C9E252-F138-4822-A54F-6DFEE358265D", "type" : 4 }, { - "id" : "3291C4A1-CBB1-45E6-BB5C-2BB4350D940C", + "id" : "D822EA2E-7F7C-4C6C-AB89-55220A6BA9D4", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3291C4A1-CBB1-45E6-BB5C-2BB4350D940C", + "id" : "D822EA2E-7F7C-4C6C-AB89-55220A6BA9D4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:00 GMT", + "Date" : "Sun, 24 May 2020 08:42:20 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "3291C4A1-CBB1-45E6-BB5C-2BB4350D940C", + "id" : "D822EA2E-7F7C-4C6C-AB89-55220A6BA9D4", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ5OjU5LjYxMDc4NloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTo1OS42MTA3ODZaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjIwLjcyOTA4N1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "3291C4A1-CBB1-45E6-BB5C-2BB4350D940C", + "id" : "D822EA2E-7F7C-4C6C-AB89-55220A6BA9D4", "type" : 4 }, { - "id" : "5CB838FB-90F0-4BB9-8977-98D282686009", + "id" : "16E9EC94-AAB8-40F1-9D3D-CDCE56A57035", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5CB838FB-90F0-4BB9-8977-98D282686009", + "id" : "16E9EC94-AAB8-40F1-9D3D-CDCE56A57035", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:00 GMT", + "Date" : "Sun, 24 May 2020 08:42:20 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "5CB838FB-90F0-4BB9-8977-98D282686009", + "id" : "16E9EC94-AAB8-40F1-9D3D-CDCE56A57035", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjAwLjE4MzA5M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDowMC4xODMwOTNaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjIwLjk1MjA2WiIsImVUYWciOiJBWkcramMvaC9xbUhXUSJ9fQ==" }, "type" : 2 }, { - "id" : "5CB838FB-90F0-4BB9-8977-98D282686009", + "id" : "16E9EC94-AAB8-40F1-9D3D-CDCE56A57035", "type" : 4 }, { - "id" : "505643F1-7364-441F-BC0D-9D84A7AF69AA", + "id" : "B40EBE69-D0EC-41EB-B68F-34ED5B0E9DCD", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -226,35 +226,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "505643F1-7364-441F-BC0D-9D84A7AF69AA", + "id" : "B40EBE69-D0EC-41EB-B68F-34ED5B0E9DCD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:01 GMT", + "Date" : "Sun, 24 May 2020 08:42:21 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "505643F1-7364-441F-BC0D-9D84A7AF69AA", + "id" : "B40EBE69-D0EC-41EB-B68F-34ED5B0E9DCD", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDowMC43OTY1MjNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NTA6MDAuNzk2NTIzWiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyMS4xNzA5MzFaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "505643F1-7364-441F-BC0D-9D84A7AF69AA", + "id" : "B40EBE69-D0EC-41EB-B68F-34ED5B0E9DCD", "type" : 4 }, { - "id" : "01B070B8-9C90-419C-9BDB-007FBEE31D69", + "id" : "17128CC3-82ED-4DED-B4D3-EBB443AFF16E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -284,35 +284,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "01B070B8-9C90-419C-9BDB-007FBEE31D69", + "id" : "17128CC3-82ED-4DED-B4D3-EBB443AFF16E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:01 GMT", + "Date" : "Sun, 24 May 2020 08:42:21 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "01B070B8-9C90-419C-9BDB-007FBEE31D69", + "id" : "17128CC3-82ED-4DED-B4D3-EBB443AFF16E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDowMS40MDk2NDNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NTA6MDEuNDA5NjQzWiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyMS4zOTExNDZaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "01B070B8-9C90-419C-9BDB-007FBEE31D69", + "id" : "17128CC3-82ED-4DED-B4D3-EBB443AFF16E", "type" : 4 }, { - "id" : "F1BC31BA-BD61-40E1-BC41-F7959908D00F", + "id" : "7CF120C1-9B1F-438B-8ED8-4591FA9B0D2B", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -342,35 +342,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F1BC31BA-BD61-40E1-BC41-F7959908D00F", + "id" : "7CF120C1-9B1F-438B-8ED8-4591FA9B0D2B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:02 GMT", + "Date" : "Sun, 24 May 2020 08:42:21 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,21 +378,21 @@ "type" : 1 }, { - "id" : "F1BC31BA-BD61-40E1-BC41-F7959908D00F", + "id" : "7CF120C1-9B1F-438B-8ED8-4591FA9B0D2B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDowMi4wMjY2MzlaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NTA6MDIuMDI2NjM5WiIsImVUYWciOiJBZGlKbC96NHNPYU4rZ0UifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyMS42MTA0MTdaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9fQ==" }, "type" : 2 }, { - "id" : "F1BC31BA-BD61-40E1-BC41-F7959908D00F", + "id" : "7CF120C1-9B1F-438B-8ED8-4591FA9B0D2B", "type" : 4 }, { - "id" : "BBDC92BD-7746-4B20-AC89-9E1F8C989AFD", + "id" : "0C9AC329-DE71-4644-963B-295BC1CDA7C8", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -400,35 +400,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2hhbm5vbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "BBDC92BD-7746-4B20-AC89-9E1F8C989AFD", + "id" : "0C9AC329-DE71-4644-963B-295BC1CDA7C8", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:03 GMT", + "Date" : "Sun, 24 May 2020 08:42:21 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,19 +436,19 @@ "type" : 1 }, { - "id" : "BBDC92BD-7746-4B20-AC89-9E1F8C989AFD", + "id" : "0C9AC329-DE71-4644-963B-295BC1CDA7C8", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDowMi42NTAyNjRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NTA6MDIuNjUwMjY0WiIsImVUYWciOiJBZEd4aHNPLzB2aVdUQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyMS44MzI5NzlaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9fQ==" }, "type" : 2 }, { - "id" : "BBDC92BD-7746-4B20-AC89-9E1F8C989AFD", + "id" : "0C9AC329-DE71-4644-963B-295BC1CDA7C8", "type" : 4 }, { - "id" : "719D3AA4-B034-4C06-93CB-5D550FC004BD", + "id" : "9C42D713-0744-4162-8D03-734AA272D97B", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -457,30 +457,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=4&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?count=1&limit=4&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "719D3AA4-B034-4C06-93CB-5D550FC004BD", + "id" : "9C42D713-0744-4162-8D03-734AA272D97B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=4&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?count=1&limit=4&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:04 GMT", + "Date" : "Sun, 24 May 2020 08:42:23 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -488,19 +488,19 @@ "type" : 1 }, { - "id" : "719D3AA4-B034-4C06-93CB-5D550FC004BD", + "id" : "9C42D713-0744-4162-8D03-734AA272D97B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTZXJoaWktdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNlcmhpaSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0OTo1OS42MTA3ODZaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDk6NTkuNjEwNzg2WiIsImVUYWciOiJBZVAyNjdmYXV2YkJQQSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDowMC4xODMwOTNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NTA6MDAuMTgzMDkzWiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9LHsiaWQiOiJFYXJsaW5lLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJFYXJsaW5lIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjAwLjc5NjUyM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDowMC43OTY1MjNaIiwiZVRhZyI6IkFkNmJ6cm5jcktXM3JRRSJ9LHsiaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjAxLjQwOTY0M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDowMS40MDk2NDNaIiwiZVRhZyI6IkFmLzV3TVNoM3JlSWRBIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTkEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJOaWNvbGFzLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJOaWNvbGFzIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjIxLjYxMDQxN1oiLCJlVGFnIjoiQWNXb3ZjMmMxNVQ5MFFFIn0seyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDI6MjEuMzkxMTQ2WiIsImVUYWciOiJBZktEMnZmTTI2VzUvUUUifSx7ImlkIjoiU2hhbm5vbi11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2hhbm5vbiIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyMS44MzI5NzlaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9LHsiaWQiOiJTZXJoaWktdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNlcmhpaSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyMC43MjkwODdaIiwiZVRhZyI6IkFhTFo5SkRzNDlpRkdRIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTkEifQ==" }, "type" : 2 }, { - "id" : "719D3AA4-B034-4C06-93CB-5D550FC004BD", + "id" : "9C42D713-0744-4162-8D03-734AA272D97B", "type" : 4 }, { - "id" : "ED749668-D3E4-4EF3-82D1-2CDFC84C3904", + "id" : "CD625867-B929-4E89-9A74-A791A1D43893", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -509,30 +509,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100" }, "type" : 0 }, { - "id" : "ED749668-D3E4-4EF3-82D1-2CDFC84C3904", + "id" : "CD625867-B929-4E89-9A74-A791A1D43893", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?start=NA&count=1&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:04 GMT", + "Date" : "Sun, 24 May 2020 08:42:23 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -540,19 +540,19 @@ "type" : 1 }, { - "id" : "ED749668-D3E4-4EF3-82D1-2CDFC84C3904", + "id" : "CD625867-B929-4E89-9A74-A791A1D43893", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJOaWNvbGFzLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJOaWNvbGFzIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjAyLjAyNjYzOVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDowMi4wMjY2MzlaIiwiZVRhZyI6IkFkaUpsL3o0c09hTitnRSJ9LHsiaWQiOiJTaGFubm9uLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJTaGFubm9uIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjAyLjY1MDI2NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDowMi42NTAyNjRaIiwiZVRhZyI6IkFkR3hoc08vMHZpV1RBIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTmciLCJwcmV2IjoiTkEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyMC45NTIwNloiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifSx7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyMS4xNzA5MzFaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTmciLCJwcmV2IjoiTkEifQ==" }, "type" : 2 }, { - "id" : "ED749668-D3E4-4EF3-82D1-2CDFC84C3904", + "id" : "CD625867-B929-4E89-9A74-A791A1D43893", "type" : 4 }, { - "id" : "51DD3B09-8897-4654-952B-4AB37C322102", + "id" : "6ED7FDCA-24C6-45F7-844D-5000D8778F96", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -561,26 +561,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "51DD3B09-8897-4654-952B-4AB37C322102", + "id" : "6ED7FDCA-24C6-45F7-844D-5000D8778F96", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:05 GMT", + "Date" : "Sun, 24 May 2020 08:42:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -590,7 +590,7 @@ "type" : 1 }, { - "id" : "51DD3B09-8897-4654-952B-4AB37C322102", + "id" : "6ED7FDCA-24C6-45F7-844D-5000D8778F96", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -598,11 +598,11 @@ "type" : 2 }, { - "id" : "51DD3B09-8897-4654-952B-4AB37C322102", + "id" : "6ED7FDCA-24C6-45F7-844D-5000D8778F96", "type" : 4 }, { - "id" : "5D3A9F2D-CCE2-4F6A-876A-3769941E8605", + "id" : "77DAF14E-5CBB-460F-8C9A-6AD593C9B87D", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -611,26 +611,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5D3A9F2D-CCE2-4F6A-876A-3769941E8605", + "id" : "77DAF14E-5CBB-460F-8C9A-6AD593C9B87D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:06 GMT", + "Date" : "Sun, 24 May 2020 08:42:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -640,7 +640,7 @@ "type" : 1 }, { - "id" : "5D3A9F2D-CCE2-4F6A-876A-3769941E8605", + "id" : "77DAF14E-5CBB-460F-8C9A-6AD593C9B87D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -648,11 +648,11 @@ "type" : 2 }, { - "id" : "5D3A9F2D-CCE2-4F6A-876A-3769941E8605", + "id" : "77DAF14E-5CBB-460F-8C9A-6AD593C9B87D", "type" : 4 }, { - "id" : "73DDCB30-0AA8-4752-9497-5AECBD7E2A30", + "id" : "AE5505E1-D08D-49DD-BF1F-DD5520DF7560", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -661,26 +661,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "73DDCB30-0AA8-4752-9497-5AECBD7E2A30", + "id" : "AE5505E1-D08D-49DD-BF1F-DD5520DF7560", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:07 GMT", + "Date" : "Sun, 24 May 2020 08:42:23 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -690,7 +690,7 @@ "type" : 1 }, { - "id" : "73DDCB30-0AA8-4752-9497-5AECBD7E2A30", + "id" : "AE5505E1-D08D-49DD-BF1F-DD5520DF7560", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -698,11 +698,11 @@ "type" : 2 }, { - "id" : "73DDCB30-0AA8-4752-9497-5AECBD7E2A30", + "id" : "AE5505E1-D08D-49DD-BF1F-DD5520DF7560", "type" : 4 }, { - "id" : "5956B6E3-78C6-40EB-91EB-23F1578A65CF", + "id" : "26887408-DBB2-44DA-AE78-3FF1DE260670", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -711,26 +711,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "5956B6E3-78C6-40EB-91EB-23F1578A65CF", + "id" : "26887408-DBB2-44DA-AE78-3FF1DE260670", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:08 GMT", + "Date" : "Sun, 24 May 2020 08:42:24 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -740,7 +740,7 @@ "type" : 1 }, { - "id" : "5956B6E3-78C6-40EB-91EB-23F1578A65CF", + "id" : "26887408-DBB2-44DA-AE78-3FF1DE260670", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -748,11 +748,11 @@ "type" : 2 }, { - "id" : "5956B6E3-78C6-40EB-91EB-23F1578A65CF", + "id" : "26887408-DBB2-44DA-AE78-3FF1DE260670", "type" : 4 }, { - "id" : "638AFB03-CD4D-4CF2-B9FA-A0453C386E4F", + "id" : "68A63A7E-7353-44A9-87E5-0649B883B2DD", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -761,26 +761,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "638AFB03-CD4D-4CF2-B9FA-A0453C386E4F", + "id" : "68A63A7E-7353-44A9-87E5-0649B883B2DD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:09 GMT", + "Date" : "Sun, 24 May 2020 08:42:24 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -790,7 +790,7 @@ "type" : 1 }, { - "id" : "638AFB03-CD4D-4CF2-B9FA-A0453C386E4F", + "id" : "68A63A7E-7353-44A9-87E5-0649B883B2DD", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -798,11 +798,11 @@ "type" : 2 }, { - "id" : "638AFB03-CD4D-4CF2-B9FA-A0453C386E4F", + "id" : "68A63A7E-7353-44A9-87E5-0649B883B2DD", "type" : 4 }, { - "id" : "7F8F2171-E31F-4D60-92B1-A0785052188B", + "id" : "EC7F36C3-A034-4339-B136-19CAA24819F3", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -811,26 +811,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "7F8F2171-E31F-4D60-92B1-A0785052188B", + "id" : "EC7F36C3-A034-4339-B136-19CAA24819F3", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:10 GMT", + "Date" : "Sun, 24 May 2020 08:42:24 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -840,7 +840,7 @@ "type" : 1 }, { - "id" : "7F8F2171-E31F-4D60-92B1-A0785052188B", + "id" : "EC7F36C3-A034-4339-B136-19CAA24819F3", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -848,7 +848,7 @@ "type" : 2 }, { - "id" : "7F8F2171-E31F-4D60-92B1-A0785052188B", + "id" : "EC7F36C3-A034-4339-B136-19CAA24819F3", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchSortedUsersWhenSortIsSet.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchSortedUUIDMetadataWhenSortIsSet.json similarity index 54% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchSortedUsersWhenSortIsSet.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchSortedUUIDMetadataWhenSortIsSet.json index f0e0f30ef..bef6b2510 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchSortedUsersWhenSortIsSet.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchSortedUUIDMetadataWhenSortIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "66E28122-93E2-4FF8-8E33-D02F8EF50F31", + "id" : "8F90EE75-F4E0-47B8-896C-8F554ED53B1C", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -16,19 +16,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "66E28122-93E2-4FF8-8E33-D02F8EF50F31", + "id" : "8F90EE75-F4E0-47B8-896C-8F554ED53B1C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Mon, 24 Feb 2020 22:20:31 GMT", + "Date" : "Sun, 24 May 2020 08:42:26 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "66E28122-93E2-4FF8-8E33-D02F8EF50F31", + "id" : "8F90EE75-F4E0-47B8-896C-8F554ED53B1C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "66E28122-93E2-4FF8-8E33-D02F8EF50F31", + "id" : "8F90EE75-F4E0-47B8-896C-8F554ED53B1C", "type" : 4 }, { - "id" : "D9859378-335E-45ED-8DBA-127DF2094609", + "id" : "CBD669F5-91B1-49C1-8527-8EC69F8AA955", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -66,19 +66,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D9859378-335E-45ED-8DBA-127DF2094609", + "id" : "CBD669F5-91B1-49C1-8527-8EC69F8AA955", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Mon, 24 Feb 2020 22:20:31 GMT", + "Date" : "Sun, 24 May 2020 08:42:26 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "D9859378-335E-45ED-8DBA-127DF2094609", + "id" : "CBD669F5-91B1-49C1-8527-8EC69F8AA955", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "D9859378-335E-45ED-8DBA-127DF2094609", + "id" : "CBD669F5-91B1-49C1-8527-8EC69F8AA955", "type" : 4 }, { - "id" : "F0472A1B-7AD1-4DD3-B3DA-93C31439EDFB", + "id" : "5F245ADB-A27D-43C7-8F8A-D78468D61701", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -112,33 +112,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "F0472A1B-7AD1-4DD3-B3DA-93C31439EDFB", + "id" : "5F245ADB-A27D-43C7-8F8A-D78468D61701", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Mon, 24 Feb 2020 22:20:32 GMT", + "Date" : "Sun, 24 May 2020 08:42:27 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "F0472A1B-7AD1-4DD3-B3DA-93C31439EDFB", + "id" : "5F245ADB-A27D-43C7-8F8A-D78468D61701", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI0VDIyOjIwOjMxLjk4OTA1NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozMS45ODkwNTVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjI2Ljk5OTExN1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "F0472A1B-7AD1-4DD3-B3DA-93C31439EDFB", + "id" : "5F245ADB-A27D-43C7-8F8A-D78468D61701", "type" : 4 }, { - "id" : "3E3B2DCB-14EB-422E-AF2C-04D4870C2A35", + "id" : "50D32AB5-E1B4-4445-8330-31EA6EA9B796", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -170,33 +170,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3E3B2DCB-14EB-422E-AF2C-04D4870C2A35", + "id" : "50D32AB5-E1B4-4445-8330-31EA6EA9B796", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Mon, 24 Feb 2020 22:20:33 GMT", + "Date" : "Sun, 24 May 2020 08:42:27 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,21 +204,21 @@ "type" : 1 }, { - "id" : "3E3B2DCB-14EB-422E-AF2C-04D4870C2A35", + "id" : "50D32AB5-E1B4-4445-8330-31EA6EA9B796", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTI0VDIyOjIwOjMyLjU2NTU4OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozMi41NjU1ODhaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjI3LjIyNDUwOVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "3E3B2DCB-14EB-422E-AF2C-04D4870C2A35", + "id" : "50D32AB5-E1B4-4445-8330-31EA6EA9B796", "type" : 4 }, { - "id" : "90957632-BC54-4440-83E7-5C2F8E774E7C", + "id" : "E3B18ECA-F5F9-4766-9601-1F55C878913F", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -228,33 +228,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiRWFybGluZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiRWFybGluZS1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiRWFybGluZSIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJFYXJsaW5lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "90957632-BC54-4440-83E7-5C2F8E774E7C", + "id" : "E3B18ECA-F5F9-4766-9601-1F55C878913F", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Mon, 24 Feb 2020 22:20:33 GMT", + "Date" : "Sun, 24 May 2020 08:42:27 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -262,21 +262,21 @@ "type" : 1 }, { - "id" : "90957632-BC54-4440-83E7-5C2F8E774E7C", + "id" : "E3B18ECA-F5F9-4766-9601-1F55C878913F", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozMy4xNDExNDVaIiwidXBkYXRlZCI6IjIwMjAtMDItMjRUMjI6MjA6MzMuMTQxMTQ1WiIsImVUYWciOiJBZDZienJuY3JLVzNyUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkVhcmxpbmUtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkVhcmxpbmUtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyNy40NTMxMzRaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn19" }, "type" : 2 }, { - "id" : "90957632-BC54-4440-83E7-5C2F8E774E7C", + "id" : "E3B18ECA-F5F9-4766-9601-1F55C878913F", "type" : 4 }, { - "id" : "15AFD763-BAF9-422B-9055-FB5FEC979D6F", + "id" : "9462B4CB-C7BA-4780-836A-8A5965FA4FDC", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -286,33 +286,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "140", + "Content-Length" : "98", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiR2xlbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiR2xlbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiR2xlbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJHbGVuLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJHbGVuLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "15AFD763-BAF9-422B-9055-FB5FEC979D6F", + "id" : "9462B4CB-C7BA-4780-836A-8A5965FA4FDC", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Mon, 24 Feb 2020 22:20:34 GMT", + "Date" : "Sun, 24 May 2020 08:42:27 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -320,21 +320,21 @@ "type" : 1 }, { - "id" : "15AFD763-BAF9-422B-9055-FB5FEC979D6F", + "id" : "9462B4CB-C7BA-4780-836A-8A5965FA4FDC", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozMy43MTMyMTJaIiwidXBkYXRlZCI6IjIwMjAtMDItMjRUMjI6MjA6MzMuNzEzMjEyWiIsImVUYWciOiJBZi81d01TaDNyZUlkQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IkdsZW4tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IkdsZW4tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyNy42NzY4MjlaIiwiZVRhZyI6IkFmS0QydmZNMjZXNS9RRSJ9fQ==" }, "type" : 2 }, { - "id" : "15AFD763-BAF9-422B-9055-FB5FEC979D6F", + "id" : "9462B4CB-C7BA-4780-836A-8A5965FA4FDC", "type" : 4 }, { - "id" : "71E23D39-D344-4B73-A071-639F67F207D0", + "id" : "6CB610D9-F8CD-48B7-AB37-B2E819564B66", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -344,33 +344,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiTmljb2xhcy1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiTmljb2xhcy1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiTmljb2xhcyIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJOaWNvbGFzLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "71E23D39-D344-4B73-A071-639F67F207D0", + "id" : "6CB610D9-F8CD-48B7-AB37-B2E819564B66", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Mon, 24 Feb 2020 22:20:34 GMT", + "Date" : "Sun, 24 May 2020 08:42:27 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -378,21 +378,21 @@ "type" : 1 }, { - "id" : "71E23D39-D344-4B73-A071-639F67F207D0", + "id" : "6CB610D9-F8CD-48B7-AB37-B2E819564B66", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozNC4yODg3OFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozNC4yODg3OFoiLCJlVGFnIjoiQWRpSmwvejRzT2FOK2dFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6Ik5pY29sYXMtdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6Ik5pY29sYXMtY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyNy44OTgwODVaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9fQ==" }, "type" : 2 }, { - "id" : "71E23D39-D344-4B73-A071-639F67F207D0", + "id" : "6CB610D9-F8CD-48B7-AB37-B2E819564B66", "type" : 4 }, { - "id" : "C6CE22EA-4DE2-42E8-B164-07B6A793DC0D", + "id" : "5C4DD8AA-D4A8-4AB1-9F41-82583BE34CB2", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -402,33 +402,33 @@ "headers" : { "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "152", + "Content-Length" : "107", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJjdXN0b20iOnsidXNlci1jdXN0b20yIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2hhbm5vbi1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJuYW1lIjoiU2hhbm5vbiIsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTIiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTIiLCJ1dWlkLWN1c3RvbTEiOiJTaGFubm9uLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "C6CE22EA-4DE2-42E8-B164-07B6A793DC0D", + "id" : "5C4DD8AA-D4A8-4AB1-9F41-82583BE34CB2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Mon, 24 Feb 2020 22:20:35 GMT", + "Date" : "Sun, 24 May 2020 08:42:28 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -436,19 +436,19 @@ "type" : 1 }, { - "id" : "C6CE22EA-4DE2-42E8-B164-07B6A793DC0D", + "id" : "5C4DD8AA-D4A8-4AB1-9F41-82583BE34CB2", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InVzZXItY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozNC44NjQ1ODlaIiwidXBkYXRlZCI6IjIwMjAtMDItMjRUMjI6MjA6MzQuODY0NTg5WiIsImVUYWciOiJBZEd4aHNPLzB2aVdUQSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNoYW5ub24tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IlNoYW5ub24iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMSI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNoYW5ub24tY3VzdG9tLWRhdGEtMiJ9LCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyOC4xMjE2NzhaIiwiZVRhZyI6IkFZZnd1cSt1KzRDMDFnRSJ9fQ==" }, "type" : 2 }, { - "id" : "C6CE22EA-4DE2-42E8-B164-07B6A793DC0D", + "id" : "5C4DD8AA-D4A8-4AB1-9F41-82583BE34CB2", "type" : 4 }, { - "id" : "F64FF07F-4FF3-43F7-ADCA-0A7DD0C225B2", + "id" : "095160E7-D880-45B2-BEAC-3E368EF44B11", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -464,23 +464,23 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?sort=name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?sort=name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "F64FF07F-4FF3-43F7-ADCA-0A7DD0C225B2", + "id" : "095160E7-D880-45B2-BEAC-3E368EF44B11", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?sort=name:desc,created&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?sort=name:desc,updated&count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Mon, 24 Feb 2020 22:20:36 GMT", + "Date" : "Sun, 24 May 2020 08:42:29 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -488,19 +488,19 @@ "type" : 1 }, { - "id" : "F64FF07F-4FF3-43F7-ADCA-0A7DD0C225B2", + "id" : "095160E7-D880-45B2-BEAC-3E368EF44B11", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTaGFubm9uLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJTaGFubm9uIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI0VDIyOjIwOjM0Ljg2NDU4OVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozNC44NjQ1ODlaIiwiZVRhZyI6IkFkR3hoc08vMHZpV1RBIn0seyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI0VDIyOjIwOjMxLjk4OTA1NVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozMS45ODkwNTVaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn0seyJpZCI6Ik5pY29sYXMtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6Ik5pY29sYXMiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjRUMjI6MjA6MzQuMjg4NzhaIiwidXBkYXRlZCI6IjIwMjAtMDItMjRUMjI6MjA6MzQuMjg4NzhaIiwiZVRhZyI6IkFkaUpsL3o0c09hTitnRSJ9LHsiaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozMi41NjU1ODhaIiwidXBkYXRlZCI6IjIwMjAtMDItMjRUMjI6MjA6MzIuNTY1NTg4WiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9LHsiaWQiOiJHbGVuLXVzZXItaWRlbnRpZmllciIsIm5hbWUiOiJHbGVuIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTI0VDIyOjIwOjMzLjcxMzIxMloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0yNFQyMjoyMDozMy43MTMyMTJaIiwiZVRhZyI6IkFmLzV3TVNoM3JlSWRBIn0seyJpZCI6IkVhcmxpbmUtdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IkVhcmxpbmUiLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwiY3JlYXRlZCI6IjIwMjAtMDItMjRUMjI6MjA6MzMuMTQxMTQ1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTI0VDIyOjIwOjMzLjE0MTE0NVoiLCJlVGFnIjoiQWQ2YnpybmNyS1czclFFIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTmcifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJTaGFubm9uLXV1aWQtaWRlbnRpZmllciIsIm5hbWUiOiJTaGFubm9uIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjI4LjEyMTY3OFoiLCJlVGFnIjoiQVlmd3VxK3UrNEMwMWdFIn0seyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjI2Ljk5OTExN1oiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifSx7ImlkIjoiTmljb2xhcy11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiTmljb2xhcyIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyNy44OTgwODVaIiwiZVRhZyI6IkFjV292YzJjMTVUOTBRRSJ9LHsiaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyNy4yMjQ1MDlaIiwiZVRhZyI6IkFaRytqYy9oL3FtSFdRIn0seyJpZCI6IkdsZW4tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IkdsZW4iLCJleHRlcm5hbElkIjpudWxsLCJwcm9maWxlVXJsIjpudWxsLCJlbWFpbCI6bnVsbCwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDI6MjcuNjc2ODI5WiIsImVUYWciOiJBZktEMnZmTTI2VzUvUUUifSx7ImlkIjoiRWFybGluZS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiRWFybGluZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjoyNy40NTMxMzRaIiwiZVRhZyI6IkFhbXRxYmpEcWJ1OGNBIn1dLCJ0b3RhbENvdW50Ijo2LCJuZXh0IjoiTmcifQ==" }, "type" : 2 }, { - "id" : "F64FF07F-4FF3-43F7-ADCA-0A7DD0C225B2", + "id" : "095160E7-D880-45B2-BEAC-3E368EF44B11", "type" : 4 }, { - "id" : "53C8653E-5AEA-4540-9258-A6E70F1565E8", + "id" : "931159A5-DB85-4CA4-8343-32D906D1FD54", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -516,19 +516,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "53C8653E-5AEA-4540-9258-A6E70F1565E8", + "id" : "931159A5-DB85-4CA4-8343-32D906D1FD54", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Mon, 24 Feb 2020 22:20:37 GMT", + "Date" : "Sun, 24 May 2020 08:42:29 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -538,7 +538,7 @@ "type" : 1 }, { - "id" : "53C8653E-5AEA-4540-9258-A6E70F1565E8", + "id" : "931159A5-DB85-4CA4-8343-32D906D1FD54", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -546,11 +546,11 @@ "type" : 2 }, { - "id" : "53C8653E-5AEA-4540-9258-A6E70F1565E8", + "id" : "931159A5-DB85-4CA4-8343-32D906D1FD54", "type" : 4 }, { - "id" : "6340544E-88DA-4820-A8BF-E52E7F912E82", + "id" : "A8BF66E5-E943-40E0-BAAA-ABBEF1C7504C", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -566,19 +566,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6340544E-88DA-4820-A8BF-E52E7F912E82", + "id" : "A8BF66E5-E943-40E0-BAAA-ABBEF1C7504C", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Mon, 24 Feb 2020 22:20:38 GMT", + "Date" : "Sun, 24 May 2020 08:42:29 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -588,7 +588,7 @@ "type" : 1 }, { - "id" : "6340544E-88DA-4820-A8BF-E52E7F912E82", + "id" : "A8BF66E5-E943-40E0-BAAA-ABBEF1C7504C", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -596,11 +596,11 @@ "type" : 2 }, { - "id" : "6340544E-88DA-4820-A8BF-E52E7F912E82", + "id" : "A8BF66E5-E943-40E0-BAAA-ABBEF1C7504C", "type" : 4 }, { - "id" : "78CBA009-7CC9-474D-B86F-96807ACC4E57", + "id" : "B44C1523-9A9A-4F87-A7CD-1F1119A73D80", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -616,19 +616,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "78CBA009-7CC9-474D-B86F-96807ACC4E57", + "id" : "B44C1523-9A9A-4F87-A7CD-1F1119A73D80", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Earline-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Earline-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Mon, 24 Feb 2020 22:20:39 GMT", + "Date" : "Sun, 24 May 2020 08:42:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -638,7 +638,7 @@ "type" : 1 }, { - "id" : "78CBA009-7CC9-474D-B86F-96807ACC4E57", + "id" : "B44C1523-9A9A-4F87-A7CD-1F1119A73D80", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -646,11 +646,11 @@ "type" : 2 }, { - "id" : "78CBA009-7CC9-474D-B86F-96807ACC4E57", + "id" : "B44C1523-9A9A-4F87-A7CD-1F1119A73D80", "type" : 4 }, { - "id" : "D0E777CA-D5B3-4ED6-834F-4181709B6FBA", + "id" : "548975DB-9327-49DA-B10B-ABC4D32C22CD", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -666,19 +666,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D0E777CA-D5B3-4ED6-834F-4181709B6FBA", + "id" : "548975DB-9327-49DA-B10B-ABC4D32C22CD", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Glen-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Glen-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Mon, 24 Feb 2020 22:20:40 GMT", + "Date" : "Sun, 24 May 2020 08:42:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -688,7 +688,7 @@ "type" : 1 }, { - "id" : "D0E777CA-D5B3-4ED6-834F-4181709B6FBA", + "id" : "548975DB-9327-49DA-B10B-ABC4D32C22CD", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -696,11 +696,11 @@ "type" : 2 }, { - "id" : "D0E777CA-D5B3-4ED6-834F-4181709B6FBA", + "id" : "548975DB-9327-49DA-B10B-ABC4D32C22CD", "type" : 4 }, { - "id" : "9FB885ED-AC7D-4615-9532-8732159CE63F", + "id" : "2281DA66-E58C-47D1-BE7C-3CEDC3604C72", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -716,19 +716,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9FB885ED-AC7D-4615-9532-8732159CE63F", + "id" : "2281DA66-E58C-47D1-BE7C-3CEDC3604C72", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Nicolas-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Nicolas-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Mon, 24 Feb 2020 22:20:41 GMT", + "Date" : "Sun, 24 May 2020 08:42:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -738,7 +738,7 @@ "type" : 1 }, { - "id" : "9FB885ED-AC7D-4615-9532-8732159CE63F", + "id" : "2281DA66-E58C-47D1-BE7C-3CEDC3604C72", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -746,11 +746,11 @@ "type" : 2 }, { - "id" : "9FB885ED-AC7D-4615-9532-8732159CE63F", + "id" : "2281DA66-E58C-47D1-BE7C-3CEDC3604C72", "type" : 4 }, { - "id" : "3D8E7C6B-165B-4743-A945-8A4DB53CB19F", + "id" : "6D52BDA4-2273-42C2-A8ED-FFDCEE642E2D", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -766,19 +766,19 @@ }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3D8E7C6B-165B-4743-A945-8A4DB53CB19F", + "id" : "6D52BDA4-2273-42C2-A8ED-FFDCEE642E2D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Shannon-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Shannon-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Mon, 24 Feb 2020 22:20:42 GMT", + "Date" : "Sun, 24 May 2020 08:42:30 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -788,7 +788,7 @@ "type" : 1 }, { - "id" : "3D8E7C6B-165B-4743-A945-8A4DB53CB19F", + "id" : "6D52BDA4-2273-42C2-A8ED-FFDCEE642E2D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -796,7 +796,7 @@ "type" : 2 }, { - "id" : "3D8E7C6B-165B-4743-A945-8A4DB53CB19F", + "id" : "6D52BDA4-2273-42C2-A8ED-FFDCEE642E2D", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchUserAndReceiveResultWithExpectedOperation.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchUUIDMetadataAndReceiveResultWithExpectedOperation.json similarity index 56% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchUserAndReceiveResultWithExpectedOperation.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchUUIDMetadataAndReceiveResultWithExpectedOperation.json index 25ec2a93a..4a05fd28b 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldFetchUserAndReceiveResultWithExpectedOperation.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldFetchUUIDMetadataAndReceiveResultWithExpectedOperation.json @@ -1,6 +1,6 @@ [ { - "id" : "EA556426-6273-40A3-883B-92B4DDABC805", + "id" : "BFFC6C70-864A-4F87-87A2-F7E156EC1F8D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EA556426-6273-40A3-883B-92B4DDABC805", + "id" : "BFFC6C70-864A-4F87-87A2-F7E156EC1F8D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:12 GMT", + "Date" : "Sun, 24 May 2020 08:42:32 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "EA556426-6273-40A3-883B-92B4DDABC805", + "id" : "BFFC6C70-864A-4F87-87A2-F7E156EC1F8D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "EA556426-6273-40A3-883B-92B4DDABC805", + "id" : "BFFC6C70-864A-4F87-87A2-F7E156EC1F8D", "type" : 4 }, { - "id" : "71B6972B-B86D-4BF9-9308-6594C8E44C26", + "id" : "BAE0DCFC-4AA0-44B1-923C-1F73DADE78F5", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "71B6972B-B86D-4BF9-9308-6594C8E44C26", + "id" : "BAE0DCFC-4AA0-44B1-923C-1F73DADE78F5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:13 GMT", + "Date" : "Sun, 24 May 2020 08:42:33 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "71B6972B-B86D-4BF9-9308-6594C8E44C26", + "id" : "BAE0DCFC-4AA0-44B1-923C-1F73DADE78F5", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "71B6972B-B86D-4BF9-9308-6594C8E44C26", + "id" : "BAE0DCFC-4AA0-44B1-923C-1F73DADE78F5", "type" : 4 }, { - "id" : "919FE08C-2B98-4915-AD49-04F9C03F68EF", + "id" : "902812F2-2228-437C-9D83-553E73579973", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "919FE08C-2B98-4915-AD49-04F9C03F68EF", + "id" : "902812F2-2228-437C-9D83-553E73579973", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:13 GMT", + "Date" : "Sun, 24 May 2020 08:42:33 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,19 +146,19 @@ "type" : 1 }, { - "id" : "919FE08C-2B98-4915-AD49-04F9C03F68EF", + "id" : "902812F2-2228-437C-9D83-553E73579973", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjEzLjEyNjQ0NloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDoxMy4xMjY0NDZaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjMzLjI2NTA1NloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "919FE08C-2B98-4915-AD49-04F9C03F68EF", + "id" : "902812F2-2228-437C-9D83-553E73579973", "type" : 4 }, { - "id" : "1D693717-7A6B-4F10-9EF0-8608BFA3BABF", + "id" : "D036C12E-C0F1-4912-AB3B-2A3EC9798A4E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -167,30 +167,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1D693717-7A6B-4F10-9EF0-8608BFA3BABF", + "id" : "D036C12E-C0F1-4912-AB3B-2A3EC9798A4E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:14 GMT", + "Date" : "Sun, 24 May 2020 08:42:34 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -198,19 +198,19 @@ "type" : 1 }, { - "id" : "1D693717-7A6B-4F10-9EF0-8608BFA3BABF", + "id" : "D036C12E-C0F1-4912-AB3B-2A3EC9798A4E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjEzLjEyNjQ0NloiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDoxMy4xMjY0NDZaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjMzLjI2NTA1NloiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "1D693717-7A6B-4F10-9EF0-8608BFA3BABF", + "id" : "D036C12E-C0F1-4912-AB3B-2A3EC9798A4E", "type" : 4 }, { - "id" : "1FFF59B8-D52C-4091-938F-68CACDE4D072", + "id" : "FEFE9D75-A806-4ABB-9565-E3779334E2EE", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -219,26 +219,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1FFF59B8-D52C-4091-938F-68CACDE4D072", + "id" : "FEFE9D75-A806-4ABB-9565-E3779334E2EE", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:15 GMT", + "Date" : "Sun, 24 May 2020 08:42:34 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -248,7 +248,7 @@ "type" : 1 }, { - "id" : "1FFF59B8-D52C-4091-938F-68CACDE4D072", + "id" : "FEFE9D75-A806-4ABB-9565-E3779334E2EE", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -256,7 +256,7 @@ "type" : 2 }, { - "id" : "1FFF59B8-D52C-4091-938F-68CACDE4D072", + "id" : "FEFE9D75-A806-4ABB-9565-E3779334E2EE", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotFetchUserWhenTargetUserNotExists.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldNotFetchUUIDMetadataWhenTargetUUIDDoesNotHaveMetadata.json similarity index 63% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotFetchUserWhenTargetUserNotExists.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldNotFetchUUIDMetadataWhenTargetUUIDDoesNotHaveMetadata.json index 69c0de945..9e6ba1bd6 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotFetchUserWhenTargetUserNotExists.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldNotFetchUUIDMetadataWhenTargetUUIDDoesNotHaveMetadata.json @@ -1,6 +1,6 @@ [ { - "id" : "FEA16048-F421-491D-8BBC-8D22549073E3", + "id" : "48AFBF0B-F6DB-4CEA-92F5-97A2FE1A51AF", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FEA16048-F421-491D-8BBC-8D22549073E3", + "id" : "48AFBF0B-F6DB-4CEA-92F5-97A2FE1A51AF", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:23 GMT", + "Date" : "Sun, 24 May 2020 08:42:36 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "FEA16048-F421-491D-8BBC-8D22549073E3", + "id" : "48AFBF0B-F6DB-4CEA-92F5-97A2FE1A51AF", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "FEA16048-F421-491D-8BBC-8D22549073E3", + "id" : "48AFBF0B-F6DB-4CEA-92F5-97A2FE1A51AF", "type" : 4 }, { - "id" : "FC2566B4-A408-457A-B42A-E27507F370D9", + "id" : "D3578E5F-401B-40CB-A3F7-2EF5B4EC68F2", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "FC2566B4-A408-457A-B42A-E27507F370D9", + "id" : "D3578E5F-401B-40CB-A3F7-2EF5B4EC68F2", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:23 GMT", + "Date" : "Sun, 24 May 2020 08:42:36 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "FC2566B4-A408-457A-B42A-E27507F370D9", + "id" : "D3578E5F-401B-40CB-A3F7-2EF5B4EC68F2", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,11 +96,11 @@ "type" : 2 }, { - "id" : "FC2566B4-A408-457A-B42A-E27507F370D9", + "id" : "D3578E5F-401B-40CB-A3F7-2EF5B4EC68F2", "type" : 4 }, { - "id" : "3394089A-3956-41DB-AF90-4FB45316CC1A", + "id" : "B7C3ABDE-C5C4-4066-B6E8-4500072E3A5E", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -109,26 +109,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3394089A-3956-41DB-AF90-4FB45316CC1A", + "id" : "B7C3ABDE-C5C4-4066-B6E8-4500072E3A5E", "data" : { "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:23 GMT", + "Date" : "Sun, 24 May 2020 08:42:37 GMT", "Content-Type" : "application\/json", "Content-Length" : "87", "Connection" : "keep-alive", @@ -138,7 +138,7 @@ "type" : 1 }, { - "id" : "3394089A-3956-41DB-AF90-4FB45316CC1A", + "id" : "B7C3ABDE-C5C4-4066-B6E8-4500072E3A5E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" @@ -146,11 +146,11 @@ "type" : 2 }, { - "id" : "3394089A-3956-41DB-AF90-4FB45316CC1A", + "id" : "B7C3ABDE-C5C4-4066-B6E8-4500072E3A5E", "type" : 4 }, { - "id" : "622F2C84-F2EF-41E8-9866-5560CE7AD0AF", + "id" : "DB249784-07E2-42BD-978F-769563443FC0", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -159,26 +159,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "622F2C84-F2EF-41E8-9866-5560CE7AD0AF", + "id" : "DB249784-07E2-42BD-978F-769563443FC0", "data" : { "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:24 GMT", + "Date" : "Sun, 24 May 2020 08:42:37 GMT", "Content-Type" : "application\/json", "Content-Length" : "87", "Connection" : "keep-alive", @@ -188,7 +188,7 @@ "type" : 1 }, { - "id" : "622F2C84-F2EF-41E8-9866-5560CE7AD0AF", + "id" : "DB249784-07E2-42BD-978F-769563443FC0", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" @@ -196,7 +196,7 @@ "type" : 2 }, { - "id" : "622F2C84-F2EF-41E8-9866-5560CE7AD0AF", + "id" : "DB249784-07E2-42BD-978F-769563443FC0", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldNotTriggerDeleteEventToUUIDChannelWhenSentFromPreviousObjectsVersion.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldNotTriggerDeleteEventToUUIDChannelWhenSentFromPreviousObjectsVersion.json new file mode 100644 index 000000000..07bd58d2e --- /dev/null +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldNotTriggerDeleteEventToUUIDChannelWhenSentFromPreviousObjectsVersion.json @@ -0,0 +1,559 @@ +[ + { + "id" : "B5E56049-2947-4542-B3E6-6238361DA031", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "B5E56049-2947-4542-B3E6-6238361DA031", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Wed, 27 May 2020 11:11:47 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "B5E56049-2947-4542-B3E6-6238361DA031", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "B5E56049-2947-4542-B3E6-6238361DA031", + "type" : 4 + }, + { + "id" : "85E2B7C1-2A99-4AA6-9EE0-41B99D4676F0", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "85E2B7C1-2A99-4AA6-9EE0-41B99D4676F0", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Wed, 27 May 2020 11:11:47 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "24", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "85E2B7C1-2A99-4AA6-9EE0-41B99D4676F0", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" + }, + "type" : 2 + }, + { + "id" : "85E2B7C1-2A99-4AA6-9EE0-41B99D4676F0", + "type" : 4 + }, + { + "id" : "003E6233-7F3D-4B63-AE0A-73F3722A6ACD", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Content-Length" : "104", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "003E6233-7F3D-4B63-AE0A-73F3722A6ACD", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Access-Control-Allow-Origin" : "*", + "Vary" : "Accept-Encoding", + "Transfer-Encoding" : "Identity", + "Date" : "Wed, 27 May 2020 11:11:48 GMT", + "Content-Encoding" : "gzip", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "003E6233-7F3D-4B63-AE0A-73F3722A6ACD", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI3VDExOjExOjQ4LjA4MTQzMVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" + }, + "type" : 2 + }, + { + "id" : "003E6233-7F3D-4B63-AE0A-73F3722A6ACD", + "type" : 4 + }, + { + "id" : "2B778BE6-6E27-4898-989A-BD90B645C547", + "data" : { + "method" : "patch", + "cls" : "NSURLRequest", + "cellular" : true, + "network" : 0, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Content-Length" : "95", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate", + "Content-Type" : "application\/json;charset=UTF-8" + }, + "body" : { + "cls" : "NSData", + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + }, + "pipeline" : false, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "2B778BE6-6E27-4898-989A-BD90B645C547", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Content-Type" : "application\/json", + "Access-Control-Allow-Origin" : "*", + "Vary" : "Accept-Encoding", + "Transfer-Encoding" : "Identity", + "Date" : "Wed, 27 May 2020 11:11:49 GMT", + "Content-Encoding" : "gzip", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "2B778BE6-6E27-4898-989A-BD90B645C547", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI3VDExOjExOjQ5LjI4Njc4OFoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" + }, + "type" : 2 + }, + { + "id" : "2B778BE6-6E27-4898-989A-BD90B645C547", + "type" : 4 + }, + { + "id" : "38B7881E-428C-4F86-A99A-C71F27774E1E", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "38B7881E-428C-4F86-A99A-C71F27774E1E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Wed, 27 May 2020 11:11:50 GMT", + "Content-Length" : "45", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "38B7881E-428C-4F86-A99A-C71F27774E1E", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwNTc3OTA4MDg0OTY2MSIsInIiOjU2fSwibSI6W119" + }, + "type" : 2 + }, + { + "id" : "38B7881E-428C-4F86-A99A-C71F27774E1E", + "type" : 4 + }, + { + "id" : "A435F9D3-705A-4508-8AD5-6B6324DC728E", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15905779080849661&tr=56" + }, + "type" : 0 + }, + { + "id" : "61A459A6-2DF7-493B-94EF-FCEB27560B8D", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "61A459A6-2DF7-493B-94EF-FCEB27560B8D", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Wed, 27 May 2020 11:11:51 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "A435F9D3-705A-4508-8AD5-6B6324DC728E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15905779080849661&tr=56", + "headers" : { + "Access-Control-Allow-Methods" : "GET", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Access-Control-Allow-Origin" : "*", + "Date" : "Wed, 27 May 2020 11:11:51 GMT", + "Content-Length" : "320", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "61A459A6-2DF7-493B-94EF-FCEB27560B8D", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "A435F9D3-705A-4508-8AD5-6B6324DC728E", + "data" : { + "cls" : "NSData", + "base64" : "eyJ0Ijp7InQiOiIxNTkwNTc3OTExNDI0MjMxNyIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwNTc3OTExNDI1NTY2MiIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJ1dWlkIiwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX19XX0=" + }, + "type" : 2 + }, + { + "id" : "61A459A6-2DF7-493B-94EF-FCEB27560B8D", + "type" : 4 + }, + { + "id" : "A435F9D3-705A-4508-8AD5-6B6324DC728E", + "type" : 4 + }, + { + "id" : "D3F24BE9-397F-478B-AE90-CCAA98830B5A", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15905779114242317&tr=56" + }, + "type" : 0 + }, + { + "id" : "D3F24BE9-397F-478B-AE90-CCAA98830B5A", + "data" : { + "code" : -999, + "info" : { + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15905779114242317&tr=56", + "NSLocalizedDescription" : "cancelled", + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15905779114242317&tr=56" + }, + "cls" : "NSError", + "domain" : "NSURLErrorDomain" + }, + "type" : 3 + }, + { + "id" : "5D1296F8-960C-44F0-B599-FBBDA77E879E", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "5D1296F8-960C-44F0-B599-FBBDA77E879E", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", + "Content-Type" : "text\/javascript; charset=\"UTF-8\"", + "Server" : "Pubnub Presence", + "Access-Control-Allow-Origin" : "*", + "Age" : "0", + "Date" : "Wed, 27 May 2020 11:11:52 GMT", + "Accept-Ranges" : "bytes", + "Content-Length" : "74", + "Cache-Control" : "no-cache", + "Connection" : "keep-alive" + } + }, + "type" : 1 + }, + { + "id" : "5D1296F8-960C-44F0-B599-FBBDA77E879E", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" + }, + "type" : 2 + }, + { + "id" : "5D1296F8-960C-44F0-B599-FBBDA77E879E", + "type" : 4 + }, + { + "id" : "078A2F1A-B83D-4D77-99E1-C5E14222EC9B", + "data" : { + "method" : "get", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=serhii" + }, + "type" : 0 + }, + { + "id" : "078A2F1A-B83D-4D77-99E1-C5E14222EC9B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=serhii", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Wed, 27 May 2020 11:11:53 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "219", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "078A2F1A-B83D-4D77-99E1-C5E14222EC9B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yN1QxMToxMTo0OS4yODY3ODhaIiwiZVRhZyI6IkFaRytqYy9oL3FtSFdRIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" + }, + "type" : 2 + }, + { + "id" : "078A2F1A-B83D-4D77-99E1-C5E14222EC9B", + "type" : 4 + }, + { + "id" : "64E68609-8E19-4A47-B859-67A91BCE9A9B", + "data" : { + "method" : "delete", + "cls" : "NSURLRequest", + "cellular" : true, + "cache" : 1, + "timeout" : 60, + "cookies" : true, + "headers" : { + "User-Agent" : "iPhone; CPU iPhone OS 13.5.0 Version", + "Accept" : "*\/*", + "Connection" : "keep-alive", + "Accept-Encoding" : "gzip,deflate" + }, + "pipeline" : false, + "network" : 0, + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + }, + "type" : 0 + }, + { + "id" : "64E68609-8E19-4A47-B859-67A91BCE9A9B", + "data" : { + "status" : 200, + "cls" : "NSHTTPURLResponse", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "headers" : { + "Access-Control-Allow-Credentials" : "true", + "Date" : "Wed, 27 May 2020 11:11:53 GMT", + "Content-Type" : "application\/json", + "Content-Length" : "26", + "Connection" : "keep-alive", + "Access-Control-Allow-Origin" : "*" + } + }, + "type" : 1 + }, + { + "id" : "64E68609-8E19-4A47-B859-67A91BCE9A9B", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "64E68609-8E19-4A47-B859-67A91BCE9A9B", + "type" : 4 + } +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldDeleteUserAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldRemoveUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategory.json similarity index 54% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldDeleteUserAndReceiveStatusWithExpectedOperationAndCategory.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldRemoveUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategory.json index 77124bd14..b93038fce 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldDeleteUserAndReceiveStatusWithExpectedOperationAndCategory.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldRemoveUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategory.json @@ -1,6 +1,6 @@ [ { - "id" : "847EC983-3D8D-4AC2-A179-3410B1F16F5E", + "id" : "F7B06655-6379-4B5F-A730-552468B55330", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "847EC983-3D8D-4AC2-A179-3410B1F16F5E", + "id" : "F7B06655-6379-4B5F-A730-552468B55330", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:39:02 GMT", + "Date" : "Sun, 24 May 2020 08:39:42 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "847EC983-3D8D-4AC2-A179-3410B1F16F5E", + "id" : "F7B06655-6379-4B5F-A730-552468B55330", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "847EC983-3D8D-4AC2-A179-3410B1F16F5E", + "id" : "F7B06655-6379-4B5F-A730-552468B55330", "type" : 4 }, { - "id" : "9D648048-3780-4725-B7AA-3B25B2E01349", + "id" : "70BCC53A-CD2B-41B4-9D77-FCF2900BC073", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "9D648048-3780-4725-B7AA-3B25B2E01349", + "id" : "70BCC53A-CD2B-41B4-9D77-FCF2900BC073", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:39:03 GMT", + "Date" : "Sun, 24 May 2020 08:39:42 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "9D648048-3780-4725-B7AA-3B25B2E01349", + "id" : "70BCC53A-CD2B-41B4-9D77-FCF2900BC073", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "9D648048-3780-4725-B7AA-3B25B2E01349", + "id" : "70BCC53A-CD2B-41B4-9D77-FCF2900BC073", "type" : 4 }, { - "id" : "0549AEC8-99A3-455C-B2E1-B10AD3B9AE82", + "id" : "B70825BD-B470-42B4-9089-44152F526169", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0549AEC8-99A3-455C-B2E1-B10AD3B9AE82", + "id" : "B70825BD-B470-42B4-9089-44152F526169", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:39:03 GMT", + "Date" : "Sun, 24 May 2020 08:39:43 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "0549AEC8-99A3-455C-B2E1-B10AD3B9AE82", + "id" : "B70825BD-B470-42B4-9089-44152F526169", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM5OjAzLjI4MzI0M1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMzozOTowMy4yODMyNDNaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM5OjQzLjEyMzc5NVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "0549AEC8-99A3-455C-B2E1-B10AD3B9AE82", + "id" : "B70825BD-B470-42B4-9089-44152F526169", "type" : 4 }, { - "id" : "ED0A3890-D6B0-4E0B-9A25-B86C224AD033", + "id" : "855A1A59-86EE-4019-848B-4A4473EB8ED4", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "ED0A3890-D6B0-4E0B-9A25-B86C224AD033", + "id" : "855A1A59-86EE-4019-848B-4A4473EB8ED4", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 13:39:04 GMT", + "Date" : "Sun, 24 May 2020 08:39:43 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,19 +204,19 @@ "type" : 1 }, { - "id" : "ED0A3890-D6B0-4E0B-9A25-B86C224AD033", + "id" : "855A1A59-86EE-4019-848B-4A4473EB8ED4", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM5OjAzLjg2NTVaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTM6Mzk6MDMuODY1NVoiLCJlVGFnIjoiQWJqTHkvTE52N0hWTncifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjM5OjQzLjM0NTM3OVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "ED0A3890-D6B0-4E0B-9A25-B86C224AD033", + "id" : "855A1A59-86EE-4019-848B-4A4473EB8ED4", "type" : 4 }, { - "id" : "D020738B-0088-4FBB-A5A0-A423EBA660F6", + "id" : "98A76BC2-E1D7-492D-B208-C7C292D24C54", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -225,26 +225,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D020738B-0088-4FBB-A5A0-A423EBA660F6", + "id" : "98A76BC2-E1D7-492D-B208-C7C292D24C54", "data" : { "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:39:06 GMT", + "Date" : "Sun, 24 May 2020 08:39:44 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -254,7 +254,7 @@ "type" : 1 }, { - "id" : "D020738B-0088-4FBB-A5A0-A423EBA660F6", + "id" : "98A76BC2-E1D7-492D-B208-C7C292D24C54", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -262,11 +262,11 @@ "type" : 2 }, { - "id" : "D020738B-0088-4FBB-A5A0-A423EBA660F6", + "id" : "98A76BC2-E1D7-492D-B208-C7C292D24C54", "type" : 4 }, { - "id" : "D020738B-0088-4FBB-A5A0-A423EBA660F7", + "id" : "98A76BC2-E1D7-492D-B208-C7C292D24C94", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -275,26 +275,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D020738B-0088-4FBB-A5A0-A423EBA660F7", + "id" : "98A76BC2-E1D7-492D-B208-C7C292D24C94", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:39:06 GMT", + "Date" : "Sun, 24 May 2020 08:39:44 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -304,7 +304,7 @@ "type" : 1 }, { - "id" : "D020738B-0088-4FBB-A5A0-A423EBA660F7", + "id" : "98A76BC2-E1D7-492D-B208-C7C292D24C94", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -312,11 +312,11 @@ "type" : 2 }, { - "id" : "D020738B-0088-4FBB-A5A0-A423EBA660F7", + "id" : "98A76BC2-E1D7-492D-B208-C7C292D24C94", "type" : 4 }, { - "id" : "65329799-4415-497B-B2D7-660163A65415", + "id" : "3CF11986-2DDA-4CFA-9734-DCC31FAB8B0D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -325,28 +325,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100&uuid=Serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii" }, "type" : 0 }, { - "id" : "65329799-4415-497B-B2D7-660163A65415", + "id" : "3CF11986-2DDA-4CFA-9734-DCC31FAB8B0D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100&uuid=Serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=Serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:39:07 GMT", + "Date" : "Sun, 24 May 2020 08:39:45 GMT", "Content-Type" : "application\/json", - "Content-Length" : "255", + "Content-Length" : "219", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*" } @@ -354,19 +354,19 @@ "type" : 1 }, { - "id" : "65329799-4415-497B-B2D7-660163A65415", + "id" : "3CF11986-2DDA-4CFA-9734-DCC31FAB8B0D", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMzozOTowMy44NjU1WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDEzOjM5OjAzLjg2NTVaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODozOTo0My4zNDUzNzlaIiwiZVRhZyI6IkFaRytqYy9oL3FtSFdRIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" }, "type" : 2 }, { - "id" : "65329799-4415-497B-B2D7-660163A65415", + "id" : "3CF11986-2DDA-4CFA-9734-DCC31FAB8B0D", "type" : 4 }, { - "id" : "3707120B-1859-430D-B2BA-D8C660D32FBA", + "id" : "A14109A3-5175-49B5-9620-E1403785CD05", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -375,26 +375,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "3707120B-1859-430D-B2BA-D8C660D32FBA", + "id" : "A14109A3-5175-49B5-9620-E1403785CD05", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 13:39:08 GMT", + "Date" : "Sun, 24 May 2020 08:39:46 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -404,7 +404,7 @@ "type" : 1 }, { - "id" : "3707120B-1859-430D-B2BA-D8C660D32FBA", + "id" : "A14109A3-5175-49B5-9620-E1403785CD05", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -412,7 +412,7 @@ "type" : 2 }, { - "id" : "3707120B-1859-430D-B2BA-D8C660D32FBA", + "id" : "A14109A3-5175-49B5-9620-E1403785CD05", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldDeleteUserAndTriggerDeleteEventToSUserChannel.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldRemoveUUIDMetadataAndTriggerDeleteEventToUUIDChannel.json similarity index 56% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldDeleteUserAndTriggerDeleteEventToSUserChannel.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldRemoveUUIDMetadataAndTriggerDeleteEventToUUIDChannel.json index 0bbc8f145..e944954ea 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldDeleteUserAndTriggerDeleteEventToSUserChannel.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldRemoveUUIDMetadataAndTriggerDeleteEventToUUIDChannel.json @@ -1,6 +1,6 @@ [ { - "id" : "D97B30C3-C8BD-4BDF-9675-ECA51207239B", + "id" : "AE48750C-A156-447E-B571-2D945060E367", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D97B30C3-C8BD-4BDF-9675-ECA51207239B", + "id" : "AE48750C-A156-447E-B571-2D945060E367", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:48:57 GMT", + "Date" : "Sun, 24 May 2020 08:42:38 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "D97B30C3-C8BD-4BDF-9675-ECA51207239B", + "id" : "AE48750C-A156-447E-B571-2D945060E367", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "D97B30C3-C8BD-4BDF-9675-ECA51207239B", + "id" : "AE48750C-A156-447E-B571-2D945060E367", "type" : 4 }, { - "id" : "ED6204CA-D479-414F-81B9-A1A6827C89F5", + "id" : "38C750DC-D8FF-4C3F-A3A0-EFC230B07BC0", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "ED6204CA-D479-414F-81B9-A1A6827C89F5", + "id" : "38C750DC-D8FF-4C3F-A3A0-EFC230B07BC0", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:48:57 GMT", + "Date" : "Sun, 24 May 2020 08:42:38 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "ED6204CA-D479-414F-81B9-A1A6827C89F5", + "id" : "38C750DC-D8FF-4C3F-A3A0-EFC230B07BC0", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "ED6204CA-D479-414F-81B9-A1A6827C89F5", + "id" : "38C750DC-D8FF-4C3F-A3A0-EFC230B07BC0", "type" : 4 }, { - "id" : "631AC39C-6851-4875-99C9-C44E3E7ED66A", + "id" : "93A36381-7048-4677-9982-27E545FF31C6", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "148", + "Content-Length" : "104", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "631AC39C-6851-4875-99C9-C44E3E7ED66A", + "id" : "93A36381-7048-4677-9982-27E545FF31C6", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:48:58 GMT", + "Date" : "Sun, 24 May 2020 08:42:38 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,21 +146,21 @@ "type" : 1 }, { - "id" : "631AC39C-6851-4875-99C9-C44E3E7ED66A", + "id" : "93A36381-7048-4677-9982-27E545FF31C6", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ4OjU3Ljc3MjQ3NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo0ODo1Ny43NzI0NzRaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjM4LjgxODExOVoiLCJlVGFnIjoiQWFMWjlKRHM0OWlGR1EifX0=" }, "type" : 2 }, { - "id" : "631AC39C-6851-4875-99C9-C44E3E7ED66A", + "id" : "93A36381-7048-4677-9982-27E545FF31C6", "type" : 4 }, { - "id" : "AC9AFF83-67A8-486C-90F6-04479E5E698A", + "id" : "D3FF90D6-8BC6-42D7-B8DF-758714F73F39", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "136", + "Content-Length" : "95", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" + "base64" : "eyJuYW1lIjoiS2ltIiwiY3VzdG9tIjp7InV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIiwidXVpZC1jdXN0b20xIjoiS2ltLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "AC9AFF83-67A8-486C-90F6-04479E5E698A", + "id" : "D3FF90D6-8BC6-42D7-B8DF-758714F73F39", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:48:58 GMT", + "Date" : "Sun, 24 May 2020 08:42:39 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,19 +204,19 @@ "type" : 1 }, { - "id" : "AC9AFF83-67A8-486C-90F6-04479E5E698A", + "id" : "D3FF90D6-8BC6-42D7-B8DF-758714F73F39", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ4OjU4LjM1MjcxM1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo0ODo1OC4zNTI3MTNaIiwiZVRhZyI6IkFiakx5L0xOdjdIVk53In19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IktpbS11dWlkLWlkZW50aWZpZXIiLCJuYW1lIjoiS2ltIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1dWlkLWN1c3RvbTEiOiJLaW0tY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6IktpbS1jdXN0b20tZGF0YS0yIn0sInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjM5LjA0MTI5OVoiLCJlVGFnIjoiQVpHK2pjL2gvcW1IV1EifX0=" }, "type" : 2 }, { - "id" : "AC9AFF83-67A8-486C-90F6-04479E5E698A", + "id" : "D3FF90D6-8BC6-42D7-B8DF-758714F73F39", "type" : 4 }, { - "id" : "0C995280-2BA0-4983-B5E6-EDB4F76F9FBB", + "id" : "67551E90-87A4-47C6-8AB7-BF8DA8048D36", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -225,28 +225,28 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "0C995280-2BA0-4983-B5E6-EDB4F76F9FBB", + "id" : "67551E90-87A4-47C6-8AB7-BF8DA8048D36", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?tt=0&uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 11:49:00 GMT", + "Date" : "Sun, 24 May 2020 08:42:40 GMT", "Content-Length" : "45", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -255,19 +255,19 @@ "type" : 1 }, { - "id" : "0C995280-2BA0-4983-B5E6-EDB4F76F9FBB", + "id" : "67551E90-87A4-47C6-8AB7-BF8DA8048D36", "data" : { "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDc2MTM5OTk1ODk0MyIsInIiOjEyfSwibSI6W119" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzA5NzU4ODIxMTYyMSIsInIiOjU2fSwibSI6W119" }, "type" : 2 }, { - "id" : "0C995280-2BA0-4983-B5E6-EDB4F76F9FBB", + "id" : "67551E90-87A4-47C6-8AB7-BF8DA8048D36", "type" : 4 }, { - "id" : "75FFB141-1202-455D-88B0-A622A5680FC3", + "id" : "C313D9C3-AA08-41F8-836F-A04D8D6EF37A", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -276,19 +276,19 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810761399958943&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903097588211621&tr=56" }, "type" : 0 }, { - "id" : "EC782D06-B913-4D91-AEE1-8FD81DAE0421", + "id" : "5266ECB1-0EEF-4349-89DC-FEE28AF7DB36", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -297,26 +297,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "EC782D06-B913-4D91-AEE1-8FD81DAE0421", + "id" : "5266ECB1-0EEF-4349-89DC-FEE28AF7DB36", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Serhii-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:01 GMT", + "Date" : "Sun, 24 May 2020 08:42:40 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -326,16 +326,28 @@ "type" : 1 }, { - "id" : "75FFB141-1202-455D-88B0-A622A5680FC3", + "id" : "5266ECB1-0EEF-4349-89DC-FEE28AF7DB36", + "data" : { + "cls" : "NSData", + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + }, + "type" : 2 + }, + { + "id" : "5266ECB1-0EEF-4349-89DC-FEE28AF7DB36", + "type" : 4 + }, + { + "id" : "C313D9C3-AA08-41F8-836F-A04D8D6EF37A", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810761399958943&tr=12", + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903097588211621&tr=56", "headers" : { "Access-Control-Allow-Methods" : "GET", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 11:49:01 GMT", + "Date" : "Sun, 24 May 2020 08:42:40 GMT", "Content-Length" : "320", "Cache-Control" : "no-cache", "Connection" : "keep-alive" @@ -344,31 +356,19 @@ "type" : 1 }, { - "id" : "EC782D06-B913-4D91-AEE1-8FD81DAE0421", + "id" : "C313D9C3-AA08-41F8-836F-A04D8D6EF37A", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" + "base64" : "eyJ0Ijp7InQiOiIxNTkwMzA5NzYwOTk0MTk5MCIsInIiOjU2fSwibSI6W3siYSI6IjAiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTkwMzA5NzYwOTk1NTU5MiIsInIiOjU2fSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXV1aWQtaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIyLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJ1dWlkIiwiZGF0YSI6eyJpZCI6IlNlcmhpaS11dWlkLWlkZW50aWZpZXIifX19XX0=" }, "type" : 2 }, { - "id" : "75FFB141-1202-455D-88B0-A622A5680FC3", - "data" : { - "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDc2MTQxMDM3NzE1MiIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDc2MTQxMDM3MTk4MyIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6ImRlbGV0ZSIsInR5cGUiOiJ1c2VyIiwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIifX19XX0=" - }, - "type" : 2 - }, - { - "id" : "EC782D06-B913-4D91-AEE1-8FD81DAE0421", - "type" : 4 - }, - { - "id" : "75FFB141-1202-455D-88B0-A622A5680FC3", + "id" : "C313D9C3-AA08-41F8-836F-A04D8D6EF37A", "type" : 4 }, { - "id" : "D0DA37DB-7AF9-46B0-9DDB-63AEA6482089", + "id" : "E673FD6C-49F8-495B-AA11-7BD74B1007AB", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -377,25 +377,25 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810761410377152&tr=12" + "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903097609941990&tr=56" }, "type" : 0 }, { - "id" : "D0DA37DB-7AF9-46B0-9DDB-63AEA6482089", + "id" : "E673FD6C-49F8-495B-AA11-7BD74B1007AB", "data" : { "code" : -999, "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810761410377152&tr=12", + "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903097609941990&tr=56", "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810761410377152&tr=12" + "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-uuid-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15903097609941990&tr=56" }, "cls" : "NSError", "domain" : "NSURLErrorDomain" @@ -403,7 +403,7 @@ "type" : 3 }, { - "id" : "8F5ED8C6-4D7E-45D1-BE3E-3CE6AEFB3046", + "id" : "C03B336E-B0C9-4817-9CA9-D41EA9FB703B", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -412,30 +412,30 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "8F5ED8C6-4D7E-45D1-BE3E-3CE6AEFB3046", + "id" : "C03B336E-B0C9-4817-9CA9-D41EA9FB703B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-uuid-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", "Content-Type" : "text\/javascript; charset=\"UTF-8\"", "Server" : "Pubnub Presence", "Access-Control-Allow-Origin" : "*", "Age" : "0", - "Date" : "Fri, 07 Feb 2020 11:49:01 GMT", + "Date" : "Sun, 24 May 2020 08:42:41 GMT", "Accept-Ranges" : "bytes", "Content-Length" : "74", "Cache-Control" : "no-cache", @@ -445,7 +445,7 @@ "type" : 1 }, { - "id" : "8F5ED8C6-4D7E-45D1-BE3E-3CE6AEFB3046", + "id" : "C03B336E-B0C9-4817-9CA9-D41EA9FB703B", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" @@ -453,11 +453,11 @@ "type" : 2 }, { - "id" : "8F5ED8C6-4D7E-45D1-BE3E-3CE6AEFB3046", + "id" : "C03B336E-B0C9-4817-9CA9-D41EA9FB703B", "type" : 4 }, { - "id" : "4A1CAFD9-92AA-4936-AD7C-D93746BEF691", + "id" : "0D9A3674-933E-4805-8D9C-80FD8710F5A5", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -466,50 +466,48 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100&uuid=serhii" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=serhii" }, "type" : 0 }, { - "id" : "4A1CAFD9-92AA-4936-AD7C-D93746BEF691", + "id" : "0D9A3674-933E-4805-8D9C-80FD8710F5A5", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?count=1&pnsdk=PubNub-ObjC-iOS\/4.x.x&limit=100&uuid=serhii", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?count=1&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x&uuid=serhii", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:42:42 GMT", "Content-Type" : "application\/json", + "Content-Length" : "219", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:49:02 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "4A1CAFD9-92AA-4936-AD7C-D93746BEF691", + "id" : "0D9A3674-933E-4805-8D9C-80FD8710F5A5", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXNlci1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QxMTo0ODo1OC4zNTI3MTNaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NDg6NTguMzUyNzEzWiIsImVUYWciOiJBYmpMeS9MTnY3SFZOdyJ9XSwidG90YWxDb3VudCI6MSwibmV4dCI6Ik1RIn0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W3siaWQiOiJLaW0tdXVpZC1pZGVudGlmaWVyIiwibmFtZSI6IktpbSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJ1cGRhdGVkIjoiMjAyMC0wNS0yNFQwODo0MjozOS4wNDEyOTlaIiwiZVRhZyI6IkFaRytqYy9oL3FtSFdRIn1dLCJ0b3RhbENvdW50IjoxLCJuZXh0IjoiTVEifQ==" }, "type" : 2 }, { - "id" : "4A1CAFD9-92AA-4936-AD7C-D93746BEF691", + "id" : "0D9A3674-933E-4805-8D9C-80FD8710F5A5", "type" : 4 }, { - "id" : "6C773ED2-5AE0-4324-9634-21525B87E0A5", + "id" : "810FD8BE-DF1D-406F-8737-CA2F1E8E6205", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -518,26 +516,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "6C773ED2-5AE0-4324-9634-21525B87E0A5", + "id" : "810FD8BE-DF1D-406F-8737-CA2F1E8E6205", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Kim-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/Kim-uuid-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:49:03 GMT", + "Date" : "Sun, 24 May 2020 08:42:42 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -547,7 +545,7 @@ "type" : 1 }, { - "id" : "6C773ED2-5AE0-4324-9634-21525B87E0A5", + "id" : "810FD8BE-DF1D-406F-8737-CA2F1E8E6205", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -555,7 +553,7 @@ "type" : 2 }, { - "id" : "6C773ED2-5AE0-4324-9634-21525B87E0A5", + "id" : "810FD8BE-DF1D-406F-8737-CA2F1E8E6205", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldCreateUserAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlySpaceAndIdentifierIsSet.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldSetUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlyUUIDIsSet.json similarity index 57% rename from Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldCreateUserAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlySpaceAndIdentifierIsSet.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldSetUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlyUUIDIsSet.json index fb997b18f..62acf0124 100644 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldCreateUserAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlySpaceAndIdentifierIsSet.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldSetUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlyUUIDIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "AAD89FE4-C3AA-4949-9F4F-45BF0A19772F", + "id" : "98DBC2EA-668A-40DD-8227-06F8C639673D", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "AAD89FE4-C3AA-4949-9F4F-45BF0A19772F", + "id" : "98DBC2EA-668A-40DD-8227-06F8C639673D", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:48:27 GMT", + "Date" : "Sun, 24 May 2020 08:42:44 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "AAD89FE4-C3AA-4949-9F4F-45BF0A19772F", + "id" : "98DBC2EA-668A-40DD-8227-06F8C639673D", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "AAD89FE4-C3AA-4949-9F4F-45BF0A19772F", + "id" : "98DBC2EA-668A-40DD-8227-06F8C639673D", "type" : 4 }, { - "id" : "1D341569-24FA-444A-8AC4-376C8D19E2BF", + "id" : "EA7E9DD2-9970-4C0B-8A33-66B1C7AF00EB", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1D341569-24FA-444A-8AC4-376C8D19E2BF", + "id" : "EA7E9DD2-9970-4C0B-8A33-66B1C7AF00EB", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:48:27 GMT", + "Date" : "Sun, 24 May 2020 08:42:45 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "1D341569-24FA-444A-8AC4-376C8D19E2BF", + "id" : "EA7E9DD2-9970-4C0B-8A33-66B1C7AF00EB", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "1D341569-24FA-444A-8AC4-376C8D19E2BF", + "id" : "EA7E9DD2-9970-4C0B-8A33-66B1C7AF00EB", "type" : 4 }, { - "id" : "D1A738B4-B617-4AEB-BB59-85A3981FA50D", + "id" : "4AA6A422-A96B-4F25-A633-47965994841E", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,55 +110,53 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "70", + "Content-Length" : "2", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6InRlc3QtdXNlciIsIm5hbWUiOiJ0ZXN0LXVzZXItbmFtZSJ9" + "base64" : "e30=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "D1A738B4-B617-4AEB-BB59-85A3981FA50D", + "id" : "4AA6A422-A96B-4F25-A633-47965994841E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", + "Date" : "Sun, 24 May 2020 08:42:45 GMT", "Content-Type" : "application\/json", + "Content-Length" : "194", "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:48:28 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" + "Access-Control-Allow-Origin" : "*" } }, "type" : 1 }, { - "id" : "D1A738B4-B617-4AEB-BB59-85A3981FA50D", + "id" : "4AA6A422-A96B-4F25-A633-47965994841E", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6InRlc3QtdXNlciIsIm5hbWUiOiJ0ZXN0LXVzZXItbmFtZSIsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ4OjI3LjY4NjMwMVoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo0ODoyNy42ODYzMDFaIiwiZVRhZyI6IkFZNnFtOG5ncDRMV3N3RSJ9fQ==" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6InRlc3QtdXVpZCIsIm5hbWUiOm51bGwsImV4dGVybmFsSWQiOm51bGwsInByb2ZpbGVVcmwiOm51bGwsImVtYWlsIjpudWxsLCJjdXN0b20iOm51bGwsInVwZGF0ZWQiOiIyMDIwLTA1LTI0VDA4OjQyOjQ1LjQzMDYzNFoiLCJlVGFnIjoiQVpPbDFZRGgyOFBmM1FFIn19" }, "type" : 2 }, { - "id" : "D1A738B4-B617-4AEB-BB59-85A3981FA50D", + "id" : "4AA6A422-A96B-4F25-A633-47965994841E", "type" : 4 }, { - "id" : "E342F2D4-6590-4DC6-BCEE-57C1E7C722AB", + "id" : "1F3B6D9B-93EB-4DC8-A7D6-16AC41F7D418", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -167,26 +165,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E342F2D4-6590-4DC6-BCEE-57C1E7C722AB", + "id" : "1F3B6D9B-93EB-4DC8-A7D6-16AC41F7D418", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:48:29 GMT", + "Date" : "Sun, 24 May 2020 08:42:45 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -196,7 +194,7 @@ "type" : 1 }, { - "id" : "E342F2D4-6590-4DC6-BCEE-57C1E7C722AB", + "id" : "1F3B6D9B-93EB-4DC8-A7D6-16AC41F7D418", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -204,7 +202,7 @@ "type" : 2 }, { - "id" : "E342F2D4-6590-4DC6-BCEE-57C1E7C722AB", + "id" : "1F3B6D9B-93EB-4DC8-A7D6-16AC41F7D418", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldUpdateSpaceAndReceiveStatusWithExpectedOperationAndCategory.json b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldSetUUIDMetadataWhenAdditionalInformationIsSet.json similarity index 51% rename from Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldUpdateSpaceAndReceiveStatusWithExpectedOperationAndCategory.json rename to Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldSetUUIDMetadataWhenAdditionalInformationIsSet.json index 002bd90d6..e7085ce80 100644 --- a/Tests/Support Files/Fixtures/PNSpaceIntegrationTest.bundle/ItShouldUpdateSpaceAndReceiveStatusWithExpectedOperationAndCategory.json +++ b/Tests/Support Files/Fixtures/PNUUIDMetadataIntegrationTest.bundle/ItShouldSetUUIDMetadataWhenAdditionalInformationIsSet.json @@ -1,6 +1,6 @@ [ { - "id" : "03923510-A58F-4A77-8A3D-1E81094A6053", + "id" : "B5ED11DE-C2C9-4010-ADFD-5C8E2373C540", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -9,26 +9,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "03923510-A58F-4A77-8A3D-1E81094A6053", + "id" : "B5ED11DE-C2C9-4010-ADFD-5C8E2373C540", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:23 GMT", + "Date" : "Sun, 24 May 2020 08:42:47 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -38,7 +38,7 @@ "type" : 1 }, { - "id" : "03923510-A58F-4A77-8A3D-1E81094A6053", + "id" : "B5ED11DE-C2C9-4010-ADFD-5C8E2373C540", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -46,11 +46,11 @@ "type" : 2 }, { - "id" : "03923510-A58F-4A77-8A3D-1E81094A6053", + "id" : "B5ED11DE-C2C9-4010-ADFD-5C8E2373C540", "type" : 4 }, { - "id" : "1C80D498-E826-4E9D-BD13-72F924907959", + "id" : "2A2B1A9C-BA22-483D-B2C4-FF12599876A1", "data" : { "method" : "get", "cls" : "NSURLRequest", @@ -59,26 +59,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "1C80D498-E826-4E9D-BD13-72F924907959", + "id" : "2A2B1A9C-BA22-483D-B2C4-FF12599876A1", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/channels?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:23 GMT", + "Date" : "Sun, 24 May 2020 08:42:47 GMT", "Content-Type" : "application\/json", "Content-Length" : "24", "Connection" : "keep-alive", @@ -88,7 +88,7 @@ "type" : 1 }, { - "id" : "1C80D498-E826-4E9D-BD13-72F924907959", + "id" : "2A2B1A9C-BA22-483D-B2C4-FF12599876A1", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" @@ -96,13 +96,13 @@ "type" : 2 }, { - "id" : "1C80D498-E826-4E9D-BD13-72F924907959", + "id" : "2A2B1A9C-BA22-483D-B2C4-FF12599876A1", "type" : 4 }, { - "id" : "4DCEA3F2-A891-486C-88C6-BB7C43C870ED", + "id" : "3E978DC8-75FB-434F-816C-CDCB8532477B", "data" : { - "method" : "post", + "method" : "patch", "cls" : "NSURLRequest", "cellular" : true, "network" : 0, @@ -110,35 +110,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "155", + "Content-Length" : "300", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTIiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTIiLCJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIn19" + "base64" : "eyJlbWFpbCI6InRlc3QtdXVpZC1lbWFpbCIsInByb2ZpbGVVcmwiOiJodHRwczpcL1wvcHVibnViLmNvbSIsIm5hbWUiOiJ0ZXN0LXV1aWQtbmFtZSIsImV4dGVybmFsSWQiOiJ0ZXN0LWV4dGVybmFsLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXVpZC1jdXN0b20yIjoidGVzdC11dWlkLW5hbWUtY3VzdG9tLWRhdGEtMiIsInV1aWQtY3VzdG9tMSI6InRlc3QtdXVpZC1uYW1lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "4DCEA3F2-A891-486C-88C6-BB7C43C870ED", + "id" : "3E978DC8-75FB-434F-816C-CDCB8532477B", "data" : { - "status" : 200, + "status" : 404, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:24 GMT", + "Date" : "Sun, 24 May 2020 08:42:48 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -146,19 +146,19 @@ "type" : 1 }, { - "id" : "4DCEA3F2-A891-486C-88C6-BB7C43C870ED", + "id" : "3E978DC8-75FB-434F-816C-CDCB8532477B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJDaGFudGVkIiwiZGVzY3JpcHRpb24iOm51bGwsImN1c3RvbSI6eyJzcGFjZS1jdXN0b20xIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0xIiwic3BhY2UtY3VzdG9tMiI6IkNoYW50ZWQtY3VzdG9tLWRhdGEtMiJ9LCJjcmVhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODoyMy42NzkyMDRaIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMDY6Mjg6MjMuNjc5MjA0WiIsImVUYWciOiJBY1dqOU9UUXdNYW1wUUUifX0=" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6InRlc3QtdXVpZCIsIm5hbWUiOiJ0ZXN0LXV1aWQtbmFtZSIsImV4dGVybmFsSWQiOiJ0ZXN0LWV4dGVybmFsLWlkZW50aWZpZXIiLCJwcm9maWxlVXJsIjoiaHR0cHM6Ly9wdWJudWIuY29tIiwiZW1haWwiOiJ0ZXN0LXV1aWQtZW1haWwiLCJjdXN0b20iOnsidXVpZC1jdXN0b20xIjoidGVzdC11dWlkLW5hbWUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6InRlc3QtdXVpZC1uYW1lLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDI6NDguMTMzNzY4WiIsImVUYWciOiJBZFRXM2Rpc3VhdlZ5QUUifX0=" }, "type" : 2 }, { - "id" : "4DCEA3F2-A891-486C-88C6-BB7C43C870ED", + "id" : "3E978DC8-75FB-434F-816C-CDCB8532477B", "type" : 4 }, { - "id" : "B3878015-AC78-47F1-B7D1-11957D172CD1", + "id" : "3E978DC8-75FB-434F-816C-CDCB8532471B", "data" : { "method" : "patch", "cls" : "NSURLRequest", @@ -168,35 +168,35 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", - "Content-Length" : "86", + "Content-Length" : "300", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate", "Content-Type" : "application\/json;charset=UTF-8" }, "body" : { "cls" : "NSData", - "base64" : "eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJ0ZXN0LXNwYWNlLW5hbWUifQ==" + "base64" : "eyJlbWFpbCI6InRlc3QtdXVpZC1lbWFpbCIsInByb2ZpbGVVcmwiOiJodHRwczpcL1wvcHVibnViLmNvbSIsIm5hbWUiOiJ0ZXN0LXV1aWQtbmFtZSIsImV4dGVybmFsSWQiOiJ0ZXN0LWV4dGVybmFsLWlkZW50aWZpZXIiLCJjdXN0b20iOnsidXVpZC1jdXN0b20yIjoidGVzdC11dWlkLW5hbWUtY3VzdG9tLWRhdGEtMiIsInV1aWQtY3VzdG9tMSI6InRlc3QtdXVpZC1uYW1lLWN1c3RvbS1kYXRhLTEifX0=" }, "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "B3878015-AC78-47F1-B7D1-11957D172CD1", + "id" : "3E978DC8-75FB-434F-816C-CDCB8532471B", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&include=custom&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", "Content-Type" : "application\/json", "Connection" : "keep-alive", "Access-Control-Allow-Origin" : "*", "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 06:28:25 GMT", + "Date" : "Sun, 24 May 2020 08:42:48 GMT", "Content-Encoding" : "gzip", "Vary" : "Accept-Encoding" } @@ -204,19 +204,19 @@ "type" : 1 }, { - "id" : "B3878015-AC78-47F1-B7D1-11957D172CD1", + "id" : "3E978DC8-75FB-434F-816C-CDCB8532471B", "data" : { "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IkNoYW50ZWQtc3BhY2UtaWRlbnRpZmllciIsIm5hbWUiOiJ0ZXN0LXNwYWNlLW5hbWUiLCJkZXNjcmlwdGlvbiI6bnVsbCwiY3VzdG9tIjp7InNwYWNlLWN1c3RvbTEiOiJDaGFudGVkLWN1c3RvbS1kYXRhLTEiLCJzcGFjZS1jdXN0b20yIjoiQ2hhbnRlZC1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDA2OjI4OjIzLjY3OTIwNFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QwNjoyODoyNS41MDcyNFoiLCJlVGFnIjoiQWY3SXdyYU5qNzNvMUFFIn19" + "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6InRlc3QtdXVpZCIsIm5hbWUiOiJ0ZXN0LXV1aWQtbmFtZSIsImV4dGVybmFsSWQiOiJ0ZXN0LWV4dGVybmFsLWlkZW50aWZpZXIiLCJwcm9maWxlVXJsIjoiaHR0cHM6Ly9wdWJudWIuY29tIiwiZW1haWwiOiJ0ZXN0LXV1aWQtZW1haWwiLCJjdXN0b20iOnsidXVpZC1jdXN0b20xIjoidGVzdC11dWlkLW5hbWUtY3VzdG9tLWRhdGEtMSIsInV1aWQtY3VzdG9tMiI6InRlc3QtdXVpZC1uYW1lLWN1c3RvbS1kYXRhLTIifSwidXBkYXRlZCI6IjIwMjAtMDUtMjRUMDg6NDI6NDguMTMzNzY4WiIsImVUYWciOiJBZFRXM2Rpc3VhdlZ5QUUifX0=" }, "type" : 2 }, { - "id" : "B3878015-AC78-47F1-B7D1-11957D172CD1", + "id" : "3E978DC8-75FB-434F-816C-CDCB8532471B", "type" : 4 }, { - "id" : "E1A453C4-970A-448C-B08B-2FF339B2F15E", + "id" : "B90391C4-7CFD-49FF-A966-1F9E10577C1E", "data" : { "method" : "delete", "cls" : "NSURLRequest", @@ -225,26 +225,26 @@ "timeout" : 60, "cookies" : true, "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", + "User-Agent" : "iPhone; CPU iPhone OS 12.4.0 Version", "Accept" : "*\/*", "Connection" : "keep-alive", "Accept-Encoding" : "gzip,deflate" }, "pipeline" : false, "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" }, "type" : 0 }, { - "id" : "E1A453C4-970A-448C-B08B-2FF339B2F15E", + "id" : "B90391C4-7CFD-49FF-A966-1F9E10577C1E", "data" : { "status" : 200, "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces\/Chanted-space-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", + "url" : "https:\/\/ps.pndsn.com\/v2\/objects\/demo\/uuids\/test-uuid?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", "headers" : { "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 06:28:26 GMT", + "Date" : "Sun, 24 May 2020 08:42:48 GMT", "Content-Type" : "application\/json", "Content-Length" : "26", "Connection" : "keep-alive", @@ -254,7 +254,7 @@ "type" : 1 }, { - "id" : "E1A453C4-970A-448C-B08B-2FF339B2F15E", + "id" : "B90391C4-7CFD-49FF-A966-1F9E10577C1E", "data" : { "cls" : "NSData", "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" @@ -262,7 +262,7 @@ "type" : 2 }, { - "id" : "E1A453C4-970A-448C-B08B-2FF339B2F15E", + "id" : "B90391C4-7CFD-49FF-A966-1F9E10577C1E", "type" : 4 } -] \ No newline at end of file +] diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldCreateUserWhenAdditionalInformationIsSet.json b/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldCreateUserWhenAdditionalInformationIsSet.json deleted file mode 100644 index 5bc4829c4..000000000 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldCreateUserWhenAdditionalInformationIsSet.json +++ /dev/null @@ -1,210 +0,0 @@ -[ - { - "id" : "7D6D448D-C3DF-42B6-B0CA-B85D7F1A8C9A", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "7D6D448D-C3DF-42B6-B0CA-B85D7F1A8C9A", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:48:31 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "7D6D448D-C3DF-42B6-B0CA-B85D7F1A8C9A", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "7D6D448D-C3DF-42B6-B0CA-B85D7F1A8C9A", - "type" : 4 - }, - { - "id" : "75486BC9-6606-40E4-8802-61CB5F83501A", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "75486BC9-6606-40E4-8802-61CB5F83501A", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:48:31 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "75486BC9-6606-40E4-8802-61CB5F83501A", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "75486BC9-6606-40E4-8802-61CB5F83501A", - "type" : 4 - }, - { - "id" : "A922C533-2F93-4D44-9432-A4349CE5F9B5", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "331", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJlbWFpbCI6InRlc3QtdXNlci1lbWFpbCIsImlkIjoidGVzdC11c2VyIiwicHJvZmlsZVVybCI6Imh0dHBzOlwvXC9wdWJudWIuY29tIiwibmFtZSI6InRlc3QtdXNlci1uYW1lIiwiZXh0ZXJuYWxJZCI6InRlc3QtZXh0ZXJuYWwtaWRlbnRpZmllciIsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTIiOiJ0ZXN0LXVzZXItbmFtZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoidGVzdC11c2VyLW5hbWUtY3VzdG9tLWRhdGEtMSJ9fQ==" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "A922C533-2F93-4D44-9432-A4349CE5F9B5", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:48:32 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "A922C533-2F93-4D44-9432-A4349CE5F9B5", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6InRlc3QtdXNlciIsIm5hbWUiOiJ0ZXN0LXVzZXItbmFtZSIsImV4dGVybmFsSWQiOiJ0ZXN0LWV4dGVybmFsLWlkZW50aWZpZXIiLCJwcm9maWxlVXJsIjoiaHR0cHM6Ly9wdWJudWIuY29tIiwiZW1haWwiOiJ0ZXN0LXVzZXItZW1haWwiLCJjdXN0b20iOnsidXNlci1jdXN0b20xIjoidGVzdC11c2VyLW5hbWUtY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6InRlc3QtdXNlci1uYW1lLWN1c3RvbS1kYXRhLTIifSwiY3JlYXRlZCI6IjIwMjAtMDItMDdUMTE6NDg6MzEuNTE5MzQ2WiIsInVwZGF0ZWQiOiIyMDIwLTAyLTA3VDExOjQ4OjMxLjUxOTM0NloiLCJlVGFnIjoiQWJYbHU0NmZ2Y0QzV3cifX0=" - }, - "type" : 2 - }, - { - "id" : "A922C533-2F93-4D44-9432-A4349CE5F9B5", - "type" : 4 - }, - { - "id" : "FEBA7AA8-2DE6-4A1D-898B-9DBF4DC17214", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "FEBA7AA8-2DE6-4A1D-898B-9DBF4DC17214", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:48:32 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "FEBA7AA8-2DE6-4A1D-898B-9DBF4DC17214", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "FEBA7AA8-2DE6-4A1D-898B-9DBF4DC17214", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotCreateUserWhenSameUserAlreadyExists.json b/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotCreateUserWhenSameUserAlreadyExists.json deleted file mode 100644 index 82eec9e6d..000000000 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotCreateUserWhenSameUserAlreadyExists.json +++ /dev/null @@ -1,322 +0,0 @@ -[ - { - "id" : "1764DC54-F551-495F-A6FC-93F8A2D2C8AE", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "1764DC54-F551-495F-A6FC-93F8A2D2C8AE", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:17 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "1764DC54-F551-495F-A6FC-93F8A2D2C8AE", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "1764DC54-F551-495F-A6FC-93F8A2D2C8AE", - "type" : 4 - }, - { - "id" : "F1FEB64C-BC51-4079-BB56-E9A973603A63", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F1FEB64C-BC51-4079-BB56-E9A973603A63", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:18 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "F1FEB64C-BC51-4079-BB56-E9A973603A63", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "F1FEB64C-BC51-4079-BB56-E9A973603A63", - "type" : 4 - }, - { - "id" : "E4BD4D8E-9CC6-4FC4-9FA7-33F1C6A50FF2", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "E4BD4D8E-9CC6-4FC4-9FA7-33F1C6A50FF2", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:18 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "E4BD4D8E-9CC6-4FC4-9FA7-33F1C6A50FF2", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjE4LjE2MzU5N1oiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDoxOC4xNjM1OTdaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "E4BD4D8E-9CC6-4FC4-9FA7-33F1C6A50FF2", - "type" : 4 - }, - { - "id" : "1EA566BE-B6A7-4DED-A046-BF024938A805", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "61", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIn0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "1EA566BE-B6A7-4DED-A046-BF024938A805", - "data" : { - "status" : 409, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:20 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "108", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "1EA566BE-B6A7-4DED-A046-BF024938A805", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwOSwiZXJyb3IiOnsibWVzc2FnZSI6Ik9iamVjdCB3aXRoIHRoZSByZXF1ZXN0ZWQgaWRlbnRpZmllciBhbHJlYWR5IGV4aXN0cy4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "1EA566BE-B6A7-4DED-A046-BF024938A805", - "type" : 4 - }, - { - "id" : "6027C99F-FC7F-4519-B3C0-024C8CDF360A", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "61", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIn0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "6027C99F-FC7F-4519-B3C0-024C8CDF360A", - "data" : { - "status" : 409, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:20 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "108", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "6027C99F-FC7F-4519-B3C0-024C8CDF360A", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwOSwiZXJyb3IiOnsibWVzc2FnZSI6Ik9iamVjdCB3aXRoIHRoZSByZXF1ZXN0ZWQgaWRlbnRpZmllciBhbHJlYWR5IGV4aXN0cy4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "6027C99F-FC7F-4519-B3C0-024C8CDF360A", - "type" : 4 - }, - { - "id" : "89677B5E-692F-4775-A8AE-4595BFC41071", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "89677B5E-692F-4775-A8AE-4595BFC41071", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:21 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "89677B5E-692F-4775-A8AE-4595BFC41071", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "89677B5E-692F-4775-A8AE-4595BFC41071", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotUpdateUserWhenTargetUserNotExists.json b/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotUpdateUserWhenTargetUserNotExists.json deleted file mode 100644 index 44ec1f014..000000000 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldNotUpdateUserWhenTargetUserNotExists.json +++ /dev/null @@ -1,214 +0,0 @@ -[ - { - "id" : "D3BE8C20-1EF7-4181-9ABE-78E7F52103F4", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "D3BE8C20-1EF7-4181-9ABE-78E7F52103F4", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:25 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "D3BE8C20-1EF7-4181-9ABE-78E7F52103F4", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "D3BE8C20-1EF7-4181-9ABE-78E7F52103F4", - "type" : 4 - }, - { - "id" : "F6CC3E97-FB37-4DC5-99A7-A31120F16CB6", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F6CC3E97-FB37-4DC5-99A7-A31120F16CB6", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:25 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "F6CC3E97-FB37-4DC5-99A7-A31120F16CB6", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "F6CC3E97-FB37-4DC5-99A7-A31120F16CB6", - "type" : 4 - }, - { - "id" : "F5FA9768-237F-4DE8-BBC1-5CE616CCAB77", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "70", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6InRlc3QtdXNlciIsIm5hbWUiOiJ0ZXN0LXVzZXItbmFtZSJ9" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "F5FA9768-237F-4DE8-BBC1-5CE616CCAB77", - "data" : { - "status" : 404, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:25 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "87", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "F5FA9768-237F-4DE8-BBC1-5CE616CCAB77", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "F5FA9768-237F-4DE8-BBC1-5CE616CCAB77", - "type" : 4 - }, - { - "id" : "5D3A345A-A987-4C14-BBC8-B155CD37A257", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "70", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6InRlc3QtdXNlciIsIm5hbWUiOiJ0ZXN0LXVzZXItbmFtZSJ9" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "5D3A345A-A987-4C14-BBC8-B155CD37A257", - "data" : { - "status" : 404, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/test-user?uuid=Serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:26 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "87", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "5D3A345A-A987-4C14-BBC8-B155CD37A257", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjQwNCwiZXJyb3IiOnsibWVzc2FnZSI6IlJlcXVlc3RlZCBvYmplY3Qgd2FzIG5vdCBmb3VuZC4iLCJzb3VyY2UiOiJvYmplY3RzIn19" - }, - "type" : 2 - }, - { - "id" : "5D3A345A-A987-4C14-BBC8-B155CD37A257", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldUpdateUserAndTriggerUpdateEventToUserChannel.json b/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldUpdateUserAndTriggerUpdateEventToUserChannel.json deleted file mode 100644 index 5db4b7460..000000000 --- a/Tests/Support Files/Fixtures/PNUserIntegrationTest.bundle/ItShouldUpdateUserAndTriggerUpdateEventToUserChannel.json +++ /dev/null @@ -1,459 +0,0 @@ -[ - { - "id" : "0254042F-CB61-45FD-ACDD-C0D34B24470B", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "0254042F-CB61-45FD-ACDD-C0D34B24470B", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:32 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "0254042F-CB61-45FD-ACDD-C0D34B24470B", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "0254042F-CB61-45FD-ACDD-C0D34B24470B", - "type" : 4 - }, - { - "id" : "0A67110A-11B5-4C08-8914-F58BA4216AF3", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "0A67110A-11B5-4C08-8914-F58BA4216AF3", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/spaces?uuid=Serhii&limit=100&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:32 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "24", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "0A67110A-11B5-4C08-8914-F58BA4216AF3", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6W119" - }, - "type" : 2 - }, - { - "id" : "0A67110A-11B5-4C08-8914-F58BA4216AF3", - "type" : 4 - }, - { - "id" : "DCB8AF4C-BAC0-4F44-B58F-C879E193D500", - "data" : { - "method" : "post", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "148", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoiU2VyaGlpLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "DCB8AF4C-BAC0-4F44-B58F-C879E193D500", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users?include=custom&uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:33 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "DCB8AF4C-BAC0-4F44-B58F-C879E193D500", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoiU2VyaGlpIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImN1c3RvbSI6eyJ1c2VyLWN1c3RvbTEiOiJTZXJoaWktY3VzdG9tLWRhdGEtMSIsInVzZXItY3VzdG9tMiI6IlNlcmhpaS1jdXN0b20tZGF0YS0yIn0sImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjMzLjI4NzA3NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDozMy4yODcwNzRaIiwiZVRhZyI6IkFlUDI2N2ZhdXZiQlBBIn19" - }, - "type" : 2 - }, - { - "id" : "DCB8AF4C-BAC0-4F44-B58F-C879E193D500", - "type" : 4 - }, - { - "id" : "886DE951-B089-4B23-B79A-855A4031F103", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "886DE951-B089-4B23-B79A-855A4031F103", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&tt=0&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Methods" : "GET", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 11:50:35 GMT", - "Content-Length" : "45", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" - } - }, - "type" : 1 - }, - { - "id" : "886DE951-B089-4B23-B79A-855A4031F103", - "data" : { - "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDc2MjM1MDQ1MDE0NiIsInIiOjEyfSwibSI6W119" - }, - "type" : 2 - }, - { - "id" : "886DE951-B089-4B23-B79A-855A4031F103", - "type" : 4 - }, - { - "id" : "32B8428C-5639-44B8-86DA-EAC839C9CC91", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810762350450146&tr=12" - }, - "type" : 0 - }, - { - "id" : "ABF5A69D-8CF4-469F-AF31-15F05C2FA9F7", - "data" : { - "method" : "patch", - "cls" : "NSURLRequest", - "cellular" : true, - "network" : 0, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Content-Length" : "217", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate", - "Content-Type" : "application\/json;charset=UTF-8" - }, - "body" : { - "cls" : "NSData", - "base64" : "eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoidGVzdC1zcGFjZS1uYW1lIiwiY3VzdG9tIjp7InVzZXItY3VzdG9tMiI6InRlc3Qtc3BhY2UtbmFtZS1jdXN0b20tZGF0YS0yIiwidXNlci1jdXN0b20xIjoidGVzdC1zcGFjZS1uYW1lLWN1c3RvbS1kYXRhLTEifX0=" - }, - "pipeline" : false, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "ABF5A69D-8CF4-469F-AF31-15F05C2FA9F7", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Content-Type" : "application\/json", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*", - "Transfer-Encoding" : "Identity", - "Date" : "Fri, 07 Feb 2020 11:50:35 GMT", - "Content-Encoding" : "gzip", - "Vary" : "Accept-Encoding" - } - }, - "type" : 1 - }, - { - "id" : "ABF5A69D-8CF4-469F-AF31-15F05C2FA9F7", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6eyJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoidGVzdC1zcGFjZS1uYW1lIiwiZXh0ZXJuYWxJZCI6bnVsbCwicHJvZmlsZVVybCI6bnVsbCwiZW1haWwiOm51bGwsImNyZWF0ZWQiOiIyMDIwLTAyLTA3VDExOjUwOjMzLjI4NzA3NFoiLCJ1cGRhdGVkIjoiMjAyMC0wMi0wN1QxMTo1MDozNS40NjI3NjhaIiwiZVRhZyI6IkFZS2cvSVROb0t2T0VnIn19" - }, - "type" : 2 - }, - { - "id" : "ABF5A69D-8CF4-469F-AF31-15F05C2FA9F7", - "type" : 4 - }, - { - "id" : "32B8428C-5639-44B8-86DA-EAC839C9CC91", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810762350450146&tr=12", - "headers" : { - "Access-Control-Allow-Methods" : "GET", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Access-Control-Allow-Origin" : "*", - "Date" : "Fri, 07 Feb 2020 11:50:35 GMT", - "Content-Length" : "556", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" - } - }, - "type" : 1 - }, - { - "id" : "32B8428C-5639-44B8-86DA-EAC839C9CC91", - "data" : { - "cls" : "NSData", - "base64" : "eyJ0Ijp7InQiOiIxNTgxMDc2MjM1OTAwMDc5MyIsInIiOjEyfSwibSI6W3siYSI6IjUiLCJmIjowLCJlIjoyLCJwIjp7InQiOiIxNTgxMDc2MjM1ODk4OTEzNiIsInIiOjEyfSwiayI6ImRlbW8iLCJjIjoiU2VyaGlpLXVzZXItaWRlbnRpZmllciIsImQiOnsic291cmNlIjoib2JqZWN0cyIsInZlcnNpb24iOiIxLjAiLCJldmVudCI6InVwZGF0ZSIsInR5cGUiOiJ1c2VyIiwiZGF0YSI6eyJjdXN0b20iOnsidXNlci1jdXN0b20xIjoidGVzdC1zcGFjZS1uYW1lLWN1c3RvbS1kYXRhLTEiLCJ1c2VyLWN1c3RvbTIiOiJ0ZXN0LXNwYWNlLW5hbWUtY3VzdG9tLWRhdGEtMiJ9LCJlVGFnIjoiQVlLZy9JVE5vS3ZPRWciLCJpZCI6IlNlcmhpaS11c2VyLWlkZW50aWZpZXIiLCJuYW1lIjoidGVzdC1zcGFjZS1uYW1lIiwidXBkYXRlZCI6IjIwMjAtMDItMDdUMTE6NTA6MzUuNDYyNzY4WiJ9fX1dfQ==" - }, - "type" : 2 - }, - { - "id" : "32B8428C-5639-44B8-86DA-EAC839C9CC91", - "type" : 4 - }, - { - "id" : "8B9D0CA7-8C0B-49FB-A89F-056B4F095EC7", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810762359000793&tr=12" - }, - "type" : 0 - }, - { - "id" : "8B9D0CA7-8C0B-49FB-A89F-056B4F095EC7", - "data" : { - "code" : -999, - "info" : { - "NSErrorFailingURLStringKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810762359000793&tr=12", - "NSLocalizedDescription" : "cancelled", - "NSErrorFailingURLKey" : "https:\/\/ps.pndsn.com\/v2\/subscribe\/demo\/Serhii-user-identifier\/0?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x&tt=15810762359000793&tr=12" - }, - "cls" : "NSError", - "domain" : "NSURLErrorDomain" - }, - "type" : 3 - }, - { - "id" : "8F5B7489-455C-4F87-A443-4BA4A76E5DD7", - "data" : { - "method" : "get", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "8F5B7489-455C-4F87-A443-4BA4A76E5DD7", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v2\/presence\/sub_key\/demo\/channel\/Serhii-user-identifier\/leave?uuid=david&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Methods" : "OPTIONS, GET, POST", - "Content-Type" : "text\/javascript; charset=\"UTF-8\"", - "Server" : "Pubnub Presence", - "Access-Control-Allow-Origin" : "*", - "Age" : "0", - "Date" : "Fri, 07 Feb 2020 11:50:36 GMT", - "Accept-Ranges" : "bytes", - "Content-Length" : "74", - "Cache-Control" : "no-cache", - "Connection" : "keep-alive" - } - }, - "type" : 1 - }, - { - "id" : "8F5B7489-455C-4F87-A443-4BA4A76E5DD7", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOiAyMDAsICJtZXNzYWdlIjogIk9LIiwgImFjdGlvbiI6ICJsZWF2ZSIsICJzZXJ2aWNlIjogIlByZXNlbmNlIn0=" - }, - "type" : 2 - }, - { - "id" : "8F5B7489-455C-4F87-A443-4BA4A76E5DD7", - "type" : 4 - }, - { - "id" : "AC91376C-BF93-435A-92EE-1085BFE5AB91", - "data" : { - "method" : "delete", - "cls" : "NSURLRequest", - "cellular" : true, - "cache" : 1, - "timeout" : 60, - "cookies" : true, - "headers" : { - "User-Agent" : "iPhone; CPU iPhone OS 10.3.1 Version", - "Accept" : "*\/*", - "Connection" : "keep-alive", - "Accept-Encoding" : "gzip,deflate" - }, - "pipeline" : false, - "network" : 0, - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x" - }, - "type" : 0 - }, - { - "id" : "AC91376C-BF93-435A-92EE-1085BFE5AB91", - "data" : { - "status" : 200, - "cls" : "NSHTTPURLResponse", - "url" : "https:\/\/ps.pndsn.com\/v1\/objects\/demo\/users\/Serhii-user-identifier?uuid=serhii&pnsdk=PubNub-ObjC-iOS\/4.x.x", - "headers" : { - "Access-Control-Allow-Credentials" : "true", - "Date" : "Fri, 07 Feb 2020 11:50:37 GMT", - "Content-Type" : "application\/json", - "Content-Length" : "26", - "Connection" : "keep-alive", - "Access-Control-Allow-Origin" : "*" - } - }, - "type" : 1 - }, - { - "id" : "AC91376C-BF93-435A-92EE-1085BFE5AB91", - "data" : { - "cls" : "NSData", - "base64" : "eyJzdGF0dXMiOjIwMCwiZGF0YSI6bnVsbH0=" - }, - "type" : 2 - }, - { - "id" : "AC91376C-BF93-435A-92EE-1085BFE5AB91", - "type" : 4 - } -] \ No newline at end of file diff --git a/Tests/Tests/Helpers/PNRecordableTestCase.h b/Tests/Tests/Helpers/PNRecordableTestCase.h index 89a62d0a5..6bd460c7b 100644 --- a/Tests/Tests/Helpers/PNRecordableTestCase.h +++ b/Tests/Tests/Helpers/PNRecordableTestCase.h @@ -43,31 +43,13 @@ typedef void (^PNTClientDidReceiveMessageActionHandler)(PubNub *client, PNMessag typedef void (^PNTClientDidReceivePresenceEventHandler)(PubNub *client, PNPresenceEventResult *event, BOOL *shouldRemove); /** - * @brief Type used to describe block for \c user event handling. + * @brief Type used to describe block for \c object event handling. * * @param client \b PubNub client which used delegate callback. - * @param event Object with information about received \c user event. + * @param event Object with information about received \c object event. * @param shouldRemove Whether handling block should be removed after call or not. */ -typedef void (^PNTClientDidReceiveUserEventHandler)(PubNub *client, PNUserEventResult *event, BOOL *shouldRemove); - -/** - * @brief Type used to describe block for \c space event handling. - * - * @param client \b PubNub client which used delegate callback. - * @param event Object with information about received \c space event. - * @param shouldRemove Whether handling block should be removed after call or not. - */ -typedef void (^PNTClientDidReceiveSpaceEventHandler)(PubNub *client, PNSpaceEventResult *event, BOOL *shouldRemove); - -/** - * @brief Type used to describe block for \c membership event handling. - * - * @param client \b PubNub client which used delegate callback. - * @param event Object with information about received \c membership event. - * @param shouldRemove Whether handling block should be removed after call or not. - */ -typedef void (^PNTClientDidReceiveMembershipEventHandler)(PubNub *client, PNMembershipEventResult *event, BOOL *shouldRemove); +typedef void (^PNTClientDidReceiveObjectEventHandler)(PubNub *client, PNObjectEventResult *event, BOOL *shouldRemove); /** * @brief Type used to describe block for status change handling. @@ -430,320 +412,313 @@ typedef void (^PNTClientDidReceiveStatusHandler)(PubNub *client, PNSubscribeStat - (void)removeAllObjects; /** - * @brief Create set of random user objects. + * @brief Set random \c metadata for random \c UUIDs. * - * @param objectsCount How many user objects should be created. - * @param client \b PubNub client which should be used to manage user objects. Will use + * @param objectsCount For how many \c UUID \c metadata should be set. + * @param client \b PubNub client which should be used to manage \c UUID \c metadata. Will use * \c self.client if passed \c nil. * - * @return List of created user objects. + * @return List of \c UUIDs \c metadata objects. */ -- (NSArray *)createObjectForUsers:(NSUInteger)objectsCount - usingClient:(nullable PubNub *)client; +- (NSArray *)setUUIDMetadata:(NSUInteger)objectsCount + usingClient:(nullable PubNub *)client; /** - * @brief Use Objects API to create single user object with name used to create identifier and - * custom data. + * @brief Set \c metadata for specified \c UUID. * - * @param name Name which should be associated with new user object entry and used to create unique - * identifier. - * @param client \b PubNub client which should be used to manage user objects. Will use + * @param uuid Identifier which should be used to associate \c metadata with it. + * @param client \b PubNub client which should be used to manage \c UUID \c metadata. Will use * \c self.client if passed \c nil. * - * @return Created user object. + * @return \c UUID \c metadata object. */ -- (PNUser *)createObjectForUserWithName:(NSString *)name usingClient:(nullable PubNub *)client; +- (PNUUIDMetadata *)setMetadataForUUID:(NSString *)uuid usingClient:(nullable PubNub *)client; /** - * @brief Use Objects API to create set of user objects using provided names to create identifier - * and custom data. + * @brief Set \c metadata using provided \c UUIDs to create identifier and custom data. * - * @param names Names which should be associated with new user objects entries and used to create - * unique identifier. - * @param client \b PubNub client which should be used to manage user objects. Will use + * @param uuids Identifiers which should be used to associate \c metadata with. + * @param client \b PubNub client which should be used to manage \c UUID \c metadata. Will use * \c self.client if passed \c nil. * - * @return List of created user objects. + * @return List of \c UUIDs \c metadata objects. */ -- (NSArray *)createObjectForUsersWithNames:(NSArray *)names - usingClient:(nullable PubNub *)client; +- (NSArray *)setMetadataForUUIDs:(NSArray *)uuids + usingClient:(nullable PubNub *)client; /** - * @brief Ensure that specified number of user objects created for current publish / subscribe - * keys. + * @brief Ensure that specified number of \c UUIDs has been associated with \c metadata for current + * publish / subscribe keys. * - * @param count Expected number of user objects. - * @param client \b PubNub client which should be used to audit user objects. Will use + * @param count Expected number of \c UUID which has associated \c metadata. + * @param client \b PubNub client which should be used to audit \c UUID \c metadata. Will use * \c self.client if passed \c nil. */ -- (void)verifyUsersCountShouldEqualTo:(NSUInteger)count usingClient:(nullable PubNub *)client; +- (void)verifyUUIDMetadataCountShouldEqualTo:(NSUInteger)count usingClient:(nullable PubNub *)client; /** - * @brief Create membership for each \c user entry with every passed \c space. + * @brief Create \c membership for each \c UUID entry with every passed \c channel. * - * @param users List of user objects for which membership with target space should be created. - * @param spaces List of spaces to which new members will be added. - * @param customs List of custom data which should be bound to created membership. - * @param client \b PubNub client which should be used to manage user objects. Will use + * @param uuids List of identifiers for which \c membership with target channel should be created. + * @param channels List of channel names to which new members will be added. + * @param customs List of custom data which should be bound to created \c membership. + * @param client \b PubNub client which should be used to manage \c memberships. Will use * \c self.client if passed \c nil. * - * @return List of created memberships. + * @return List of created \c memberships. */ -- (NSArray *)createUsersMembership:(NSArray *)users - inSpaces:(NSArray *)spaces +- (NSArray *)createUUIDsMembership:(NSArray *)uuids + inChannels:(NSArray *)channels withCustoms:(nullable NSArray *)customs usingClient:(nullable PubNub *)client; /** - * @brief Create membership for each \c user entry with every passed \c space. + * @brief Create \c membership for each \c UUID entry with every passed \c channel. * - * @param users List of user objects for which membership with target space should be created. - * @param spaces List of spaces to which new members will be added. - * @param customs List of custom data which should be bound to created membership. - * @param shouldIncludeSpaceInformation Whether space information should be added to response. - * @param client \b PubNub client which should be used to manage user objects. Will use + * @param uuids List of identifiers for which \c membership with target channel should be created. + * @param channels List of channel names to which new members will be added. + * @param customs List of custom data which should be bound to created \c membership. + * @param shouldIncludeChannelMetadata Whether channel information should be added to + * response. + * @param client \b PubNub client which should be used to manage \c memberships. Will use * \c self.client if passed \c nil. * - * @return List of created memberships. + * @return List of created \c memberships. */ -- (NSArray *)createUsersMembership:(NSArray *)users - inSpaces:(NSArray *)spaces +- (NSArray *)createUUIDsMembership:(NSArray *)uuids + inChannels:(NSArray *)channels withCustoms:(nullable NSArray *)customs - spaceInformation:(BOOL)shouldIncludeSpaceInformation + channelMetadata:(BOOL)shouldIncludeChannelMetadata usingClient:(nullable PubNub *)client; /** - * @brief Ensure that specified \c user has exact number of memberships. + * @brief Ensure that specified \c UUID has exact number of \c memberships. * - * @param user Unique user identifier which should be used with objects API to audit memberships. - * @param count Expected number of user's memberships. - * @param client \b PubNub client which should be used to audit user objects. Will use + * @param uuid Identifier which should be used with Objects API to audit \c memberships. + * @param count Expected number of \c UUID's \c memberships. + * @param client \b PubNub client which should be used to audit \c UUID \c memberships. Will use * \c self.client if passed \c nil. */ -- (void)verifyUserMembershipsCount:(NSString *)user +- (void)verifyUUIDMembershipsCount:(NSString *)uuid shouldEqualTo:(NSUInteger)count usingClient:(nullable PubNub *)client; /** - * @brief Remove local cache of user membership Object which has been created during test case run. + * @brief Remove local cache of \c UUID \c membership objects which has been created during test + * case run. * - * @param user Unique identifier of user for which membership objects should be removed from local - * cache. - * @param space Unique identifier of space with which \c user membership should be removed. + * @param uuid Identifier for which \c membership objects should be removed from local cache. + * @param channel Name of channel with which \c UUID's \c membership should be removed. */ -- (void)deleteUser:(NSString *)user cachedMembershipForSpace:(NSString *)space; +- (void)removeUUID:(NSString *)uuid cachedMembershipForChannel:(NSString *)channel; /** - * @brief Remove list of user's membership Objects which has been created during test case run. + * @brief Remove list of \c UUID's \c memberships which has been created during test case run. * - * @param user Unique identifier of user for which membership objects should be removed. - * @param memberships List of membership Objects which should be removed for \c user. - * @param client \b PubNub client which should be used to manage user objects. Will use + * @param uuid Identifier for which \c membership objects should be removed. + * @param memberships List of \c membership objects which should be removed for \c UUID. + * @param client \b PubNub client which should be used to manage \c UUID \c memberships. Will use * \c self.client if passed \c nil. */ -- (void)deleteUser:(NSString *)user +- (void)removeUUID:(NSString *)uuid membershipObjects:(NSArray *)memberships usingClient:(nullable PubNub *)client; /** - * @brief Remove all users membership Objects which has been created during test case run. + * @brief Remove all \c UUIDs \c membership which has been created during test case run. * - * @param users List of unique identifier of users for which membership objects should be removed. - * @param client \b PubNub client which should be used to manage user objects. Will use + * @param uuids List of identifiers for which \c memberships should be removed. + * @param client \b PubNub client which should be used to manage \c UUID \c membership. Will use * \c self.client if passed \c nil. */ -- (void)deleteUsers:(NSArray *)users membershipObjectsUsingClient:(nullable PubNub *)client; +- (void)removeUUIDs:(NSArray *)uuids membershipObjectsUsingClient:(nullable PubNub *)client; /** - * @brief Remove all user membership Objects which has been created during test case run. + * @brief Remove all \c UUID \c memberships which has been created during test case run. * - * @param user Unique identifier of user for which membership objects should be removed. - * @param client \b PubNub client which should be used to manage user objects. Will use + * @param uuid Identifier for which \c memberships should be removed. + * @param client \b PubNub client which should be used to manage \c UUID \c membership. Will use * \c self.client if passed \c nil. */ -- (void)deleteUser:(NSString *)user membershipObjectsUsingClient:(nullable PubNub *)client; +- (void)removeUUID:(NSString *)uuid membershipObjectsUsingClient:(nullable PubNub *)client; /** - * @brief Remove local cache of user Object which has been created during test case run. + * @brief Remove local cache of \c UUID \c metadata which has been created during test case run. * - * @param user Unique identifier of user which should be removed from local cache. + * @param uuid Identifier which \c metadata should be removed from local cache. */ -- (void)deleteCachedUser:(NSString *)user; +- (void)removeCachedUUIDMetadata:(NSString *)uuid; /** - * @brief Delete user objects associated with passed list of identifiers. + * @brief Delete \c UUID \c metadata objects associated with passed list of identifiers. * - * @param users List of unique user object identifiers which should be removed. + * @param uuids List of identifiers for which associated \c metadata should be removed. * @param client \b PubNub client which should be used to manage user objects. Will use * \c self.client if passed \c nil. */ -- (void)deleteUsers:(NSArray *)users usingClient:(nullable PubNub *)client; +- (void)removeUUIDsMetadata:(NSArray *)uuids usingClient:(nullable PubNub *)client; /** - * @brief Delete all user Objects which has been created during test case run. + * @brief Delete all \c UUIDs \c metadata objects which has been created during test case run. * - * @param client \b PubNub client which should be used to manage user objects. Will use + * @param client \b PubNub client which should be used to manage \c UUID \c metadata. Will use * \c self.client if passed \c nil. */ -- (void)deleteUserObjectsUsingClient:(nullable PubNub *)client; +- (void)removeAllUUIDMetadataUsingClient:(nullable PubNub *)client; /** - * @brief Create set of random space objects. + * @brief Set random \c metadata for random \c channels. * - * @param objectsCount How many space objects should be created. - * @param client \b PubNub client which should be used to manage space objects. Will use + * @param objectsCount For how many \c channel \c metadata should be set. + * @param client \b PubNub client which should be used to audit \c channel \c metadata. Will use * \c self.client if passed \c nil. * - * @return List of created space objects. + * @return List of \c channels \c metadata objects. */ -- (NSArray *)createObjectForSpaces:(NSUInteger)objectsCount - usingClient:(nullable PubNub *)client; +- (NSArray *)setChannelsMetadata:(NSUInteger)objectsCount + usingClient:(nullable PubNub *)client; /** - * @brief Use Objects API to create single space object with name used to create identifier and - * custom data. + * @brief Set \c metadata for specified \c channel. * - * @param name Name which should be associated with new space object entry and used to create unique - * identifier. - * @param client \b PubNub client which should be used to manage space objects. Will use + * @param channel Name of channel which should be used to associate \c metadata with. + * @param client \b PubNub client which should be used to audit \c channel \c metadata. Will use * \c self.client if passed \c nil. * - * @return Created space object. + * @return \c Channel \c metadata object. */ -- (PNSpace *)createObjectForSpaceWithName:(NSString *)name usingClient:(nullable PubNub *)client; +- (PNChannelMetadata *)setMetadataForChannel:(NSString *)channel usingClient:(nullable PubNub *)client; /** - * @brief Use Objects API to create set of space objects using provided names to create identifier - * and custom data. + * @brief Set \c metadata using provided \c channels to create identifier and custom data. * - * @param names Names which should be associated with new space objects entries and used to create - * unique identifier. - * @param client \b PubNub client which should be used to manage space objects. Will use + * @param channels Name of channels which should be used to associate \c metadata with. + * @param client \b PubNub client which should be used to audit \c channel \c metadata. Will use * \c self.client if passed \c nil. * - * @return List of created space objects. + * @return List of \c channels \c metadata objects. */ -- (NSArray *)createObjectForSpacesWithNames:(NSArray *)names - usingClient:(nullable PubNub *)client; +- (NSArray *)setMetadataForChannels:(NSArray *)channels + usingClient:(nullable PubNub *)client; /** - * @brief Ensure that specified number of space objects created for current publish / subscribe - * keys. + * @brief Ensure that specified number of \c channels has been associated with \c metadata for + * current publish / subscribe keys. * - * @param count Expected number of space objects. - * @param client \b PubNub client which should be used to audit space objects. Will use + * @param count Expected number of \c channels which has associated \c metadata. + * @param client \b PubNub client which should be used to audit \c channel \c metadata. Will use * \c self.client if passed \c nil. */ -- (void)verifySpacesCountShouldEqualTo:(NSUInteger)count usingClient:(nullable PubNub *)client; +- (void)verifyChannelsMetadataCountShouldEqualTo:(NSUInteger)count usingClient:(nullable PubNub *)client; /** - * @brief Add set of user objects as members to each of passed space objects. + * @brief Add set of \c UUIDs as members to each of passed \c channel. * - * @param members List of user objects which should be added to each space entry. - * @param spaces List of spaces to which set of \c members should be added. + * @param uuids List of identifiers which should be added to each \c channel entry. + * @param channels List of channel names to which set of \c uuids should be added. * @param customs Custom data which should be associated with created membership. - * @param client \b PubNub client which should be used to manage membership objects. Will use - * \c self.client if passed \c nil. + * @param client \b PubNub client which should be used to manage \c members. Will use \c self.client + * if passed \c nil. * - * @return List of created spaces member objects. + * @return List of created \c member objects. */ -- (NSArray *)addMembers:(NSArray *)members - toSpaces:(NSArray *)spaces +- (NSArray *)addMembers:(NSArray *)uuids + toChannels:(NSArray *)channels withCustoms:(nullable NSArray *)customs usingClient:(nullable PubNub *)client; /** - * @brief Add set of user objects as members to each of passed space objects. + * @brief Add set of \c UUIDs as members to each of passed \c channel. * - * @param members List of user objects which should be added to each space entry. - * @param spaces List of spaces to which set of \c members should be added. + * @param uuids List of identifiers which should be added to each \c channel entry. + * @param channels List of channel names to which set of \c uuids should be added. * @param customs Custom data which should be associated with created membership. - * @param shouldIncludeUserInformation Whether user information should be added to response. - * @param client \b PubNub client which should be used to manage membership objects. Will use - * \c self.client if passed \c nil. + * @param shouldIncludeUUIDMetadata Whether \c channel \c metadata information should be added to + * response. + * @param client \b PubNub client which should be used to manage \c members. Will use \c self.client + * if passed \c nil. * - * @return List of created spaces member objects. + * @return List of created \c member objects. */ -- (NSArray *)addMembers:(NSArray *)members - toSpaces:(NSArray *)spaces +- (NSArray *)addMembers:(NSArray *)uuids + toChannels:(NSArray *)channels withCustoms:(nullable NSArray *)customs - userInformation:(BOOL)shouldIncludeUserInformation + uuidMetadata:(BOOL)shouldIncludeUUIDMetadata usingClient:(nullable PubNub *)client; /** - * @brief Ensure that specified \c space has exact number of members. + * @brief Ensure that specified \c channel has exact number of \c members. * - * @param space Unique space identifier which should be used with objects API to audit members. - * @param count Expected number of space members. - * @param client \b PubNub client which should be used to audit space objects. Will use + * @param channel Name of channel which should be used with Objects API to audit \c members. + * @param count Expected number of \c channel \c members. + * @param client \b PubNub client which should be used to audit \c channel \c members. Will use * \c self.client if passed \c nil. */ -- (void)verifySpaceMembersCount:(NSString *)space - shouldEqualTo:(NSUInteger)count - usingClient:(nullable PubNub *)client; +- (void)verifyChannelMembersCount:(NSString *)channel + shouldEqualTo:(NSUInteger)count + usingClient:(nullable PubNub *)client; /** - * @brief Remove local cache of space member Object which has been created during test case run. + * @brief Remove local cache of \c channel \c members which has been created during test case run. * - * @param space Unique identifier of space for which member objects should be removed from local - * cache. - * @param user Unique identifier of user which should be removed from \c space members list. + * @param channel Name of channel for which \c member objects should be removed from local cache. + * @param uuid Identifier which should be removed from \c channel \c members list. */ -- (void)deleteSpace:(NSString *)space cachedMemberForUser:(NSString *)user; +- (void)removeChannel:(NSString *)channel cachedMemberForUUID:(NSString *)uuid; /** - * @brief Remove all spaces members Objects which has been created during test case run. + * @brief Remove all \c channels \c members which has been created during test case run. * - * @param spaces List of unique identifier of space for which members objects should be removed. - * @param client \b PubNub client which should be used to manage user objects. Will use - * \c self.client if passed \c nil. + * @param channels List of channel names for which \c member objects should be removed. + * @param client \b PubNub client which should be used to manage \c members. Will use \c self.client + * if passed \c nil. */ -- (void)deleteSpaces:(NSArray *)spaces membersObjectsUsingClient:(nullable PubNub *)client; +- (void)removeChannels:(NSArray *)channels membersObjectsUsingClient:(nullable PubNub *)client; /** - * @brief Remove list of space member Objects which has been created during test case run. + * @brief Remove list of \c channel \c member objects which has been created during test case run. * - * @param space Unique identifier of space for which member objects should be removed. - * @param members List of member Objects which should be removed from \c space. - * @param client \b PubNub client which should be used to manage space objects. Will use - * \c self.client if passed \c nil. + * @param channel Name of channel for which \c member objects should be removed. + * @param members List of member objects which should be removed from \c channel. + * @param client \b PubNub client which should be used to manage \c members. Will use \c self.client + * if passed \c nil. */ -- (void)deleteSpace:(NSString *)space - memberObjects:(NSArray *)members - usingClient:(nullable PubNub *)client; +- (void)removeChannel:(NSString *)channel + memberObjects:(NSArray *)members + usingClient:(nullable PubNub *)client; /** - * @brief Remove all space members Objects which has been created during test case run. + * @brief Remove all \c channel \c members which has been created during test case run. * - * @param space Unique space identifier for which members should be removed. - * @param client \b PubNub client which should be used to manage space objects. Will use - * \c self.client if passed \c nil. + * @param channel Name of channel for which \c members should be removed. + * @param client \b PubNub client which should be used to manage \c members. Will use \c self.client + * if passed \c nil. */ -- (void)deleteSpace:(NSString *)space membersObjectsUsingClient:(nullable PubNub *)client; +- (void)removeChannel:(NSString *)channel membersObjectsUsingClient:(nullable PubNub *)client; /** - * @brief Remove local cache of space Object which has been created during test case run. + * @brief Remove local cache of \c channel \c metadata which has been created during test case run. * - * @param space Unique identifier of space which should be removed from local cache. + * @param channels Name of channel which \c metadata should be removed from local cache. */ -- (void)deleteCachedSpace:(NSString *)space; +- (void)removeCachedChannelsMetadata:(NSString *)channels; /** - * @brief Delete space objects associated with passed list of identifiers. + * @brief Delete \c metadata objects associated with passed \c channels. * - * @param spaces List of unique space object identifiers which should be removed. - * @param client \b PubNub client which should be used to manage space objects. Will use + * @param channels List of channel names for which associated \c metadata should be removed. + * @param client \b PubNub client which should be used to manage \c channel \c metadata. Will use * \c self.client if passed \c nil. */ -- (void)deleteSpaces:(NSArray *)spaces usingClient:(nullable PubNub *)client; +- (void)removeChannelsMetadata:(NSArray *)channels usingClient:(nullable PubNub *)client; /** - * @brief Delete all space Objects which has been created during test case run. + * @brief Delete all \c channel \c metadata objects which has been created during test case run. * - * @param client \b PubNub client which should be used to manage space objects. Will use + * @param client \b PubNub client which should be used to manage \c channel \c metadata. Will use * \c self.client if passed \c nil. */ -- (void)deleteSpaceObjectsUsingClient:(nullable PubNub *)client; +- (void)removeChannelsMetadataUsingClient:(nullable PubNub *)client; #pragma mark - Mocking @@ -802,28 +777,12 @@ typedef void (^PNTClientDidReceiveStatusHandler)(PubNub *client, PNSubscribeStat - (void)addPresenceHandlerForClient:(PubNub *)client withBlock:(PNTClientDidReceivePresenceEventHandler)handler; /** - * @brief Add block which will be called for each received \c user event. + * @brief Add block which will be called for each received \c object event. * - * @param client \b PubNub client for which \c user events should be tracked. + * @param client \b PubNub client for which \c object events should be tracked. * @param handler Block which should be called each \c user event. */ -- (void)addUserHandlerForClient:(PubNub *)client withBlock:(PNTClientDidReceiveUserEventHandler)handler; - -/** - * @brief Add block which will be called for each received \c space event. - * - * @param client \b PubNub client for which \c space events should be tracked. - * @param handler Block which should be called each \c space event. - */ -- (void)addSpaceHandlerForClient:(PubNub *)client withBlock:(PNTClientDidReceiveSpaceEventHandler)handler; - -/** - * @brief Add block which will be called for each received \c membership event. - * - * @param client \b PubNub client for which \c membership events should be tracked. - * @param handler Block which should be called each \c membership event. - */ -- (void)addMembershipHandlerForClient:(PubNub *)client withBlock:(PNTClientDidReceiveMembershipEventHandler)handler; +- (void)addObjectHandlerForClient:(PubNub *)client withBlock:(PNTClientDidReceiveObjectEventHandler)handler; /** * @brief Add block which will be called for each received \c action event. diff --git a/Tests/Tests/Helpers/PNRecordableTestCase.m b/Tests/Tests/Helpers/PNRecordableTestCase.m index 95b0e4e8c..25fc8abd5 100644 --- a/Tests/Tests/Helpers/PNRecordableTestCase.m +++ b/Tests/Tests/Helpers/PNRecordableTestCase.m @@ -31,30 +31,31 @@ NS_ASSUME_NONNULL_BEGIN -@interface PNRecordableTestCase () +@interface PNRecordableTestCase () #pragma mark - Information /** - * @brief List of user membership objects created during current test case. + * @brief List of \c UUID \c membership objects created during current test case. */ -@property (nonatomic, strong) NSMutableDictionary *> *userMembershipObjects; +@property (nonatomic, strong) NSMutableDictionary *> *uuidMembershipObjects; /** - * @brief List of space members objects created during current test case. + * @brief List of \c channel \c members objects created during current test case. */ -@property (nonatomic, strong) NSMutableDictionary *> *spaceMembersObjects; +@property (nonatomic, strong) NSMutableDictionary *> *channelMembersObjects; /** - * @brief List of names which can be used as space object identifiers. + * @brief List of names which can be used as channel identifiers. */ -@property (class, nonatomic, readonly, strong) NSArray *sharedSpaceNamesList; +@property (class, nonatomic, readonly, strong) NSArray *sharedChannelNamesList; /** - * @brief List of names which can be used as \b PubNub client identifiers or user objects. + * @brief List of names which can be used as \b PubNub client identifiers or \c UUID for association + * with \c metadata. */ -@property (class, nonatomic, readonly, strong) NSArray *sharedNamesList; +@property (class, nonatomic, readonly, strong) NSArray *sharedUUIDsList; /** * @brief List of generated and used user-provided values. @@ -107,14 +108,14 @@ @interface PNRecordableTestCase () @property (nonatomic, assign) NSTimeInterval falseTestCompletionDelay; /** - * @brief List of space objects created during current test case. + * @brief List of \c channel \c metadata objects created during current test case. */ -@property (nonatomic, strong) NSMutableArray *spaceObjects; +@property (nonatomic, strong) NSMutableArray *channelMetadataObjects; /** - * @brief List of user objects created during current test case. + * @brief List of \c UUID \c metadata objects created during current test case. */ -@property (nonatomic, strong) NSMutableArray *userObjects; +@property (nonatomic, strong) NSMutableArray *uuidMetadataObjects; /** * @brief PubNub handlers list. @@ -173,24 +174,26 @@ @interface PNRecordableTestCase () #pragma mark - Objects /** - * @brief Remove list of user's membership Objects which has been created during test case run. + * @brief Remove list of \c UUID's \c membership objects which has been created during test case + * run. * - * @param user Unique identifier of user for which membership objects should be removed. - * @param spaces List of space identifiers with which \c user's membership should be removed. - * @param client \b PubNub client which should be used to manage user objects. Will use + * @param uuid Identifier of user for which \c membership objects should be removed. + * @param channels List of channel names with which \c UUID's membership should be removed. + * @param client \b PubNub client which should be used to manage \c memberships. Will use * \c self.client if passed \c nil. */ -- (void)deleteUser:(NSString *)user membershipForSpaces:(NSArray *)spaces usingClient:(nullable PubNub *)client; +- (void)removeUUID:(NSString *)uuid membershipForChannels:(NSArray *)channels + usingClient:(nullable PubNub *)client; /** - * @brief Remove list of space member Objects which has been created during test case run. + * @brief Remove list of \c channel \c member objects which has been created during test case run. * - * @param space Unique identifier of space for which member objects should be removed. - * @param users List of user identifiers which should be removed from \c space's members list. - * @param client \b PubNub client which should be used to manage space objects. Will use - * \c self.client if passed \c nil. + * @param channel Name of channel for which \c members should be removed. + * @param uuids List of identifiers which should be removed from \c channel's members list. + * @param client \b PubNub client which should be used to manage \c members. Will use \c self.client + * if passed \c nil. */ -- (void)deleteSpace:(NSString *)space members:(NSArray *)users usingClient:(nullable PubNub *)client; +- (void)removeChannel:(NSString *)channel members:(NSArray *)uuids usingClient:(nullable PubNub *)client; #pragma mark - Listeners @@ -283,7 +286,7 @@ @implementation PNRecordableTestCase #pragma mark - Information -+ (NSArray *)sharedSpaceNamesList { ++ (NSArray *)sharedChannelNamesList { static NSArray *_sharedSpaceNamesList; static dispatch_once_t onceToken; @@ -302,7 +305,7 @@ @implementation PNRecordableTestCase return _sharedSpaceNamesList; } -+ (NSArray *)sharedNamesList { ++ (NSArray *)sharedUUIDsList { static NSArray *_sharedNamesList; static dispatch_once_t onceToken; @@ -346,16 +349,16 @@ - (void)setUp { self.falseTestCompletionDelay = YHVVCR.cassette.isNewCassette ? self.testCompletionDelay : 0.25f; self.randomizedUserProvidedValues = [NSMutableDictionary new]; self.randomizedChannelGroups = [NSMutableDictionary new]; - self.userMembershipObjects = [NSMutableDictionary new]; - self.spaceMembersObjects = [NSMutableDictionary new]; + self.uuidMembershipObjects = [NSMutableDictionary new]; + self.channelMembersObjects = [NSMutableDictionary new]; self.randomizedChannels = [NSMutableDictionary new]; self.randomizedAuths = [NSMutableDictionary new]; self.randomizedUUIDs = [NSMutableDictionary new]; self.pubNubHandlers = [NSMutableDictionary new]; self.instanceMocks = [NSMutableArray new]; self.clientClones = [NSMutableDictionary new]; - self.spaceObjects = [NSMutableArray new]; - self.userObjects = [NSMutableArray new]; + self.channelMetadataObjects = [NSMutableArray new]; + self.uuidMetadataObjects = [NSMutableArray new]; self.classMocks = [NSMutableArray new]; self.clients = [NSMutableDictionary new]; } @@ -371,8 +374,6 @@ - (void)tearDown { #if WRITING_CASSETTES if (shouldPostponeTearDown && shouldWaitToRecordResponses) { NSLog(@"\nTest completed. Record final requests from clients.\n"); - } else if (!shouldWaitToRecordResponses) { - NSLog(@"\nTest completed.\n"); } #endif // WRITING_CASSETTES @@ -404,8 +405,8 @@ - (void)tearDown { [self.pubNubHandlers removeAllObjects]; }); - [self.spaceObjects removeAllObjects]; - [self.userObjects removeAllObjects]; + [self.channelMetadataObjects removeAllObjects]; + [self.uuidMetadataObjects removeAllObjects]; [self.clientClones removeAllObjects]; [self.clients removeAllObjects]; @@ -444,7 +445,7 @@ - (BOOL)usePAMEnabledKeysForTestCaseWithName:(NSString *)name { - (NSString *)pubNubUUIDForTestCaseWithName:(NSString *)name { NSString *uuid = nil; - for (uuid in [self class].sharedNamesList) { + for (uuid in [self class].sharedUUIDsList) { if (![self pubNubForUser:uuid]) { break; } @@ -1171,36 +1172,36 @@ - (void)setState:(NSDictionary *)state onChannel:(NSString *)channel usingClient #pragma mark - Objects - (void)removeAllObjects { - __block NSArray *spaceIdentifiers = nil; - __block NSArray *userIdentifiers = nil; + __block NSArray *channels = nil; + __block NSArray *uuids = nil; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchUsers().performWithCompletion(^(PNFetchUsersResult *result, PNErrorStatus *status) { - userIdentifiers = [result.data.users valueForKey:@"identifier"] ?: @[]; + self.client.objects().allUUIDMetadata().performWithCompletion(^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) { + uuids = [result.data.metadata valueForKey:@"uuid"] ?: @[]; + handler(); }); }]; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchSpaces().performWithCompletion(^(PNFetchSpacesResult *result, PNErrorStatus *status) { - spaceIdentifiers = [result.data.spaces valueForKey:@"identifier"] ?: @[]; + self.client.objects().allChannelsMetadata().performWithCompletion(^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { + channels = [result.data.metadata valueForKey:@"channel"] ?: @[]; + handler(); }); }]; - for (NSString *user in userIdentifiers) { + for (NSString *uuid in uuids) { [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMemberships().userId(user).performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) { - NSArray *spaceIdentifiers = [result.data.memberships valueForKey:@"spaceId"]; + self.client.objects().memberships().uuid(uuid).performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) { + NSArray *channelNames = [result.data.memberships valueForKey:@"channel"] ?: @[]; - if (spaceIdentifiers.count) { - self.client.manageMemberships() - .userId(user) - .remove(spaceIdentifiers) + if (channelNames.count) { + self.client.objects().removeMemberships() + .uuid(uuid) + .channels(channelNames) .performWithCompletion(^(PNManageMembershipsStatus *status) { - NSLog(@"%@ %@'s MEMBERSHIPS HAS BEEN REMOVED", - @(spaceIdentifiers.count), user); - + NSLog(@"%@ %@'s MEMBERSHIPS HAS BEEN REMOVED", @(channelNames.count), uuid); handler(); }); } else { @@ -1211,74 +1212,76 @@ - (void)removeAllObjects { } - for (NSString *user in userIdentifiers) { + for (NSString *uuid in uuids) { [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.deleteUser().userId(user).performWithCompletion(^(PNAcknowledgmentStatus *status) { + self.client.objects().removeUUIDMetadata().uuid(uuid).performWithCompletion(^(PNAcknowledgmentStatus *status) { handler(); }); }]; } - for (NSString *space in spaceIdentifiers) { + for (NSString *channel in channels) { [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.deleteSpace().spaceId(space).performWithCompletion(^(PNAcknowledgmentStatus *status) { + self.client.objects().removeChannelMetadata(channel).performWithCompletion(^(PNAcknowledgmentStatus *status) { handler(); }); }]; } - if (userIdentifiers.count || spaceIdentifiers.count) { - if (userIdentifiers.count) { - NSLog(@"%@ USERS HAS BEEN REMOVED", @(userIdentifiers.count)); + if (uuids.count || channels.count) { + if (uuids.count) { + NSLog(@"%@ UUIDs HAS BEEN REMOVED", @(uuids.count)); } - if (spaceIdentifiers.count) { - NSLog(@"%@ SPACES HAS BEEN REMOVED", @(spaceIdentifiers.count)); + if (channels.count) { + NSLog(@"%@ CHANNELS HAS BEEN REMOVED", @(channels.count)); } [self waitTask:@"waitForDistribution" completionFor:1.f]; } } -- (NSArray *)createObjectForUsers:(NSUInteger)objectsCount usingClient:(PubNub *)client { - objectsCount = MIN(objectsCount, [self class].sharedNamesList.count); - NSMutableArray *userNames = [NSMutableArray new]; +- (NSArray *)setUUIDMetadata:(NSUInteger)objectsCount usingClient:(PubNub *)client { + objectsCount = MIN(objectsCount, [self class].sharedUUIDsList.count); + NSMutableArray *uuids = [NSMutableArray new]; for (NSUInteger objectIdx = 0; objectIdx < objectsCount; objectIdx++) { - [userNames addObject:[self class].sharedNamesList[objectIdx]]; + [uuids addObject:[self class].sharedUUIDsList[objectIdx]]; } - return [self createObjectForUsersWithNames:userNames usingClient:client]; + return [self setMetadataForUUIDs:uuids usingClient:client]; } -- (PNUser *)createObjectForUserWithName:(NSString *)name usingClient:(PubNub *)client { - return [self createObjectForUsersWithNames:@[name] usingClient:client].firstObject; +- (PNUUIDMetadata *)setMetadataForUUID:(NSString *)uuid usingClient:(PubNub *)client { + return [self setMetadataForUUIDs:@[uuid] usingClient:client].firstObject; } -- (NSArray *)createObjectForUsersWithNames:(NSArray *)names usingClient:(PubNub *)client { - NSMutableArray *users = [NSMutableArray new]; +- (NSArray *)setMetadataForUUIDs:(NSArray *)uuids + usingClient:(PubNub *)client { + + NSMutableArray *uuidsMetadata = [NSMutableArray new]; client = client ?: self.client; - for (NSString *name in names) { - NSString *randomizedName = [self randomizedValuesWithValues:@[name]].firstObject; - NSString *identifier = [@[randomizedName, @"user", @"identifier"] componentsJoinedByString:@"-"]; + for (NSString *uuid in uuids) { + NSString *randomizedIdentifier = [self randomizedValuesWithValues:@[uuid]].firstObject; + NSString *identifier = [@[randomizedIdentifier, @"uuid", @"identifier"] componentsJoinedByString:@"-"]; NSDictionary *custom = @{ - @"user-custom1": [@[name, @"custom", @"data", @"1"] componentsJoinedByString:@"-"], - @"user-custom2": [@[name, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] + @"uuid-custom1": [@[uuid, @"custom", @"data", @"1"] componentsJoinedByString:@"-"], + @"uuid-custom2": [@[uuid, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] }; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.createUser() - .userId(identifier) - .name(name) + self.client.objects().setUUIDMetadata() + .uuid(identifier) + .name(uuid) .custom(custom) - .includeFields(PNUserCustomField) - .performWithCompletion(^(PNCreateUserStatus *status) { + .includeFields(PNUUIDCustomField) + .performWithCompletion(^(PNSetUUIDMetadataStatus *status) { XCTAssertFalse(status.isError); - XCTAssertNotNil(status.data.user); + XCTAssertNotNil(status.data.metadata); - [users addObject:status.data.user]; - [self.userObjects addObject:status.data.user]; + [uuidsMetadata addObject:status.data.metadata]; + [self.uuidMetadataObjects addObject:status.data.metadata]; handler(); }); @@ -1287,19 +1290,19 @@ - (PNUser *)createObjectForUserWithName:(NSString *)name usingClient:(PubNub *)c [self waitTask:@"waitForDistribution" completionFor:(YHVVCR.cassette.isNewCassette ? 1.f : 0.f)]; - return users; + return uuidsMetadata; } -- (void)verifyUsersCountShouldEqualTo:(NSUInteger)count usingClient:(PubNub *)client { +- (void)verifyUUIDMetadataCountShouldEqualTo:(NSUInteger)count usingClient:(PubNub *)client { client = client ?: self.client; [self waitTask:@"waitForDistribution" completionFor:(YHVVCR.cassette.isNewCassette ? 1.f : 0.f)]; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.fetchUsers() + client.objects().allUUIDMetadata() .includeCount(YES) - .performWithCompletion(^(PNFetchUsersResult *result, PNErrorStatus * status) { + .performWithCompletion(^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) { XCTAssertNil(status); XCTAssertEqual(result.data.totalCount, count); @@ -1308,62 +1311,70 @@ - (void)verifyUsersCountShouldEqualTo:(NSUInteger)count usingClient:(PubNub *)cl }]; } -- (NSArray *)createUsersMembership:(NSArray *)users - inSpaces:(NSArray *)spaces +- (NSArray *)createUUIDsMembership:(NSArray *)uuids + inChannels:(NSArray *)channels withCustoms:(NSArray *)customs usingClient:(PubNub *)client { - return [self createUsersMembership:users - inSpaces:spaces + return [self createUUIDsMembership:uuids + inChannels:channels withCustoms:customs - spaceInformation:NO + channelMetadata:NO usingClient:client]; } -- (NSArray *)createUsersMembership:(NSArray *)users - inSpaces:(NSArray *)spaces +- (NSArray *)createUUIDsMembership:(NSArray *)uuids + inChannels:(NSArray *)channels withCustoms:(NSArray *)customs - spaceInformation:(BOOL)shouldIncludeSpaceInformation + channelMetadata:(BOOL)shouldIncludeChannelMetadata usingClient:(PubNub *)client { - NSMutableArray *createdUserMemberships = [NSMutableArray new]; - NSMutableArray *spacesForMembership = [NSMutableArray new]; + NSMutableArray *createdUUIDMemberships = [NSMutableArray new]; + NSMutableArray *channelsForMembership = [NSMutableArray new]; client = client ?: self.client; - for (NSUInteger spaceIdx = 0; spaceIdx < spaces.count; spaceIdx++) { - NSMutableDictionary *spaceData = [@{ @"spaceId": spaces[spaceIdx].identifier } mutableCopy]; + for (NSUInteger channelIdx = 0; channelIdx < channels.count; channelIdx++) { + NSMutableDictionary *channelData = [@{ @"channel": channels[channelIdx] } mutableCopy]; - if (customs && spaceIdx < customs.count) { - spaceData[@"custom"] = customs[spaceIdx]; + if (customs && channelIdx < customs.count) { + channelData[@"custom"] = customs[channelIdx]; } - [spacesForMembership addObject:spaceData]; + [channelsForMembership addObject:channelData]; } - PNMembershipFields fileds = PNMembershipCustomField; + PNMembershipFields fields = PNMembershipCustomField; - if (shouldIncludeSpaceInformation) { - fileds |= PNMembershipSpaceField; + if (shouldIncludeChannelMetadata) { + fields |= PNMembershipChannelField; } - for (PNUser *user in users) { - if (!self.userMembershipObjects[user.identifier]) { - self.userMembershipObjects[user.identifier] = [NSMutableArray new]; + for (NSString *uuid in uuids) { + if (!self.uuidMembershipObjects[uuid]) { + self.uuidMembershipObjects[uuid] = [NSMutableArray new]; } [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.manageMemberships() - .userId(user.identifier) - .add(spacesForMembership) - .includeFields(fileds) + client.objects().setMemberships() + .uuid(uuid) + .channels(channelsForMembership) + .includeFields(fields) .performWithCompletion(^(PNManageMembershipsStatus *status) { - XCTAssertFalse(status.isError); + XCTAssertFalse(status.isError); XCTAssertNotNil(status.data.memberships); - [createdUserMemberships addObjectsFromArray:status.data.memberships]; - [self.userMembershipObjects[user.identifier] addObjectsFromArray:status.data.memberships]; + for (NSUInteger channelIdx = 0; channelIdx < channels.count; channelIdx++) { + for (PNMembership *membership in status.data.memberships) { + if ([membership.channel isEqualToString:channels[channelIdx]]) { + [createdUUIDMemberships addObject:membership]; + break; + } + } + } + + [self.uuidMembershipObjects[uuid] addObjectsFromArray:status.data.memberships]; handler(); }); @@ -1372,15 +1383,15 @@ - (void)verifyUsersCountShouldEqualTo:(NSUInteger)count usingClient:(PubNub *)cl [self waitTask:@"waitForDistribution" completionFor:(YHVVCR.cassette.isNewCassette ? 1.f : 0.f)]; - return createdUserMemberships; + return createdUUIDMemberships; } -- (void)verifyUserMembershipsCount:(NSString *)user shouldEqualTo:(NSUInteger)count usingClient:(PubNub *)client { +- (void)verifyUUIDMembershipsCount:(NSString *)uuid shouldEqualTo:(NSUInteger)count usingClient:(PubNub *)client { client = client ?: self.client; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.fetchMemberships() - .userId(user) + client.objects().memberships() + .uuid(uuid) .performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) { NSArray *memberships = result.data.memberships; XCTAssertNil(status); @@ -1392,60 +1403,60 @@ - (void)verifyUserMembershipsCount:(NSString *)user shouldEqualTo:(NSUInteger)co }]; } -- (void)deleteUser:(NSString *)user cachedMembershipForSpace:(NSString *)space { +- (void)removeUUID:(NSString *)uuid cachedMembershipForChannel:(NSString *)channel { PNMembership *membership = nil; - for (membership in self.userMembershipObjects[user]) { - if ([membership.spaceId isEqualToString:space]) { + for (membership in self.uuidMembershipObjects[uuid]) { + if ([membership.channel isEqualToString:channel]) { break; } } - [self.userMembershipObjects[user] removeObject:membership]; + [self.uuidMembershipObjects[uuid] removeObject:membership]; } -- (void)deleteUser:(NSString *)user +- (void)removeUUID:(NSString *)uuid membershipObjects:(NSArray *)memberships - usingClient:(PubNub *)client { + usingClient:(nullable PubNub *)client { - [self deleteUser:user membershipForSpaces:[memberships valueForKey:@"spaceId"] usingClient:client]; + [self removeUUID:uuid membershipForChannels:[memberships valueForKey:@"channel"] usingClient:client]; } -- (void)deleteUsers:(NSArray *)users membershipObjectsUsingClient:(PubNub *)client { - for (NSString *user in users) { - [self deleteUser:user membershipObjectsUsingClient:client]; +- (void)removeUUIDs:(NSArray *)uuids membershipObjectsUsingClient:(nullable PubNub *)client { + for (NSString *uuid in uuids) { + [self removeUUID:uuid membershipObjectsUsingClient:client]; } } -- (void)deleteUser:(NSString *)user membershipObjectsUsingClient:(PubNub *)client { - if (!self.userMembershipObjects[user].count) { +- (void)removeUUID:(NSString *)uuid membershipObjectsUsingClient:(nullable PubNub *)client { + if (!self.uuidMembershipObjects[uuid].count) { return; } - NSArray *spaceIdentifiers = [self.userMembershipObjects[user] valueForKey:@"spaceId"]; - - [self deleteUser:user membershipForSpaces:spaceIdentifiers usingClient:client]; + NSArray *channels = [self.uuidMembershipObjects[uuid] valueForKey:@"channel"]; + + [self removeUUID:uuid membershipForChannels:channels usingClient:client]; } -- (void)deleteUser:(NSString *)user membershipForSpaces:(NSArray *)spaces usingClient:(PubNub *)client { +- (void)removeUUID:(NSString *)uuid membershipForChannels:(NSArray *)channels usingClient:(PubNub *)client { client = client ?: self.client; - if (!spaces.count) { + if (!channels.count) { return; } [self waitTask:@"waitForDistribution" completionFor:(YHVVCR.cassette.isNewCassette ? 1.f : 0.f)]; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.manageMemberships() - .userId(user) - .remove(spaces) + client.objects().removeMemberships() + .uuid(uuid) + .channels(channels) .performWithCompletion(^(PNManageMembershipsStatus *status) { XCTAssertFalse(status.isError); if (status.isError) { - NSLog(@"'%@' USER MEMBERSHIP REMOVE ERROR: %@\n%@", - user, status.errorData.information, + NSLog(@"'%@' UUID MEMBERSHIP REMOVE ERROR: %@\n%@", + uuid, status.errorData.information, [status valueForKey:@"clientRequest"]); } @@ -1454,35 +1465,35 @@ - (void)deleteUser:(NSString *)user membershipForSpaces:(NSArray *)s }]; } -- (void)deleteCachedUser:(NSString *)user { - PNUser *cachedUser = nil; +- (void)removeCachedUUIDMetadata:(NSString *)uuid { + PNUUIDMetadata *metadata = nil; - for (cachedUser in self.userObjects) { - if ([cachedUser.identifier isEqualToString:user]) { + for (metadata in self.uuidMetadataObjects) { + if ([metadata.uuid isEqualToString:uuid]) { break; } } - [self.userObjects removeObject:cachedUser]; + [self.uuidMetadataObjects removeObject:metadata]; } -- (void)deleteUsers:(NSArray *)users usingClient:(PubNub *)client { +- (void)removeUUIDsMetadata:(NSArray *)uuids usingClient:(nullable PubNub *)client { client = client ?: self.client; - if (!users.count) { + if (!uuids.count) { return; } - for (NSString *user in users) { + for (NSString *uuid in uuids) { [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.deleteUser() - .userId(user) + client.objects().removeUUIDMetadata() + .uuid(uuid) .performWithCompletion(^(PNAcknowledgmentStatus *status) { XCTAssertFalse(status.isError); if (status.isError) { - NSLog(@"'%@' USER REMOVE ERROR: %@\n%@", - user, status.errorData.information, + NSLog(@"'%@' UUID METADATA REMOVE ERROR: %@\n%@", + uuid, status.errorData.information, [status valueForKey:@"clientRequest"]); } @@ -1494,54 +1505,53 @@ - (void)deleteUsers:(NSArray *)users usingClient:(PubNub *)client { [self waitTask:@"waitForDistribution" completionFor:(YHVVCR.cassette.isNewCassette ? 1.f : 0.f)]; } -- (void)deleteUserObjectsUsingClient:(PubNub *)client { - if (!self.userObjects.count) { +- (void)removeAllUUIDMetadataUsingClient:(nullable PubNub *)client { + if (!self.uuidMetadataObjects.count) { return; } - - [self deleteUsers:[self.userObjects valueForKey:@"identifier"] usingClient:client]; + + [self removeUUIDsMetadata:[self.uuidMetadataObjects valueForKey:@"uuid"] usingClient:client]; } -- (NSArray *)createObjectForSpaces:(NSUInteger)objectsCount usingClient:(PubNub *)client { - objectsCount = MIN(objectsCount, [self class].sharedSpaceNamesList.count); - NSMutableArray *spaceNames = [NSMutableArray new]; +- (NSArray *)setChannelsMetadata:(NSUInteger)objectsCount usingClient:(PubNub *)client { + objectsCount = MIN(objectsCount, [self class].sharedChannelNamesList.count); + NSMutableArray *channelNames = [NSMutableArray new]; for (NSUInteger objectIdx = 0; objectIdx < objectsCount; objectIdx++) { - [spaceNames addObject:[self class].sharedSpaceNamesList[objectIdx]]; + [channelNames addObject:[self class].sharedChannelNamesList[objectIdx]]; } - return [self createObjectForSpacesWithNames:spaceNames usingClient:client]; + return [self setMetadataForChannels:channelNames usingClient:client]; } -- (PNSpace *)createObjectForSpaceWithName:(NSString *)name usingClient:(PubNub *)client { - return [self createObjectForSpacesWithNames:@[name] usingClient:client].firstObject; +- (PNChannelMetadata *)setMetadataForChannel:(NSString *)channel usingClient:(PubNub *)client { + return [self setMetadataForChannels:@[channel] usingClient:client].firstObject; } -- (NSArray *)createObjectForSpacesWithNames:(NSArray *)names - usingClient:(PubNub *)client { - NSMutableArray *spaces = [NSMutableArray new]; +- (NSArray *)setMetadataForChannels:(NSArray *)channels + usingClient:(PubNub *)client { + NSMutableArray *channelsMetadata = [NSMutableArray new]; client = client ?: self.client; - for (NSString *name in names) { - NSString *randomizedName = [self randomizedValuesWithValues:@[name]].firstObject; - NSString *identifier = [@[randomizedName, @"space", @"identifier"] componentsJoinedByString:@"-"]; + for (NSString *channel in channels) { + NSString *randomizedIdentifier = [self randomizedValuesWithValues:@[channel]].firstObject; + NSString *identifier = [@[randomizedIdentifier, @"channel", @"identifier"] componentsJoinedByString:@"-"]; NSDictionary *custom = @{ - @"space-custom1": [@[name, @"custom", @"data", @"1"] componentsJoinedByString:@"-"], - @"space-custom2": [@[name, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] + @"channel-custom1": [@[channel, @"custom", @"data", @"1"] componentsJoinedByString:@"-"], + @"channel-custom2": [@[channel, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] }; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.createSpace() - .spaceId(identifier) - .name(name) + client.objects().setChannelMetadata(identifier) + .name(channel) .custom(custom) - .includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNCreateSpaceStatus *status) { + .includeFields(PNChannelCustomField) + .performWithCompletion(^(PNSetChannelMetadataStatus *status) { XCTAssertFalse(status.isError); - XCTAssertNotNil(status.data.space); + XCTAssertNotNil(status.data.metadata); - [spaces addObject:status.data.space]; - [self.spaceObjects addObject:status.data.space]; + [channelsMetadata addObject:status.data.metadata]; + [self.channelMetadataObjects addObject:status.data.metadata]; handler(); }); @@ -1550,19 +1560,19 @@ - (PNSpace *)createObjectForSpaceWithName:(NSString *)name usingClient:(PubNub * [self waitTask:@"waitForDistribution" completionFor:(YHVVCR.cassette.isNewCassette ? 1.f : 0.f)]; - return spaces; + return channelsMetadata; } -- (void)verifySpacesCountShouldEqualTo:(NSUInteger)count usingClient:(PubNub *)client { +- (void)verifyChannelsMetadataCountShouldEqualTo:(NSUInteger)count usingClient:(PubNub *)client { client = client ?: self.client; [self waitTask:@"waitForDistribution" completionFor:(YHVVCR.cassette.isNewCassette ? 1.f : 0.f)]; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.fetchSpaces() + client.objects().allChannelsMetadata() .includeCount(YES) - .performWithCompletion(^(PNFetchSpacesResult *result, PNErrorStatus * status) { + .performWithCompletion(^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { XCTAssertNil(status); XCTAssertEqual(result.data.totalCount, count); @@ -1571,60 +1581,68 @@ - (void)verifySpacesCountShouldEqualTo:(NSUInteger)count usingClient:(PubNub *)c }]; } -- (NSArray *)addMembers:(NSArray *)members - toSpaces:(NSArray *)spaces - withCustoms:(NSArray *)customs - usingClient:(PubNub *)client { +- (NSArray *)addMembers:(NSArray *)uuids + toChannels:(NSArray *)channels + withCustoms:(nullable NSArray *)customs + usingClient:(nullable PubNub *)client { - return [self addMembers:members - toSpaces:spaces + return [self addMembers:uuids + toChannels:channels withCustoms:customs - userInformation:NO + uuidMetadata:NO usingClient:client]; } -- (NSArray *)addMembers:(NSArray *)members - toSpaces:(NSArray *)spaces - withCustoms:(NSArray *)customs - userInformation:(BOOL)shouldIncludeUserInformation - usingClient:(PubNub *)client { +- (NSArray *)addMembers:(NSArray *)uuids + toChannels:(NSArray *)channels + withCustoms:(nullable NSArray *)customs + uuidMetadata:(BOOL)shouldIncludeUUIDMetadata + usingClient:(nullable PubNub *)client { - NSMutableArray *createdSpaceMembers = [NSMutableArray new]; - NSMutableArray *spaceMembers = [NSMutableArray new]; + NSMutableArray *createdChannelMembers = [NSMutableArray new]; + NSMutableArray *membersToAdd = [NSMutableArray new]; client = client ?: self.client; - for (NSUInteger memberIdx = 0; memberIdx < members.count; memberIdx++) { - NSMutableDictionary *memberData = [@{ @"userId": members[memberIdx].identifier } mutableCopy]; + for (NSUInteger memberIdx = 0; memberIdx < uuids.count; memberIdx++) { + NSMutableDictionary *memberData = [@{ @"uuid": uuids[memberIdx] } mutableCopy]; if (customs && memberIdx < customs.count) { memberData[@"custom"] = customs[memberIdx]; } - [spaceMembers addObject:memberData]; + [membersToAdd addObject:memberData]; } PNMemberFields fields = PNMemberCustomField; - if (shouldIncludeUserInformation) { - fields |= PNMemberUserField; + if (shouldIncludeUUIDMetadata) { + fields |= PNMemberUUIDField; } - for (PNSpace *space in spaces) { - if (!self.spaceMembersObjects[space.identifier]) { - self.spaceMembersObjects[space.identifier] = [NSMutableArray new]; + for (NSString *channel in channels) { + if (!self.channelMembersObjects[channel]) { + self.channelMembersObjects[channel] = [NSMutableArray new]; } [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.manageMembers() - .spaceId(space.identifier) - .add(spaceMembers) + client.objects() + .setMembers(channel) + .uuids(membersToAdd) .includeFields(fields) .performWithCompletion(^(PNManageMembersStatus *status) { XCTAssertFalse(status.isError); XCTAssertNotNil(status.data.members); - [createdSpaceMembers addObjectsFromArray:status.data.members]; - [self.spaceMembersObjects[space.identifier] addObjectsFromArray:status.data.members]; + for (NSUInteger memberIdx = 0; memberIdx < uuids.count; memberIdx++) { + for (PNMember *member in status.data.members) { + if ([member.uuid isEqualToString:uuids[memberIdx]]) { + [createdChannelMembers addObject:member]; + break; + } + } + } + + [self.channelMembersObjects[channel] addObjectsFromArray:status.data.members]; handler(); }); @@ -1633,15 +1651,14 @@ - (void)verifySpacesCountShouldEqualTo:(NSUInteger)count usingClient:(PubNub *)c [self waitTask:@"waitForDistribution" completionFor:(YHVVCR.cassette.isNewCassette ? 1.f : 0.f)]; - return createdSpaceMembers; + return createdChannelMembers; } -- (void)verifySpaceMembersCount:(NSString *)space shouldEqualTo:(NSUInteger)count usingClient:(PubNub *)client { +- (void)verifyChannelMembersCount:(NSString *)channel shouldEqualTo:(NSUInteger)count usingClient:(PubNub *)client { client = client ?: self.client; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.fetchMembers() - .spaceId(space) + client.objects().members(channel) .performWithCompletion(^(PNFetchMembersResult *result, PNErrorStatus *status) { NSArray *members = result.data.members; XCTAssertNil(status); @@ -1653,108 +1670,104 @@ - (void)verifySpaceMembersCount:(NSString *)space shouldEqualTo:(NSUInteger)coun }]; } -- (void)deleteSpace:(NSString *)space cachedMemberForUser:(NSString *)user { +- (void)removeChannel:(NSString *)channel cachedMemberForUUID:(NSString *)uuid { PNMember *member = nil; - for (member in self.spaceMembersObjects[space]) { - if ([member.userId isEqualToString:user]) { + for (member in self.channelMembersObjects[channel]) { + if ([member.uuid isEqualToString:uuid]) { break; } } - [self.spaceMembersObjects[space] removeObject:member]; + [self.channelMembersObjects[channel] removeObject:member]; } -- (void)deleteSpaces:(NSArray *)spaces membersObjectsUsingClient:(PubNub *)client { - for (NSString *space in spaces) { - [self deleteSpace:space membersObjectsUsingClient:client]; +- (void)removeChannels:(NSArray *)channels membersObjectsUsingClient:(nullable PubNub *)client { + for (NSString *channel in channels) { + [self removeChannel:channel membersObjectsUsingClient:client]; } } -- (void)deleteSpace:(NSString *)space memberObjects:(NSArray *)members usingClient:(PubNub *)client { - [self deleteSpace:space members:[members valueForKey:@"userId"] usingClient:client]; +- (void)removeChannel:(NSString *)channel memberObjects:(NSArray *)members usingClient:(nullable PubNub *)client { + [self removeChannel:channel members:[members valueForKey:@"uuid"] usingClient:client]; } -- (void)deleteSpace:(NSString *)space membersObjectsUsingClient:(nullable PubNub *)client { - if (!self.spaceMembersObjects[space].count) { +- (void)removeChannel:(NSString *)channel membersObjectsUsingClient:(nullable PubNub *)client { + if (!self.channelMembersObjects[channel].count) { return; } - - [self deleteSpace:space members:[self.spaceMembersObjects[space] valueForKey:@"userId"] usingClient:client]; + + [self removeChannel:channel members:[self.channelMembersObjects[channel] valueForKey:@"uuid"] usingClient:client]; } -- (void)deleteSpace:(NSString *)space members:(NSArray *)users usingClient:(PubNub *)client { +- (void)removeChannel:(NSString *)channel members:(NSArray *)uuids usingClient:(nullable PubNub *)client { client = client ?: self.client; - if (!users.count) { + if (!uuids.count) { return; } [self waitTask:@"waitForDistribution" completionFor:(YHVVCR.cassette.isNewCassette ? 1.f : 0.f)]; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.manageMembers() - .spaceId(space) - .remove(users) - .performWithCompletion(^(PNManageMembersStatus *status) { - XCTAssertFalse(status.isError); - - if (status.isError) { - NSLog(@"'%@' SPACE MEMBERS REMOVE ERROR: %@\n%@", - space, status.errorData.information, - [status valueForKey:@"clientRequest"]); - } - - handler(); - }); + client.objects().removeMembers(channel).uuids(uuids).performWithCompletion(^(PNManageMembersStatus *status) { + XCTAssertFalse(status.isError); + + if (status.isError) { + NSLog(@"'%@' CHANNEL MEMBERS REMOVE ERROR: %@\n%@", + channel, status.errorData.information, + [status valueForKey:@"clientRequest"]); + } + + handler(); + }); }]; } -- (void)deleteCachedSpace:(NSString *)space { - PNSpace *cachedSpace = nil; +- (void)removeCachedChannelsMetadata:(NSString *)channels { + PNChannelMetadata *metadata = nil; - for (cachedSpace in self.spaceObjects) { - if ([cachedSpace.identifier isEqualToString:space]) { + for (metadata in self.channelMetadataObjects) { + if ([metadata.channel isEqualToString:channels]) { break; } } - [self.spaceObjects removeObject:cachedSpace]; + [self.channelMetadataObjects removeObject:metadata]; } -- (void)deleteSpaces:(NSArray *)spaces usingClient:(PubNub *)client { +- (void)removeChannelsMetadata:(NSArray *)channels usingClient:(nullable PubNub *)client { client = client ?: self.client; - if (!spaces.count) { + if (!channels.count) { return; } - for (NSString *space in spaces) { + for (NSString *channel in channels) { [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - client.deleteSpace().spaceId(space) - .performWithCompletion(^(PNAcknowledgmentStatus *status) { - XCTAssertFalse(status.isError); - - if (status.isError) { - NSLog(@"'%@' SPACE REMOVE ERROR: %@\n%@", - space, status.errorData.information, - [status valueForKey:@"clientRequest"]); - } - - handler(); - }); + client.objects().removeChannelMetadata(channel).performWithCompletion(^(PNAcknowledgmentStatus *status) { + XCTAssertFalse(status.isError); + + if (status.isError) { + NSLog(@"'%@' CHANNEL METADATA REMOVE ERROR: %@\n%@", + channel, status.errorData.information, + [status valueForKey:@"clientRequest"]); + } + + handler(); + }); }]; } [self waitTask:@"waitForDistribution" completionFor:(YHVVCR.cassette.isNewCassette ? 1.f : 0.f)]; } -- (void)deleteSpaceObjectsUsingClient:(PubNub *)client { - if (!self.spaceObjects.count) { +- (void)removeChannelsMetadataUsingClient:(nullable PubNub *)client { + if (!self.channelMetadataObjects.count) { return; } - - [self deleteSpaces:[self.spaceObjects valueForKey:@"identifier"] usingClient:client]; + + [self removeChannelsMetadata:[self.channelMetadataObjects valueForKey:@"channel"] usingClient:client]; } @@ -1838,16 +1851,8 @@ - (void)addPresenceHandlerForClient:(PubNub *)client withBlock:(PNTClientDidRece [self addHandlerOfType:@"presence" forClient:client withBlock:handler]; } -- (void)addUserHandlerForClient:(PubNub *)client withBlock:(PNTClientDidReceiveUserEventHandler)handler { - [self addHandlerOfType:@"user" forClient:client withBlock:handler]; -} - -- (void)addSpaceHandlerForClient:(PubNub *)client withBlock:(PNTClientDidReceiveSpaceEventHandler)handler { - [self addHandlerOfType:@"space" forClient:client withBlock:handler]; -} - -- (void)addMembershipHandlerForClient:(PubNub *)client withBlock:(PNTClientDidReceiveMembershipEventHandler)handler { - [self addHandlerOfType:@"membership" forClient:client withBlock:handler]; +- (void)addObjectHandlerForClient:(PubNub *)client withBlock:(PNTClientDidReceiveObjectEventHandler)handler { + [self addHandlerOfType:@"object" forClient:client withBlock:handler]; } - (void)addActionHandlerForClient:(PubNub *)client withBlock:(PNTClientDidReceiveMessageActionHandler)handler { @@ -1902,16 +1907,8 @@ - (void)client:(PubNub *)client didReceiveMessageAction:(PNMessageActionResult * [self handleClient:client eventWithData:action type:@"actions"]; } -- (void)client:(PubNub *)client didReceiveUserEvent:(PNUserEventResult *)event { - [self handleClient:client eventWithData:event type:@"user"]; -} - -- (void)client:(PubNub *)client didReceiveSpaceEvent:(PNSpaceEventResult *)event { - [self handleClient:client eventWithData:event type:@"space"]; -} - -- (void)client:(PubNub *)client didReceiveMembershipEvent:(PNMembershipEventResult *)event { - [self handleClient:client eventWithData:event type:@"membership"]; +- (void)client:(PubNub *)client didReceiveObjectEvent:(PNObjectEventResult *)event { + [self handleClient:client eventWithData:event type:@"object"]; } - (void)waitForObject:(id)object diff --git a/Tests/Tests/Integration/Objects/PNChannelMetadataIntegrationTest.m b/Tests/Tests/Integration/Objects/PNChannelMetadataIntegrationTest.m new file mode 100644 index 000000000..0b1f92e3e --- /dev/null +++ b/Tests/Tests/Integration/Objects/PNChannelMetadataIntegrationTest.m @@ -0,0 +1,432 @@ +/** + * @author Serhii Mamontov + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNRecordableTestCase.h" +#import +#import + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +@interface PNChannelMetadataIntegrationTest : PNRecordableTestCase + + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Tests + +@implementation PNChannelMetadataIntegrationTest + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Warc-retain-cycles" + + +#pragma mark - Setup / Tear down + +- (void)setUp { + [super setUp]; + + + [self completePubNubConfiguration:self.client]; + [self removeAllObjects]; +} + + +#pragma mark - Tests :: Builder pattern-based set channel metadata + +- (void)testItShouldSetChannelMetadataAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlyChannelIsSet { + NSString *identifier = [self randomizedValuesWithValues:@[@"test-channel"]].firstObject; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().setChannelMetadata(identifier) + .performWithCompletion(^(PNSetChannelMetadataStatus *status) { + PNChannelMetadata *metadata = status.data.metadata; + XCTAssertFalse(status.isError); + XCTAssertNotNil(metadata); + XCTAssertEqualObjects(metadata.custom, [NSNull null]); + XCTAssertEqualObjects(metadata.channel, identifier); + XCTAssertNotNil(metadata.updated); + XCTAssertNotNil(metadata.eTag); + XCTAssertEqual(status.operation, PNSetChannelMetadataOperation); + XCTAssertEqual(status.category, PNAcknowledgmentCategory); + + handler(); + }); + }]; + + [self removeChannelsMetadata:@[identifier] usingClient:nil]; +} + +/** + * @brief To test 'retry' functionality + * 'ItShouldSetChannelMetadataWhenAdditionalInformationIsSet.json' should + * be modified after cassette recording. Find first mention of channel metadata set and copy paste 4 entries + * which belong to it. For new entries change 'id' field to be different from source. For original + * response entry change status code to 404. + */ +- (void)testItShouldSetChannelMetadataWhenAdditionalInformationIsSet { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + NSString *information = [self randomizedValuesWithValues:@[@"test-channel-information"]].firstObject; + NSString *identifier = [self randomizedValuesWithValues:@[@"test-channel"]].firstObject; + NSString *name = [self randomizedValuesWithValues:@[@"test-channel-name"]].firstObject; + NSDictionary *custom = @{ + @"channel-custom1": [@[name, @"custom", @"data", @"1"] componentsJoinedByString:@"-"], + @"channel-custom2": [@[name, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] + }; + __block BOOL retried = NO; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().setChannelMetadata(identifier) + .name(name) + .information(information) + .custom(custom) + .performWithCompletion(^(PNSetChannelMetadataStatus *status) { + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNSetChannelMetadataOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + PNChannelMetadata *metadata = status.data.metadata; + XCTAssertFalse(status.isError); + XCTAssertNotNil(metadata); + XCTAssertEqualObjects(metadata.custom, custom); + XCTAssertEqualObjects(metadata.information, information); + + handler(); + } + }); + }]; + + [self removeChannelsMetadata:@[identifier] usingClient:nil]; +} + + +#pragma mark - Tests :: Builder pattern-based remove channel metadata + +/** + * @brief To test 'retry' functionality + * 'ItShouldRemoveChannelMetadataAndReceiveStatusWithExpectedOperationAndCategory.json' should + * be modified after cassette recording. Find first mention of channel metadata remove and copy paste 4 entries + * which belong to it. For new entries change 'id' field to be different from source. For original + * response entry change status code to 404. + */ +- (void)testItShouldRemoveChannelMetadataAndReceiveStatusWithExpectedOperationAndCategory { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + NSArray *channels = [self setChannelsMetadata:2 usingClient:nil]; + __block BOOL retried = NO; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().removeChannelMetadata(channels.firstObject.channel) + .performWithCompletion(^(PNAcknowledgmentStatus *status) { + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNRemoveChannelMetadataOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + XCTAssertFalse(status.error); + XCTAssertEqual(status.operation, PNRemoveChannelMetadataOperation); + XCTAssertEqual(status.category, PNAcknowledgmentCategory); + + [self removeCachedChannelsMetadata:channels.firstObject.channel]; + + handler(); + } + }); + }]; + + + [self verifyChannelsMetadataCountShouldEqualTo:(channels.count - 1) usingClient:nil]; + + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldRemoveChannelsMetadataAndTriggerDeleteEventToChannel { + PubNub *client1 = [self createPubNubForUser:@"serhii"]; + PubNub *client2 = [self createPubNubForUser:@"david"]; + NSArray *channels = [self setChannelsMetadata:2 usingClient:client1]; + NSString *channel = channels.firstObject.channel; + + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { + + XCTAssertEqualObjects(event.data.type, @"channel"); + XCTAssertEqualObjects(event.data.event, @"delete"); + XCTAssertEqualObjects(event.data.channelMetadata.channel, channels.firstObject.channel); + XCTAssertNotNil(event.data.timestamp); + *remove = YES; + + handler(); + }]; + + client1.objects().removeChannelMetadata(channels.firstObject.channel) + .performWithCompletion(^(PNAcknowledgmentStatus *status) { + XCTAssertFalse(status.isError); + + [self removeCachedChannelsMetadata:channels.firstObject.channel]; + }); + }]; + + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; + + + [self verifyChannelsMetadataCountShouldEqualTo:(channels.count - 1) usingClient:client1]; + + [self removeChannelsMetadataUsingClient:client1]; +} + + +#pragma mark - Tests :: Builder pattern-based fetch channel metadata + +- (void)testItShouldFetchChannelMetadataAndReceiveResultWithExpectedOperation { + NSArray *channels = [self setChannelsMetadata:1 usingClient:nil]; + NSDate *updateDate = channels.firstObject.updated; + NSString *eTag = channels.firstObject.eTag; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().channelMetadata(channels.firstObject.channel) + .includeFields(PNChannelCustomField) + .performWithCompletion(^(PNFetchChannelMetadataResult *result, PNErrorStatus *status) { + PNChannelMetadata *channel = result.data.metadata; + XCTAssertNil(status); + XCTAssertNotNil(channel); + XCTAssertEqualObjects(channel.updated, updateDate); + XCTAssertEqualObjects(channel.eTag, eTag); + XCTAssertEqual(result.operation, PNFetchChannelMetadataOperation); + + handler(); + }); + }]; + + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldNotFetchChannelMetadataWhenTargetChannelDoesNotHaveMetadata { + NSString *identifier = [self randomizedValuesWithValues:@[@"test-channel"]].firstObject; + __block BOOL retried = NO; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().channelMetadata(identifier) + .includeFields(PNChannelCustomField) + .performWithCompletion(^(PNFetchChannelMetadataResult *result, PNErrorStatus *status) { + XCTAssertNil(result); + XCTAssertTrue(status.isError); + XCTAssertEqual(status.statusCode, 404); + + if (!retried) { + retried = YES; + [status retry]; + } else { + handler(); + } + }); + }]; +} + + +#pragma mark - Tests :: Builder pattern-based fetch all channels metadata + +/** + * @brief To test 'retry' functionality + * 'ItShouldFetchAllChannelsMetadataAndReceiveResultWithExpectedOperation.json' should + * be modified after cassette recording. Find first mention of channels metadata fetch and copy paste 4 entries + * which belong to it. For new entries change 'id' field to be different from source. For original + * response entry change status code to 404. + */ +- (void)testItShouldFetchAllChannelsMetadataAndReceiveResultWithExpectedOperation { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + NSArray *channels = [self setChannelsMetadata:6 usingClient:nil]; + __block BOOL retried = NO; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allChannelsMetadata() + .performWithCompletion(^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNFetchAllChannelsMetadataOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + XCTAssertNil(status); + XCTAssertEqual(result.data.metadata.count, channels.count); + XCTAssertEqual(result.data.totalCount, 0); + XCTAssertEqual(result.operation, PNFetchAllChannelsMetadataOperation); + + handler(); + } + }); + }]; + + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldFetchFilteredChannelsMetadataWhenFilterIsSet { + NSDateFormatter *formatter = [NSDateFormatter pn_formatterWithString:@"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"]; + formatter.timeZone = [NSTimeZone timeZoneWithAbbreviation:@"UTC"]; + NSArray *channels = [self setChannelsMetadata:6 usingClient:nil]; + NSUInteger targetChannelOffset = 3; + NSDate *targetChannelMetadataUpdateDate = channels[targetChannelOffset].updated; + NSString *filterExpression = [NSString stringWithFormat:@"updated >= '%@'", + [formatter stringFromDate:targetChannelMetadataUpdateDate]]; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allChannelsMetadata() + .includeCount(YES) + .filter(filterExpression) + .performWithCompletion(^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { + NSURLRequest *request = [result valueForKey:@"clientRequest"]; + XCTAssertNil(status); + XCTAssertEqual(result.data.totalCount, channels.count - targetChannelOffset); + XCTAssertEqual(result.data.metadata.count, result.data.totalCount); + XCTAssertNil(result.data.prev); + XCTAssertNotNil(result.data.next); + XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, + NSNotFound); + + handler(); + }); + }]; + + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldFetchSortedChannelsMetadataWhenSortIsSet { + NSArray *channels = [self setChannelsMetadata:6 usingClient:nil]; + NSString *expectedSort = @"name%3Adesc,updated"; + NSArray *expectedChannelsOrder = [channels sortedArrayUsingDescriptors:@[ + [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], + [NSSortDescriptor sortDescriptorWithKey:@"updated" ascending:YES] + ]]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allChannelsMetadata() + .includeCount(YES) + .sort(@[@"name:desc", @"updated"]) + .performWithCompletion(^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { + NSURLRequest *request = [result valueForKey:@"clientRequest"]; + XCTAssertNil(status); + XCTAssertNil(result.data.prev); + XCTAssertNotNil(result.data.next); + XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, + NSNotFound); + + for (NSUInteger idx = 0; idx < result.data.metadata.count; idx++) { + XCTAssertEqualObjects(result.data.metadata[idx].channel, + expectedChannelsOrder[idx].channel); + } + + handler(); + }); + }]; + + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldFetchAllChannelsMetadataWhenLimitItSet { + NSArray *channels = [self setChannelsMetadata:6 usingClient:nil]; + NSUInteger expectedCount = 2; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allChannelsMetadata() + .limit(expectedCount) + .includeFields(PNChannelCustomField) + .includeCount(YES) + .performWithCompletion(^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { + NSArray *fetchedChannels = result.data.metadata; + XCTAssertNil(status); + XCTAssertNotNil(fetchedChannels); + XCTAssertEqual(fetchedChannels.count, expectedCount); + XCTAssertEqual(result.data.totalCount, channels.count); + XCTAssertNotNil(fetchedChannels.firstObject.custom); + + handler(); + }); + }]; + + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldFetchNextChannelsMetadataPageWhenStartAndLimitIsSet { + NSArray *channels = [self setChannelsMetadata:6 usingClient:nil]; + __block NSString *next = nil; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allChannelsMetadata() + .limit(channels.count - 2) + .includeCount(YES) + .performWithCompletion(^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { + NSArray *fetchedChannels = result.data.metadata; + XCTAssertNil(status); + XCTAssertNotNil(fetchedChannels); + XCTAssertEqual(fetchedChannels.count, channels.count - 2); + next = result.data.next; + + handler(); + }); + }]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allChannelsMetadata() + .start(next) + .includeCount(YES) + .performWithCompletion(^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { + NSArray *fetchedChannels = result.data.metadata; + XCTAssertNil(status); + XCTAssertNotNil(fetchedChannels); + XCTAssertEqual(fetchedChannels.count, 2); + + handler(); + }); + }]; + + [self removeChannelsMetadataUsingClient:nil]; +} + +#pragma mark - + +#pragma clang diagnostic pop + +@end diff --git a/Tests/Tests/Integration/Objects/PNMemberIntegrationTest.m b/Tests/Tests/Integration/Objects/PNMemberIntegrationTest.m index 88d0d3ca0..cb96fba96 100644 --- a/Tests/Tests/Integration/Objects/PNMemberIntegrationTest.m +++ b/Tests/Tests/Integration/Objects/PNMemberIntegrationTest.m @@ -16,11 +16,11 @@ @interface PNMemberIntegrationTest : PNRecordableTestCase #pragma mark - Misc /** - * @brief Flatten members objects by extracting from it name of user and creation date. + * @brief Flatten members objects by extracting from it name stored in UUID metadata and update date. * * @param members List of members which should be flattened. * - * @return List of dictionaries which contain name of user and member addition date. + * @return List of dictionaries which contain name from UUID metadata and member update date. */ - (NSArray *)flattenedMembers:(NSArray *)members; @@ -63,42 +63,45 @@ - (void)setUp { } -#pragma mark - Tests :: Builder pattern-based add members +#pragma mark - Tests :: Builder pattern-based set members -- (void)testItShouldAddMembersAndReceiveStatusWithExpectedOperationAndCategory { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - NSArray *memberUsers = @[ +- (void)testItShouldSetMembersAndReceiveStatusWithExpectedOperationAndCategory { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + NSArray *uuids = @[ @{ - @"userId": users[0].identifier, - @"custom": @{ @"user-member-custom": [@[users[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] } + @"uuid": uuidsMetadata[0].uuid, + @"custom": @{ + @"uuid-member-custom": [@[uuidsMetadata[0].uuid, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] + } }, @{ - @"userId": users[1].identifier, - @"custom": @{ @"user-member-custom": [@[users[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } + @"uuid": uuidsMetadata[1].uuid, + @"custom": @{ + @"uuid-member-custom": [@[uuidsMetadata[1].uuid, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] + } } ]; __block NSArray *members = nil; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) + self.client.objects().setMembers(channelsMetadata.firstObject.channel) .includeFields(PNMemberCustomField) - .add(memberUsers) + .uuids(uuids) .performWithCompletion(^(PNManageMembersStatus *status) { members = status.data.members; XCTAssertFalse(status.isError); XCTAssertNotNil(members); - XCTAssertEqual(status.operation, PNManageMembersOperation); + XCTAssertEqual(status.operation, PNSetMembersOperation); XCTAssertEqual(status.category, PNAcknowledgmentCategory); for (PNMember *member in members) { - for (NSUInteger memberIdx = 0; memberIdx < users.count; memberIdx++) { - PNUser *user = users[memberIdx]; + for (NSUInteger memberIdx = 0; memberIdx < uuidsMetadata.count; memberIdx++) { + PNUUIDMetadata *uuidMetadata = uuidsMetadata[memberIdx]; - if ([member.userId isEqualToString:user.identifier]) { - XCTAssertEqualObjects(member.custom, memberUsers[memberIdx][@"custom"]); + if ([member.uuid isEqualToString:uuidMetadata.uuid]) { + XCTAssertEqualObjects(member.custom, uuids[memberIdx][@"custom"]); break; } } @@ -107,79 +110,99 @@ - (void)testItShouldAddMembersAndReceiveStatusWithExpectedOperationAndCategory { handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier memberObjects:members usingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel memberObjects:members usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldAddMembersAndReturnFilteredUserInformationWhenFilterIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - NSUInteger halfNameLength = (NSUInteger)(users.lastObject.name.length * 0.5f); - NSString *filterExpression = [NSString stringWithFormat:@"user.name like '%@*'", - [users.lastObject.name substringToIndex:halfNameLength]]; +/** + * @brief To test 'retry' functionality + * 'ItShouldSetMembersAndReturnFilteredMembersInformationWhenFilterIsSet.json' should + * be modified after cassette recording. Find first mention of member set fetch and copy paste 4 entries + * which belong to it. For new entries change 'id' field to be different from source. For original + * response entry change status code to 404. + */ +- (void)testItShouldSetMembersAndReturnFilteredMembersInformationWhenFilterIsSet { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + NSUInteger halfNameLength = (NSUInteger)(uuidsMetadata.lastObject.name.length * 0.5f); + NSString *filterExpression = [NSString stringWithFormat:@"uuid.name like '%@*'", + [uuidsMetadata.lastObject.name substringToIndex:halfNameLength]]; NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - NSArray *memberUsers = @[ - @{ @"userId": users[0].identifier }, - @{ @"userId": users[1].identifier } + NSArray *uuids = @[ + @{ @"uuid": uuidsMetadata[0].uuid }, + @{ @"uuid": uuidsMetadata[1].uuid } ]; __block NSArray *members = nil; - - + __block BOOL retried = NO; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) + self.client.objects().setMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) .includeCount(YES) .filter(filterExpression) - .add(memberUsers) + .uuids(uuids) .performWithCompletion(^(PNManageMembersStatus *status) { - NSURLRequest *request = [status valueForKey:@"clientRequest"]; - members = status.data.members; - XCTAssertEqual(status.data.totalCount, 1); - XCTAssertNil(status.data.prev); - XCTAssertNotNil(status.data.next); - XCTAssertFalse(status.isError); - XCTAssertNotNil(members); - XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, - NSNotFound); - XCTAssertNotNil(members.lastObject.user); - XCTAssertEqualObjects(members.lastObject.user.custom, users.lastObject.custom); - - handler(); + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNSetMembersOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + NSURLRequest *request = [status valueForKey:@"clientRequest"]; + members = status.data.members; + XCTAssertEqual(status.data.totalCount, 1); + XCTAssertNil(status.data.prev); + XCTAssertNotNil(status.data.next); + XCTAssertFalse(status.isError); + XCTAssertNotNil(members); + XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, + NSNotFound); + XCTAssertNotNil(members.lastObject.metadata); + XCTAssertEqualObjects(members.lastObject.metadata.custom, uuidsMetadata.lastObject.custom); + + handler(); + } }); }]; - - [self deleteSpace:spaces.firstObject.identifier memberObjects:members usingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel memberObjects:members usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldAddMembersAndReturnSortedUserInformationWhenSortIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:4 usingClient:nil]; - NSString *expectedSort = @"user.name%3Adesc"; - NSArray *memberUsers = @[ - @{ @"userId": users[0].identifier }, - @{ @"userId": users[1].identifier }, - @{ @"userId": users[2].identifier }, - @{ @"userId": users[3].identifier } +- (void)testItShouldSetMembersAndReturnSortedMembersInformationWhenSortIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:4 usingClient:nil]; + NSString *expectedSort = @"uuid.name%3Adesc"; + NSArray *uuids = @[ + @{ @"uuid": uuidsMetadata[0].uuid }, + @{ @"uuid": uuidsMetadata[1].uuid }, + @{ @"uuid": uuidsMetadata[2].uuid }, + @{ @"uuid": uuidsMetadata[3].uuid } ]; __block NSArray *members = nil; - - NSArray *expectedMembersUserOrder = [users sortedArrayUsingDescriptors:@[ + + NSArray *expectedMembersOrder = [uuidsMetadata sortedArrayUsingDescriptors:@[ [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO] ]]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) + self.client.objects().setMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) .includeCount(YES) - .sort(@[@"user.name:desc"]) - .add(memberUsers) + .sort(@[@"uuid.name:desc"]) + .uuids(uuids) .performWithCompletion(^(PNManageMembersStatus *status) { NSURLRequest *request = [status valueForKey:@"clientRequest"]; members = status.data.members; @@ -188,341 +211,603 @@ - (void)testItShouldAddMembersAndReturnSortedUserInformationWhenSortIsSet { XCTAssertNotNil(members); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, NSNotFound); - + for (NSUInteger fetchedMemberIdx = 0; fetchedMemberIdx < members.count; fetchedMemberIdx++) { - XCTAssertEqualObjects(members[fetchedMemberIdx].userId, - expectedMembersUserOrder[fetchedMemberIdx].identifier); + XCTAssertEqualObjects(members[fetchedMemberIdx].uuid, + expectedMembersOrder[fetchedMemberIdx].uuid); } - - XCTAssertNotEqualObjects([members valueForKeyPath:@"user.name"], - [users valueForKeyPath:@"name"]); - + + XCTAssertNotEqualObjects([members valueForKeyPath:@"metadata.name"], + [uuidsMetadata valueForKeyPath:@"name"]); + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier memberObjects:members usingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel memberObjects:members usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldAddMembersAndReturnUserInformationWhenUserIncludeFlagIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - NSArray *memberUsers = @[ - @{ @"userId": users[0].identifier }, - @{ @"userId": users[1].identifier } +- (void)testItShouldSetMembersAndReturnMemberInformationWhenIncludeFlagIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + NSArray *uuids = @[ + @{ @"uuid": uuidsMetadata[0].uuid }, + @{ @"uuid": uuidsMetadata[1].uuid } ]; - __block NSArray *members = nil; - - + __block NSArray *members = nil; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .add(memberUsers) + self.client.objects().setMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .uuids(uuids) .performWithCompletion(^(PNManageMembersStatus *status) { members = status.data.members; XCTAssertFalse(status.isError); XCTAssertNotNil(members); - + for (PNMember *member in members) { - XCTAssertNotNil(member.user); - - for (NSUInteger userIdx = 0; userIdx < users.count; userIdx++) { - PNUser *user = users[userIdx]; - - if ([member.user.identifier isEqualToString:user.identifier]) { - XCTAssertEqualObjects(member.user.custom, user.custom); + XCTAssertNotNil(member.uuid); + + for (NSUInteger idx = 0; idx < uuidsMetadata.count; idx++) { + PNUUIDMetadata *metadata = uuidsMetadata[idx]; + + if ([member.metadata.uuid isEqualToString:metadata.uuid]) { + XCTAssertEqualObjects(member.metadata.custom, metadata.custom); break; } } } - + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier memberObjects:members usingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel memberObjects:members usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldAddMembersAndTriggerCreateEventOnSpaceChannel { +- (void)testItShouldSetMembersAndTriggerSetEventOnChannel { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:1 usingClient:client1]; - NSArray *users = [self createObjectForUsers:2 usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:client1]; NSMutableArray *createdMembers = [NSMutableArray new]; - NSString *channel = spaces.firstObject.identifier; - NSArray *memberUsers = @[ - @{ @"userId": users[0].identifier }, - @{ @"userId": users[1].identifier } + NSString *channel = channelsMetadata.firstObject.channel; + NSArray *uuids = @[ + @{ @"uuid": uuidsMetadata[0].uuid }, + @{ @"uuid": uuidsMetadata[1].uuid } ]; - __block NSArray *members = nil; - + __block NSArray *members = nil; + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { - XCTAssertEqualObjects(event.data.event, @"create"); - XCTAssertNotNil(event.data.created); + XCTAssertEqualObjects(event.data.event, @"set"); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertNotNil(event.data.membership.updated); XCTAssertNotNil(event.data.timestamp); - - if ([createdMembers indexOfObject:event.data.userId] == NSNotFound) { - [createdMembers addObject:event.data.userId]; + + if ([createdMembers indexOfObject:event.data.uuidMetadata.uuid] == NSNotFound) { + [createdMembers addObject:event.data.membership.uuid]; } - - if (createdMembers.count == users.count) { - XCTAssertNotEqual([createdMembers indexOfObject:users[0].identifier], NSNotFound); - XCTAssertNotEqual([createdMembers indexOfObject:users[1].identifier], NSNotFound); + + if (createdMembers.count == uuids.count) { + XCTAssertNotEqual([createdMembers indexOfObject:uuidsMetadata[0].uuid], NSNotFound); + XCTAssertNotEqual([createdMembers indexOfObject:uuidsMetadata[1].uuid], NSNotFound); *remove = YES; - + handler(); } }]; - - client1.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .add(memberUsers) + + client1.objects().setMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .uuids(uuids) .performWithCompletion(^(PNManageMembersStatus *status) { members = status.data.members; XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - - [self verifySpaceMembersCount:spaces.firstObject.identifier shouldEqualTo:users.count usingClient:client1]; - - [self deleteSpace:spaces.firstObject.identifier memberObjects:members usingClient:client1]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + + + [self verifyChannelMembersCount:channelsMetadata.firstObject.channel + shouldEqualTo:uuidsMetadata.count + usingClient:client1]; + + [self removeChannel:channelsMetadata.firstObject.channel memberObjects:members usingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } -- (void)testItShouldAddMembersAndTriggerCreateEventOnUserChannel { +- (void)testItShouldSetMembersAndTriggerSetEventOnUUIDChannel { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:1 usingClient:client1]; - NSArray *users = [self createObjectForUsers:2 usingClient:client1]; - NSString *channel = users.firstObject.identifier; - NSArray *memberUsers = @[ - @{ @"userId": users[0].identifier }, - @{ @"userId": users[1].identifier } + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:client1]; + NSString *channel = uuidsMetadata.firstObject.uuid; + NSArray *uuids = @[ + @{ @"uuid": uuidsMetadata[0].uuid }, + @{ @"uuid": uuidsMetadata[1].uuid } ]; - __block NSArray *members = nil; - + __block NSArray *members = nil; + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { - XCTAssertEqualObjects(event.data.event, @"create"); - XCTAssertNotNil(event.data.created); + XCTAssertEqualObjects(event.data.event, @"set"); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertNotNil(event.data.membership.updated); XCTAssertNotNil(event.data.timestamp); *remove = YES; - + handler(); }]; - - client1.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .add(memberUsers) + + client1.objects().setMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .uuids(uuids) .performWithCompletion(^(PNManageMembersStatus *status) { members = status.data.members; XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - [self deleteSpace:spaces.firstObject.identifier memberObjects:members usingClient:client1]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + + [self removeChannel:channelsMetadata.firstObject.channel memberObjects:members usingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } -- (void)testItShouldNotAddMembersWhenSpaceAlreadyHasTargetUsersAsMembers { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - NSArray *memberUsers = @[ - @{ @"userId": users[0].identifier }, - @{ @"userId": users[1].identifier } + +#pragma mark - Tests :: Builder pattern-based manage set members + +- (void)testItShouldSetMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + NSArray *uuidsCustom = @[ + @{ @"uuid-member-custom": [@[uuidsMetadata[0].uuid, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, + @{ @"uuid-member-custom": [@[uuidsMetadata[1].uuid, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } ]; - __block NSArray *members = nil; - __block BOOL retried = NO; - - + NSArray *expectedUUIDsCustom = @[ + @{ @"uuid-member-custom": [@[uuidsMetadata[0].uuid, @"custom", @"data", @"3"] componentsJoinedByString:@"-"] }, + @{ @"uuid-member-custom": [@[uuidsMetadata[1].uuid, @"custom", @"data", @"4"] componentsJoinedByString:@"-"] } + ]; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:uuidsCustom usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .add(memberUsers) + self.client.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberCustomField) + .set(@[ + @{ @"uuid": uuidsMetadata[0].uuid, @"custom": expectedUUIDsCustom[0] }, + @{ @"uuid": uuidsMetadata[1].uuid, @"custom": expectedUUIDsCustom[1] }, + ]) .performWithCompletion(^(PNManageMembersStatus *status) { - members = status.data.members; + NSArray *members = status.data.members; XCTAssertFalse(status.isError); + XCTAssertNotNil(members); + XCTAssertEqual(status.operation, PNManageMembersOperation); + XCTAssertEqual(status.category, PNAcknowledgmentCategory); + + for (PNMember *member in members) { + for (NSUInteger idx = 0; idx < uuidsMetadata.count; idx++) { + PNUUIDMetadata *metadata = uuidsMetadata[idx]; + + if ([member.uuid isEqualToString:metadata.uuid]) { + XCTAssertEqualObjects(member.custom, expectedUUIDsCustom[idx]); + break; + } + } + } + handler(); }); }]; - - + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldSetMembersUsingManageAndReturnFilteredMembersInformationWhenFilterIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + NSUInteger halfNameLength = (NSUInteger)(uuidsMetadata.lastObject.name.length * 0.5f); + NSString *filterExpression = [NSString stringWithFormat:@"uuid.name like '%@*'", + [uuidsMetadata.lastObject.name substringToIndex:halfNameLength]]; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + NSArray *uuidsCustom = @[ + @{ @"uuid-member-custom": [@[uuidsMetadata[0].uuid, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, + @{ @"uuid-member-custom": [@[uuidsMetadata[1].uuid, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } + ]; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .add(@[memberUsers.firstObject]) + self.client.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .includeCount(YES) + .filter(filterExpression) + .set(@[ + @{ @"uuid": uuidsMetadata[0].uuid, @"custom": uuidsCustom[0] }, + @{ @"uuid": uuidsMetadata[1].uuid, @"custom": uuidsCustom[1] }, + ]) .performWithCompletion(^(PNManageMembersStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 400); - - if (!retried) { - retried = YES; - [status retry]; - } else { - handler(); - } + NSURLRequest *request = [status valueForKey:@"clientRequest"]; + NSArray *members = status.data.members; + XCTAssertFalse(status.isError); + XCTAssertNotNil(members); + XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, + NSNotFound); + XCTAssertNotNil(members.lastObject.uuid); + XCTAssertEqualObjects(members.lastObject.metadata.custom, uuidsMetadata.lastObject.custom); + + handler(); }); }]; - - [self verifySpaceMembersCount:spaces.firstObject.identifier shouldEqualTo:users.count usingClient:nil]; - - [self deleteSpace:spaces.firstObject.identifier memberObjects:members usingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } +- (void)testItShouldSetMembersUsingManageAndReturnSortedMembersInformationWhenSortIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:4 usingClient:nil]; + NSString *expectedSort = @"uuid.name%3Adesc,updated"; + NSArray *membershipCustom = @[ + @{ @"uuid-member-custom": [@[uuidsMetadata[0].uuid, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, + @{ @"uuid-member-custom": [@[uuidsMetadata[1].uuid, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } + ]; + + NSArray *members = [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + uuidMetadata:YES + usingClient:nil]; + NSArray *expectedMembersOrder = [self members:members sortedWith:@[ + [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], + [NSSortDescriptor sortDescriptorWithKey:@"updated" ascending:YES] + ]]; -#pragma mark - Tests :: Builder pattern-based update members + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .includeCount(YES) + .sort(@[@"uuid.name:desc", @"updated"]) + .set(@[ + @{ @"uuid": uuidsMetadata[0].uuid, @"custom": membershipCustom[0] }, + @{ @"uuid": uuidsMetadata[1].uuid, @"custom": membershipCustom[1] }, + ]) + .performWithCompletion(^(PNManageMembersStatus *status) { + NSURLRequest *request = [status valueForKey:@"clientRequest"]; + NSArray *fetchedMembers = status.data.members; + XCTAssertFalse(status.isError); + XCTAssertNotNil(fetchedMembers); + XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, + NSNotFound); -- (void)testItShouldUpdateMembersAndReceiveStatusWithExpectedOperationAndCategory { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - NSArray *membersCustom = @[ - @{ @"user-member-custom": [@[users[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-member-custom": [@[users[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - NSArray *expectedMembersCustom = @[ - @{ @"user-member-custom": [@[users[0].identifier, @"custom", @"data", @"3"] componentsJoinedByString:@"-"] }, - @{ @"user-member-custom": [@[users[1].identifier, @"custom", @"data", @"4"] componentsJoinedByString:@"-"] } + for (NSUInteger idx = 0; idx < fetchedMembers.count; idx++) { + XCTAssertEqualObjects(fetchedMembers[idx].metadata.name, + expectedMembersOrder[idx].metadata.name); + } + + XCTAssertNotEqualObjects([fetchedMembers valueForKeyPath:@"metadata.name"], + [members valueForKeyPath:@"metadata.name"]); + + handler(); + }); + }]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldSetMembersUsingManageAndReturnMembersInformationWhenIncludeFlagIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + NSArray *membershipCustom = @[ + @{ @"uuid-member-custom": [@[uuidsMetadata[0].uuid, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, + @{ @"uuid-member-custom": [@[uuidsMetadata[1].uuid, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } ]; - - [self addMembers:users toSpaces:spaces withCustoms:membersCustom usingClient:nil]; - - + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberCustomField) - .update(@[ - @{ @"userId": users[0].identifier, @"custom": expectedMembersCustom[0] }, - @{ @"userId": users[1].identifier, @"custom": expectedMembersCustom[1] }, + self.client.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .set(@[ + @{ @"uuid": uuidsMetadata[0].uuid, @"custom": membershipCustom[0] }, + @{ @"uuid": uuidsMetadata[1].uuid, @"custom": membershipCustom[1] }, ]) .performWithCompletion(^(PNManageMembersStatus *status) { NSArray *members = status.data.members; XCTAssertFalse(status.isError); XCTAssertNotNil(members); - XCTAssertEqual(status.operation, PNManageMembersOperation); - XCTAssertEqual(status.category, PNAcknowledgmentCategory); - + for (PNMember *member in members) { - for (NSUInteger userIdx = 0; userIdx < users.count; userIdx++) { - PNUser *user = users[userIdx]; - - if ([member.userId isEqualToString:user.identifier]) { - XCTAssertEqualObjects(member.custom, expectedMembersCustom[userIdx]); + XCTAssertNotNil(member.metadata); + + for (PNUUIDMetadata *metadata in uuidsMetadata) { + if ([member.metadata.uuid isEqualToString:metadata.uuid]) { + XCTAssertEqualObjects(member.metadata.custom, metadata.custom); break; } } } - + handler(); }); }]; - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldUpdateMembersAndReturnFilteredUserInformationWhenFilterIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - NSUInteger halfNameLength = (NSUInteger)(users.lastObject.name.length * 0.5f); - NSString *filterExpression = [NSString stringWithFormat:@"user.name like '%@*'", - [users.lastObject.name substringToIndex:halfNameLength]]; - NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - NSArray *membershipCustom = @[ - @{ @"user-member-custom": [@[users[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-member-custom": [@[users[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } +- (void)testItShouldSetMembersUsingManageAndTriggerSetEventOnChannel { + PubNub *client1 = [self createPubNubForUser:@"serhii"]; + PubNub *client2 = [self createPubNubForUser:@"david"]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:client1]; + NSMutableArray *updatedMembers = [NSMutableArray new]; + NSString *channel = channelsMetadata.firstObject.channel; + NSArray *membersCustom = @[ + @{ @"uuid-member-custom": [@[uuidsMetadata[0].uuid, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, + @{ @"uuid-member-custom": [@[uuidsMetadata[1].uuid, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } ]; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { + + XCTAssertEqualObjects(event.data.event, @"set"); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertNotNil(event.data.membership.updated); + XCTAssertNotNil(event.data.timestamp); + + if ([updatedMembers indexOfObject:event.data.membership.uuid] == NSNotFound) { + [updatedMembers addObject:event.data.membership.uuid]; + } + + if (updatedMembers.count == uuidsMetadata.count) { + XCTAssertNotEqual([updatedMembers indexOfObject:uuidsMetadata[0].uuid], NSNotFound); + XCTAssertNotEqual([updatedMembers indexOfObject:uuidsMetadata[1].uuid], NSNotFound); + *remove = YES; + + handler(); + } + }]; + + client1.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .set(@[ + @{ @"uuid": uuidsMetadata[0].uuid, @"custom": membersCustom[0] }, + @{ @"uuid": uuidsMetadata[1].uuid, @"custom": membersCustom[1] }, + ]) + .performWithCompletion(^(PNManageMembersStatus *status) { + XCTAssertFalse(status.isError); + }); + }]; + + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; +} + +- (void)testItShouldSetMembersUsingManageAndTriggerSetEventOnUUIDChannel { + PubNub *client1 = [self createPubNubForUser:@"serhii"]; + PubNub *client2 = [self createPubNubForUser:@"david"]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:client1]; + NSString *channel = uuidsMetadata.firstObject.uuid; + NSArray *membersCustom = @[ + @{ @"uuid-member-custom": [@[uuidsMetadata[0].uuid, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, + @{ @"uuid-member-custom": [@[uuidsMetadata[1].uuid, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } + ]; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { + + XCTAssertEqualObjects(event.data.event, @"set"); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertEqualObjects(event.data.membership.channel, channelsMetadata.firstObject.channel); + XCTAssertNotNil(event.data.membership.updated); + XCTAssertNotNil(event.data.timestamp); + *remove = YES; + + handler(); + }]; + + client1.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .set(@[ + @{ @"uuid": uuidsMetadata[0].uuid, @"custom": membersCustom[0] }, + @{ @"uuid": uuidsMetadata[1].uuid, @"custom": membersCustom[1] }, + ]) + .performWithCompletion(^(PNManageMembersStatus *status) { + XCTAssertFalse(status.isError); + }); + }]; + + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; +} + + +#pragma mark - Tests :: Builder pattern-based remove members + +/** + * @brief To test 'retry' functionality + * 'ItShouldRemoveMembersAndReceiveStatusWithExpectedOperationAndCategory.json' should + * be modified after cassette recording. Find first mention of member remove and copy paste + * 4 entries which belong to it. For new entries change 'id' field to be different from source. For + * original response entry change status code to 404. + */ +- (void)testItShouldRemoveMembersAndReceiveStatusWithExpectedOperationAndCategory { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + __block BOOL retried = NO; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().removeMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberCustomField) + .uuids(@[uuidsMetadata[0].uuid]) + .performWithCompletion(^(PNManageMembersStatus *status) { + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNRemoveMembersOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + NSArray *members = status.data.members; + XCTAssertFalse(status.isError); + XCTAssertNotNil(members); + XCTAssertEqual(members.count, 1); + XCTAssertEqualObjects(members.firstObject.uuid, uuidsMetadata[1].uuid); + XCTAssertEqual(status.operation, PNRemoveMembersOperation); + XCTAssertEqual(status.category, PNAcknowledgmentCategory); + + [self removeChannel:channelsMetadata.firstObject.channel + cachedMemberForUUID:uuidsMetadata[0].uuid]; + + handler(); + } + }); + }]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldRemoveMembersAndReturnFilteredMembersInformationWhenFilterIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + NSUInteger halfNameLength = (NSUInteger)(uuidsMetadata.lastObject.name.length * 0.5f); + NSString *filterExpression = [NSString stringWithFormat:@"uuid.name like '%@*'", + [uuidsMetadata.lastObject.name substringToIndex:halfNameLength]]; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) + self.client.objects().removeMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) .includeCount(YES) .filter(filterExpression) - .update(@[ - @{ @"userId": users[0].identifier, @"custom": membershipCustom[0] }, - @{ @"userId": users[1].identifier, @"custom": membershipCustom[1] }, - ]) + .uuids(@[uuidsMetadata[0].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { NSURLRequest *request = [status valueForKey:@"clientRequest"]; NSArray *members = status.data.members; XCTAssertFalse(status.isError); XCTAssertNotNil(members); + XCTAssertEqual(status.data.totalCount, 1); + XCTAssertEqual(members.count, status.data.totalCount); + XCTAssertNotNil(members.firstObject.metadata); + XCTAssertEqualObjects(members.firstObject.metadata.uuid, uuidsMetadata[1].uuid); + XCTAssertEqualObjects(members.firstObject.metadata.custom, uuidsMetadata[1].custom); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, NSNotFound); - XCTAssertNotNil(members.lastObject.user); - XCTAssertEqualObjects(members.lastObject.user.custom, users.lastObject.custom); - + + [self removeChannel:channelsMetadata.firstObject.channel cachedMemberForUUID:uuidsMetadata[0].uuid]; + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldUpdateMembersAndReturnSortedUserInformationWhenSortIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:4 usingClient:nil]; - NSString *expectedSort = @"user.name%3Adesc,created"; - NSArray *membershipCustom = @[ - @{ @"user-member-custom": [@[users[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-member-custom": [@[users[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - NSArray *members = [self addMembers:users toSpaces:spaces withCustoms:nil - userInformation:YES usingClient:nil]; +- (void)testItShouldRemoveMembersAndReturnSortedMembersInformationWhenSortIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:5 usingClient:nil]; + NSString *expectedSort = @"uuid.name%3Adesc,updated"; + + NSMutableArray *members = [[self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + uuidMetadata:YES + usingClient:nil] mutableCopy]; + [members removeObjectAtIndex:0]; NSArray *expectedMembersOrder = [self members:members sortedWith:@[ [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], - [NSSortDescriptor sortDescriptorWithKey:@"created" ascending:YES] + [NSSortDescriptor sortDescriptorWithKey:@"updated" ascending:YES] ]]; - NSLog(@"INITIAL ORDER: %@", [members valueForKeyPath:@"user.name"]); - NSLog(@"EXPECTED ORDER: %@", [expectedMembersOrder valueForKeyPath:@"user.name"]); - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) + self.client.objects().removeMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) .includeCount(YES) - .sort(@[@"user.name:desc", @"created"]) - .update(@[ - @{ @"userId": users[0].identifier, @"custom": membershipCustom[0] }, - @{ @"userId": users[1].identifier, @"custom": membershipCustom[1] }, - ]) + .sort(@[@"uuid.name:desc", @"updated"]) + .uuids(@[uuidsMetadata[0].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { NSURLRequest *request = [status valueForKey:@"clientRequest"]; NSArray *fetchedMembers = status.data.members; @@ -531,226 +816,180 @@ - (void)testItShouldUpdateMembersAndReturnSortedUserInformationWhenSortIsSet { XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, NSNotFound); - for (NSUInteger fetchedMemberIdx = 0; fetchedMemberIdx < fetchedMembers.count; fetchedMemberIdx++) { - XCTAssertEqualObjects(fetchedMembers[fetchedMemberIdx].user.name, - expectedMembersOrder[fetchedMemberIdx].user.name); + for (NSUInteger idx = 0; idx < fetchedMembers.count; idx++) { + XCTAssertEqualObjects(fetchedMembers[idx].metadata.name, + expectedMembersOrder[idx].metadata.name); } - - XCTAssertNotEqualObjects([fetchedMembers valueForKeyPath:@"user.name"], - [members valueForKeyPath:@"user.name"]); - + + XCTAssertNotEqualObjects([fetchedMembers valueForKeyPath:@"metadata.name"], + [members valueForKeyPath:@"metadata.name"]); + + [self removeChannel:channelsMetadata.firstObject.channel cachedMemberForUUID:uuidsMetadata[0].uuid]; + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldUpdateMembersAndReturnUserInformationWhenUserIncludeFlagIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - NSArray *membershipCustom = @[ - @{ @"user-member-custom": [@[users[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-member-custom": [@[users[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:nil]; - - +- (void)testItShouldRemoveMembersAndReturnMemberInformationWhenIncludeFlagIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .update(@[ - @{ @"userId": users[0].identifier, @"custom": membershipCustom[0] }, - @{ @"userId": users[1].identifier, @"custom": membershipCustom[1] }, - ]) + self.client.objects().removeMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .uuids(@[uuidsMetadata[0].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { NSArray *members = status.data.members; XCTAssertFalse(status.isError); XCTAssertNotNil(members); - - for (PNMember *member in members) { - XCTAssertNotNil(member.user); - - for (PNUser *user in users) { - if ([member.user.identifier isEqualToString:user.identifier]) { - XCTAssertEqualObjects(member.user.custom, user.custom); - break; - } - } - } - + XCTAssertEqual(members.count, 1); + XCTAssertNotNil(members.firstObject.metadata); + XCTAssertEqualObjects(members.firstObject.metadata.uuid, uuidsMetadata[1].uuid); + XCTAssertEqualObjects(members.firstObject.metadata.custom, uuidsMetadata[1].custom); + + [self removeChannel:channelsMetadata.firstObject.channel cachedMemberForUUID:uuidsMetadata[0].uuid]; + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldUpdateMembersAndTriggerUpdateEventOnSpaceChannel { +- (void)testItShouldRemoveMembersAndTriggerDeleteEventOnChannel { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:1 usingClient:client1]; - NSArray *users = [self createObjectForUsers:2 usingClient:client1]; - NSMutableArray *updatedMembers = [NSMutableArray new]; - NSString *channel = spaces.firstObject.identifier; - NSArray *membersCustom = @[ - @{ @"user-member-custom": [@[users[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-member-custom": [@[users[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:client1]; + NSMutableArray *deletedMembers = [NSMutableArray new]; + NSString *channel = channelsMetadata.firstObject.channel; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { - XCTAssertEqualObjects(event.data.event, @"update"); - XCTAssertNotNil(event.data.updated); + XCTAssertEqualObjects(event.data.event, @"delete"); + XCTAssertEqualObjects(event.data.type, @"membership"); XCTAssertNotNil(event.data.timestamp); - - if ([updatedMembers indexOfObject:event.data.userId] == NSNotFound) { - [updatedMembers addObject:event.data.userId]; + + if ([deletedMembers indexOfObject:event.data.membership.uuid] == NSNotFound) { + [deletedMembers addObject:event.data.membership.uuid]; } - - if (updatedMembers.count == users.count) { - XCTAssertNotEqual([updatedMembers indexOfObject:users[0].identifier], NSNotFound); - XCTAssertNotEqual([updatedMembers indexOfObject:users[1].identifier], NSNotFound); + + if (deletedMembers.count == uuidsMetadata.count) { + XCTAssertNotEqual([deletedMembers indexOfObject:uuidsMetadata[0].uuid], NSNotFound); + XCTAssertNotEqual([deletedMembers indexOfObject:uuidsMetadata[1].uuid], NSNotFound); *remove = YES; - + handler(); } }]; - - client1.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .update(@[ - @{ @"userId": users[0].identifier, @"custom": membersCustom[0] }, - @{ @"userId": users[1].identifier, @"custom": membersCustom[1] }, - ]) + + client1.objects().removeMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .uuids(@[uuidsMetadata[0].uuid, uuidsMetadata[1].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:client1]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } -- (void)testItShouldUpdateMembersAndTriggerUpdateEventOnUserChannel { +- (void)testItShouldRemoveMembersAndTriggerDeleteEventOnUUIDChannel { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:1 usingClient:client1]; - NSArray *users = [self createObjectForUsers:2 usingClient:client1]; - NSString *channel = users.firstObject.identifier; - NSArray *membersCustom = @[ - @{ @"user-member-custom": [@[users[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-member-custom": [@[users[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:client1]; + NSString *channel = uuidsMetadata.firstObject.uuid; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { - XCTAssertEqualObjects(event.data.event, @"update"); - XCTAssertEqualObjects(event.data.spaceId, spaces.firstObject.identifier); - XCTAssertNotNil(event.data.updated); + XCTAssertEqualObjects(event.data.event, @"delete"); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertEqualObjects(event.data.membership.uuid, uuidsMetadata.firstObject.uuid); XCTAssertNotNil(event.data.timestamp); *remove = YES; - + handler(); }]; - - client1.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .update(@[ - @{ @"userId": users[0].identifier, @"custom": membersCustom[0] }, - @{ @"userId": users[1].identifier, @"custom": membersCustom[1] }, - ]) + + client1.objects().removeMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .uuids(@[uuidsMetadata[0].uuid, uuidsMetadata[1].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:client1]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; -} -- (void)testItShouldNotUpdateMembersWhenSpaceNotHaveSpecifiedUsersAsMembers { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - NSArray *membersCustom = @[ - @{ @"user-member-custom": [@[users[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-member-custom": [@[users[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberCustomField) - .update(@[ - @{ @"userId": users[0].identifier, @"custom": membersCustom[0] }, - @{ @"userId": users[1].identifier, @"custom": membersCustom[1] } - ]) - .performWithCompletion(^(PNManageMembersStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 400); - handler(); - }); - }]; - - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } -#pragma mark - Tests :: Builder pattern-based delete members +#pragma mark - Tests :: Builder pattern-based manage remove members /** * @brief To test 'retry' functionality - * 'ItShouldDeleteMembersAndReceiveStatusWithExpectedOperationAndCategory.json' should + * 'ItShouldRemoveMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json' should * be modified after cassette recording. Find first mention of member remove and copy paste * 4 entries which belong to it. For new entries change 'id' field to be different from source. For * original response entry change status code to 404. */ -- (void)testItShouldDeleteMembersAndReceiveStatusWithExpectedOperationAndCategory { +- (void)testItShouldRemoveMembersUsingManageAndReceiveStatusWithExpectedOperationAndCategory { if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); return; } - - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; + + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; __block BOOL retried = NO; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) + self.client.objects().manageMembers(channelsMetadata.firstObject.channel) .includeFields(PNMemberCustomField) - .remove(@[users[0].identifier]) + .remove(@[uuidsMetadata[0].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { if (!retried && !YHVVCR.cassette.isNewCassette) { XCTAssertTrue(status.error); @@ -764,40 +1003,43 @@ - (void)testItShouldDeleteMembersAndReceiveStatusWithExpectedOperationAndCategor XCTAssertFalse(status.isError); XCTAssertNotNil(members); XCTAssertEqual(members.count, 1); - XCTAssertEqualObjects(members.firstObject.userId, users[1].identifier); + XCTAssertEqualObjects(members.firstObject.uuid, uuidsMetadata[1].uuid); XCTAssertEqual(status.operation, PNManageMembersOperation); XCTAssertEqual(status.category, PNAcknowledgmentCategory); - - [self deleteSpace:spaces.firstObject.identifier cachedMemberForUser:users[0].identifier]; - + + [self removeChannel:channelsMetadata.firstObject.channel + cachedMemberForUUID:uuidsMetadata[0].uuid]; + handler(); } }); }]; - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldDeleteMembersAndReturnFilteredUserInformationWhenFilterIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - NSUInteger halfNameLength = (NSUInteger)(users.lastObject.name.length * 0.5f); - NSString *filterExpression = [NSString stringWithFormat:@"user.name like '%@*'", - [users.lastObject.name substringToIndex:halfNameLength]]; +- (void)testItShouldRemoveMembersUsingManageAndReturnFilteredMembersInformationWhenFilterIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + NSUInteger halfNameLength = (NSUInteger)(uuidsMetadata.lastObject.name.length * 0.5f); + NSString *filterExpression = [NSString stringWithFormat:@"uuid.name like '%@*'", + [uuidsMetadata.lastObject.name substringToIndex:halfNameLength]]; NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) + self.client.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) .includeCount(YES) .filter(filterExpression) - .remove(@[users[0].identifier]) + .remove(@[uuidsMetadata[0].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { NSURLRequest *request = [status valueForKey:@"clientRequest"]; NSArray *members = status.data.members; @@ -805,44 +1047,46 @@ - (void)testItShouldDeleteMembersAndReturnFilteredUserInformationWhenFilterIsSet XCTAssertNotNil(members); XCTAssertEqual(status.data.totalCount, 1); XCTAssertEqual(members.count, status.data.totalCount); - XCTAssertNotNil(members.firstObject.user); - XCTAssertEqualObjects(members.firstObject.user.identifier, users[1].identifier); - XCTAssertEqualObjects(members.firstObject.user.custom, users[1].custom); + XCTAssertNotNil(members.firstObject.metadata); + XCTAssertEqualObjects(members.firstObject.metadata.uuid, uuidsMetadata[1].uuid); + XCTAssertEqualObjects(members.firstObject.metadata.custom, uuidsMetadata[1].custom); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, NSNotFound); - - [self deleteSpace:spaces.firstObject.identifier cachedMemberForUser:users[0].identifier]; - + + [self removeChannel:channelsMetadata.firstObject.channel cachedMemberForUUID:uuidsMetadata[0].uuid]; + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldDeleteMembersAndReturnSortedUserInformationWhenSortIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:5 usingClient:nil]; - NSString *expectedSort = @"user.name%3Adesc,created"; - - NSMutableArray *members = [[self addMembers:users toSpaces:spaces withCustoms:nil - userInformation:YES usingClient:nil] mutableCopy]; - [members removeObjectAtIndex:0]; - NSArray *expectedMembersOrder = [self members:members sortedWith:@[ +- (void)testItShouldRemoveMembersUsingManageAndReturnSortedMembersInformationWhenSortIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:5 usingClient:nil]; + NSString *expectedSort = @"uuid.name%3Adesc,updated"; + + NSMutableArray *members = [[self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + uuidMetadata:YES + usingClient:nil] mutableCopy]; + NSMutableArray *expectedMembersOrder = [[self members:members sortedWith:@[ [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], - [NSSortDescriptor sortDescriptorWithKey:@"created" ascending:YES] - ]]; - - + [NSSortDescriptor sortDescriptorWithKey:@"updated" ascending:YES] + ]] mutableCopy]; + [expectedMembersOrder removeObjectAtIndex:0]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) + self.client.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) .includeCount(YES) - .sort(@[@"user.name:desc", @"created"]) - .remove(@[users[0].identifier]) + .sort(@[@"uuid.name:desc", @"updated"]) + .remove(@[uuidsMetadata[0].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { NSURLRequest *request = [status valueForKey:@"clientRequest"]; NSArray *fetchedMembers = status.data.members; @@ -850,141 +1094,149 @@ - (void)testItShouldDeleteMembersAndReturnSortedUserInformationWhenSortIsSet { XCTAssertNotNil(fetchedMembers); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, NSNotFound); - - for (NSUInteger fetchedMemberIdx = 0; fetchedMemberIdx < fetchedMembers.count; fetchedMemberIdx++) { - XCTAssertEqualObjects(fetchedMembers[fetchedMemberIdx].user.name, - expectedMembersOrder[fetchedMemberIdx].user.name); + + for (NSUInteger idx = 0; idx < fetchedMembers.count; idx++) { + XCTAssertEqualObjects(fetchedMembers[idx].metadata.name, + expectedMembersOrder[idx].metadata.name); } - - XCTAssertNotEqualObjects([fetchedMembers valueForKeyPath:@"user.name"], - [members valueForKeyPath:@"user.name"]); - - [self deleteSpace:spaces.firstObject.identifier cachedMemberForUser:users[0].identifier]; - + + XCTAssertNotEqualObjects([fetchedMembers valueForKeyPath:@"metadata.name"], + [members valueForKeyPath:@"metadata.name"]); + + [self removeChannel:channelsMetadata.firstObject.channel cachedMemberForUUID:uuidsMetadata[0].uuid]; + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldDeleteMembersAndReturnUserInformationWhenUserIncludeFlagIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:nil]; - - +- (void)testItShouldRemoveMembersUsingManageAndReturnMemberInformationWhenIncludeFlagIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:nil]; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .remove(@[users[0].identifier]) + self.client.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .remove(@[uuidsMetadata[0].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { NSArray *members = status.data.members; XCTAssertFalse(status.isError); XCTAssertNotNil(members); XCTAssertEqual(members.count, 1); - XCTAssertNotNil(members.firstObject.user); - XCTAssertEqualObjects(members.firstObject.user.identifier, users[1].identifier); - XCTAssertEqualObjects(members.firstObject.user.custom, users[1].custom); - - [self deleteSpace:spaces.firstObject.identifier cachedMemberForUser:users[0].identifier]; - + XCTAssertNotNil(members.firstObject.metadata); + XCTAssertEqualObjects(members.firstObject.metadata.uuid, uuidsMetadata[1].uuid); + XCTAssertEqualObjects(members.firstObject.metadata.custom, uuidsMetadata[1].custom); + + [self removeChannel:channelsMetadata.firstObject.channel cachedMemberForUUID:uuidsMetadata[0].uuid]; + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldDeleteMembersAndTriggerDeleteEventOnSpaceChannel { +- (void)testItShouldRemoveMembersUsingManageAndTriggerDeleteEventOnChannel { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:1 usingClient:client1]; - NSArray *users = [self createObjectForUsers:2 usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:client1]; NSMutableArray *deletedMembers = [NSMutableArray new]; - NSString *channel = spaces.firstObject.identifier; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:client1]; + NSString *channel = channelsMetadata.firstObject.channel; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { XCTAssertEqualObjects(event.data.event, @"delete"); + XCTAssertEqualObjects(event.data.type, @"membership"); XCTAssertNotNil(event.data.timestamp); - - if ([deletedMembers indexOfObject:event.data.userId] == NSNotFound) { - [deletedMembers addObject:event.data.userId]; + + if ([deletedMembers indexOfObject:event.data.membership.uuid] == NSNotFound) { + [deletedMembers addObject:event.data.membership.uuid]; } - - if (deletedMembers.count == users.count) { - XCTAssertNotEqual([deletedMembers indexOfObject:users[0].identifier], NSNotFound); - XCTAssertNotEqual([deletedMembers indexOfObject:users[1].identifier], NSNotFound); + + if (deletedMembers.count == uuidsMetadata.count) { + XCTAssertNotEqual([deletedMembers indexOfObject:uuidsMetadata[0].uuid], NSNotFound); + XCTAssertNotEqual([deletedMembers indexOfObject:uuidsMetadata[1].uuid], NSNotFound); *remove = YES; - + handler(); } }]; - - client1.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .remove(@[users[0].identifier, users[1].identifier]) + + client1.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .remove(@[uuidsMetadata[0].uuid, uuidsMetadata[1].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } -- (void)testItShouldDeleteMembersAndTriggerDeleteEventOnUserChannel { +- (void)testItShouldRemoveMembersUsingManageAndTriggerDeleteEventOnUUIDChannel { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:1 usingClient:client1]; - NSArray *users = [self createObjectForUsers:2 usingClient:client1]; - NSString *channel = users.firstObject.identifier; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:client1]; + NSString *channel = uuidsMetadata.firstObject.uuid; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { XCTAssertEqualObjects(event.data.event, @"delete"); - XCTAssertEqualObjects(event.data.userId, users.firstObject.identifier); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertEqualObjects(event.data.membership.uuid, uuidsMetadata.firstObject.uuid); XCTAssertNotNil(event.data.timestamp); *remove = YES; - + handler(); }]; - - client1.manageMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) - .remove(@[users[0].identifier, users[1].identifier]) + + client1.objects().manageMembers(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) + .remove(@[uuidsMetadata[0].uuid, uuidsMetadata[1].uuid]) .performWithCompletion(^(PNManageMembersStatus *status) { XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } @@ -1002,57 +1254,61 @@ - (void)testItShouldFetchMembersAndReceiveResultWithExpectedOperation { NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); return; } - - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:6 usingClient:nil]; + + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:6 usingClient:nil]; __block BOOL retried = NO; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMembers() - .spaceId(spaces.firstObject.identifier) + self.client.objects().members(channelsMetadata.firstObject.channel) .performWithCompletion(^(PNFetchMembersResult *result, PNErrorStatus *status) { - if (!retried) { + if (!retried && !YHVVCR.cassette.isNewCassette) { XCTAssertTrue(status.error); XCTAssertEqual(status.operation, PNFetchMembersOperation); XCTAssertEqual(status.category, PNMalformedResponseCategory); - + retried = YES; [status retry]; } else { NSArray *members = result.data.members; XCTAssertNil(status); XCTAssertNotNil(members); - XCTAssertEqual(members.count, users.count); + XCTAssertEqual(members.count, uuidsMetadata.count); XCTAssertEqual(result.data.totalCount, 0); XCTAssertEqual(result.operation, PNFetchMembersOperation); - + handler(); } }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } - (void)testItShouldFetchFilteredMembersWhenFilterIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:6 usingClient:nil]; - NSUInteger halfNameLength = (NSUInteger)(users[3].name.length * 0.5f); - NSString *filterExpression = [NSString stringWithFormat:@"user.name like '%@*'", - [users[3].name substringToIndex:halfNameLength]]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:6 usingClient:nil]; + NSUInteger halfNameLength = (NSUInteger)(uuidsMetadata[3].name.length * 0.5f); + NSString *filterExpression = [NSString stringWithFormat:@"uuid.name like '%@*'", + [uuidsMetadata[3].name substringToIndex:halfNameLength]]; NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMembers() - .spaceId(spaces.firstObject.identifier) + self.client.objects().members(channelsMetadata.firstObject.channel) .includeCount(YES) .filter(filterExpression) .performWithCompletion(^(PNFetchMembersResult *result, PNErrorStatus *status) { @@ -1066,35 +1322,37 @@ - (void)testItShouldFetchFilteredMembersWhenFilterIsSet { XCTAssertNotNil(result.data.next); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, NSNotFound); - + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } - (void)testItShouldFetchOrderedMembersWhenOrderIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:6 usingClient:nil]; - NSString *expectedSort = @"user.name%3Adesc,created"; - - NSArray *members =[self addMembers:users toSpaces:spaces withCustoms:nil - userInformation:YES usingClient:nil]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:6 usingClient:nil]; + NSString *expectedSort = @"uuid.name%3Adesc,updated"; + + NSArray *members = [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + uuidMetadata:YES + usingClient:nil]; NSArray *expectedMembersOrder = [self members:members sortedWith:@[ [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], - [NSSortDescriptor sortDescriptorWithKey:@"created" ascending:YES] + [NSSortDescriptor sortDescriptorWithKey:@"updated" ascending:YES] ]]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMembers() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberCustomField) + self.client.objects().members(channelsMetadata.firstObject.channel) + .includeFields(PNMemberUUIDField|PNMemberUUIDCustomField) .includeCount(YES) - .sort(@[@"user.name:desc", @"created"]) + .sort(@[@"uuid.name:desc", @"updated"]) .performWithCompletion(^(PNFetchMembersResult *result, PNErrorStatus *status) { NSURLRequest *request = [result valueForKey:@"clientRequest"]; NSArray *fetchedMembers = result.data.members; @@ -1104,39 +1362,41 @@ - (void)testItShouldFetchOrderedMembersWhenOrderIsSet { XCTAssertNotNil(result.data.next); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, NSNotFound); - - for (NSUInteger fetchedMemberIdx = 0; fetchedMemberIdx < fetchedMembers.count; fetchedMemberIdx++) { - XCTAssertEqualObjects(fetchedMembers[fetchedMemberIdx].user.name, - expectedMembersOrder[fetchedMemberIdx].user.name); + + for (NSUInteger idx = 0; idx < fetchedMembers.count; idx++) { + XCTAssertEqualObjects(fetchedMembers[idx].metadata.name, + expectedMembersOrder[idx].metadata.name); } - - XCTAssertNotEqualObjects([fetchedMembers valueForKeyPath:@"user.name"], - [members valueForKeyPath:@"user.name"]); - + + XCTAssertNotEqualObjects([fetchedMembers valueForKeyPath:@"metadata.name"], + [members valueForKeyPath:@"metadata.name"]); + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } - (void)testItShouldFetchMembersWhenLimitIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:6 usingClient:nil]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:6 usingClient:nil]; NSArray *membersCustom = @[ - @{ @"user-member-custom": [@[users[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-member-custom": [@[users[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } + @{ @"uuid-member-custom": [@[uuidsMetadata[0].uuid, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, + @{ @"uuid-member-custom": [@[uuidsMetadata[1].uuid, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } ]; NSUInteger expectedCount = 2; - - [self addMembers:users toSpaces:spaces withCustoms:membersCustom usingClient:nil]; - - + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:membersCustom + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMembers() - .spaceId(spaces.firstObject.identifier) + self.client.objects().members(channelsMetadata.firstObject.channel) .limit(expectedCount) .includeFields(PNMemberCustomField) .includeCount(YES) @@ -1145,45 +1405,46 @@ - (void)testItShouldFetchMembersWhenLimitIsSet { XCTAssertNil(status); XCTAssertNotNil(members); XCTAssertEqual(members.count, expectedCount); - XCTAssertEqual(result.data.totalCount, users.count); + XCTAssertEqual(result.data.totalCount, uuidsMetadata.count); XCTAssertNotNil(members.firstObject.custom); - + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } - (void)testItShouldFetchNextMembershipPageWhenStartAndLimitIsSet { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSArray *users = [self createObjectForUsers:6 usingClient:nil]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:6 usingClient:nil]; __block NSString *next = nil; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMembers() - .spaceId(spaces.firstObject.identifier) - .limit(users.count - 2) + self.client.objects().members(channelsMetadata.firstObject.channel) + .limit(uuidsMetadata.count - 2) .includeCount(YES) .performWithCompletion(^(PNFetchMembersResult *result, PNErrorStatus *status) { NSArray *members = result.data.members; XCTAssertNil(status); XCTAssertNotNil(members); - XCTAssertEqual(members.count, users.count - 2); + XCTAssertEqual(members.count, uuidsMetadata.count - 2); next = result.data.next; - + handler(); }); }]; - + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMembers() - .spaceId(spaces.firstObject.identifier) + self.client.objects().members(channelsMetadata.firstObject.channel) .start(next) .includeCount(YES) .performWithCompletion(^(PNFetchMembersResult *result, PNErrorStatus *status) { @@ -1191,120 +1452,106 @@ - (void)testItShouldFetchNextMembershipPageWhenStartAndLimitIsSet { XCTAssertNil(status); XCTAssertNotNil(members); XCTAssertEqual(members.count, 2); - + handler(); }); }]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; -} -- (void)testItShouldNotFetchMembersWhenSpaceObjectNotExists { - NSString *spaceIdentifier = [self uuidForUser:@"not-existing-space"]; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMembers() - .spaceId(spaceIdentifier) - .performWithCompletion(^(PNFetchMembersResult *result, PNErrorStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 404); - - if (!retried) { - retried = YES; - [status retry]; - } else { - handler(); - } - }); - }]; + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } #pragma mark - Tests :: Member events -- (void)testItShouldTriggerUpdateMemberEventOnSpaceChannelWhenUserDataChanged { +- (void)testItShouldTriggerSetMemberEventOnChannelWhenUUIDMetadataDataChanged { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:1 usingClient:client1]; - NSArray *users = [self createObjectForUsers:2 usingClient:client1]; - NSString *channel = spaces.firstObject.identifier; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:client1]; + NSString *channel = channelsMetadata.firstObject.channel; NSArray *membersCustom = @[ - @{ @"user-custom": [@[users[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-custom": [@[users[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } + @{ @"uuid-custom": [@[uuidsMetadata[0].uuid, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, + @{ @"uuid-custom": [@[uuidsMetadata[1].uuid, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } ]; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:client1]; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addUserHandlerForClient:client2 - withBlock:^(PubNub *client, PNUserEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { - XCTAssertEqualObjects(event.data.event, @"update"); - XCTAssertEqualObjects(event.data.identifier, users.firstObject.identifier); - XCTAssertNotNil(event.data.updated); + XCTAssertEqualObjects(event.data.event, @"set"); + XCTAssertEqualObjects(event.data.type, @"uuid"); + XCTAssertEqualObjects(event.data.uuidMetadata.uuid, uuidsMetadata.firstObject.uuid); + XCTAssertNotNil(event.data.uuidMetadata.updated); XCTAssertNotNil(event.data.timestamp); *remove = YES; - + handler(); }]; - - client1.updateUser() - .userId(users.firstObject.identifier) - .includeFields(PNMemberUserField|PNMemberUserCustomField) + + client1.objects().setUUIDMetadata() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNUUIDCustomField) .custom(membersCustom[0]) - .performWithCompletion(^(PNUpdateUserStatus *status) { + .performWithCompletion(^(PNSetUUIDMetadataStatus *status) { XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldTriggerDeleteMemberEventOnSpaceChannelWhenUserRemoved { +- (void)testItShouldTriggerDeleteMemberEventOnChannelWhenUUIDMetadataRemoved { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:1 usingClient:client1]; - NSArray *users = [self createObjectForUsers:2 usingClient:client1]; - NSString *channel = spaces.firstObject.identifier; - - [self addMembers:users toSpaces:spaces withCustoms:nil usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:1 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:2 usingClient:client1]; + NSString *channel = channelsMetadata.firstObject.channel; + + [self addMembers:[uuidsMetadata valueForKey:@"uuid"] + toChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addUserHandlerForClient:client2 - withBlock:^(PubNub *client, PNUserEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { XCTAssertEqualObjects(event.data.event, @"delete"); - XCTAssertEqualObjects(event.data.identifier, users.firstObject.identifier); + XCTAssertEqualObjects(event.data.type, @"uuid"); + XCTAssertEqualObjects(event.data.uuidMetadata.uuid, uuidsMetadata.firstObject.uuid); XCTAssertNotNil(event.data.timestamp); *remove = YES; - + handler(); }]; - - client1.deleteUser() - .userId(users.firstObject.identifier) + + client1.objects().removeUUIDMetadata() + .uuid(uuidsMetadata.firstObject.uuid) .performWithCompletion(^(PNAcknowledgmentStatus *status) { XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - [self deleteSpace:spaces.firstObject.identifier membersObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeChannel:channelsMetadata.firstObject.channel membersObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } @@ -1312,33 +1559,33 @@ - (void)testItShouldTriggerDeleteMemberEventOnSpaceChannelWhenUserRemoved { - (NSArray *)flattenedMembers:(NSArray *)members { NSMutableArray *flattenedMembers = [NSMutableArray new]; - + for (PNMember *member in members) { [flattenedMembers addObject:@{ - @"name": member.user.name, - @"created": member.created + @"name": member.metadata.name, + @"updated": member.updated }]; } - + return flattenedMembers; } - (NSArray *)members:(NSArray *)members sortedWith:(NSArray *)sortDescriptors { - + NSMutableArray *sortedMembers = [NSMutableArray new]; NSArray *flattenedMembers = [self flattenedMembers:members]; NSArray *sortedFlattenedMembers = [flattenedMembers sortedArrayUsingDescriptors:sortDescriptors]; - + for (NSDictionary *flattenedMember in sortedFlattenedMembers) { for (PNMember *member in members) { - if ([member.user.name isEqualToString:flattenedMember[@"name"]]) { + if ([member.metadata.name isEqualToString:flattenedMember[@"name"]]) { [sortedMembers addObject:member]; break; } } } - + return sortedMembers; } diff --git a/Tests/Tests/Integration/Objects/PNMembershipIntegrationTest.m b/Tests/Tests/Integration/Objects/PNMembershipIntegrationTest.m index 706247ed2..716cc2884 100644 --- a/Tests/Tests/Integration/Objects/PNMembershipIntegrationTest.m +++ b/Tests/Tests/Integration/Objects/PNMembershipIntegrationTest.m @@ -16,11 +16,11 @@ @interface PNMembershipIntegrationTest : PNRecordableTestCase #pragma mark - Misc /** - * @brief Flatten membership objects by extracting from it name of space and creation date. + * @brief Flatten membership objects by extracting from channel metadata name and update date. * * @param memberships List of memberships which should be flattened. * - * @return List of dictionaries which contain name of space and membership creation date. + * @return List of dictionaries which contain name from channel metadata and membership update date. */ - (NSArray *)flattenedMemberships:(NSArray *)memberships; @@ -62,76 +62,77 @@ - (void)setUp { } -#pragma mark - Tests :: Builder pattern-based create membership +#pragma mark - Tests :: Builder pattern-based set membership -- (void)testItShouldCreateMembershipAndReceiveStatusWithExpectedOperationAndCategory { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSArray *membershipSpaces = @[ +- (void)testItShouldSetMembershipAndReceiveStatusWithExpectedOperationAndCategory { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSArray *channels = @[ @{ - @"spaceId": spaces[0].identifier, - @"custom": @{ @"user-membership-custom": [@[spaces[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] } + @"channel": channelsMetadata[0].channel, + @"custom": @{ @"uuid-membership-custom": [@[channelsMetadata[0].channel, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] } }, @{ - @"spaceId": spaces[1].identifier, - @"custom": @{ @"user-membership-custom": [@[spaces[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } + @"channel": channelsMetadata[1].channel, + @"custom": @{ @"uuid-membership-custom": [@[channelsMetadata[1].channel, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } } ]; __block NSArray *memberships = nil; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) + self.client.objects().setMemberships() + .uuid(uuidsMetadata.firstObject.uuid) .includeFields(PNMembershipCustomField) - .add(membershipSpaces).performWithCompletion(^(PNManageMembershipsStatus *status) { + .channels(channels) + .performWithCompletion(^(PNManageMembershipsStatus *status) { memberships = status.data.memberships; XCTAssertFalse(status.isError); XCTAssertNotNil(memberships); - XCTAssertEqual(status.operation, PNManageMembershipsOperation); + XCTAssertEqual(status.operation, PNSetMembershipsOperation); XCTAssertEqual(status.category, PNAcknowledgmentCategory); - + for (PNMembership *membership in memberships) { - for (NSUInteger spaceIdx = 0; spaceIdx < spaces.count; spaceIdx++) { - PNSpace *space = spaces[spaceIdx]; - - if ([membership.spaceId isEqualToString:space.identifier]) { - XCTAssertEqualObjects(membership.custom, membershipSpaces[spaceIdx][@"custom"]); + for (NSUInteger idx = 0; idx < channelsMetadata.count; idx++) { + PNChannelMetadata *metadata = channelsMetadata[idx]; + + if ([membership.channel isEqualToString:metadata.channel]) { + XCTAssertEqualObjects(membership.custom, channels[idx][@"custom"]); break; } } } - + handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjects:memberships usingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldCreateMembershipAndReturnFilteredSpacesInformationWhenFilterIsSet { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSUInteger halfNameLength = (NSUInteger)(spaces.lastObject.name.length * 0.5f); - NSString *filterExpression = [NSString stringWithFormat:@"space.name like '%@*'", - [spaces.lastObject.name substringToIndex:halfNameLength]]; +- (void)testItShouldSetMembershipAndReturnFilteredMembershipsInformationWhenFilterIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSUInteger halfNameLength = (NSUInteger)(channelsMetadata.lastObject.name.length * 0.5f); + NSString *filterExpression = [NSString stringWithFormat:@"channel.name like '%@*'", + [channelsMetadata.lastObject.name substringToIndex:halfNameLength]]; NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - NSArray *membershipSpaces = @[ - @{ @"spaceId": spaces[0].identifier }, - @{ @"spaceId": spaces[1].identifier } + NSArray *channels = @[ + @{ @"channel": channelsMetadata[0].channel }, + @{ @"channel": channelsMetadata[1].channel } ]; __block NSArray *memberships = nil; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) + self.client.objects().setMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) .includeCount(YES) .filter(filterExpression) - .add(membershipSpaces) + .channels(channels) .performWithCompletion(^(PNManageMembershipsStatus *status) { NSURLRequest *request = [status valueForKey:@"clientRequest"]; memberships = status.data.memberships; @@ -143,385 +144,655 @@ - (void)testItShouldCreateMembershipAndReturnFilteredSpacesInformationWhenFilter XCTAssertNotNil(memberships); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, NSNotFound); - XCTAssertNotNil(memberships.firstObject.space); - XCTAssertEqualObjects(memberships.firstObject.space.custom, spaces.lastObject.custom); - + XCTAssertNotEqual([memberships.debugDescription rangeOfString:@"eTag"].location, NSNotFound); + XCTAssertNotNil(memberships.firstObject.metadata); + XCTAssertEqualObjects(memberships.firstObject.metadata.custom, channelsMetadata.lastObject.custom); + handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjects:memberships usingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldCreateMembershipAndReturnSortedSpacesInformationWhenSortIsSet { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSString *expectedSort = @"space.name%3Adesc"; - NSArray *membershipSpaces = @[ - @{ @"spaceId": spaces[0].identifier }, - @{ @"spaceId": spaces[1].identifier } +/** + * @brief To test 'retry' functionality + * 'ItShouldSetMembershipAndReturnSortedMembershipsInformationWhenSortIsSet.json' should + * be modified after cassette recording. Find first mention of membership set and copy paste + * 4 entries which belong to it. For new entries change 'id' field to be different from source. For + * original response entry change status code to 404. + */ +- (void)testItShouldSetMembershipAndReturnSortedMembershipsInformationWhenSortIsSet { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSString *expectedSort = @"channel.name%3Adesc"; + NSArray *channels = @[ + @{ @"channel": channelsMetadata[0].channel }, + @{ @"channel": channelsMetadata[1].channel } ]; __block NSArray *memberships = nil; - - NSArray *expectedMembershipSpacesOrder = [spaces sortedArrayUsingDescriptors:@[ + __block BOOL retried = NO; + + NSArray *expectedMembershipMembershipsOrder = [channelsMetadata sortedArrayUsingDescriptors:@[ [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO] ]]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) + self.client.objects().setMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) .includeCount(YES) - .sort(@[@"space.name:desc"]) - .add(membershipSpaces) + .sort(@[@"channel.name:desc"]) + .channels(channels) .performWithCompletion(^(PNManageMembershipsStatus *status) { - NSURLRequest *request = [status valueForKey:@"clientRequest"]; - memberships = status.data.memberships; - XCTAssertNil(status.data.prev); - XCTAssertNotNil(status.data.next); - XCTAssertNotNil(memberships); - XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, - NSNotFound); - - for (NSUInteger fetchedMembershipIdx = 0; fetchedMembershipIdx < memberships.count; fetchedMembershipIdx++) { - XCTAssertEqualObjects(memberships[fetchedMembershipIdx].spaceId, - expectedMembershipSpacesOrder[fetchedMembershipIdx].identifier); + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNSetMembershipsOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + NSURLRequest *request = [status valueForKey:@"clientRequest"]; + memberships = status.data.memberships; + XCTAssertNil(status.data.prev); + XCTAssertNotNil(status.data.next); + XCTAssertNotNil(memberships); + XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, + NSNotFound); + + for (NSUInteger idx = 0; idx < memberships.count; idx++) { + XCTAssertEqualObjects(memberships[idx].channel, + expectedMembershipMembershipsOrder[idx].channel); + } + + XCTAssertNotEqualObjects([memberships valueForKeyPath:@"metadata.name"], + [channelsMetadata valueForKeyPath:@"name"]); + + handler(); } - - XCTAssertNotEqualObjects([memberships valueForKeyPath:@"space.name"], - [spaces valueForKeyPath:@"name"]); - - handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjects:memberships usingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldCreateMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSArray *membershipSpaces = @[ - @{ @"spaceId": spaces[0].identifier }, - @{ @"spaceId": spaces[1].identifier } +- (void)testItShouldSetMembershipAndReturnMembershipInformationWhenIncludeFlagIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSArray *channels = @[ + @{ @"channel": channelsMetadata[0].channel }, + @{ @"channel": channelsMetadata[1].channel } ]; __block NSArray *memberships = nil; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .add(membershipSpaces) + self.client.objects().setMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .channels(channels) .performWithCompletion(^(PNManageMembershipsStatus *status) { memberships = status.data.memberships; XCTAssertFalse(status.isError); XCTAssertNotNil(memberships); - + for (PNMembership *membership in memberships) { - XCTAssertNotNil(membership.space); - - for (NSUInteger spaceIdx = 0; spaceIdx < spaces.count; spaceIdx++) { - PNSpace *space = spaces[spaceIdx]; - - if ([membership.space.identifier isEqualToString:space.identifier]) { - XCTAssertEqualObjects(membership.space.custom, space.custom); + XCTAssertNotNil(membership.metadata); + + for (NSUInteger idx = 0; idx < channelsMetadata.count; idx++) { + PNChannelMetadata *metadata = channelsMetadata[idx]; + + if ([membership.metadata.channel isEqualToString:metadata.channel]) { + XCTAssertEqualObjects(membership.metadata.custom, metadata.custom); break; } } } - + handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjects:memberships usingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldCreateMembershipAndTriggerCreateEventOnUserChannel { +- (void)testItShouldSetMembershipAndTriggerSetEventOnUUIDChannel { NSMutableArray *createdMemberships = [NSMutableArray new]; PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:2 usingClient:client1]; - NSArray *users = [self createObjectForUsers:1 usingClient:client1]; - NSString *channel = users.firstObject.identifier; - NSArray *membershipSpaces = @[ - @{ @"spaceId": spaces[0].identifier }, - @{ @"spaceId": spaces[1].identifier } + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:client1]; + NSString *channel = uuidsMetadata.firstObject.uuid; + NSArray *channels = @[ + @{ @"channel": channelsMetadata[0].channel }, + @{ @"channel": channelsMetadata[1].channel } ]; __block NSArray *memberships = nil; - + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { - XCTAssertEqualObjects(event.data.event, @"create"); - XCTAssertNotNil(event.data.created); + XCTAssertEqualObjects(event.data.event, @"set"); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertNotNil(event.data.membership.updated); XCTAssertNotNil(event.data.timestamp); - - if ([createdMemberships indexOfObject:event.data.spaceId] == NSNotFound) { - [createdMemberships addObject:event.data.spaceId]; + + if ([createdMemberships indexOfObject:event.data.membership.channel] == NSNotFound) { + [createdMemberships addObject:event.data.membership.channel]; } - - if (createdMemberships.count == spaces.count) { - XCTAssertNotEqual([createdMemberships indexOfObject:spaces[0].identifier], NSNotFound); - XCTAssertNotEqual([createdMemberships indexOfObject:spaces[1].identifier], NSNotFound); + + if (createdMemberships.count == channelsMetadata.count) { + XCTAssertNotEqual([createdMemberships indexOfObject:channelsMetadata[0].channel], NSNotFound); + XCTAssertNotEqual([createdMemberships indexOfObject:channelsMetadata[1].channel], NSNotFound); *remove = YES; - + handler(); } }]; - - client1.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .add(membershipSpaces) + + client1.objects().setMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .channels(channels) .performWithCompletion(^(PNManageMembershipsStatus *status) { memberships = status.data.memberships; XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - - [self verifyUserMembershipsCount:users.firstObject.identifier shouldEqualTo:membershipSpaces.count + + + [self verifyUUIDMembershipsCount:uuidsMetadata.firstObject.uuid shouldEqualTo:channels.count usingClient:client1]; - - [self deleteUser:users.firstObject.identifier membershipObjects:memberships usingClient:client1]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } -- (void)testItShouldCreateMembershipAndTriggerCreateEventOnSpaceChannel { +- (void)testItShouldSetMembershipAndTriggerSetEventOnChannel { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:2 usingClient:client1]; - NSArray *users = [self createObjectForUsers:1 usingClient:client1]; - NSString *channel = spaces.firstObject.identifier; - NSArray *membershipSpaces = @[ - @{ @"spaceId": spaces[0].identifier }, - @{ @"spaceId": spaces[1].identifier } + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:client1]; + NSString *channel = channelsMetadata.firstObject.channel; + NSArray *channels = @[ + @{ @"channel": channelsMetadata[0].channel }, + @{ @"channel": channelsMetadata[1].channel } ]; __block NSArray *memberships = nil; - + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { - XCTAssertEqualObjects(event.data.event, @"create"); - XCTAssertNotNil(event.data.created); + XCTAssertEqualObjects(event.data.event, @"set"); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertNotNil(event.data.membership.updated); XCTAssertNotNil(event.data.timestamp); *remove = YES; - + handler(); }]; - - client1.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .add(membershipSpaces) + + client1.objects().setMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .channels(channels) .performWithCompletion(^(PNManageMembershipsStatus *status) { memberships = status.data.memberships; XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - [self deleteUser:users.firstObject.identifier membershipObjects:memberships usingClient:client1]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } -- (void)testItShouldNotCreateMembershipWhenUserAlreadyHasMembershipWithTargetSpace { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSArray *membershipSpaces = @[ - @{ @"spaceId": spaces[0].identifier }, - @{ @"spaceId": spaces[1].identifier } + +#pragma mark - Tests :: Builder pattern-based manage set membership + +- (void)testItShouldSetMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSArray *channels = @[ + @{ + @"channel": channelsMetadata[0].channel, + @"custom": @{ @"uuid-membership-custom": [@[channelsMetadata[0].channel, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] } + }, + @{ + @"channel": channelsMetadata[1].channel, + @"custom": @{ @"uuid-membership-custom": [@[channelsMetadata[1].channel, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } + } ]; __block NSArray *memberships = nil; - __block BOOL retried = NO; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .add(membershipSpaces) + self.client.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipCustomField) + .set(channels) .performWithCompletion(^(PNManageMembershipsStatus *status) { memberships = status.data.memberships; XCTAssertFalse(status.isError); + XCTAssertNotNil(memberships); + XCTAssertEqual(status.operation, PNManageMembershipsOperation); + XCTAssertEqual(status.category, PNAcknowledgmentCategory); + + for (PNMembership *membership in memberships) { + for (NSUInteger idx = 0; idx < channelsMetadata.count; idx++) { + PNChannelMetadata *metadata = channelsMetadata[idx]; + + if ([membership.channel isEqualToString:metadata.channel]) { + XCTAssertEqualObjects(membership.custom, channels[idx][@"custom"]); + break; + } + } + } + handler(); }); }]; - - + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldSetMembershipUsingManageAndReturnFilteredMembershipsInformationWhenFilterIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSUInteger halfNameLength = (NSUInteger)(channelsMetadata.lastObject.name.length * 0.5f); + NSString *filterExpression = [NSString stringWithFormat:@"channel.name like '%@*'", + [channelsMetadata.lastObject.name substringToIndex:halfNameLength]]; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + NSArray *channels = @[ + @{ @"channel": channelsMetadata[0].channel }, + @{ @"channel": channelsMetadata[1].channel } + ]; + __block NSArray *memberships = nil; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .add(@[membershipSpaces.firstObject]) + self.client.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .includeCount(YES) + .filter(filterExpression) + .set(channels) .performWithCompletion(^(PNManageMembershipsStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 400); - - if (!retried) { - retried = YES; - [status retry]; - } else { - handler(); - } + NSURLRequest *request = [status valueForKey:@"clientRequest"]; + memberships = status.data.memberships; + XCTAssertEqual(status.data.totalCount, 1); + XCTAssertEqual(memberships.count, status.data.totalCount); + XCTAssertNil(status.data.prev); + XCTAssertNotNil(status.data.next); + XCTAssertFalse(status.isError); + XCTAssertNotNil(memberships); + XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, + NSNotFound); + XCTAssertNotNil(memberships.firstObject.metadata); + XCTAssertEqualObjects(memberships.firstObject.metadata.custom, channelsMetadata.lastObject.custom); + + handler(); }); }]; - - - [self verifyUserMembershipsCount:users.firstObject.identifier shouldEqualTo:membershipSpaces.count - usingClient:nil]; - - [self deleteUser:users.firstObject.identifier membershipObjects:memberships usingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } +- (void)testItShouldSetMembershipUsingManageAndReturnSortedMembershipsInformationWhenSortIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSString *expectedSort = @"channel.name%3Adesc"; + NSArray *channels = @[ + @{ @"channel": channelsMetadata[0].channel }, + @{ @"channel": channelsMetadata[1].channel } + ]; + __block NSArray *memberships = nil; -#pragma mark - Tests :: Builder pattern-based update membership + NSArray *expectedMembershipMembershipsOrder = [channelsMetadata sortedArrayUsingDescriptors:@[ + [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO] + ]]; -- (void)testItShouldUpdateMembershipAndReceiveStatusWithExpectedOperationAndCategory { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSArray *membershipCustom = @[ - @{ @"user-membership-custom": [@[spaces[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-membership-custom": [@[spaces[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - NSArray *expectedMembershipCustom = @[ - @{ @"user-membership-custom": [@[spaces[0].identifier, @"custom", @"data", @"3"] componentsJoinedByString:@"-"] }, - @{ @"user-membership-custom": [@[spaces[1].identifier, @"custom", @"data", @"4"] componentsJoinedByString:@"-"] } + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .includeCount(YES) + .sort(@[@"channel.name:desc"]) + .set(channels) + .performWithCompletion(^(PNManageMembershipsStatus *status) { + NSURLRequest *request = [status valueForKey:@"clientRequest"]; + memberships = status.data.memberships; + XCTAssertNil(status.data.prev); + XCTAssertNotNil(status.data.next); + XCTAssertNotNil(memberships); + XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, + NSNotFound); + + for (NSUInteger idx = 0; idx < memberships.count; idx++) { + XCTAssertEqualObjects(memberships[idx].channel, + expectedMembershipMembershipsOrder[idx].channel); + } + + XCTAssertNotEqualObjects([memberships valueForKeyPath:@"metadata.name"], + [channelsMetadata valueForKeyPath:@"name"]); + + handler(); + }); + }]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldSetMembershipUsingManageAndReturnMembershipInformationWhenIncludeFlagIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSArray *channels = @[ + @{ @"channel": channelsMetadata[0].channel }, + @{ @"channel": channelsMetadata[1].channel } ]; - - [self createUsersMembership:users inSpaces:spaces withCustoms:membershipCustom usingClient:nil]; - - + __block NSArray *memberships = nil; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipCustomField) - .update(@[ - @{ @"spaceId": spaces[0].identifier, @"custom": expectedMembershipCustom[0] }, - @{ @"spaceId": spaces[1].identifier, @"custom": expectedMembershipCustom[1] }, - ]) + self.client.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .set(channels) .performWithCompletion(^(PNManageMembershipsStatus *status) { - NSArray *memberships = status.data.memberships; + memberships = status.data.memberships; XCTAssertFalse(status.isError); XCTAssertNotNil(memberships); - XCTAssertEqual(status.operation, PNManageMembershipsOperation); - XCTAssertEqual(status.category, PNAcknowledgmentCategory); - + for (PNMembership *membership in memberships) { - for (NSUInteger spaceIdx = 0; spaceIdx < spaces.count; spaceIdx++) { - PNSpace *space = spaces[spaceIdx]; - - if ([membership.spaceId isEqualToString:space.identifier]) { - XCTAssertEqualObjects(membership.custom, expectedMembershipCustom[spaceIdx]); + XCTAssertNotNil(membership.metadata); + + for (NSUInteger idx = 0; idx < channelsMetadata.count; idx++) { + PNChannelMetadata *metadata = channelsMetadata[idx]; + + if ([membership.metadata.channel isEqualToString:metadata.channel]) { + XCTAssertEqualObjects(membership.metadata.custom, metadata.custom); break; } } } - - handler(); + + handler(); + }); + }]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; +} + +- (void)testItShouldSetMembershipUsingManageAndTriggerSetEventOnUUIDChannel { + NSMutableArray *createdMemberships = [NSMutableArray new]; + PubNub *client1 = [self createPubNubForUser:@"serhii"]; + PubNub *client2 = [self createPubNubForUser:@"david"]; + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:client1]; + NSString *channel = uuidsMetadata.firstObject.uuid; + NSArray *channels = @[ + @{ @"channel": channelsMetadata[0].channel }, + @{ @"channel": channelsMetadata[1].channel } + ]; + __block NSArray *memberships = nil; + + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { + + XCTAssertEqualObjects(event.data.event, @"set"); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertNotNil(event.data.membership.updated); + XCTAssertNotNil(event.data.timestamp); + + if ([createdMemberships indexOfObject:event.data.membership.channel] == NSNotFound) { + [createdMemberships addObject:event.data.membership.channel]; + } + + if (createdMemberships.count == channelsMetadata.count) { + XCTAssertNotEqual([createdMemberships indexOfObject:channelsMetadata[0].channel], NSNotFound); + XCTAssertNotEqual([createdMemberships indexOfObject:channelsMetadata[1].channel], NSNotFound); + *remove = YES; + + handler(); + } + }]; + + client1.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .set(channels) + .performWithCompletion(^(PNManageMembershipsStatus *status) { + memberships = status.data.memberships; + XCTAssertFalse(status.isError); + }); + }]; + + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; + + + [self verifyUUIDMembershipsCount:uuidsMetadata.firstObject.uuid shouldEqualTo:channels.count + usingClient:client1]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; +} + +- (void)testItShouldSetMembershipUsingManageAndTriggerSetEventOnChannel { + PubNub *client1 = [self createPubNubForUser:@"serhii"]; + PubNub *client2 = [self createPubNubForUser:@"david"]; + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:client1]; + NSString *channel = channelsMetadata.firstObject.channel; + NSArray *channels = @[ + @{ @"channel": channelsMetadata[0].channel }, + @{ @"channel": channelsMetadata[1].channel } + ]; + __block NSArray *memberships = nil; + + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { + + XCTAssertEqualObjects(event.data.event, @"set"); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertNotNil(event.data.membership.updated); + XCTAssertNotNil(event.data.timestamp); + *remove = YES; + + handler(); + }]; + + client1.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .set(channels) + .performWithCompletion(^(PNManageMembershipsStatus *status) { + memberships = status.data.memberships; + XCTAssertFalse(status.isError); + }); + }]; + + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjects:memberships usingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; +} + + +#pragma mark - Tests :: Builder pattern-based remove membership + +/** + * @brief To test 'retry' functionality + * 'ItShouldRemoveMembershipAndReceiveStatusWithExpectedOperationAndCategory.json' should + * be modified after cassette recording. Find first mention of membership remove and copy paste + * 4 entries which belong to it. For new entries change 'id' field to be different from source. For + * original response entry change status code to 404. + */ +- (void)testItShouldRemoveMembershipAndReceiveStatusWithExpectedOperationAndCategory { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + __block BOOL retried = NO; + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().removeMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipCustomField) + .channels(@[channelsMetadata.firstObject.channel]) + .performWithCompletion(^(PNManageMembershipsStatus *status) { + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNRemoveMembershipsOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + NSArray *memberships = status.data.memberships; + XCTAssertFalse(status.isError); + XCTAssertNotNil(memberships); + XCTAssertEqual(memberships.count, 1); + XCTAssertEqualObjects(memberships.firstObject.channel, channelsMetadata[1].channel); + XCTAssertEqual(status.operation, PNRemoveMembershipsOperation); + XCTAssertEqual(status.category, PNAcknowledgmentCategory); + + [self removeUUID:uuidsMetadata.firstObject.uuid + cachedMembershipForChannel:channelsMetadata[0].channel]; + + handler(); + } }); }]; - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldUpdateMembershipAndReturnFilteredSpaceInformationWhenFilterIsSet { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSUInteger halfNameLength = (NSUInteger)(spaces.lastObject.name.length * 0.5f); - NSString *filterExpression = [NSString stringWithFormat:@"space.name like '%@*'", - [spaces.lastObject.name substringToIndex:halfNameLength]]; +- (void)testItShouldRemoveMembershipAndReturnFilteredMembershipsInformationWhenFilterIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSUInteger halfNameLength = (NSUInteger)(channelsMetadata.lastObject.name.length * 0.5f); + NSString *filterExpression = [NSString stringWithFormat:@"channel.name like '%@*'", + [channelsMetadata.lastObject.name substringToIndex:halfNameLength]]; NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - NSArray *membershipCustom = @[ - @{ @"user-membership-custom": [@[spaces[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-membership-custom": [@[spaces[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) + self.client.objects().removeMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) .includeCount(YES) .filter(filterExpression) - .update(@[ - @{ @"spaceId": spaces[0].identifier, @"custom": membershipCustom[0] }, - @{ @"spaceId": spaces[1].identifier, @"custom": membershipCustom[1] }, - ]) + .channels(@[channelsMetadata[0].channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { NSArray *memberships = status.data.memberships; NSURLRequest *request = [status valueForKey:@"clientRequest"]; XCTAssertFalse(status.isError); XCTAssertNotNil(memberships); + XCTAssertEqual(status.data.totalCount, 1); + XCTAssertEqual(memberships.count, status.data.totalCount); + XCTAssertNotNil(memberships.firstObject.metadata); + XCTAssertEqualObjects(memberships.firstObject.metadata.channel, channelsMetadata[1].channel); + XCTAssertEqualObjects(memberships.firstObject.metadata.custom, channelsMetadata[1].custom); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, NSNotFound); - XCTAssertNotNil(memberships.lastObject.space); - XCTAssertEqualObjects(memberships.lastObject.space.custom, spaces.lastObject.custom); - + + [self removeUUID:uuidsMetadata.firstObject.uuid + cachedMembershipForChannel:channelsMetadata[0].channel]; + handler(); }); }]; - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldUpdateMembershipAndReturnSortedSpaceInformationWhenSortIsSet { - NSArray *spaces = [self createObjectForSpaces:4 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSString *expectedSort = @"space.name%3Adesc,created"; - NSArray *membershipCustom = @[ - @{ @"user-membership-custom": [@[spaces[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-membership-custom": [@[spaces[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - NSArray *memberships = [self createUsersMembership:users inSpaces:spaces withCustoms:nil - spaceInformation:YES usingClient:nil]; +- (void)testItShouldRemoveMembershipAndReturnSortedMembershipsInformationWhenSortedIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:5 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSString *expectedSort = @"channel.name%3Adesc,updated"; + + NSMutableArray *memberships = [[self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + channelMetadata:YES + usingClient:nil] mutableCopy]; + [memberships removeObjectAtIndex:0]; NSArray *expectedMembershipsOrder = [self memberships:memberships sortedWith:@[ [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], - [NSSortDescriptor sortDescriptorWithKey:@"created" ascending:YES] + [NSSortDescriptor sortDescriptorWithKey:@"updated" ascending:YES] ]]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) + self.client.objects().removeMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) .includeCount(YES) - .sort(@[@"space.name:desc", @"created"]) - .update(@[ - @{ @"spaceId": spaces[0].identifier, @"custom": membershipCustom[0] }, - @{ @"spaceId": spaces[1].identifier, @"custom": membershipCustom[1] }, - ]) + .sort(@[@"channel.name:desc", @"updated"]) + .channels(@[channelsMetadata[0].channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { NSArray *fetchedMemberships = status.data.memberships; NSURLRequest *request = [status valueForKey:@"clientRequest"]; @@ -529,227 +800,187 @@ - (void)testItShouldUpdateMembershipAndReturnSortedSpaceInformationWhenSortIsSet XCTAssertNotNil(fetchedMemberships); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, NSNotFound); - - for (NSUInteger fetchedMembershipIdx = 0; fetchedMembershipIdx < fetchedMemberships.count; fetchedMembershipIdx++) { - XCTAssertEqualObjects(fetchedMemberships[fetchedMembershipIdx].space.name, - expectedMembershipsOrder[fetchedMembershipIdx].space.name); + + for (NSUInteger idx = 0; idx < fetchedMemberships.count; idx++) { + XCTAssertEqualObjects(fetchedMemberships[idx].metadata.name, + expectedMembershipsOrder[idx].metadata.name); } - - XCTAssertNotEqualObjects([fetchedMemberships valueForKeyPath:@"space.name"], - [memberships valueForKeyPath:@"space.name"]); - + + XCTAssertNotEqualObjects([fetchedMemberships valueForKeyPath:@"metadata.name"], + [memberships valueForKeyPath:@"metadata.name"]); + + [self removeUUID:uuidsMetadata.firstObject.uuid + cachedMembershipForChannel:channelsMetadata[0].channel]; + handler(); }); }]; - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldUpdateMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSArray *membershipCustom = @[ - @{ @"user-membership-custom": [@[spaces[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-membership-custom": [@[spaces[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:nil]; - - +- (void)testItShouldRemoveMembershipAndReturnMembershipsInformationWhenIncludeFlagIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .update(@[ - @{ @"spaceId": spaces[0].identifier, @"custom": membershipCustom[0] }, - @{ @"spaceId": spaces[1].identifier, @"custom": membershipCustom[1] }, - ]) + self.client.objects().removeMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .channels(@[channelsMetadata[0].channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { NSArray *memberships = status.data.memberships; XCTAssertFalse(status.isError); XCTAssertNotNil(memberships); - - for (PNMembership *membership in memberships) { - XCTAssertNotNil(membership.space); - - for (PNSpace *space in spaces) { - if ([membership.space.identifier isEqualToString:space.identifier]) { - XCTAssertEqualObjects(membership.space.custom, space.custom); - break; - } - } - } - + XCTAssertEqual(memberships.count, 1); + XCTAssertNotNil(memberships.firstObject.metadata); + XCTAssertEqualObjects(memberships.firstObject.metadata.channel, channelsMetadata[1].channel); + XCTAssertEqualObjects(memberships.firstObject.metadata.custom, channelsMetadata[1].custom); + + [self removeUUID:uuidsMetadata.firstObject.uuid + cachedMembershipForChannel:channelsMetadata[0].channel]; + handler(); }); }]; - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldUpdateMembershipAndTriggerUpdateEventOnUserChannel { - NSMutableArray *updatedMemberships = [NSMutableArray new]; +- (void)testItShouldRemoveMembershipAndTriggerDeleteEventOnUUIDChannel { + NSMutableArray *deletedMemberships = [NSMutableArray new]; PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:2 usingClient:client1]; - NSArray *users = [self createObjectForUsers:1 usingClient:client1]; - NSString *channel = users.firstObject.identifier; - NSArray *membershipCustom = @[ - @{ @"user-membership-custom": [@[spaces[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-membership-custom": [@[spaces[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:client1]; + NSString *channel = uuidsMetadata.firstObject.uuid; + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { - XCTAssertEqualObjects(event.data.event, @"update"); - XCTAssertNotNil(event.data.updated); + XCTAssertEqualObjects(event.data.event, @"delete"); + XCTAssertEqualObjects(event.data.type, @"membership"); XCTAssertNotNil(event.data.timestamp); - - if ([updatedMemberships indexOfObject:event.data.spaceId] == NSNotFound) { - [updatedMemberships addObject:event.data.spaceId]; + + if ([deletedMemberships indexOfObject:event.data.membership.channel] == NSNotFound) { + [deletedMemberships addObject:event.data.membership.channel]; } - - if (updatedMemberships.count == spaces.count) { - XCTAssertNotEqual([updatedMemberships indexOfObject:spaces[0].identifier], NSNotFound); - XCTAssertNotEqual([updatedMemberships indexOfObject:spaces[1].identifier], NSNotFound); + + if (deletedMemberships.count == channelsMetadata.count) { + XCTAssertNotEqual([deletedMemberships indexOfObject:channelsMetadata[0].channel], NSNotFound); + XCTAssertNotEqual([deletedMemberships indexOfObject:channelsMetadata[1].channel], NSNotFound); *remove = YES; - + handler(); } }]; - - client1.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .update(@[ - @{ @"spaceId": spaces[0].identifier, @"custom": membershipCustom[0] }, - @{ @"spaceId": spaces[1].identifier, @"custom": membershipCustom[1] }, - ]) + + client1.objects().removeMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .channels(@[channelsMetadata[0].channel, channelsMetadata[1].channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:client1]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } -- (void)testItShouldUpdateMembershipAndTriggerUpdateEventOnSpaceChannel { +- (void)testItShouldRemoveMembershipAndTriggerDeleteEventOnChannel { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:2 usingClient:client1]; - NSArray *users = [self createObjectForUsers:1 usingClient:client1]; - NSString *channel = spaces.firstObject.identifier; - NSArray *membershipCustom = @[ - @{ @"user-membership-custom": [@[spaces[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-membership-custom": [@[spaces[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:client1]; + NSString *channel = channelsMetadata.firstObject.channel; + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { - - XCTAssertEqualObjects(event.data.event, @"update"); - XCTAssertEqualObjects(event.data.spaceId, spaces.firstObject.identifier); - XCTAssertNotNil(event.data.updated); + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { + + XCTAssertEqualObjects(event.data.event, @"delete"); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertEqualObjects(event.data.channel, channelsMetadata.firstObject.channel); XCTAssertNotNil(event.data.timestamp); *remove = YES; - + handler(); }]; - - client1.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .update(@[ - @{ @"spaceId": spaces[0].identifier, @"custom": membershipCustom[0] }, - @{ @"spaceId": spaces[1].identifier, @"custom": membershipCustom[1] }, - ]) + + client1.objects().removeMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .channels(@[channelsMetadata[0].channel, channelsMetadata[1].channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { XCTAssertFalse(status.isError); }); }]; - - [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:client1]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; -} + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; -- (void)testItShouldNotUpdateMembershipWhenUserNotHaveMembershipWithSpecifiedSpaces { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSArray *membershipCustom = @[ - @{ @"user-membership-custom": [@[spaces[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-membership-custom": [@[spaces[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } - ]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipCustomField) - .update(@[ - @{ @"spaceId": spaces[0].identifier, @"custom": membershipCustom[0] }, - @{ @"spaceId": spaces[1].identifier, @"custom": membershipCustom[1] } - ]) - .performWithCompletion(^(PNManageMembershipsStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 400); - handler(); - }); - }]; - - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } -#pragma mark - Tests :: Builder pattern-based delete membership +#pragma mark - Tests :: Builder pattern-based remove membership /** * @brief To test 'retry' functionality - * 'ItShouldDeleteMembershipAndReceiveStatusWithExpectedOperationAndCategory.json' should + * 'ItShouldRemoveMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory.json' should * be modified after cassette recording. Find first mention of membership remove and copy paste * 4 entries which belong to it. For new entries change 'id' field to be different from source. For * original response entry change status code to 404. */ -- (void)testItShouldDeleteMembershipAndReceiveStatusWithExpectedOperationAndCategory { +- (void)testItShouldRemoveMembershipUsingManageAndReceiveStatusWithExpectedOperationAndCategory { if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); return; } - - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; + + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; __block BOOL retried = NO; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) + self.client.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) .includeFields(PNMembershipCustomField) - .remove(@[spaces.firstObject.identifier]) + .remove(@[channelsMetadata.firstObject.channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { if (!retried && !YHVVCR.cassette.isNewCassette) { XCTAssertTrue(status.error); @@ -763,40 +994,44 @@ - (void)testItShouldDeleteMembershipAndReceiveStatusWithExpectedOperationAndCate XCTAssertFalse(status.isError); XCTAssertNotNil(memberships); XCTAssertEqual(memberships.count, 1); - XCTAssertEqualObjects(memberships.firstObject.spaceId, spaces[1].identifier); + XCTAssertEqualObjects(memberships.firstObject.channel, channelsMetadata[1].channel); XCTAssertEqual(status.operation, PNManageMembershipsOperation); XCTAssertEqual(status.category, PNAcknowledgmentCategory); - - [self deleteUser:users.firstObject.identifier cachedMembershipForSpace:spaces[0].identifier]; - + + [self removeUUID:uuidsMetadata.firstObject.uuid + cachedMembershipForChannel:channelsMetadata[0].channel]; + handler(); } }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldDeleteMembershipAndReturnFilteredSpaceInformationWhenFilterIsSet { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSUInteger halfNameLength = (NSUInteger)(spaces.lastObject.name.length * 0.5f); - NSString *filterExpression = [NSString stringWithFormat:@"space.name like '%@*'", - [spaces.lastObject.name substringToIndex:halfNameLength]]; +- (void)testItShouldRemoveMembershipUsingManageAndReturnFilteredMembershipsInformationWhenFilterIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSUInteger halfNameLength = (NSUInteger)(channelsMetadata.lastObject.name.length * 0.5f); + NSString *filterExpression = [NSString stringWithFormat:@"channel.name like '%@*'", + [channelsMetadata.lastObject.name substringToIndex:halfNameLength]]; NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) + self.client.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) .includeCount(YES) .filter(filterExpression) - .remove(@[spaces[0].identifier]) + .remove(@[channelsMetadata[0].channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { NSArray *memberships = status.data.memberships; NSURLRequest *request = [status valueForKey:@"clientRequest"]; @@ -804,44 +1039,48 @@ - (void)testItShouldDeleteMembershipAndReturnFilteredSpaceInformationWhenFilterI XCTAssertNotNil(memberships); XCTAssertEqual(status.data.totalCount, 1); XCTAssertEqual(memberships.count, status.data.totalCount); - XCTAssertNotNil(memberships.firstObject.space); - XCTAssertEqualObjects(memberships.firstObject.space.identifier, spaces[1].identifier); - XCTAssertEqualObjects(memberships.firstObject.space.custom, spaces[1].custom); + XCTAssertNotNil(memberships.firstObject.metadata); + XCTAssertEqualObjects(memberships.firstObject.metadata.channel, channelsMetadata[1].channel); + XCTAssertEqualObjects(memberships.firstObject.metadata.custom, channelsMetadata[1].custom); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, NSNotFound); - - [self deleteUser:users.firstObject.identifier cachedMembershipForSpace:spaces[0].identifier]; - + + [self removeUUID:uuidsMetadata.firstObject.uuid + cachedMembershipForChannel:channelsMetadata[0].channel]; + handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldDeleteMembershipAndReturnSortedSpaceInformationWhenSortedIsSet { - NSArray *spaces = [self createObjectForSpaces:5 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSString *expectedSort = @"space.name%3Adesc,created"; - - NSMutableArray *memberships = [[self createUsersMembership:users inSpaces:spaces withCustoms:nil - spaceInformation:YES usingClient:nil] mutableCopy]; +- (void)testItShouldRemoveMembershipUsingManageAndReturnSortedMembershipsInformationWhenSortedIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:5 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSString *expectedSort = @"channel.name%3Adesc,updated"; + + NSMutableArray *memberships = [[self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + channelMetadata:YES + usingClient:nil] mutableCopy]; [memberships removeObjectAtIndex:0]; NSArray *expectedMembershipsOrder = [self memberships:memberships sortedWith:@[ [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], - [NSSortDescriptor sortDescriptorWithKey:@"created" ascending:YES] + [NSSortDescriptor sortDescriptorWithKey:@"updated" ascending:YES] ]]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) + self.client.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) .includeCount(YES) - .sort(@[@"space.name:desc", @"created"]) - .remove(@[spaces[0].identifier]) + .sort(@[@"channel.name:desc", @"updated"]) + .remove(@[channelsMetadata[0].channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { NSArray *fetchedMemberships = status.data.memberships; NSURLRequest *request = [status valueForKey:@"clientRequest"]; @@ -849,186 +1088,227 @@ - (void)testItShouldDeleteMembershipAndReturnSortedSpaceInformationWhenSortedIsS XCTAssertNotNil(fetchedMemberships); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, NSNotFound); - - for (NSUInteger fetchedMembershipIdx = 0; fetchedMembershipIdx < fetchedMemberships.count; fetchedMembershipIdx++) { - XCTAssertEqualObjects(fetchedMemberships[fetchedMembershipIdx].space.name, - expectedMembershipsOrder[fetchedMembershipIdx].space.name); + + for (NSUInteger idx = 0; idx < fetchedMemberships.count; idx++) { + XCTAssertEqualObjects(fetchedMemberships[idx].metadata.name, + expectedMembershipsOrder[idx].metadata.name); } - - XCTAssertNotEqualObjects([fetchedMemberships valueForKeyPath:@"space.name"], - [memberships valueForKeyPath:@"space.name"]); - - [self deleteUser:users.firstObject.identifier cachedMembershipForSpace:spaces[0].identifier]; - + + XCTAssertNotEqualObjects([fetchedMemberships valueForKeyPath:@"metadata.name"], + [memberships valueForKeyPath:@"metadata.name"]); + + [self removeUUID:uuidsMetadata.firstObject.uuid + cachedMembershipForChannel:channelsMetadata[0].channel]; + handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldDeleteMembershipAndReturnSpaceInformationWhenSpaceIncludeFlagIsSet { - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:nil]; - - +- (void)testItShouldRemoveMembershipUsingManageAndReturnMembershipsInformationWhenIncludeFlagIsSet { + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .remove(@[spaces[0].identifier]) + self.client.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .remove(@[channelsMetadata[0].channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { NSArray *memberships = status.data.memberships; XCTAssertFalse(status.isError); XCTAssertNotNil(memberships); XCTAssertEqual(memberships.count, 1); - XCTAssertNotNil(memberships.firstObject.space); - XCTAssertEqualObjects(memberships.firstObject.space.identifier, spaces[1].identifier); - XCTAssertEqualObjects(memberships.firstObject.space.custom, spaces[1].custom); - - [self deleteUser:users.firstObject.identifier cachedMembershipForSpace:spaces[0].identifier]; - + XCTAssertNotNil(memberships.firstObject.metadata); + XCTAssertEqualObjects(memberships.firstObject.metadata.channel, channelsMetadata[1].channel); + XCTAssertEqualObjects(memberships.firstObject.metadata.custom, channelsMetadata[1].custom); + + [self removeUUID:uuidsMetadata.firstObject.uuid + cachedMembershipForChannel:channelsMetadata[0].channel]; + handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } -- (void)testItShouldDeleteMembershipAndTriggerDeleteEventOnUserChannel { +- (void)testItShouldRemoveMembershipUsingManageAndTriggerDeleteEventOnUUIDChannel { NSMutableArray *deletedMemberships = [NSMutableArray new]; PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:2 usingClient:client1]; - NSArray *users = [self createObjectForUsers:1 usingClient:client1]; - NSString *channel = users.firstObject.identifier; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:client1]; + NSString *channel = uuidsMetadata.firstObject.uuid; + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { XCTAssertEqualObjects(event.data.event, @"delete"); + XCTAssertEqualObjects(event.data.type, @"membership"); XCTAssertNotNil(event.data.timestamp); - - if ([deletedMemberships indexOfObject:event.data.spaceId] == NSNotFound) { - [deletedMemberships addObject:event.data.spaceId]; + + if ([deletedMemberships indexOfObject:event.data.membership.channel] == NSNotFound) { + [deletedMemberships addObject:event.data.membership.channel]; } - - if (deletedMemberships.count == spaces.count) { - XCTAssertNotEqual([deletedMemberships indexOfObject:spaces[0].identifier], NSNotFound); - XCTAssertNotEqual([deletedMemberships indexOfObject:spaces[1].identifier], NSNotFound); + + if (deletedMemberships.count == channelsMetadata.count) { + XCTAssertNotEqual([deletedMemberships indexOfObject:channelsMetadata[0].channel], NSNotFound); + XCTAssertNotEqual([deletedMemberships indexOfObject:channelsMetadata[1].channel], NSNotFound); *remove = YES; - + handler(); } }]; - - client1.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .remove(@[spaces[0].identifier, spaces[1].identifier]) + + client1.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .remove(@[channelsMetadata[0].channel, channelsMetadata[1].channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } -- (void)testItShouldDeleteMembershipAndTriggerDeleteEventOnSpaceChannel { +- (void)testItShouldRemoveMembershipUsingManageAndTriggerDeleteEventOnChannel { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:2 usingClient:client1]; - NSArray *users = [self createObjectForUsers:1 usingClient:client1]; - NSString *channel = spaces.firstObject.identifier; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:client1]; + NSString *channel = channelsMetadata.firstObject.channel; + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addMembershipHandlerForClient:client2 - withBlock:^(PubNub *client, PNMembershipEventResult *event, BOOL *remove) { - + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { + XCTAssertEqualObjects(event.data.event, @"delete"); - XCTAssertEqualObjects(event.data.spaceId, spaces.firstObject.identifier); + XCTAssertEqualObjects(event.data.type, @"membership"); + XCTAssertEqualObjects(event.data.channel, channelsMetadata.firstObject.channel); XCTAssertNotNil(event.data.timestamp); *remove = YES; - + handler(); }]; - - client1.manageMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceCustomField) - .remove(@[spaces[0].identifier, spaces[1].identifier]) + + client1.objects().manageMemberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelCustomField) + .remove(@[channelsMetadata[0].channel, channelsMetadata[1].channel]) .performWithCompletion(^(PNManageMembershipsStatus *status) { XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } #pragma mark - Tests :: Builder pattern-based fetch membership +/** + * @brief To test 'retry' functionality + * 'ItShouldFetchMembershipsAndReceiveResultWithExpectedOperation.json' should + * be modified after cassette recording. Find first mention of memberships fetch and copy paste 4 entries + * which belong to it. For new entries change 'id' field to be different from source. For original + * response entry change status code to 404. + */ - (void)testItShouldFetchMembershipsAndReceiveResultWithExpectedOperation { - NSArray *spaces = [self createObjectForSpaces:6 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:nil]; - + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + NSArray *channelsMetadata = [self setChannelsMetadata:6 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + __block BOOL retried = NO; + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMemberships() - .userId(users.firstObject.identifier) + self.client.objects().memberships() + .uuid(uuidsMetadata.firstObject.uuid) .performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) { - NSArray *memberships = result.data.memberships; - XCTAssertNil(status); - XCTAssertNotNil(memberships); - XCTAssertEqual(memberships.count, spaces.count); - XCTAssertEqual(result.data.totalCount, 0); - - handler(); + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNFetchMembershipsOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + NSArray *memberships = result.data.memberships; + XCTAssertNil(status); + XCTAssertNotNil(memberships); + XCTAssertEqual(memberships.count, channelsMetadata.count); + XCTAssertEqual(result.data.totalCount, 0); + + handler(); + } }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } - (void)testItShouldFetchFilteredMembershipsWhenFilterIsSet { - NSArray *spaces = [self createObjectForSpaces:6 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSUInteger halfNameLength = (NSUInteger)(spaces[3].name.length * 0.5f); - NSString *filterExpression = [NSString stringWithFormat:@"space.name like '%@*'", - [spaces[3].name substringToIndex:halfNameLength]]; + NSArray *channelsMetadata = [self setChannelsMetadata:6 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSUInteger halfNameLength = (NSUInteger)(channelsMetadata[3].name.length * 0.5f); + NSString *filterExpression = [NSString stringWithFormat:@"channel.name like '%@*'", + [channelsMetadata[3].name substringToIndex:halfNameLength]]; NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMemberships() - .userId(users.firstObject.identifier) + self.client.objects().memberships() + .uuid(uuidsMetadata.firstObject.uuid) .includeCount(YES) .filter(filterExpression) .performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) { @@ -1042,35 +1322,38 @@ - (void)testItShouldFetchFilteredMembershipsWhenFilterIsSet { XCTAssertNotNil(result.data.next); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, NSNotFound); - + handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } - (void)testItShouldFetchSortedMembershipsWhenSortedIsSet { - NSArray *spaces = [self createObjectForSpaces:6 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSString *expectedSort = @"space.name%3Adesc,created"; - - NSArray *memberships = [self createUsersMembership:users inSpaces:spaces withCustoms:nil - spaceInformation:YES usingClient:nil]; + NSArray *channelsMetadata = [self setChannelsMetadata:6 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; + NSString *expectedSort = @"channel.name%3Adesc,updated"; + + NSArray *memberships = [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + channelMetadata:YES + usingClient:nil]; NSArray *expectedMembershipsOrder = [self memberships:memberships sortedWith:@[ [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], - [NSSortDescriptor sortDescriptorWithKey:@"created" ascending:YES] + [NSSortDescriptor sortDescriptorWithKey:@"updated" ascending:YES] ]]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMemberships() - .userId(users.firstObject.identifier) - .includeFields(PNMembershipSpaceField|PNMembershipSpaceField) + self.client.objects().memberships() + .uuid(uuidsMetadata.firstObject.uuid) + .includeFields(PNMembershipChannelField|PNMembershipChannelField) .includeCount(YES) - .sort(@[@"space.name:desc", @"created"]) + .sort(@[@"channel.name:desc", @"updated"]) .performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) { NSArray *fetchedMemberships = result.data.memberships; NSURLRequest *request = [result valueForKey:@"clientRequest"]; @@ -1080,39 +1363,39 @@ - (void)testItShouldFetchSortedMembershipsWhenSortedIsSet { XCTAssertNotNil(result.data.next); XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, NSNotFound); - - for (NSUInteger fetchedMembershipIdx = 0; fetchedMembershipIdx < fetchedMemberships.count; fetchedMembershipIdx++) { - XCTAssertEqualObjects(fetchedMemberships[fetchedMembershipIdx].space.name, - expectedMembershipsOrder[fetchedMembershipIdx].space.name); + + for (NSUInteger idx = 0; idx < fetchedMemberships.count; idx++) { + XCTAssertEqualObjects(fetchedMemberships[idx].metadata.name, + expectedMembershipsOrder[idx].metadata.name); } - - XCTAssertNotEqualObjects([fetchedMemberships valueForKeyPath:@"space.name"], - [memberships valueForKeyPath:@"space.name"]); - + + XCTAssertNotEqualObjects([fetchedMemberships valueForKeyPath:@"metadata.name"], + [memberships valueForKeyPath:@"metadata.name"]); + handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } - (void)testItShouldFetchMembershipWhenLimitIsSet { - NSArray *spaces = [self createObjectForSpaces:6 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; + NSArray *channelsMetadata = [self setChannelsMetadata:6 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; NSArray *membershipCustom = @[ - @{ @"user-membership-custom": [@[spaces[0].identifier, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, - @{ @"user-membership-custom": [@[spaces[1].identifier, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } + @{ @"uuid-membership-custom": [@[channelsMetadata[0].channel, @"custom", @"data", @"1"] componentsJoinedByString:@"-"] }, + @{ @"uuid-membership-custom": [@[channelsMetadata[1].channel, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] } ]; NSUInteger expectedCount = 2; - - [self createUsersMembership:users inSpaces:spaces withCustoms:membershipCustom usingClient:nil]; - - + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] inChannels:[channelsMetadata valueForKey:@"channel"] withCustoms:membershipCustom usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMemberships() - .userId(users.firstObject.identifier) + self.client.objects().memberships() + .uuid(uuidsMetadata.firstObject.uuid) .limit(expectedCount) .includeFields(PNMembershipCustomField) .includeCount(YES) @@ -1121,45 +1404,48 @@ - (void)testItShouldFetchMembershipWhenLimitIsSet { XCTAssertNil(status); XCTAssertNotNil(memberships); XCTAssertEqual(memberships.count, expectedCount); - XCTAssertEqual(result.data.totalCount, spaces.count); + XCTAssertEqual(result.data.totalCount, channelsMetadata.count); XCTAssertNotNil(memberships.firstObject.custom); - + handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; + + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } - (void)testItShouldFetchNextMembershipPageWhenStartAndLimitIsSet { - NSArray *spaces = [self createObjectForSpaces:6 usingClient:nil]; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; + NSArray *channelsMetadata = [self setChannelsMetadata:6 usingClient:nil]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:nil]; __block NSString *next = nil; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:nil]; - - + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:nil]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMemberships() - .userId(users.firstObject.identifier) - .limit(spaces.count - 2) + self.client.objects().memberships() + .uuid(uuidsMetadata.firstObject.uuid) + .limit(channelsMetadata.count - 2) .includeCount(YES) .performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) { NSArray *memberships = result.data.memberships; XCTAssertNil(status); XCTAssertNotNil(memberships); - XCTAssertEqual(memberships.count, spaces.count - 2); + XCTAssertEqual(memberships.count, channelsMetadata.count - 2); next = result.data.next; - + handler(); }); }]; - + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMemberships() - .userId(users.firstObject.identifier) + self.client.objects().memberships() + .uuid(uuidsMetadata.firstObject.uuid) .start(next) .includeCount(YES) .performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) { @@ -1167,75 +1453,56 @@ - (void)testItShouldFetchNextMembershipPageWhenStartAndLimitIsSet { XCTAssertNil(status); XCTAssertNotNil(memberships); XCTAssertEqual(memberships.count, 2); - + handler(); }); }]; - - [self deleteUser:users.firstObject.identifier membershipObjectsUsingClient:nil]; - [self deleteUserObjectsUsingClient:nil]; - [self deleteSpaceObjectsUsingClient:nil]; -} -- (void)testItShouldNotFetchMembershipsWhenUserObjectNotExists { - NSString *userIdentifier = [self uuidForUser:@"not-existing-user"]; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMemberships() - .userId(userIdentifier) - .performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 404); - - if (!retried) { - retried = YES; - [status retry]; - } else { - handler(); - } - }); - }]; + [self removeUUID:uuidsMetadata.firstObject.uuid membershipObjectsUsingClient:nil]; + [self removeAllUUIDMetadataUsingClient:nil]; + [self removeChannelsMetadataUsingClient:nil]; } #pragma mark - Tests :: Member events -- (void)testItShouldDeleteMemberAndTriggerUserDeleteOnSpaceChannel { +- (void)testItShouldRemoveMemberAndTriggerUUIDDeleteOnChannel { PubNub *client1 = [self createPubNubForUser:@"serhii"]; PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:2 usingClient:client1]; - NSArray *users = [self createObjectForUsers:1 usingClient:client1]; - NSString *channel = spaces.firstObject.identifier; - - [self createUsersMembership:users inSpaces:spaces withCustoms:nil usingClient:client1]; + NSArray *channelsMetadata = [self setChannelsMetadata:2 usingClient:client1]; + NSArray *uuidsMetadata = [self setUUIDMetadata:1 usingClient:client1]; + NSString *channel = channelsMetadata.firstObject.channel; + + [self createUUIDsMembership:[uuidsMetadata valueForKey:@"uuid"] + inChannels:[channelsMetadata valueForKey:@"channel"] + withCustoms:nil + usingClient:client1]; [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addUserHandlerForClient:client2 - withBlock:^(PubNub *client, PNUserEventResult *event, BOOL *remove) { + [self addObjectHandlerForClient:client2 withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { XCTAssertEqualObjects(event.data.event, @"delete"); - XCTAssertEqualObjects(event.data.identifier, users.firstObject.identifier); + XCTAssertEqualObjects(event.data.type, @"uuid"); + XCTAssertEqualObjects(event.data.channel, channelsMetadata.firstObject.channel); XCTAssertNotNil(event.data.timestamp); *remove = YES; - + handler(); }]; - - client1.deleteUser() - .userId(users.firstObject.identifier) + + client1.objects().removeUUIDMetadata() + .uuid(uuidsMetadata.firstObject.uuid) .performWithCompletion(^(PNAcknowledgmentStatus *status) { XCTAssertFalse(status.isError); }); }]; - + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - [self deleteUserObjectsUsingClient:client1]; - [self deleteSpaceObjectsUsingClient:client1]; + [self removeAllUUIDMetadataUsingClient:client1]; + [self removeChannelsMetadataUsingClient:client1]; } @@ -1243,33 +1510,33 @@ - (void)testItShouldDeleteMemberAndTriggerUserDeleteOnSpaceChannel { - (NSArray *)flattenedMemberships:(NSArray *)memberships { NSMutableArray *flattenedMemberships = [NSMutableArray new]; - + for (PNMembership *membership in memberships) { [flattenedMemberships addObject:@{ - @"name": membership.space.name, - @"created": membership.created + @"name": membership.metadata.name, + @"updated": membership.updated }]; } - + return flattenedMemberships; } - (NSArray *)memberships:(NSArray *)memberships sortedWith:(NSArray *)sortDescriptors { - + NSMutableArray *sortedMemberships = [NSMutableArray new]; NSArray *flattenedMemberships = [self flattenedMemberships:memberships]; NSArray *sortedFlattenedMemberships = [flattenedMemberships sortedArrayUsingDescriptors:sortDescriptors]; - + for (NSDictionary *flattenedMembership in sortedFlattenedMemberships) { for (PNMembership *membership in memberships) { - if ([membership.space.name isEqualToString:flattenedMembership[@"name"]]) { + if ([membership.metadata.name isEqualToString:flattenedMembership[@"name"]]) { [sortedMemberships addObject:membership]; break; } } } - + return sortedMemberships; } diff --git a/Tests/Tests/Integration/Objects/PNSpaceIntegrationTest.m b/Tests/Tests/Integration/Objects/PNSpaceIntegrationTest.m deleted file mode 100644 index a47b0460c..000000000 --- a/Tests/Tests/Integration/Objects/PNSpaceIntegrationTest.m +++ /dev/null @@ -1,551 +0,0 @@ -/** - * @author Serhii Mamontov - * @copyright © 2010-2020 PubNub, Inc. - */ -#import "PNRecordableTestCase.h" -#import -#import - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -@interface PNSpaceIntegrationTest : PNRecordableTestCase - - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Tests - -@implementation PNSpaceIntegrationTest - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Warc-retain-cycles" - - -#pragma mark - Setup / Tear down - -- (void)setUp { - [super setUp]; - - - [self completePubNubConfiguration:self.client]; - [self removeAllObjects]; -} - - -#pragma mark - Tests :: Builder pattern-based create space - -- (void)testItShouldCreateSpaceAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlySpaceAndIdentifierIsSet { - NSString *identifier = [self randomizedValuesWithValues:@[@"test-space"]].firstObject; - NSString *name = [self randomizedValuesWithValues:@[@"test-space-name"]].firstObject; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createSpace() - .spaceId(identifier) - .name(name) - .includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNCreateSpaceStatus *status) { - PNSpace *space = status.data.space; - XCTAssertFalse(status.isError); - XCTAssertNotNil(space); - XCTAssertEqualObjects(space.custom, [NSNull null]); - XCTAssertEqualObjects(space.identifier, identifier); - XCTAssertEqualObjects(space.name, name); - XCTAssertNotNil(space.created); - XCTAssertNotNil(space.updated); - XCTAssertNotNil(space.eTag); - XCTAssertEqual(status.operation, PNCreateSpaceOperation); - XCTAssertEqual(status.category, PNAcknowledgmentCategory); - - handler(); - }); - }]; - - [self deleteSpaces:@[identifier] usingClient:nil]; -} - -- (void)testItShouldCreateSpaceWhenAdditionalInformationIsSet { - NSString *information = [self randomizedValuesWithValues:@[@"test-space-information"]].firstObject; - NSString *identifier = [self randomizedValuesWithValues:@[@"test-space"]].firstObject; - NSString *name = [self randomizedValuesWithValues:@[@"test-space-name"]].firstObject; - NSDictionary *custom = @{ - @"space-custom1": [@[name, @"custom", @"data", @"1"] componentsJoinedByString:@"-"], - @"space-custom2": [@[name, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] - }; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createSpace() - .spaceId(identifier) - .name(name) - .information(information) - .custom(custom) - .includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNCreateSpaceStatus *status) { - PNSpace *space = status.data.space; - XCTAssertFalse(status.isError); - XCTAssertNotNil(space); - XCTAssertEqualObjects(space.custom, custom); - XCTAssertEqualObjects(space.information, information); - - handler(); - }); - }]; - - [self deleteSpaces:@[identifier] usingClient:nil]; -} - -- (void)testItShouldNotCreateSpaceWhenSameSpaceAlreadyExists { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createSpace() - .spaceId(spaces.firstObject.identifier) - .name(spaces.firstObject.name) - .performWithCompletion(^(PNCreateSpaceStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 409); - XCTAssertNil(status.data.space); - - if (!retried) { - retried = YES; - [status retry]; - } else { - handler(); - } - }); - }]; - - [self deleteSpaceObjectsUsingClient:nil]; -} - - -#pragma mark - Tests :: Builder pattern-based update space - -- (void)testItShouldUpdateSpaceAndReceiveStatusWithExpectedOperationAndCategory { - NSString *name = [self randomizedValuesWithValues:@[@"test-space-name"]].firstObject; - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSDate *createDate = spaces.firstObject.created; - NSDate *updateDate = spaces.firstObject.updated; - NSString *eTag = spaces.firstObject.eTag; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.updateSpace() - .spaceId(spaces.firstObject.identifier) - .name(name) - .includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNUpdateSpaceStatus *status) { - PNSpace *space = status.data.space; - XCTAssertFalse(status.isError); - XCTAssertNotNil(space); - XCTAssertNotEqualObjects(space.updated, updateDate); - XCTAssertEqualObjects(space.created, createDate); - XCTAssertEqualObjects(space.name, name); - XCTAssertNotEqualObjects(space.eTag, eTag); - XCTAssertEqual(status.operation, PNUpdateSpaceOperation); - XCTAssertEqual(status.category, PNAcknowledgmentCategory); - - handler(); - }); - }]; - - [self deleteSpaceObjectsUsingClient:nil]; -} - -- (void)testItShouldUpdateSpaceAndTriggerUpdateEventToSpaceChannel { - NSString *name = [self randomizedValuesWithValues:@[@"test-space-name"]].firstObject; - PubNub *client1 = [self createPubNubForUser:@"serhii"]; - PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:1 usingClient:client1]; - NSString *channel = spaces.firstObject.identifier; - NSDictionary *custom = @{ - @"space-custom1": [@[name, @"custom", @"data", @"1"] componentsJoinedByString:@"-"], - @"space-custom2": [@[name, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] - }; - - [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addSpaceHandlerForClient:client2 - withBlock:^(PubNub *client, PNSpaceEventResult *event, BOOL *remove) { - - XCTAssertEqualObjects(event.data.event, @"update"); - XCTAssertEqualObjects(event.data.name, name); - XCTAssertEqualObjects(event.data.custom, custom); - XCTAssertNotNil(event.data.updated); - XCTAssertNotNil(event.data.timestamp); - *remove = YES; - - handler(); - }]; - - client1.updateSpace() - .spaceId(spaces.firstObject.identifier) - .name(name) - .custom(custom) - .includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNUpdateSpaceStatus *status) { - XCTAssertFalse(status.isError); - }); - }]; - - [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - [self deleteSpaceObjectsUsingClient:client1]; -} - -- (void)testItShouldNotUpdateSpaceWhenTargetSpaceNotExists { - NSString *identifier = [self randomizedValuesWithValues:@[@"test-space"]].firstObject; - NSString *name = [self randomizedValuesWithValues:@[@"test-space-name"]].firstObject; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.updateSpace() - .spaceId(identifier) - .name(name) - .performWithCompletion(^(PNUpdateSpaceStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 404); - XCTAssertNil(status.data.space); - - if (!retried) { - retried = YES; - [status retry]; - } else { - handler(); - } - }); - }]; -} - - -#pragma mark - Tests :: Builder pattern-based delete space - -/** - * @brief To test 'retry' functionality - * 'ItShouldDeleteSpaceAndReceiveStatusWithExpectedOperationAndCategory.json' should - * be modified after cassette recording. Find first mention of space remove and copy paste 4 entries - * which belong to it. For new entries change 'id' field to be different from source. For original - * response entry change status code to 404. - */ -- (void)testItShouldDeleteSpaceAndReceiveStatusWithExpectedOperationAndCategory { - if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { - NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); - return; - } - - NSArray *spaces = [self createObjectForSpaces:2 usingClient:nil]; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client - .deleteSpace() - .spaceId(spaces.firstObject.identifier) - .performWithCompletion(^(PNAcknowledgmentStatus *status) { - if (!retried && !YHVVCR.cassette.isNewCassette) { - XCTAssertTrue(status.error); - XCTAssertEqual(status.operation, PNDeleteSpaceOperation); - XCTAssertEqual(status.category, PNMalformedResponseCategory); - - retried = YES; - [status retry]; - } else { - XCTAssertFalse(status.error); - XCTAssertEqual(status.operation, PNDeleteSpaceOperation); - XCTAssertEqual(status.category, PNAcknowledgmentCategory); - - [self deleteCachedSpace:spaces.firstObject.identifier]; - - handler(); - } - }); - }]; - - - [self verifySpacesCountShouldEqualTo:(spaces.count - 1) usingClient:nil]; - - [self deleteSpaceObjectsUsingClient:nil]; -} - -- (void)testItShouldDeleteSpaceAndTriggerDeleteEventToSpaceChannel { - PubNub *client1 = [self createPubNubForUser:@"serhii"]; - PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *spaces = [self createObjectForSpaces:2 usingClient:client1]; - NSString *channel = spaces.firstObject.identifier; - - [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addSpaceHandlerForClient:client2 - withBlock:^(PubNub *client, PNSpaceEventResult *event, BOOL *remove) { - - XCTAssertEqualObjects(event.data.event, @"delete"); - XCTAssertEqualObjects(event.data.identifier, spaces.firstObject.identifier); - XCTAssertNotNil(event.data.timestamp); - *remove = YES; - - handler(); - }]; - - client1.deleteSpace() - .spaceId(spaces.firstObject.identifier) - .performWithCompletion(^(PNAcknowledgmentStatus *status) { - XCTAssertFalse(status.isError); - - [self deleteCachedSpace:spaces.firstObject.identifier]; - }); - }]; - - [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - - [self verifySpacesCountShouldEqualTo:(spaces.count - 1) usingClient:client1]; - - [self deleteSpaceObjectsUsingClient:client1]; -} - - -#pragma mark - Tests :: Builder pattern-based fetch space - -- (void)testItShouldFetchSpaceAndReceiveResultWithExpectedOperation { - NSArray *spaces = [self createObjectForSpaces:1 usingClient:nil]; - NSDate *createDate = spaces.firstObject.created; - NSDate *updateDate = spaces.firstObject.updated; - NSString *eTag = spaces.firstObject.eTag; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchSpace() - .spaceId(spaces.firstObject.identifier) - .includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNFetchSpaceResult *result, PNErrorStatus *status) { - PNSpace *space = result.data.space; - XCTAssertNil(status); - XCTAssertNotNil(space); - XCTAssertEqualObjects(space.created, createDate); - XCTAssertEqualObjects(space.updated, updateDate); - XCTAssertEqualObjects(space.eTag, eTag); - XCTAssertEqual(result.operation, PNFetchSpaceOperation); - - handler(); - }); - }]; - - [self deleteSpaceObjectsUsingClient:nil]; -} - -- (void)testItShouldNotFetchSpaceWhenTargetSpaceNotExists { - NSString *identifier = [self randomizedValuesWithValues:@[@"test-space"]].firstObject; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchSpace() - .spaceId(identifier) - .includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNFetchSpaceResult *result, PNErrorStatus *status) { - XCTAssertNil(result); - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 404); - - if (!retried) { - retried = YES; - [status retry]; - } else { - handler(); - } - }); - }]; -} - - -#pragma mark - Tests :: Builder pattern-based fetch all spaces - -/** - * @brief To test 'retry' functionality - * 'ItShouldFetchAllSpacesAndReceiveResultWithExpectedOperation.json' should - * be modified after cassette recording. Find first mention of spaces fetch and copy paste 4 entries - * which belong to it. For new entries change 'id' field to be different from source. For original - * response entry change status code to 404. - */ -- (void)testItShouldFetchAllSpacesAndReceiveResultWithExpectedOperation { - if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { - NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); - return; - } - - NSArray *spaces = [self createObjectForSpaces:6 usingClient:nil]; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchSpaces().performWithCompletion(^(PNFetchSpacesResult *result, PNErrorStatus *status) { - if (!retried && !YHVVCR.cassette.isNewCassette) { - XCTAssertTrue(status.error); - XCTAssertEqual(status.operation, PNFetchSpacesOperation); - XCTAssertEqual(status.category, PNMalformedResponseCategory); - - retried = YES; - [status retry]; - } else { - XCTAssertNil(status); - XCTAssertEqual(result.data.spaces.count, spaces.count); - XCTAssertEqual(result.data.totalCount, 0); - XCTAssertEqual(result.operation, PNFetchSpacesOperation); - - handler(); - } - }); - }]; - - [self deleteSpaceObjectsUsingClient:nil]; -} - -- (void)testItShouldFetchFilteredSpacesWhenFilterIsSet { - NSDateFormatter *formatter = [NSDateFormatter pn_formatterWithString:@"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"]; - formatter.timeZone = [NSTimeZone timeZoneWithAbbreviation:@"UTC"]; - NSArray *spaces = [self createObjectForSpaces:6 usingClient:nil]; - NSUInteger targetSpaceOffset = 3; - NSDate *targetSpaceUpdateDate = spaces[targetSpaceOffset].updated; - NSString *filterExpression = [NSString stringWithFormat:@"updated >= '%@'", - [formatter stringFromDate:targetSpaceUpdateDate]]; - NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchSpaces() - .includeCount(YES) - .filter(filterExpression) - .performWithCompletion(^(PNFetchSpacesResult *result, PNErrorStatus *status) { - NSURLRequest *request = [result valueForKey:@"clientRequest"]; - XCTAssertNil(status); - XCTAssertEqual(result.data.totalCount, spaces.count - targetSpaceOffset); - XCTAssertEqual(result.data.spaces.count, result.data.totalCount); - XCTAssertNil(result.data.prev); - XCTAssertNotNil(result.data.next); - XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, - NSNotFound); - - handler(); - }); - }]; - - [self deleteSpaceObjectsUsingClient:nil]; -} - -- (void)testItShouldFetchSortedSpacesWhenSortIsSet { - NSArray *spaces = [self createObjectForSpaces:6 usingClient:nil]; - NSString *expectedSort = @"name%3Adesc,created"; - NSArray *expectedSpacesOrder = [spaces sortedArrayUsingDescriptors:@[ - [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], - [NSSortDescriptor sortDescriptorWithKey:@"created" ascending:YES] - ]]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchSpaces() - .includeCount(YES) - .sort(@[@"name:desc", @"created"]) - .performWithCompletion(^(PNFetchSpacesResult *result, PNErrorStatus *status) { - NSURLRequest *request = [result valueForKey:@"clientRequest"]; - XCTAssertNil(status); - XCTAssertNil(result.data.prev); - XCTAssertNotNil(result.data.next); - XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, - NSNotFound); - - for (NSUInteger fetchedSpaceIdx = 0; fetchedSpaceIdx < result.data.spaces.count; fetchedSpaceIdx++) { - XCTAssertEqualObjects(result.data.spaces[fetchedSpaceIdx].identifier, - expectedSpacesOrder[fetchedSpaceIdx].identifier); - } - - handler(); - }); - }]; - - [self deleteSpaceObjectsUsingClient:nil]; -} - -- (void)testItShouldFetchAllSpacesWhenLimitItSet { - NSArray *spaces = [self createObjectForSpaces:6 usingClient:nil]; - NSUInteger expectedCount = 2; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchSpaces() - .limit(expectedCount) - .includeFields(PNSpaceCustomField) - .includeCount(YES) - .performWithCompletion(^(PNFetchSpacesResult *result, PNErrorStatus *status) { - NSArray *fetchedSpaces = result.data.spaces; - XCTAssertNil(status); - XCTAssertNotNil(fetchedSpaces); - XCTAssertEqual(fetchedSpaces.count, expectedCount); - XCTAssertEqual(result.data.totalCount, spaces.count); - XCTAssertNotNil(fetchedSpaces.firstObject.custom); - - handler(); - }); - }]; - - [self deleteSpaceObjectsUsingClient:nil]; -} - -- (void)testItShouldFetchNextSpacesPageWhenStartAndLimitIsSet { - NSArray *spaces = [self createObjectForSpaces:6 usingClient:nil]; - __block NSString *next = nil; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchSpaces() - .limit(spaces.count - 2) - .includeCount(YES) - .performWithCompletion(^(PNFetchSpacesResult *result, PNErrorStatus *status) { - NSArray *fetchedSpaces = result.data.spaces; - XCTAssertNil(status); - XCTAssertNotNil(fetchedSpaces); - XCTAssertEqual(fetchedSpaces.count, spaces.count - 2); - next = result.data.next; - - handler(); - }); - }]; - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchSpaces() - .start(next) - .includeCount(YES) - .performWithCompletion(^(PNFetchSpacesResult *result, PNErrorStatus *status) { - NSArray *fetchedSpaces = result.data.spaces; - XCTAssertNil(status); - XCTAssertNotNil(fetchedSpaces); - XCTAssertEqual(fetchedSpaces.count, 2); - - handler(); - }); - }]; - - [self deleteSpaceObjectsUsingClient:nil]; -} - -#pragma mark - - -#pragma clang diagnostic pop - -@end diff --git a/Tests/Tests/Integration/Objects/PNUUIDMetadataIntegrationTest.m b/Tests/Tests/Integration/Objects/PNUUIDMetadataIntegrationTest.m new file mode 100644 index 000000000..2789ea401 --- /dev/null +++ b/Tests/Tests/Integration/Objects/PNUUIDMetadataIntegrationTest.m @@ -0,0 +1,504 @@ +/** + * @author Serhii Mamontov + * @copyright © 2010-2020 PubNub, Inc. + */ +#import "PNRecordableTestCase.h" +#import +#import + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +@interface PNUUIDMetadataIntegrationTest : PNRecordableTestCase + + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Tests + +@implementation PNUUIDMetadataIntegrationTest + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Warc-retain-cycles" + + +#pragma mark - Setup / Tear down + +- (void)setUp { + [super setUp]; + + + [self completePubNubConfiguration:self.client]; + [self removeAllObjects]; +} + + +#pragma mark - Tests :: Builder pattern-based set uuid metadata + +- (void)testItShouldSetUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlyUUIDIsSet { + NSString *identifier = [self randomizedValuesWithValues:@[@"test-uuid"]].firstObject; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().setUUIDMetadata() + .uuid(identifier) + .includeFields(PNUUIDCustomField) + .performWithCompletion(^(PNSetUUIDMetadataStatus *status) { + PNUUIDMetadata *metadata = status.data.metadata; + XCTAssertFalse(status.isError); + XCTAssertNotNil(metadata); + XCTAssertEqualObjects(metadata.externalId, [NSNull null]); + XCTAssertEqualObjects(metadata.profileUrl, [NSNull null]); + XCTAssertEqualObjects(metadata.custom, [NSNull null]); + XCTAssertEqualObjects(metadata.email, [NSNull null]); + XCTAssertEqualObjects(metadata.uuid, identifier); + XCTAssertNotNil(metadata.updated); + XCTAssertNotNil(metadata.eTag); + XCTAssertEqual(status.operation, PNSetUUIDMetadataOperation); + XCTAssertEqual(status.category, PNAcknowledgmentCategory); + + handler(); + }); + }]; + + [self removeUUIDsMetadata:@[identifier] usingClient:nil]; +} + +/** + * @brief To test 'retry' functionality + * 'tItShouldSetUUIDMetadataWhenAdditionalInformationIsSet.json' should + * be modified after cassette recording. Find first mention of UUID metadata set and copy paste 4 entries + * which belong to it. For new entries change 'id' field to be different from source. For original + * response entry change status code to 404. + */ +- (void)testItShouldSetUUIDMetadataWhenAdditionalInformationIsSet { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + NSString *externalId = [self randomizedValuesWithValues:@[@"test-external-identifier"]].firstObject; + NSString *email = [self randomizedValuesWithValues:@[@"test-uuid-email"]].firstObject; + NSString *identifier = [self randomizedValuesWithValues:@[@"test-uuid"]].firstObject; + NSString *name = [self randomizedValuesWithValues:@[@"test-uuid-name"]].firstObject; + NSString *profileUrl = @"https://pubnub.com"; + NSDictionary *custom = @{ + @"uuid-custom1": [@[name, @"custom", @"data", @"1"] componentsJoinedByString:@"-"], + @"uuid-custom2": [@[name, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] + }; + __block BOOL retried = NO; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().setUUIDMetadata() + .uuid(identifier) + .name(name) + .externalId(externalId) + .profileUrl(profileUrl) + .email(email) + .custom(custom) + .includeFields(PNUUIDCustomField) + .performWithCompletion(^(PNSetUUIDMetadataStatus *status) { + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNSetUUIDMetadataOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + PNUUIDMetadata *metadata = status.data.metadata; + XCTAssertFalse(status.isError); + XCTAssertNotNil(metadata); + XCTAssertEqualObjects(metadata.externalId, externalId); + XCTAssertEqualObjects(metadata.profileUrl, profileUrl); + XCTAssertEqualObjects(metadata.uuid, identifier); + XCTAssertEqualObjects(metadata.custom, custom); + XCTAssertEqualObjects(metadata.email, email); + XCTAssertEqualObjects(metadata.name, name); + XCTAssertNotNil(metadata.updated); + XCTAssertNotNil(metadata.eTag); + + handler(); + } + }); + }]; + + [self removeUUIDsMetadata:@[identifier] usingClient:nil]; +} + + +#pragma mark - Tests :: Builder pattern-based remove uuid metadata + +/** + * @brief To test 'retry' functionality + * 'ItShouldRemoveUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategory.json' should + * be modified after cassette recording. Find first mention of UUID metadata remove and copy paste 4 entries + * which belong to it. For new entries change 'id' field to be different from source. For original + * response entry change status code to 404. + */ +- (void)testItShouldRemoveUUIDMetadataAndReceiveStatusWithExpectedOperationAndCategory { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + NSArray *uuids = [self setUUIDMetadata:2 usingClient:nil]; + __block BOOL retried = NO; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().removeUUIDMetadata() + .uuid(uuids.firstObject.uuid) + .performWithCompletion(^(PNAcknowledgmentStatus *status) { + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNRemoveUUIDMetadataOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + XCTAssertFalse(status.error); + XCTAssertEqual(status.operation, PNRemoveUUIDMetadataOperation); + XCTAssertEqual(status.category, PNAcknowledgmentCategory); + + [self removeCachedUUIDMetadata:uuids.firstObject.uuid]; + + handler(); + } + }); + }]; + + + [self verifyUUIDMetadataCountShouldEqualTo:(uuids.count - 1) usingClient:nil]; + + [self removeAllUUIDMetadataUsingClient:nil]; +} + +- (void)testItShouldRemoveUUIDMetadataAndTriggerDeleteEventToUUIDChannel { + PubNub *client1 = [self createPubNubForUser:@"serhii"]; + PubNub *client2 = [self createPubNubForUser:@"david"]; + NSArray *uuids = [self setUUIDMetadata:2 usingClient:client1]; + NSString *channel = uuids.firstObject.uuid; + + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { + + XCTAssertEqualObjects(event.data.event, @"delete"); + XCTAssertEqualObjects(event.data.type, @"uuid"); + XCTAssertEqualObjects(event.data.uuidMetadata.uuid, uuids.firstObject.uuid); + XCTAssertNotNil(event.data.timestamp); + *remove = YES; + + handler(); + }]; + + client1.objects().removeUUIDMetadata().uuid(uuids.firstObject.uuid) + .performWithCompletion(^(PNAcknowledgmentStatus *status) { + XCTAssertFalse(status.isError); + + [self removeCachedUUIDMetadata:uuids.firstObject.uuid]; + }); + }]; + + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; + + + [self verifyUUIDMetadataCountShouldEqualTo:(uuids.count - 1) usingClient:client1]; + + [self removeAllUUIDMetadataUsingClient:client1]; +} + +/** + * @brief To test event skip for older Objects version + * 'ItShouldNotTriggerDeleteEventToUUIDChannelWhenSentFromPreviousObjectsVersion.json' should + * be modified after cassette recording. Find first mention of UUID metadata remove and copy paste 4 entries + * which belong to it. For new entries change 'id' field to be different from source. For original + * response entry change status code to 404. Find GET request for subscribe with longest Base64 + * encoded body. Decode body, change objects version to "1.0" and encode string back to use as + * replacement for original. + */ +- (void)testItShouldNotTriggerDeleteEventToUUIDChannelWhenSentFromPreviousObjectsVersion { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + PubNub *client1 = [self createPubNubForUser:@"serhii"]; + PubNub *client2 = [self createPubNubForUser:@"david"]; + NSArray *uuids = [self setUUIDMetadata:2 usingClient:client1]; + NSString *channel = uuids.firstObject.uuid; + + [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; + + + [self waitToNotCompleteIn:self.falseTestCompletionDelay codeBlock:^(dispatch_block_t handler) { + [self addObjectHandlerForClient:client2 + withBlock:^(PubNub *client, PNObjectEventResult *event, BOOL *remove) { + + XCTAssertEqualObjects(event.data.event, @"delete"); + XCTAssertEqualObjects(event.data.type, @"uuid"); + XCTAssertEqualObjects(event.data.uuidMetadata.uuid, uuids.firstObject.uuid); + XCTAssertNotNil(event.data.timestamp); + *remove = YES; + + handler(); + }]; + + client1.objects().removeUUIDMetadata().uuid(uuids.firstObject.uuid) + .performWithCompletion(^(PNAcknowledgmentStatus *status) { + XCTAssertFalse(status.isError); + + [self removeCachedUUIDMetadata:uuids.firstObject.uuid]; + }); + }]; + + [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; + + + [self verifyUUIDMetadataCountShouldEqualTo:(uuids.count - 1) usingClient:client1]; + + [self removeAllUUIDMetadataUsingClient:client1]; +} + + +#pragma mark - Tests :: Builder pattern-based fetch uuid metadata + +- (void)testItShouldFetchUUIDMetadataAndReceiveResultWithExpectedOperation { + NSArray *uuids = [self setUUIDMetadata:1 usingClient:nil]; + NSDate *updateDate = uuids.firstObject.updated; + NSString *eTag = uuids.firstObject.eTag; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().uuidMetadata() + .uuid(uuids.firstObject.uuid) + .includeFields(PNUUIDCustomField) + .performWithCompletion(^(PNFetchUUIDMetadataResult *result, PNErrorStatus *status) { + PNUUIDMetadata *metadata = result.data.metadata; + XCTAssertNil(status); + XCTAssertNotNil(metadata); + XCTAssertEqualObjects(metadata.updated, updateDate); + XCTAssertEqualObjects(metadata.eTag, eTag); + XCTAssertEqual(result.operation, PNFetchUUIDMetadataOperation); + + handler(); + }); + }]; + + [self removeAllUUIDMetadataUsingClient:nil]; +} + +- (void)testItShouldNotFetchUUIDMetadataWhenTargetUUIDDoesNotHaveMetadata { + NSString *identifier = [self randomizedValuesWithValues:@[@"test-uuid"]].firstObject; + __block BOOL retried = NO; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().uuidMetadata() + .uuid(identifier) + .includeFields(PNUUIDCustomField) + .performWithCompletion(^(PNFetchUUIDMetadataResult *result, PNErrorStatus *status) { + XCTAssertNil(result); + XCTAssertTrue(status.isError); + XCTAssertEqual(status.statusCode, 404); + + if (!retried) { + retried = YES; + [status retry]; + } else { + handler(); + } + }); + }]; +} + + +#pragma mark - Tests :: Builder pattern-based fetch all uuids metadata + +/** + * @brief To test 'retry' functionality + * 'ItShouldFetchAllUUIDMetadataAndReceiveResultWithExpectedOperation.json' should + * be modified after cassette recording. Find first mention of UUID metadata fetch and copy paste 4 entries + * which belong to it. For new entries change 'id' field to be different from source. For original + * response entry change status code to 404. + */ +- (void)testItShouldFetchAllUUIDMetadataAndReceiveResultWithExpectedOperation { + if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { + NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); + return; + } + + NSArray *uuids = [self setUUIDMetadata:6 usingClient:nil]; + __block BOOL retried = NO; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allUUIDMetadata() + .performWithCompletion(^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) { + if (!retried && !YHVVCR.cassette.isNewCassette) { + XCTAssertTrue(status.error); + XCTAssertEqual(status.operation, PNFetchAllUUIDMetadataOperation); + XCTAssertEqual(status.category, PNMalformedResponseCategory); + + retried = YES; + [status retry]; + } else { + XCTAssertNil(status); + XCTAssertEqual(result.data.metadata.count, uuids.count); + XCTAssertEqual(result.data.totalCount, 0); + XCTAssertEqual(result.operation, PNFetchAllUUIDMetadataOperation); + + handler(); + } + }); + }]; + + [self removeAllUUIDMetadataUsingClient:nil]; +} + +- (void)testItShouldFetchFilteredUUIDsMetadataWhenFilterIsSet { + NSDateFormatter *formatter = [NSDateFormatter pn_formatterWithString:@"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"]; + formatter.timeZone = [NSTimeZone timeZoneWithAbbreviation:@"UTC"]; + NSArray *uuids = [self setUUIDMetadata:6 usingClient:nil]; + NSUInteger targetUUIDOffset = 3; + NSDate *targetUUIDUpdateDate = uuids[targetUUIDOffset].updated; + NSString *filterExpression = [NSString stringWithFormat:@"updated >= '%@'", + [formatter stringFromDate:targetUUIDUpdateDate]]; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allUUIDMetadata() + .includeCount(YES) + .filter(filterExpression) + .performWithCompletion(^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) { + NSURLRequest *request = [result valueForKey:@"clientRequest"]; + XCTAssertNil(status); + XCTAssertEqual(result.data.totalCount, uuids.count - targetUUIDOffset); + XCTAssertEqual(result.data.metadata.count, result.data.totalCount); + XCTAssertNil(result.data.prev); + XCTAssertNotNil(result.data.next); + XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, + NSNotFound); + + handler(); + }); + }]; + + [self removeAllUUIDMetadataUsingClient:nil]; +} + +- (void)testItShouldFetchSortedUUIDMetadataWhenSortIsSet { + NSArray *uuids = [self setUUIDMetadata:6 usingClient:nil]; + NSString *expectedSort = @"name%3Adesc,updated"; + NSArray *expectedUUIDsOrder = [uuids sortedArrayUsingDescriptors:@[ + [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], + [NSSortDescriptor sortDescriptorWithKey:@"updated" ascending:YES] + ]]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allUUIDMetadata() + .includeCount(YES) + .sort(@[@"name:desc", @"updated"]) + .performWithCompletion(^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) { + NSArray *fetchedUUIDs = result.data.metadata; + NSURLRequest *request = [result valueForKey:@"clientRequest"]; + XCTAssertNil(status); + XCTAssertNotNil(fetchedUUIDs); + XCTAssertNil(result.data.prev); + XCTAssertNotNil(result.data.next); + XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, + NSNotFound); + + for (NSUInteger idx = 0; idx < fetchedUUIDs.count; idx++) { + XCTAssertEqualObjects(fetchedUUIDs[idx].uuid, expectedUUIDsOrder[idx].uuid); + } + + handler(); + }); + }]; + + [self removeAllUUIDMetadataUsingClient:nil]; +} + +- (void)testItShouldFetchAllUUIDMetadataWhenLimitItSet { + NSArray *uuids = [self setUUIDMetadata:6 usingClient:nil]; + NSUInteger expectedCount = 2; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allUUIDMetadata() + .limit(expectedCount) + .includeFields(PNUUIDCustomField) + .includeCount(YES) + .performWithCompletion(^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) { + NSArray *fetchedUUIDs = result.data.metadata; + XCTAssertNil(status); + XCTAssertNotNil(fetchedUUIDs); + XCTAssertEqual(fetchedUUIDs.count, expectedCount); + XCTAssertEqual(result.data.totalCount, uuids.count); + XCTAssertNotNil(fetchedUUIDs.firstObject.custom); + + handler(); + }); + }]; + + [self removeAllUUIDMetadataUsingClient:nil]; +} + +- (void)testItShouldFetchNextUUIDMetadataPageWhenStartAndLimitIsSet { + NSArray *uuids = [self setUUIDMetadata:6 usingClient:nil]; + __block NSString *next = nil; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allUUIDMetadata() + .limit(uuids.count - 2) + .includeCount(YES) + .performWithCompletion(^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) { + NSArray *fetchedUUIDs = result.data.metadata; + XCTAssertNil(status); + XCTAssertNotNil(fetchedUUIDs); + XCTAssertEqual(fetchedUUIDs.count, uuids.count - 2); + next = result.data.next; + + handler(); + }); + }]; + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().allUUIDMetadata() + .start(next) + .includeCount(YES) + .performWithCompletion(^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) { + NSArray *fetchedUUIDs = result.data.metadata; + XCTAssertNil(status); + XCTAssertNotNil(fetchedUUIDs); + XCTAssertEqual(fetchedUUIDs.count, 2); + + handler(); + }); + }]; + + [self removeAllUUIDMetadataUsingClient:nil]; +} + +#pragma mark - + +#pragma clang diagnostic pop + +@end diff --git a/Tests/Tests/Integration/Objects/PNUserIntegrationTest.m b/Tests/Tests/Integration/Objects/PNUserIntegrationTest.m deleted file mode 100644 index d64d1c29d..000000000 --- a/Tests/Tests/Integration/Objects/PNUserIntegrationTest.m +++ /dev/null @@ -1,564 +0,0 @@ -/** - * @author Serhii Mamontov - * @copyright © 2010-2020 PubNub, Inc. - */ -#import "PNRecordableTestCase.h" -#import -#import - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -@interface PNUserIntegrationTest : PNRecordableTestCase - - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Tests - -@implementation PNUserIntegrationTest - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Warc-retain-cycles" - - -#pragma mark - Setup / Tear down - -- (void)setUp { - [super setUp]; - - - [self completePubNubConfiguration:self.client]; - [self removeAllObjects]; -} - - -#pragma mark - Tests :: Builder pattern-based create user - -- (void)testItShouldCreateUserAndReceiveStatusWithExpectedOperationAndCategoryWhenOnlySpaceAndIdentifierIsSet { - NSString *identifier = [self randomizedValuesWithValues:@[@"test-user"]].firstObject; - NSString *name = [self randomizedValuesWithValues:@[@"test-user-name"]].firstObject; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createUser() - .userId(identifier) - .name(name) - .includeFields(PNUserCustomField) - .performWithCompletion(^(PNCreateUserStatus *status) { - PNUser *user = status.data.user; - XCTAssertFalse(status.isError); - XCTAssertNotNil(user); - XCTAssertEqualObjects(user.externalId, [NSNull null]); - XCTAssertEqualObjects(user.profileUrl, [NSNull null]); - XCTAssertEqualObjects(user.custom, [NSNull null]); - XCTAssertEqualObjects(user.email, [NSNull null]); - XCTAssertEqualObjects(user.identifier, identifier); - XCTAssertEqualObjects(user.name, name); - XCTAssertNotNil(user.created); - XCTAssertNotNil(user.updated); - XCTAssertNotNil(user.eTag); - XCTAssertEqual(status.operation, PNCreateUserOperation); - XCTAssertEqual(status.category, PNAcknowledgmentCategory); - - handler(); - }); - }]; - - [self deleteUsers:@[identifier] usingClient:nil]; -} - -- (void)testItShouldCreateUserWhenAdditionalInformationIsSet { - NSString *externalId = [self randomizedValuesWithValues:@[@"test-external-identifier"]].firstObject; - NSString *email = [self randomizedValuesWithValues:@[@"test-user-email"]].firstObject; - NSString *identifier = [self randomizedValuesWithValues:@[@"test-user"]].firstObject; - NSString *name = [self randomizedValuesWithValues:@[@"test-user-name"]].firstObject; - NSString *profileUrl = @"https://pubnub.com"; - NSDictionary *custom = @{ - @"user-custom1": [@[name, @"custom", @"data", @"1"] componentsJoinedByString:@"-"], - @"user-custom2": [@[name, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] - }; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createUser() - .userId(identifier) - .name(name) - .externalId(externalId) - .profileUrl(profileUrl) - .email(email).custom(custom) - .includeFields(PNUserCustomField) - .performWithCompletion(^(PNCreateUserStatus *status) { - PNUser *user = status.data.user; - XCTAssertFalse(status.isError); - XCTAssertNotNil(user); - XCTAssertEqualObjects(user.externalId, externalId); - XCTAssertEqualObjects(user.profileUrl, profileUrl); - XCTAssertEqualObjects(user.identifier, identifier); - XCTAssertEqualObjects(user.custom, custom); - XCTAssertEqualObjects(user.email, email); - XCTAssertEqualObjects(user.name, name); - XCTAssertNotNil(user.created); - XCTAssertNotNil(user.updated); - XCTAssertNotNil(user.eTag); - - handler(); - }); - }]; - - [self deleteUsers:@[identifier] usingClient:nil]; -} - -- (void)testItShouldNotCreateUserWhenSameUserAlreadyExists { - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createUser() - .userId(users.firstObject.identifier) - .name(users.firstObject.name) - .performWithCompletion(^(PNCreateUserStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 409); - XCTAssertNil(status.data.user); - - if (!retried) { - retried = YES; - [status retry]; - } else { - handler(); - } - }); - }]; - - [self deleteUserObjectsUsingClient:nil]; -} - - -#pragma mark - Tests :: Builder pattern-based update space - -- (void)testItShouldUpdateUserAndReceiveStatusWithExpectedOperationAndCategory { - NSString *name = [self randomizedValuesWithValues:@[@"test-space-name"]].firstObject; - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSDate *createDate = users.firstObject.created; - NSDate *updateDate = users.firstObject.updated; - NSString *eTag = users.firstObject.eTag; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.updateUser() - .userId(users.firstObject.identifier) - .name(name) - .includeFields(PNUserCustomField) - .performWithCompletion(^(PNUpdateUserStatus *status) { - PNUser *user = status.data.user; - XCTAssertFalse(status.isError); - XCTAssertNotNil(user); - XCTAssertNotEqualObjects(user.updated, updateDate); - XCTAssertEqualObjects(user.created, createDate); - XCTAssertEqualObjects(user.name, name); - XCTAssertNotEqualObjects(user.eTag, eTag); - XCTAssertEqual(status.operation, PNUpdateUserOperation); - XCTAssertEqual(status.category, PNAcknowledgmentCategory); - - handler(); - }); - }]; - - [self deleteUserObjectsUsingClient:nil]; -} - -- (void)testItShouldUpdateUserAndTriggerUpdateEventToUserChannel { - NSString *name = [self randomizedValuesWithValues:@[@"test-space-name"]].firstObject; - PubNub *client1 = [self createPubNubForUser:@"serhii"]; - PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *users = [self createObjectForUsers:1 usingClient:client1]; - NSString *channel = users.firstObject.identifier; - NSDictionary *custom = @{ - @"user-custom1": [@[name, @"custom", @"data", @"1"] componentsJoinedByString:@"-"], - @"user-custom2": [@[name, @"custom", @"data", @"2"] componentsJoinedByString:@"-"] - }; - - [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addUserHandlerForClient:client2 - withBlock:^(PubNub *client, PNUserEventResult *event, BOOL *remove) { - - XCTAssertEqualObjects(event.data.event, @"update"); - XCTAssertEqualObjects(event.data.name, name); - XCTAssertEqualObjects(event.data.custom, custom); - XCTAssertNotNil(event.data.updated); - XCTAssertNotNil(event.data.timestamp); - *remove = YES; - - handler(); - }]; - - client1.updateUser() - .userId(users.firstObject.identifier) - .name(name) - .custom(custom) - .performWithCompletion(^(PNUpdateUserStatus *status) { - XCTAssertFalse(status.isError); - }); - }]; - - [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - [self deleteUserObjectsUsingClient:client1]; -} - -- (void)testItShouldNotUpdateUserWhenTargetUserNotExists { - NSString *identifier = [self randomizedValuesWithValues:@[@"test-user"]].firstObject; - NSString *name = [self randomizedValuesWithValues:@[@"test-user-name"]].firstObject; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.updateUser() - .userId(identifier) - .name(name) - .performWithCompletion(^(PNUpdateUserStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 404); - XCTAssertNil(status.data.user); - - if (!retried) { - retried = YES; - [status retry]; - } else { - handler(); - } - }); - }]; -} - - -#pragma mark - Tests :: Builder pattern-based delete space - -/** - * @brief To test 'retry' functionality - * 'ItShouldDeleteUserAndReceiveStatusWithExpectedOperationAndCategory.json' should - * be modified after cassette recording. Find first mention of user remove and copy paste 4 entries - * which belong to it. For new entries change 'id' field to be different from source. For original - * response entry change status code to 404. - */ -- (void)testItShouldDeleteUserAndReceiveStatusWithExpectedOperationAndCategory { - if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { - NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); - return; - } - - NSArray *users = [self createObjectForUsers:2 usingClient:nil]; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.deleteUser() - .userId(users.firstObject.identifier) - .performWithCompletion(^(PNAcknowledgmentStatus *status) { - if (!retried && !YHVVCR.cassette.isNewCassette) { - XCTAssertTrue(status.error); - XCTAssertEqual(status.operation, PNDeleteUserOperation); - XCTAssertEqual(status.category, PNMalformedResponseCategory); - - retried = YES; - [status retry]; - } else { - XCTAssertFalse(status.error); - XCTAssertEqual(status.operation, PNDeleteUserOperation); - XCTAssertEqual(status.category, PNAcknowledgmentCategory); - - [self deleteCachedUser:users.firstObject.identifier]; - - handler(); - } - }); - }]; - - - [self verifyUsersCountShouldEqualTo:(users.count - 1) usingClient:nil]; - - [self deleteUserObjectsUsingClient:nil]; -} - -- (void)testItShouldDeleteUserAndTriggerDeleteEventToSUserChannel { - PubNub *client1 = [self createPubNubForUser:@"serhii"]; - PubNub *client2 = [self createPubNubForUser:@"david"]; - NSArray *users = [self createObjectForUsers:2 usingClient:client1]; - NSString *channel = users.firstObject.identifier; - - [self subscribeClient:client2 toChannels:@[channel] withPresence:NO]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - [self addUserHandlerForClient:client2 - withBlock:^(PubNub *client, PNUserEventResult *event, BOOL *remove) { - - XCTAssertEqualObjects(event.data.event, @"delete"); - XCTAssertEqualObjects(event.data.identifier, users.firstObject.identifier); - XCTAssertNotNil(event.data.timestamp); - *remove = YES; - - handler(); - }]; - - client1.deleteUser() - .userId(users.firstObject.identifier) - .performWithCompletion(^(PNAcknowledgmentStatus *status) { - XCTAssertFalse(status.isError); - - [self deleteCachedUser:users.firstObject.identifier]; - }); - }]; - - [self unsubscribeClient:client2 fromChannels:@[channel] withPresence:NO]; - - - [self verifyUsersCountShouldEqualTo:(users.count - 1) usingClient:client1]; - - [self deleteUserObjectsUsingClient:client1]; -} - - -#pragma mark - Tests :: Builder pattern-based fetch users - -- (void)testItShouldFetchUserAndReceiveResultWithExpectedOperation { - NSArray *users = [self createObjectForUsers:1 usingClient:nil]; - NSDate *createDate = users.firstObject.created; - NSDate *updateDate = users.firstObject.updated; - NSString *eTag = users.firstObject.eTag; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchUser() - .userId(users.firstObject.identifier) - .includeFields(PNUserCustomField) - .performWithCompletion(^(PNFetchUserResult *result, PNErrorStatus *status) { - PNUser *user = result.data.user; - XCTAssertNil(status); - XCTAssertNotNil(user); - XCTAssertEqualObjects(user.created, createDate); - XCTAssertEqualObjects(user.updated, updateDate); - XCTAssertEqualObjects(user.eTag, eTag); - XCTAssertEqual(result.operation, PNFetchUserOperation); - - handler(); - }); - }]; - - [self deleteUserObjectsUsingClient:nil]; -} - -- (void)testItShouldNotFetchUserWhenTargetUserNotExists { - NSString *identifier = [self randomizedValuesWithValues:@[@"test-user"]].firstObject; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchUser() - .userId(identifier) - .includeFields(PNUserCustomField) - .performWithCompletion(^(PNFetchUserResult *result, PNErrorStatus *status) { - XCTAssertNil(result); - XCTAssertTrue(status.isError); - XCTAssertEqual(status.statusCode, 404); - - if (!retried) { - retried = YES; - [status retry]; - } else { - handler(); - } - }); - }]; -} - - -#pragma mark - Tests :: Builder pattern-based fetch all users - -/** - * @brief To test 'retry' functionality - * 'ItShouldFetchAllUsersAndReceiveResultWithExpectedOperation.json' should - * be modified after cassette recording. Find first mention of users fetch and copy paste 4 entries - * which belong to it. For new entries change 'id' field to be different from source. For original - * response entry change status code to 404. - */ -- (void)testItShouldFetchAllUsersAndReceiveResultWithExpectedOperation { - if ([self shouldSkipTestWithManuallyModifiedMockedResponse]) { - NSLog(@"'%@' requires special conditions (modified mocked response). Skip", self.name); - return; - } - - NSArray *users = [self createObjectForUsers:6 usingClient:nil]; - __block BOOL retried = NO; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchUsers().performWithCompletion(^(PNFetchUsersResult *result, PNErrorStatus *status) { - if (!retried && !YHVVCR.cassette.isNewCassette) { - XCTAssertTrue(status.error); - XCTAssertEqual(status.operation, PNFetchUsersOperation); - XCTAssertEqual(status.category, PNMalformedResponseCategory); - - retried = YES; - [status retry]; - } else { - XCTAssertNil(status); - XCTAssertEqual(result.data.users.count, users.count); - XCTAssertEqual(result.data.totalCount, 0); - XCTAssertEqual(result.operation, PNFetchUsersOperation); - - handler(); - } - }); - }]; - - [self deleteUserObjectsUsingClient:nil]; -} - -- (void)testItShouldFetchFilteredUsersWhenFilterIsSet { - NSDateFormatter *formatter = [NSDateFormatter pn_formatterWithString:@"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"]; - formatter.timeZone = [NSTimeZone timeZoneWithAbbreviation:@"UTC"]; - NSArray *users = [self createObjectForUsers:6 usingClient:nil]; - NSUInteger targetUserOffset = 3; - NSDate *targetUserUpdateDate = users[targetUserOffset].updated; - NSString *filterExpression = [NSString stringWithFormat:@"updated >= '%@'", - [formatter stringFromDate:targetUserUpdateDate]]; - NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchUsers() - .includeCount(YES) - .filter(filterExpression) - .performWithCompletion(^(PNFetchUsersResult *result, PNErrorStatus *status) { - NSURLRequest *request = [result valueForKey:@"clientRequest"]; - XCTAssertNil(status); - XCTAssertEqual(result.data.totalCount, users.count - targetUserOffset); - XCTAssertEqual(result.data.users.count, result.data.totalCount); - XCTAssertNil(result.data.prev); - XCTAssertNotNil(result.data.next); - XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedFilterExpression].location, - NSNotFound); - - handler(); - }); - }]; - - [self deleteUserObjectsUsingClient:nil]; -} - -- (void)testItShouldFetchSortedUsersWhenSortIsSet { - NSArray *users = [self createObjectForUsers:6 usingClient:nil]; - NSString *expectedSort = @"name%3Adesc,created"; - NSArray *expectedUsersOrder = [users sortedArrayUsingDescriptors:@[ - [NSSortDescriptor sortDescriptorWithKey:@"name" ascending:NO], - [NSSortDescriptor sortDescriptorWithKey:@"created" ascending:YES] - ]]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchUsers() - .includeCount(YES) - .sort(@[@"name:desc", @"created"]) - .performWithCompletion(^(PNFetchUsersResult *result, PNErrorStatus *status) { - NSArray *fetchedUsers = result.data.users; - NSURLRequest *request = [result valueForKey:@"clientRequest"]; - XCTAssertNil(status); - XCTAssertNotNil(fetchedUsers); - XCTAssertNil(result.data.prev); - XCTAssertNotNil(result.data.next); - XCTAssertNotEqual([request.URL.absoluteString rangeOfString:expectedSort].location, - NSNotFound); - - for (NSUInteger fetchedUserIdx = 0; fetchedUserIdx < fetchedUsers.count; fetchedUserIdx++) { - XCTAssertEqualObjects(fetchedUsers[fetchedUserIdx].identifier, - expectedUsersOrder[fetchedUserIdx].identifier); - } - - handler(); - }); - }]; - - [self deleteUserObjectsUsingClient:nil]; -} - -- (void)testItShouldFetchAllUsersWhenLimitItSet { - NSArray *users = [self createObjectForUsers:6 usingClient:nil]; - NSUInteger expectedCount = 2; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchUsers() - .limit(expectedCount) - .includeFields(PNUserCustomField) - .includeCount(YES) - .performWithCompletion(^(PNFetchUsersResult *result, PNErrorStatus *status) { - NSArray *fetchedUsers = result.data.users; - XCTAssertNil(status); - XCTAssertNotNil(fetchedUsers); - XCTAssertEqual(fetchedUsers.count, expectedCount); - XCTAssertEqual(result.data.totalCount, users.count); - XCTAssertNotNil(fetchedUsers.firstObject.custom); - - handler(); - }); - }]; - - [self deleteUserObjectsUsingClient:nil]; -} - -- (void)testItShouldFetchNextUsersPageWhenStartAndLimitIsSet { - NSArray *users = [self createObjectForUsers:6 usingClient:nil]; - __block NSString *next = nil; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchUsers() - .limit(users.count - 2) - .includeCount(YES) - .performWithCompletion(^(PNFetchUsersResult *result, PNErrorStatus *status) { - NSArray *fetchedUsers = result.data.users; - XCTAssertNil(status); - XCTAssertNotNil(fetchedUsers); - XCTAssertEqual(fetchedUsers.count, users.count - 2); - next = result.data.next; - - handler(); - }); - }]; - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchUsers() - .start(next) - .includeCount(YES) - .performWithCompletion(^(PNFetchUsersResult *result, PNErrorStatus *status) { - NSArray *fetchedUsers = result.data.users; - XCTAssertNil(status); - XCTAssertNotNil(fetchedUsers); - XCTAssertEqual(fetchedUsers.count, 2); - - handler(); - }); - }]; - - [self deleteUserObjectsUsingClient:nil]; -} - -#pragma mark - - -#pragma clang diagnostic pop - -@end diff --git a/Tests/Tests/Unit/Core/Interfaces/Objects/PNChannelMetadataAPICallBuilderTest.m b/Tests/Tests/Unit/Core/Interfaces/Objects/PNChannelMetadataAPICallBuilderTest.m new file mode 100644 index 000000000..0918cd455 --- /dev/null +++ b/Tests/Tests/Unit/Core/Interfaces/Objects/PNChannelMetadataAPICallBuilderTest.m @@ -0,0 +1,539 @@ +/** + * @author Serhii Mamontov + * @copyright © 2010-2020 PubNub, Inc. + */ +#import +#import +#import +#import + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +@interface PNChannelMetadataAPICallBuilderTest : XCTestCase + + +#pragma mark - Misc + +- (PNSetChannelMetadataAPICallBuilder *)setBuilder; +- (PNFetchChannelMetadataAPICallBuilder *)fetchBuilder; +- (PNFetchAllChannelsMetadataAPICallBuilder *)fetchAllBuilder; + +- (void)expect:(BOOL)shouldCall mock:(id)mockedObject toSetValue:(id)value toParameter:(NSString *)parameter; +- (NSString *)mockedParameterFrom:(NSString *)parameter; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Tests + +@implementation PNChannelMetadataAPICallBuilderTest + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Warc-retain-cycles" + + +#pragma mark - Tests :: set :: name + +- (void)testItShouldReturnSetBuilderWhenNameSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetChannelMetadataAPICallBuilder *)builder).name(@"PubNub"); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetNameWhenNSStringPassedAsSetName { + PNSetChannelMetadataAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"PubNub"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"name"]; + + builder.name(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotNameWhenEmptyNSStringPassedAsSetName { + PNSetChannelMetadataAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"name"]; + + builder.name(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotNameWhenNonNSStringPassedAsSetName { + PNSetChannelMetadataAPICallBuilder *builder = [self setBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"name"]; + + builder.name(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: information + +- (void)testItShouldReturnSetBuilderWhenInformationSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetChannelMetadataAPICallBuilder *)builder).information(@"Test information"); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetInformationWhenNSStringPassedAsSetInformation { + PNSetChannelMetadataAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"Test information"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"information"]; + + builder.information(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetInformationWhenEmptyNSStringPassedAsSetInformation { + PNSetChannelMetadataAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"information"]; + + builder.information(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetInformationWhenNonNSStringPassedAsSetInformation { + PNSetChannelMetadataAPICallBuilder *builder = [self setBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"information"]; + + builder.information(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: custom + +- (void)testItShouldReturnSetBuilderWhenCustomSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetChannelMetadataAPICallBuilder *)builder).custom(@{ @"company": @"PubNub" }); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetCustomWhenNSDictionaryPassedAsSetCustom { + PNSetChannelMetadataAPICallBuilder *builder = [self setBuilder]; + NSDictionary *expected = @{ @"company": @"PubNub" }; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"custom"]; + + builder.custom(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetCustomWhenEmptyNSDictionaryPassedAsSetCustom { + PNSetChannelMetadataAPICallBuilder *builder = [self setBuilder]; + NSDictionary *expected = @{}; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"custom"]; + + builder.custom(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetCustomWhenNonNSDictionaryPassedAsSetCustom { + PNSetChannelMetadataAPICallBuilder *builder = [self setBuilder]; + NSDictionary *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"custom"]; + + builder.custom(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: includeFields + +- (void)testItShouldReturnSetBuilderWhenIncludeFieldsSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetChannelMetadataAPICallBuilder *)builder).includeFields(PNChannelCustomField); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetIncludeFieldsWhenSetIncludeFieldsSpecifiedInChain { + PNSetChannelMetadataAPICallBuilder *builder = [self setBuilder]; + PNChannelFields expected = PNChannelCustomField; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; + + builder.includeFields(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: fetch :: includeFields + +- (void)testItShouldReturnFetchBuilderWhenIncludeFieldsSpecifiedInChain { + id builder = [self fetchBuilder]; + + id fetchBuilder = ((PNFetchChannelMetadataAPICallBuilder *)builder).includeFields(PNChannelCustomField); + XCTAssertEqual(fetchBuilder, builder); +} + +- (void)testItShouldSetIncludeFieldsWhenFetchIncludeFieldsSpecifiedInChain { + PNFetchChannelMetadataAPICallBuilder *builder = [self fetchBuilder]; + PNChannelFields expected = PNChannelCustomField; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; + + builder.includeFields(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: fetch all :: filter + +- (void)testItShouldReturnFetchBuilderWhenFilterSpecifiedInChain { + id builder = [self fetchAllBuilder]; + + id manageBuilder = ((PNFetchAllChannelsMetadataAPICallBuilder *)builder).filter(@"name == 'Public'"); + XCTAssertEqual(manageBuilder, builder); +} + +- (void)testItShouldSetFilterWhenNSStringPassedAsFetchAllFilter { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSString *expected = @"name like 'Program*'"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"filter"]; + + builder.filter(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsFetchAllFilter { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; + + builder.filter(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenNonNSStringPassedAsFetchAllFilter { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; + + builder.filter(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: fetch all :: sort + +- (void)testItShouldReturnFetchBuilderWhenSortSpecifiedInChain { + id builder = [self fetchAllBuilder]; + + id manageBuilder = ((PNFetchAllChannelsMetadataAPICallBuilder *)builder).sort(@[@"name"]); + XCTAssertEqual(manageBuilder, builder); +} + +- (void)testItShouldSetSortWhenNSArrayPassedAsFetchAllSort { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSArray *expected = @[@"name", @"created:desc"]; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetSortWhenEmptyNSArrayPassedAsFetchAllSort { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSArray *expected = @[]; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetSortWhenNonNSArrayPassedAsFetchAllSort { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSArray *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: fetch all :: start + +- (void)testItShouldReturnFetchAllBuilderWhenStartTokenSpecifiedInChain { + id builder = [self fetchAllBuilder]; + + id fetchBuilder = ((PNFetchAllChannelsMetadataAPICallBuilder *)builder).start(@"NjA"); + XCTAssertEqual(fetchBuilder, builder); +} + +- (void)testItShouldSetStartWhenNSStringPassedAsFetchAllStartToken { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSString *expected = @"NjA"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetStartWhenEmptyNSStringPassedAsFetchAllStartToken { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetStartWhenNonNSStringPassedAsFetchAllStartToken { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: fetch all :: end + +- (void)testItShouldReturnFetchAllBuilderWhenEndTokenSpecifiedInChain { + id builder = [self fetchAllBuilder]; + + id fetchBuilder = ((PNFetchAllChannelsMetadataAPICallBuilder *)builder).end(@"NjA"); + XCTAssertEqual(fetchBuilder, builder); +} + +- (void)testItShouldSetEndWhenNSStringPassedAsFetchAllEndToken { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSString *expected = @"NjA"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetEndWhenEmptyNSStringPassedAsFetchAllEndToken { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetEndWhenNonNSStringPassedAsFetchAllEndToken { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: fetch all :: limit + +- (void)testItShouldReturnFetchAllBuilderWhenLimitSpecifiedInChain { + id builder = [self fetchAllBuilder]; + + id fetchBuilder = ((PNFetchAllChannelsMetadataAPICallBuilder *)builder).limit(20); + XCTAssertEqual(fetchBuilder, builder); +} + +- (void)testItShouldSetLimitWhenFetchAllLimitSpecifiedInChain { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSNumber *expected = @35; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"limit"]; + + builder.limit(35); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: fetch all :: includeCount + +- (void)testItShouldReturnFetchAllBuilderWhenIncludeCountSpecifiedInChain { + id builder = [self fetchAllBuilder]; + + id setBuilder = ((PNFetchAllChannelsMetadataAPICallBuilder *)builder).includeCount(YES); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetIncludeCountWhenFetchAllIncludeCountSpecifiedInChain { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSNumber *expected = @YES; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"includeCount"]; + + builder.includeCount(YES); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: fetch all :: includeFields + +- (void)testItShouldReturnFetchAllBuilderWhenIncludeFieldsSpecifiedInChain { + id builder = [self fetchAllBuilder]; + + id fetchBuilder = ((PNFetchAllChannelsMetadataAPICallBuilder *)builder).includeFields(PNChannelCustomField); + XCTAssertEqual(fetchBuilder, builder); +} + +- (void)testShouldSetIncludeFieldsWhenFetchAllIncludeFieldsSpecifiedInChain { + PNFetchAllChannelsMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + PNChannelFields expected = PNChannelCustomField; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; + + builder.includeFields(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Misc + +- (PNSetChannelMetadataAPICallBuilder *)setBuilder { + return [PNSetChannelMetadataAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { + }]; +} + +- (PNFetchChannelMetadataAPICallBuilder *)fetchBuilder { + return [PNFetchChannelMetadataAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { + }]; +} + +- (PNFetchAllChannelsMetadataAPICallBuilder *)fetchAllBuilder { + return [PNFetchAllChannelsMetadataAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { + }]; +} + +- (void)expect:(BOOL)shouldCall mock:(id)mockedObject toSetValue:(id)value toParameter:(NSString *)parameter { + parameter = [self mockedParameterFrom:parameter]; + + if (shouldCall) { + OCMExpect([mockedObject setValue:value forParameter:parameter]); + } else { + OCMReject([mockedObject setValue:value forParameter:parameter]); + } +} + +- (NSString *)mockedParameterFrom:(NSString *)parameter { + return [@[@"ocmock_replaced", parameter] componentsJoinedByString:@"_"]; +} + +#pragma mark - + +#pragma clang diagnostic pop + +@end diff --git a/Tests/Tests/Unit/Core/Interfaces/Objects/PNMembersObjectsAPICallBuilderTest.m b/Tests/Tests/Unit/Core/Interfaces/Objects/PNMembersObjectsAPICallBuilderTest.m index b08e6bc18..dc238a88b 100644 --- a/Tests/Tests/Unit/Core/Interfaces/Objects/PNMembersObjectsAPICallBuilderTest.m +++ b/Tests/Tests/Unit/Core/Interfaces/Objects/PNMembersObjectsAPICallBuilderTest.m @@ -1,7 +1,7 @@ /** -* @author Serhii Mamontov -* @copyright © 2010-2020 PubNub, Inc. -*/ + * @author Serhii Mamontov + * @copyright © 2010-2020 PubNub, Inc. + */ #import #import #import @@ -17,6 +17,8 @@ @interface PNMembersObjectsAPICallBuilderTest : XCTestCase #pragma mark - Misc +- (PNSetMembersAPICallBuilder *)setBuilder; +- (PNRemoveMembersAPICallBuilder *)removeBuilder; - (PNManageMembersAPICallBuilder *)manageBuilder; - (PNFetchMembersAPICallBuilder *)fetchBuilder; @@ -39,66 +41,331 @@ @implementation PNMembersObjectsAPICallBuilderTest #pragma clang diagnostic ignored "-Warc-retain-cycles" -#pragma mark - Tests :: manage :: spaceId +#pragma mark - Tests :: set :: filter -- (void)testItShouldReturnManageBuilderWhenSpaceIdSpecifiedInChain { - id builder = [self manageBuilder]; +- (void)testItShouldReturnSetBuilderWhenFilterSpecifiedInChain { + id builder = [self setBuilder]; - id manageBuilder = ((PNManageMembersAPICallBuilder *)builder).spaceId(@"id"); - XCTAssertEqual(manageBuilder, builder); + id setBuilder = ((PNSetMembersAPICallBuilder *)builder).filter(@"custom.name == 'Bob'"); + XCTAssertEqual(setBuilder, builder); } -- (void)testItShouldSetSpaceIdWhenNSStringPassedAsManageSpaceId { - PNManageMembersAPICallBuilder *builder = [self manageBuilder]; - NSString *expected = @"OpenID"; +- (void)testItShouldSetFilterWhenNSStringPassedAsSetFilter { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"custom.name like 'Darth*'"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"filter"]; - builder.spaceId(expected); + builder.filter(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetSpaceIdWhenEmptyNSStringPassedAsManageSpaceId { - PNManageMembersAPICallBuilder *builder = [self manageBuilder]; +- (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsSetFilter { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; - builder.spaceId(expected); + builder.filter(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetSpaceIdWhenNonNSStringPassedAsManageSpaceId { - PNManageMembersAPICallBuilder *builder = [self manageBuilder]; +- (void)testItShouldNotSetFilterWhenNonNSStringPassedAsSetFilter { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; - builder.spaceId(expected); + builder.filter(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: manage :: filter +#pragma mark - Tests :: set :: sort -- (void)testItShouldReturnManageBuilderWhenFilterSpecifiedInChain { - id builder = [self manageBuilder]; +- (void)testItShouldReturnSetBuilderWhenSortSpecifiedInChain { + id builder = [self setBuilder]; - id manageBuilder = ((PNManageMembersAPICallBuilder *)builder).filter(@"custom.name == 'Bob'"); - XCTAssertEqual(manageBuilder, builder); + id setBuilder = ((PNSetMembersAPICallBuilder *)builder).sort(@[@"name"]); + XCTAssertEqual(setBuilder, builder); } -- (void)testItShouldSetFilterWhenNSStringPassedAsManageFilter { - PNManageMembersAPICallBuilder *builder = [self manageBuilder]; +- (void)testItShouldSetFilterWhenNSArrayPassedAsSetSort { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = @[@"name", @"created:desc"]; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenEmptyNSArrayPassedAsSetSort { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = @[]; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenNonNSArrayPassedAsSetSort { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: uuids + +- (void)testItShouldReturnSetBuilderWhenAddUUIDsSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembersAPICallBuilder *)builder).uuids(@[@{@"uuid": @"identifier" }]); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetAddWhenNSArrayPassedAsSetUUIDs { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = @[@{ @"uuid": @"identifier" }]; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"uuids"]; + + builder.uuids(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetAddWhenEmptyNSArrayPassedAsSetUUIDs { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = @[]; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuids"]; + + builder.uuids(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetAddWhenNonNSArrayPassedAsSetUUIDs { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuids"]; + + builder.uuids(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: start + +- (void)testItShouldReturnSetBuilderWhenStartTokenSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembersAPICallBuilder *)builder).start(@"NjA"); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetStartWhenNSStringPassedAsSetStartToken { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"NjA"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetStartWhenEmptyNSStringPassedAsSetStartToken { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetStartWhenNonNSStringPassedAsSetStartToken { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: end + +- (void)testItShouldReturnSetBuilderWhenEndTokenSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembersAPICallBuilder *)builder).end(@"NjA"); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetEndWhenNSStringPassedAsSetEndToken { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"NjA"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetEndWhenEmptyNSStringPassedAsSetEndToken { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetEndWhenNonNSStringPassedAsSetEndToken { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: limit + +- (void)testItShouldReturnSetBuilderWhenLimitSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembersAPICallBuilder *)builder).limit(20); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetLimitWhenSetLimitSpecifiedInChain { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSNumber *expected = @35; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"limit"]; + + builder.limit(35); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: includeCount + +- (void)testItShouldReturnSetBuilderWhenIncludeCountSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembersAPICallBuilder *)builder).includeCount(YES); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetIncludeCountWhenSetIncludeCountSpecifiedInChain { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + NSNumber *expected = @YES; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"includeCount"]; + + builder.includeCount(YES); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: includeFields + +- (void)testItShouldReturnSetBuilderWhenIncludeFieldsSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembersAPICallBuilder *)builder).includeFields(PNMemberCustomField); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetIncludeFieldsWhenSetIncludeFieldsSpecifiedInChain { + PNSetMembersAPICallBuilder *builder = [self setBuilder]; + PNMemberFields expected = PNMemberCustomField | PNMemberUUIDField; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; + + builder.includeFields(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: filter + +- (void)testItShouldReturnRemoveBuilderWhenFilterSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembersAPICallBuilder *)builder).filter(@"custom.name == 'Bob'"); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetFilterWhenNSStringPassedAsRemoveFilter { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; NSString *expected = @"custom.name like 'Darth*'"; @@ -110,8 +377,8 @@ - (void)testItShouldSetFilterWhenNSStringPassedAsManageFilter { OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsManageFilter { - PNManageMembersAPICallBuilder *builder = [self manageBuilder]; +- (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsRemoveFilter { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; NSString *expected = @""; @@ -123,8 +390,8 @@ - (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsManageFilter { OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetFilterWhenNonNSStringPassedAsManageFilter { - PNManageMembersAPICallBuilder *builder = [self manageBuilder]; +- (void)testItShouldNotSetFilterWhenNonNSStringPassedAsRemoveFilter { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; NSString *expected = (id)@2010; @@ -137,17 +404,17 @@ - (void)testItShouldNotSetFilterWhenNonNSStringPassedAsManageFilter { } -#pragma mark - Tests :: manage :: sort +#pragma mark - Tests :: remove :: sort -- (void)testItShouldReturnManageBuilderWhenSortSpecifiedInChain { - id builder = [self manageBuilder]; +- (void)testItShouldReturnRemoveBuilderWhenSortSpecifiedInChain { + id builder = [self removeBuilder]; - id manageBuilder = ((PNManageMembersAPICallBuilder *)builder).sort(@[@"name"]); - XCTAssertEqual(manageBuilder, builder); + id removeBuilder = ((PNRemoveMembersAPICallBuilder *)builder).sort(@[@"name"]); + XCTAssertEqual(removeBuilder, builder); } -- (void)testItShouldSetFilterWhenNSArrayPassedAsManageSort { - PNManageMembersAPICallBuilder *builder = [self manageBuilder]; +- (void)testItShouldSetFilterWhenNSArrayPassedAsRemoveSort { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; NSArray *expected = @[@"name", @"created:desc"]; @@ -159,8 +426,8 @@ - (void)testItShouldSetFilterWhenNSArrayPassedAsManageSort { OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetFilterWhenEmptyNSArrayPassedAsManageSort { - PNManageMembersAPICallBuilder *builder = [self manageBuilder]; +- (void)testItShouldNotSetFilterWhenEmptyNSArrayPassedAsRemoveSort { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; NSArray *expected = @[]; @@ -172,8 +439,8 @@ - (void)testItShouldNotSetFilterWhenEmptyNSArrayPassedAsManageSort { OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetFilterWhenNonNSArrayPassedAsManageSort { - PNManageMembersAPICallBuilder *builder = [self manageBuilder]; +- (void)testItShouldNotSetFilterWhenNonNSArrayPassedAsRemoveSort { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; NSArray *expected = (id)@2010; @@ -186,99 +453,364 @@ - (void)testItShouldNotSetFilterWhenNonNSArrayPassedAsManageSort { } -#pragma mark - Tests :: manage :: add +#pragma mark - Tests :: remove :: uuids + +- (void)testItShouldReturnRemoveBuilderWhenUUIDsSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembersAPICallBuilder *)builder).uuids(@[@"identifier"]); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetUUIDsWhenNSArrayPassedAsRemoveUUIDs { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSArray *expected = @[@"identifier"]; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"uuids"]; + + builder.uuids(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetUUIDsWhenEmptyNSArrayPassedAsRemoveUUIDs { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSArray *expected = @[]; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuids"]; -- (void)testItShouldReturnManageBuilderWhenAddUsersSpecifiedInChain { + builder.uuids(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetAddWhenNonNSArrayPassedAsRemoveUUIDs { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSArray *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuids"]; + + builder.uuids(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: start + +- (void)testItShouldReturnRemoveBuilderWhenStartTokenSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembersAPICallBuilder *)builder).start(@"NjA"); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetStartWhenNSStringPassedAsRemoveStartToken { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @"NjA"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetStartWhenEmptyNSStringPassedAsRemoveStartToken { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetStartWhenNonNSStringPassedAsRemoveStartToken { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: end + +- (void)testItShouldReturnRemoveBuilderWhenEndTokenSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembersAPICallBuilder *)builder).end(@"NjA"); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetEndWhenNSStringPassedAsRemoveEndToken { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @"NjA"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetEndWhenEmptyNSStringPassedAsRemoveEndToken { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetEndWhenNonNSStringPassedAsRemoveEndToken { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: limit + +- (void)testItShouldReturnRemoveBuilderWhenLimitSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembersAPICallBuilder *)builder).limit(20); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetLimitWhenRemoveLimitSpecifiedInChain { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSNumber *expected = @35; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"limit"]; + + builder.limit(35); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: includeCount + +- (void)testItShouldReturnRemoveBuilderWhenIncludeCountSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembersAPICallBuilder *)builder).includeCount(YES); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetIncludeCountWhenRemoveIncludeCountSpecifiedInChain { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + NSNumber *expected = @YES; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"includeCount"]; + + builder.includeCount(YES); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: includeFields + +- (void)testItShouldReturnRemoveBuilderWhenIncludeFieldsSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembersAPICallBuilder *)builder).includeFields(PNMemberCustomField); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetIncludeFieldsWhenRemoveIncludeFieldsSpecifiedInChain { + PNRemoveMembersAPICallBuilder *builder = [self removeBuilder]; + PNMemberFields expected = PNMemberCustomField | PNMemberUUIDField; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; + + builder.includeFields(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: manage :: filter + +- (void)testItShouldReturnManageBuilderWhenFilterSpecifiedInChain { id builder = [self manageBuilder]; - id manageBuilder = ((PNManageMembersAPICallBuilder *)builder).add(@[@{ @"id": @"identifier" }]); + id manageBuilder = ((PNManageMembersAPICallBuilder *)builder).filter(@"custom.name == 'Bob'"); XCTAssertEqual(manageBuilder, builder); } -- (void)testItShouldSetAddWhenNSArrayPassedAsManageUsers { +- (void)testItShouldSetFilterWhenNSStringPassedAsManageFilter { PNManageMembersAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = @[@{ @"id": @"identifier" }]; + NSString *expected = @"custom.name like 'Darth*'"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"add"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"filter"]; - builder.add(expected); + builder.filter(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetAddWhenEmptyNSArrayPassedAsManageUsers { +- (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsManageFilter { PNManageMembersAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = @[]; + NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"add"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; - builder.add(expected); + builder.filter(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetAddWhenNonNSArrayPassedAsManageUsers { +- (void)testItShouldNotSetFilterWhenNonNSStringPassedAsManageFilter { PNManageMembersAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = (id)@2010; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; + + builder.filter(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: manage :: sort + +- (void)testItShouldReturnManageBuilderWhenSortSpecifiedInChain { + id builder = [self manageBuilder]; + + id manageBuilder = ((PNManageMembersAPICallBuilder *)builder).sort(@[@"name"]); + XCTAssertEqual(manageBuilder, builder); +} + +- (void)testItShouldSetFilterWhenNSArrayPassedAsManageSort { + PNManageMembersAPICallBuilder *builder = [self manageBuilder]; + NSArray *expected = @[@"name", @"created:desc"]; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenEmptyNSArrayPassedAsManageSort { + PNManageMembersAPICallBuilder *builder = [self manageBuilder]; + NSArray *expected = @[]; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"add"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; - builder.add(expected); + builder.sort(expected); OCMVerifyAll(builderMock); } +- (void)testItShouldNotSetFilterWhenNonNSArrayPassedAsManageSort { + PNManageMembersAPICallBuilder *builder = [self manageBuilder]; + NSArray *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); -#pragma mark - Tests :: manage :: update + OCMVerifyAll(builderMock); +} -- (void)testItShouldReturnManageBuilderWhenUpdateUsersSpecifiedInChain { + +#pragma mark - Tests :: manage :: set + +- (void)testItShouldReturnManageBuilderWhenSetUUIDsSpecifiedInChain { id builder = [self manageBuilder]; - id manageBuilder = ((PNManageMembersAPICallBuilder *)builder).update(@[@{ @"id": @"identifier" }]); + id manageBuilder = ((PNManageMembersAPICallBuilder *)builder).set(@[@{ @"uuid": @"identifier" }]); XCTAssertEqual(manageBuilder, builder); } -- (void)testItShouldSetUpdateWhenNSArrayPassedAsManageUsers { +- (void)testItShouldSetSetWhenNSArrayPassedAsManageUUIDs { PNManageMembersAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = @[@{ @"id": @"identifier" }]; + NSArray *expected = @[@{ @"uuid": @"identifier" }]; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"update"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"set"]; - builder.update(expected); + builder.set(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetUpdateWhenEmptyNSArrayPassedAsManageUsers { +- (void)testItShouldNotSetSetWhenEmptyNSArrayPassedAsManageUUIDs { PNManageMembersAPICallBuilder *builder = [self manageBuilder]; NSArray *expected = @[]; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"update"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"set"]; - builder.update(expected); + builder.set(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetUpdateWhenNonNSArrayPassedAsManageUsers { +- (void)testItShouldNotSetSetWhenNonNSArrayPassedAsManageUUIDs { PNManageMembersAPICallBuilder *builder = [self manageBuilder]; NSArray *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"update"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"set"]; - builder.update(expected); + builder.set(expected); OCMVerifyAll(builderMock); } @@ -286,14 +818,14 @@ - (void)testItShouldNotSetUpdateWhenNonNSArrayPassedAsManageUsers { #pragma mark - Tests :: manage :: remove -- (void)testItShouldReturnManageBuilderWhenRemoveUsersSpecifiedInChain { +- (void)testItShouldReturnManageBuilderWhenRemoveUUIDsSpecifiedInChain { id builder = [self manageBuilder]; id manageBuilder = ((PNManageMembersAPICallBuilder *)builder).remove(@[ @"identifier" ]); XCTAssertEqual(manageBuilder, builder); } -- (void)testMItShouldSetRemoveWhenNSArrayPassedAsManageUsers { +- (void)testMItShouldSetRemoveWhenNSArrayPassedAsManageUUIDs { PNManageMembersAPICallBuilder *builder = [self manageBuilder]; NSArray *expected = @[ @"identifier" ]; @@ -306,7 +838,7 @@ - (void)testMItShouldSetRemoveWhenNSArrayPassedAsManageUsers { OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetRemoveWhenEmptyNSArrayPassedAsManageUsers { +- (void)testItShouldNotSetRemoveWhenEmptyNSArrayPassedAsManageUUIDs { PNManageMembersAPICallBuilder *builder = [self manageBuilder]; NSArray *expected = @[]; @@ -319,7 +851,7 @@ - (void)testItShouldNotSetRemoveWhenEmptyNSArrayPassedAsManageUsers { OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetRemoveWhenNonNSArrayPassedAsManageUsers { +- (void)testItShouldNotSetRemoveWhenNonNSArrayPassedAsManageUUIDs { PNManageMembersAPICallBuilder *builder = [self manageBuilder]; NSArray *expected = (id)@2010; @@ -488,7 +1020,7 @@ - (void)testItShouldReturnManageBuilderWhenIncludeFieldsSpecifiedInChain { - (void)testItShouldSetIncludeFieldsWhenIncludeFieldsSpecifiedInChain { PNManageMembersAPICallBuilder *builder = [self manageBuilder]; - PNMemberFields expected = PNMemberCustomField | PNMemberUserField; + PNMemberFields expected = PNMemberCustomField | PNMemberUUIDField; id builderMock = OCMPartialMock(builder); @@ -500,55 +1032,6 @@ - (void)testItShouldSetIncludeFieldsWhenIncludeFieldsSpecifiedInChain { } -#pragma mark - Tests :: fetch :: spaceId - -- (void)testItShouldReturnCreateBuilderWhenSpaceIdSpecifiedInChain { - id builder = [self fetchBuilder]; - - id fetchBuilder = ((PNFetchMembersAPICallBuilder *)builder).spaceId(@"id"); - XCTAssertEqual(fetchBuilder, builder); -} - -- (void)testItShouldSetSpaceIdWhenNSStringPassedAsFetchSpaceId { - PNFetchMembersAPICallBuilder *builder = [self fetchBuilder]; - NSString *expected = @"OpenID"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"spaceId"]; - - builder.spaceId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetSpaceIdWhenEmptyNSStringPassedAsFetchSpaceId { - PNFetchMembersAPICallBuilder *builder = [self fetchBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; - - builder.spaceId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetSpaceIdWhenNonNSStringPassedAsFetchSpaceId { - PNFetchMembersAPICallBuilder *builder = [self fetchBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; - - builder.spaceId(expected); - - OCMVerifyAll(builderMock); -} - - #pragma mark - Tests :: fetch :: filter - (void)testItShouldReturnFetchBuilderWhenFilterSpecifiedInChain { @@ -802,7 +1285,7 @@ - (void)testItShouldReturnFetchBuilderWhenIncludeFieldsSpecifiedInChain { - (void)testItShouldSetIncludeFieldsWhenFetchIncludeFieldsSpecifiedInChain { PNFetchMembersAPICallBuilder *builder = [self fetchBuilder]; - PNMemberFields expected = PNMemberCustomField | PNMemberUserCustomField; + PNMemberFields expected = PNMemberCustomField | PNMemberUUIDCustomField; id builderMock = OCMPartialMock(builder); @@ -816,6 +1299,18 @@ - (void)testItShouldSetIncludeFieldsWhenFetchIncludeFieldsSpecifiedInChain { #pragma mark - Misc +- (PNSetMembersAPICallBuilder *)setBuilder { + return [PNSetMembersAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { + }]; +} + +- (PNRemoveMembersAPICallBuilder *)removeBuilder { + return [PNRemoveMembersAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { + }]; +} + - (PNManageMembersAPICallBuilder *)manageBuilder { return [PNManageMembersAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, NSDictionary *arguments) { diff --git a/Tests/Tests/Unit/Core/Interfaces/Objects/PNMembershipsObjectsAPICallBuilderTest.m b/Tests/Tests/Unit/Core/Interfaces/Objects/PNMembershipsObjectsAPICallBuilderTest.m index 27d8517bb..189a17f1f 100644 --- a/Tests/Tests/Unit/Core/Interfaces/Objects/PNMembershipsObjectsAPICallBuilderTest.m +++ b/Tests/Tests/Unit/Core/Interfaces/Objects/PNMembershipsObjectsAPICallBuilderTest.m @@ -1,7 +1,7 @@ /** -* @author Serhii Mamontov -* @copyright © 2010-2020 PubNub, Inc. -*/ + * @author Serhii Mamontov + * @copyright © 2010-2020 PubNub, Inc. + */ #import #import #import @@ -17,6 +17,8 @@ @interface PNMembershipsObjectsAPICallBuilderTest : XCTestCase #pragma mark - Misc +- (PNSetMembershipsAPICallBuilder *)setBuilder; +- (PNRemoveMembershipsAPICallBuilder *)removeBuilder; - (PNManageMembershipsAPICallBuilder *)manageBuilder; - (PNFetchMembershipsAPICallBuilder *)fetchBuilder; @@ -39,246 +41,923 @@ @implementation PNMembershipsObjectsAPICallBuilderTest #pragma clang diagnostic ignored "-Warc-retain-cycles" -#pragma mark - Tests :: manage :: userId +#pragma mark - Tests :: set :: uuid + +- (void)testItShouldReturnSetBuilderWhenUUIDSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembershipsAPICallBuilder *)builder).uuid(@"id"); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetUUIDWhenNSStringPassedAsSetUUID { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"OpenID"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"uuid"]; + + builder.uuid(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetUUIDWhenEmptyNSStringPassedAsSetUUID { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; + + builder.uuid(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetUUIDWhenNonNSStringPassedAsSetUUID { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; + + builder.uuid(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: filter + +- (void)testItShouldReturnSetBuilderWhenFilterSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembershipsAPICallBuilder *)builder).filter(@"custom.name == 'lobby'"); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetFilterWhenNSStringPassedAsSetFilter { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"custom.name like 'secret-*'"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"filter"]; + + builder.filter(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsSetFilter { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; + + builder.filter(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenNonNSStringPassedAsSetFilter { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; + + builder.filter(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: sort + +- (void)testItShouldReturnSetBuilderWhenSortSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembershipsAPICallBuilder *)builder).sort(@[@"name"]); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetFilterWhenNSArrayPassedAsSetSort { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = @[@"name", @"created:desc"]; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenEmptyNSArrayPassedAsSetSort { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = @[]; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenNonNSArrayPassedAsSetSort { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: channels + +- (void)testItShouldReturnSetBuilderWhenChannelsSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembershipsAPICallBuilder *)builder).channels(@[@{@"channel": @"identifier" }]); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetChannelsWhenNSArrayPassedAsSetChannels { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = @[@{ @"channel": @"identifier" }]; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"channels"]; + + builder.channels(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelsWhenEmptyNSArrayPassedAsSetChannels { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = @[]; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channels"]; + + builder.channels(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelsWhenNonNSArrayPassedAsSetChannels { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSArray *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channels"]; + + builder.channels(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: start + +- (void)testItShouldReturnSetBuilderWhenStartTokenSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembershipsAPICallBuilder *)builder).start(@"NjA"); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetStartWhenNSStringPassedAsSetStartToken { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"NjA"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetStartWhenEmptyNSStringPassedAsSetStartToken { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetStartWhenNonNSStringPassedAsSetStartToken { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: end + +- (void)testItShouldReturnSetBuilderWhenEndTokenSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembershipsAPICallBuilder *)builder).end(@"NjA"); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetEndWhenNSStringPassedAsSetEndToken { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"NjA"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetEndWhenEmptyNSStringPassedAsSetEndToken { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetEndWhenNonNSStringPassedAsSetEndToken { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: limit + +- (void)testItShouldReturnSetBuilderWhenLimitSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembershipsAPICallBuilder *)builder).limit(20); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetLimitWhenSetLimitSpecifiedInChain { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSNumber *expected = @35; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"limit"]; + + builder.limit(35); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: includeCount + +- (void)testItShouldReturnSetBuilderWhenIncludeCountSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembershipsAPICallBuilder *)builder).includeCount(YES); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetIncludeCountWhenSetIncludeCountSpecifiedInChain { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + NSNumber *expected = @YES; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"includeCount"]; + + builder.includeCount(YES); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: set :: includeFields + +- (void)testItShouldReturnSetBuilderWhenIncludeFieldsSpecifiedInChain { + id builder = [self setBuilder]; + + id setBuilder = ((PNSetMembershipsAPICallBuilder *)builder).includeFields(PNMembershipCustomField); + XCTAssertEqual(setBuilder, builder); +} + +- (void)testItShouldSetIncludeFieldsWhenSetIncludeFieldsSpecifiedInChain { + PNSetMembershipsAPICallBuilder *builder = [self setBuilder]; + PNMembershipFields expected = PNMembershipCustomField | PNMembershipChannelField; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; + + builder.includeFields(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: uuid + +- (void)testItShouldReturnRemoveBuilderWhenUUIDSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembershipsAPICallBuilder *)builder).uuid(@"id"); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetUUIDWhenNSStringPassedAsRemoveUUID { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @"OpenID"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"uuid"]; + + builder.uuid(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetUUIDWhenEmptyNSStringPassedAsRemoveUUID { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; + + builder.uuid(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetUUIDWhenNonNSStringPassedAsRemoveUUID { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; + + builder.uuid(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: filter + +- (void)testItShouldReturnRemoveBuilderWhenFilterSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembershipsAPICallBuilder *)builder).filter(@"custom.name == 'lobby'"); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetFilterWhenNSStringPassedAsRemoveFilter { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @"custom.name like 'secret-*'"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"filter"]; + + builder.filter(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsRemoveFilter { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @""; -- (void)testItShouldReturnManageBuilderWhenUserIdSpecifiedInChain { - id builder = [self manageBuilder]; - id manageBuilder = ((PNManageMembershipsAPICallBuilder *)builder).userId(@"id"); - XCTAssertEqual(manageBuilder, builder); + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; + + builder.filter(expected); + + OCMVerifyAll(builderMock); } -- (void)testItShouldSetUserIdWhenNSStringPassedAsManageUserId { - PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; - NSString *expected = @"OpenID"; +- (void)testItShouldNotSetFilterWhenNonNSStringPassedAsRemoveFilter { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"userId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; - builder.userId(expected); + builder.filter(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetUserIdWhenEmptyNSStringPassedAsManageUserId { - PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; + +#pragma mark - Tests :: remove :: sort + +- (void)testItShouldReturnRemoveBuilderWhenSortSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembershipsAPICallBuilder *)builder).sort(@[@"name"]); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetFilterWhenNSArrayPassedAsRemoveSort { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSArray *expected = @[@"name", @"created:desc"]; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenEmptyNSArrayPassedAsRemoveSort { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSArray *expected = @[]; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetFilterWhenNonNSArrayPassedAsRemoveSort { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSArray *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + + builder.sort(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: channels + +- (void)testItShouldReturnRemoveBuilderWhenChannelsSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembershipsAPICallBuilder *)builder).channels(@[@"identifier"]); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetChannelsWhenNSArrayPassedAsRemoveChannels { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSArray *expected = @[@"identifier"]; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"channels"]; + + builder.channels(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelsWhenEmptyNSArrayPassedAsRemoveChannels { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSArray *expected = @[]; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channels"]; + + builder.channels(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelsWhenNonNSArrayPassedAsRemoveChannels { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSArray *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channels"]; + + builder.channels(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: start + +- (void)testItShouldReturnRemoveBuilderWhenStartTokenSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembershipsAPICallBuilder *)builder).start(@"NjA"); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetStartWhenNSStringPassedAsRemoveStartToken { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @"NjA"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"start"]; + + builder.start(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetStartWhenEmptyNSStringPassedAsRemoveStartToken { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; - builder.userId(expected); + builder.start(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetUserIdWhenNonNSStringPassedAsManageUserId { - PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; +- (void)testItShouldNotSetStartWhenNonNSStringPassedAsRemoveStartToken { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; - builder.userId(expected); + builder.start(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: manage :: filter +#pragma mark - Tests :: remove :: end -- (void)testItShouldReturnManageBuilderWhenFilterSpecifiedInChain { +- (void)testItShouldReturnRemoveBuilderWhenEndTokenSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembershipsAPICallBuilder *)builder).end(@"NjA"); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetEndWhenNSStringPassedAsRemoveEndToken { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @"NjA"; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetEndWhenEmptyNSStringPassedAsRemoveEndToken { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetEndWhenNonNSStringPassedAsRemoveEndToken { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; + + builder.end(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: limit + +- (void)testItShouldReturnRemoveBuilderWhenLimitSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembershipsAPICallBuilder *)builder).limit(20); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetLimitWhenRemoveLimitSpecifiedInChain { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSNumber *expected = @35; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"limit"]; + + builder.limit(35); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: includeCount + +- (void)testItShouldReturnRemoveBuilderWhenIncludeCountSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembershipsAPICallBuilder *)builder).includeCount(YES); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetIncludeCountWhenRemoveIncludeCountSpecifiedInChain { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + NSNumber *expected = @YES; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"includeCount"]; + + builder.includeCount(YES); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: remove :: includeFields + +- (void)testItShouldReturnRemoveBuilderWhenIncludeFieldsSpecifiedInChain { + id builder = [self removeBuilder]; + + id removeBuilder = ((PNRemoveMembershipsAPICallBuilder *)builder).includeFields(PNMembershipCustomField); + XCTAssertEqual(removeBuilder, builder); +} + +- (void)testItShouldSetIncludeFieldsWhenRemoveIncludeFieldsSpecifiedInChain { + PNRemoveMembershipsAPICallBuilder *builder = [self removeBuilder]; + PNMembershipFields expected = PNMembershipCustomField | PNMembershipChannelField; + + + id builderMock = OCMPartialMock(builder); + [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; + + builder.includeFields(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: manage :: uuid + +- (void)testItShouldReturnManageBuilderWhenUUIDSpecifiedInChain { id builder = [self manageBuilder]; - id manageBuilder = ((PNManageMembershipsAPICallBuilder *)builder).filter(@"custom.name == 'lobby'"); + id manageBuilder = ((PNManageMembershipsAPICallBuilder *)builder).uuid(@"id"); XCTAssertEqual(manageBuilder, builder); } -- (void)testItShouldSetFilterWhenNSStringPassedAsManageFilter { +- (void)testItShouldSetUUIDWhenNSStringPassedAsManageUUID { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; - NSString *expected = @"custom.name like 'secret-*'"; + NSString *expected = @"OpenID"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"filter"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.filter(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsManageFilter { +- (void)testItShouldNotSetUUIDWhenEmptyNSStringPassedAsManageUUID { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.filter(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetFilterWhenNonNSStringPassedAsManageFilter { +- (void)testItShouldNotSetUUIDWhenNonNSStringPassedAsManageUUID { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.filter(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: manage :: sort +#pragma mark - Tests :: manage :: filter -- (void)testItShouldReturnManageBuilderWhenSortSpecifiedInChain { +- (void)testItShouldReturnManageBuilderWhenFilterSpecifiedInChain { id builder = [self manageBuilder]; - id manageBuilder = ((PNManageMembershipsAPICallBuilder *)builder).sort(@[@"name"]); + id manageBuilder = ((PNManageMembershipsAPICallBuilder *)builder).filter(@"custom.name == 'lobby'"); XCTAssertEqual(manageBuilder, builder); } -- (void)testItShouldSetFilterWhenNSArrayPassedAsManageSort { +- (void)testItShouldSetFilterWhenNSStringPassedAsManageFilter { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = @[@"name", @"created:desc"]; + NSString *expected = @"custom.name like 'secret-*'"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"sort"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"filter"]; - builder.sort(expected); + builder.filter(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetFilterWhenEmptyNSArrayPassedAsManageSort { +- (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsManageFilter { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = @[]; + NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; - builder.sort(expected); + builder.filter(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetFilterWhenNonNSArrayPassedAsManageSort { +- (void)testItShouldNotSetFilterWhenNonNSStringPassedAsManageFilter { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = (id)@2010; + NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; - builder.sort(expected); + builder.filter(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: manage :: add +#pragma mark - Tests :: manage :: sort -- (void)testItShouldReturnManageBuilderWhenAddSpacesSpecifiedInChain { +- (void)testItShouldReturnManageBuilderWhenSortSpecifiedInChain { id builder = [self manageBuilder]; - id manageBuilder = ((PNManageMembershipsAPICallBuilder *)builder).add(@[@{ @"id": @"identifier" }]); + id manageBuilder = ((PNManageMembershipsAPICallBuilder *)builder).sort(@[@"name"]); XCTAssertEqual(manageBuilder, builder); } -- (void)testItShouldSetAddWhenNSArrayPassedAsManageSpaces { +- (void)testItShouldSetFilterWhenNSArrayPassedAsManageSort { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = @[@{ @"id": @"identifier" }]; + NSArray *expected = @[@"name", @"created:desc"]; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"add"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"sort"]; - builder.add(expected); + builder.sort(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetAddWhenEmptyNSArrayPassedAsManageSpaces { +- (void)testItShouldNotSetFilterWhenEmptyNSArrayPassedAsManageSort { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = @[]; + NSArray *expected = @[]; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"add"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; - builder.add(expected); + builder.sort(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetAddWhenNonNSArrayPassedAsManageSpaces { +- (void)testItShouldNotSetFilterWhenNonNSArrayPassedAsManageSort { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = (id)@2010; + NSArray *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"add"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; - builder.add(expected); + builder.sort(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: manage :: update +#pragma mark - Tests :: manage :: set -- (void)testItShouldReturnManageBuilderWhenUpdateSpacesSpecifiedInChain { +- (void)testItShouldReturnManageBuilderWhenSetChannelsSpecifiedInChain { id builder = [self manageBuilder]; - id manageBuilder = ((PNManageMembershipsAPICallBuilder *)builder).update(@[@{ @"id": @"identifier" }]); + id manageBuilder = ((PNManageMembershipsAPICallBuilder *)builder).set(@[@{ @"channel": @"identifier" }]); XCTAssertEqual(manageBuilder, builder); } -- (void)testItShouldSetUpdateWhenNSArrayPassedAsManageSpaces { +- (void)testItShouldSetSetWhenNSArrayPassedAsManageSetChannels { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; - NSArray *expected = @[@{ @"id": @"identifier" }]; + NSArray *expected = @[@{ @"channel": @"identifier" }]; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"update"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"set"]; - builder.update(expected); + builder.set(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetUpdateWhenEmptyNSArrayPassedAsManageSpaces { +- (void)testItShouldNotSetSetWhenEmptyNSArrayPassedAsManageSetChannels { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; NSArray *expected = @[]; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"update"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"set"]; - builder.update(expected); + builder.set(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetUpdateWhenNonNSArrayPassedAsManageSpaces { +- (void)testItShouldNotSetSetWhenNonNSArrayPassedAsManageSetChannels { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; NSArray *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"update"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"set"]; - builder.update(expected); + builder.set(expected); OCMVerifyAll(builderMock); } @@ -286,14 +965,14 @@ - (void)testItShouldNotSetUpdateWhenNonNSArrayPassedAsManageSpaces { #pragma mark - Tests :: manage :: remove -- (void)testItShouldReturnManageBuilderWhenRemoveSpacesSpecifiedInChain { +- (void)testItShouldReturnManageBuilderWhenRemoveChannelsSpecifiedInChain { id builder = [self manageBuilder]; id manageBuilder = ((PNManageMembershipsAPICallBuilder *)builder).remove(@[ @"identifier" ]); XCTAssertEqual(manageBuilder, builder); } -- (void)testItShouldSetRemoveWhenNSArrayPassedAsManageSpaces { +- (void)testItShouldSetRemoveWhenNSArrayPassedAsManageRemoveChannels { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; NSArray *expected = @[ @"identifier" ]; @@ -306,7 +985,7 @@ - (void)testItShouldSetRemoveWhenNSArrayPassedAsManageSpaces { OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetRemoveWhenEmptyNSArrayPassedAsManageSpaces { +- (void)testItShouldNotSetRemoveWhenEmptyNSArrayPassedAsManageRemoveChannels { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; NSArray *expected = @[]; @@ -319,7 +998,7 @@ - (void)testItShouldNotSetRemoveWhenEmptyNSArrayPassedAsManageSpaces { OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetRemoveWhenNonNSArrayPassedAsManageSpaces { +- (void)testItShouldNotSetRemoveWhenNonNSArrayPassedAsManageRemoveChannels { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; NSArray *expected = (id)@2010; @@ -488,7 +1167,7 @@ - (void)testItShouldReturnManageBuilderWhenIncludeFieldsSpecifiedInChain { - (void)testItShouldSetIncludeFieldsWhenManageIncludeFieldsSpecifiedInChain { PNManageMembershipsAPICallBuilder *builder = [self manageBuilder]; - PNMembershipFields expected = PNMembershipCustomField | PNMembershipSpaceField; + PNMembershipFields expected = PNMembershipCustomField | PNMembershipChannelField; id builderMock = OCMPartialMock(builder); @@ -500,50 +1179,50 @@ - (void)testItShouldSetIncludeFieldsWhenManageIncludeFieldsSpecifiedInChain { } -#pragma mark - Tests :: fetch :: userId +#pragma mark - Tests :: fetch :: uuid -- (void)testItShouldReturnFetchBuilderWhenUserIdSpecifiedInChain { +- (void)testItShouldReturnFetchBuilderWhenUUIDSpecifiedInChain { id builder = [self fetchBuilder]; - id fetchBuilder = ((PNFetchMembershipsAPICallBuilder *)builder).userId(@"id"); + id fetchBuilder = ((PNFetchMembershipsAPICallBuilder *)builder).uuid(@"id"); XCTAssertEqual(fetchBuilder, builder); } -- (void)testItShouldSetUserIdWhenNSStringPassedAsFetchUserId { +- (void)testItShouldSetUUIDWhenNSStringPassedAsFetchUUID { PNFetchMembershipsAPICallBuilder *builder = [self fetchBuilder]; NSString *expected = @"OpenID"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"userId"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.userId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetUserIdWhenEmptyNSStringPassedAsFetchUserId { +- (void)testItShouldNotSetUUIDWhenEmptyNSStringPassedAsFetchUUID { PNFetchMembershipsAPICallBuilder *builder = [self fetchBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.userId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetUserIdWhenNonNSStringPassedAsFetchUserId { +- (void)testItShouldNotSetUUIDWhenNonNSStringPassedAsFetchUUID { PNFetchMembershipsAPICallBuilder *builder = [self fetchBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.userId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } @@ -802,7 +1481,7 @@ - (void)testItShouldReturnFetchBuilderWhenFetchIncludeFieldsSpecifiedInChain { - (void)testItShouldSetIncludeFieldsWhenFetchIncludeFieldsSpecifiedInChain { PNFetchMembershipsAPICallBuilder *builder = [self fetchBuilder]; - PNMembershipFields expected = PNMembershipCustomField | PNMembershipSpaceCustomField; + PNMembershipFields expected = PNMembershipCustomField | PNMembershipChannelField; id builderMock = OCMPartialMock(builder); @@ -816,6 +1495,18 @@ - (void)testItShouldSetIncludeFieldsWhenFetchIncludeFieldsSpecifiedInChain { #pragma mark - Misc +- (PNSetMembershipsAPICallBuilder *)setBuilder { + return [PNSetMembershipsAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { + }]; +} + +- (PNRemoveMembershipsAPICallBuilder *)removeBuilder { + return [PNRemoveMembershipsAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { + }]; +} + - (PNManageMembershipsAPICallBuilder *)manageBuilder { return [PNManageMembershipsAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, NSDictionary *arguments) { diff --git a/Tests/Tests/Unit/Core/Interfaces/Objects/PNObjectsAPICallBuilderTest.m b/Tests/Tests/Unit/Core/Interfaces/Objects/PNObjectsAPICallBuilderTest.m new file mode 100644 index 000000000..3a2fa080a --- /dev/null +++ b/Tests/Tests/Unit/Core/Interfaces/Objects/PNObjectsAPICallBuilderTest.m @@ -0,0 +1,500 @@ +/** + * @author Serhii Mamontov + * @copyright © 2010-2020 PubNub, Inc. + */ +#import +#import +#import +#import + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +@interface PNObjectsAPICallBuilderTest : XCTestCase + + +#pragma mark - Misc + +- (PNObjectsAPICallBuilder *)objectsBuilder; + +- (void)expect:(BOOL)shouldCall mock:(id)mockedObject toSetValue:(id)value toParameter:(NSString *)parameter; +- (NSString *)mockedParameterFrom:(NSString *)parameter; + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Tests + +@implementation PNObjectsAPICallBuilderTest + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Warc-retain-cycles" + + +#pragma mark - Tests :: uuid :: setUUIDMetadata + +- (void)testItShouldReturnSetUUIDMetadataBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.setUUIDMetadata() isKindOfClass:[PNSetUUIDMetadataAPICallBuilder class]]); +} + + +#pragma mark - Tests :: uuid :: removeUUIDMetadata + +- (void)testItShouldReturnRemoveUUIDMetadataBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.removeUUIDMetadata() isKindOfClass:[PNRemoveUUIDMetadataAPICallBuilder class]]); +} + + +#pragma mark - Tests :: uuid :: uuidMetadata + +- (void)testItShouldReturnUUIDMetadataBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.uuidMetadata() isKindOfClass:[PNFetchUUIDMetadataAPICallBuilder class]]); +} + + +#pragma mark - Tests :: uuid :: allUUIDMetadata + +- (void)testItShouldReturnAllUUIDMetadataBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.allUUIDMetadata() isKindOfClass:[PNFetchAllUUIDMetadataAPICallBuilder class]]); +} + + +#pragma mark - Tests :: channel :: setChannelMetadata + +- (void)testItShouldReturnSetChannelMetadataBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.setChannelMetadata(@"secret") isKindOfClass:[PNSetChannelMetadataAPICallBuilder class]]); +} + +- (void)testItShouldSetChannelWhenNSStringPassedToSetChannelMetadata { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @"secret"; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.setChannelMetadata(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenEmptyNSStringPassedToSetChannelMetadata { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.setChannelMetadata(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenNonNSStringPassedToSetChannelMetadata { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.setChannelMetadata(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: channel :: removeChannelMetadata + +- (void)testItShouldReturnRemoveChannelMetadataBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.removeChannelMetadata(@"secret") isKindOfClass:[PNRemoveChannelMetadataAPICallBuilder class]]); +} + +- (void)testItShouldSetChannelWhenNSStringPassedToRemoveChannel { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @"secret"; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.removeChannelMetadata(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenEmptyNSStringPassedToRemoveChannel { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.removeChannelMetadata(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenNonNSStringPassedToRemoveChannel { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.removeChannelMetadata(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: channel :: channelMetadata + +- (void)testItShouldReturnChannelMetadataBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.channelMetadata(@"secret") isKindOfClass:[PNFetchChannelMetadataAPICallBuilder class]]); +} + +- (void)testItShouldSetChannelWhenNSStringPassedToChannelMetadata { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @"secret"; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.channelMetadata(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenEmptyNSStringPassedToChannelMetadata { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.channelMetadata(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenNonNSStringPassedToChannelMetadata { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.channelMetadata(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: channel :: allChannelsMetadata + +- (void)testItShouldReturnAllChannelMetadataBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.allChannelsMetadata() isKindOfClass:[PNFetchAllChannelsMetadataAPICallBuilder class]]); +} + + +#pragma mark - Tests :: membership :: manageMemberships + +- (void)testItShouldReturnManageMembershipsBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.manageMemberships() isKindOfClass:[PNManageMembershipsAPICallBuilder class]]); +} + + +#pragma mark - Tests :: membership :: setMemberships + +- (void)testItShouldReturnSetMembershipsBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.setMemberships() isKindOfClass:[PNSetMembershipsAPICallBuilder class]]); +} + + +#pragma mark - Tests :: membership :: removeMemberships + +- (void)testItShouldReturnRemoveMembershipBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.removeMemberships() isKindOfClass:[PNRemoveMembershipsAPICallBuilder class]]); +} + + +#pragma mark - Tests :: membership :: memberships + +- (void)testItShouldReturnFetchMembershipsBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.memberships() isKindOfClass:[PNFetchMembershipsAPICallBuilder class]]); +} + + +#pragma mark - Tests :: member :: manageMembers + +- (void)testItShouldReturnManageMembersBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.manageMembers(@"secret") isKindOfClass:[PNManageMembersAPICallBuilder class]]); +} + +- (void)testItShouldSetChannelWhenNSStringPassedToManageMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @"secret"; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.manageMembers(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenEmptyNSStringPassedToManageMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.manageMembers(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenNonNSStringPassedToManageMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.manageMembers(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: member :: setMembers + +- (void)testItShouldReturnSetMembersBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.setMembers(@"secret") isKindOfClass:[PNSetMembersAPICallBuilder class]]); +} + +- (void)testItShouldSetChannelWhenNSStringPassedToSetMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @"secret"; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.setMembers(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenEmptyNSStringPassedToSetMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.setMembers(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenNonNSStringPassedToSetMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.setMembers(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: member :: removeMembers + +- (void)testItShouldReturnRemoveMembersBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.removeMembers(@"secret") isKindOfClass:[PNRemoveMembersAPICallBuilder class]]); +} + +- (void)testItShouldSetChannelWhenNSStringPassedToRemoveMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @"secret"; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.removeMembers(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenEmptyNSStringPassedToRemoveMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.removeMembers(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenNonNSStringPassedToRemoveMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.removeMembers(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Tests :: member :: members + +- (void)testItShouldReturnFetchMembersBuilderWhenCalled { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + + + XCTAssertTrue([builder.members(@"secret") isKindOfClass:[PNFetchMembersAPICallBuilder class]]); +} + +- (void)testItShouldSetChannelWhenNSStringPassedToFetchMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @"secret"; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.members(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenEmptyNSStringPassedToFetchMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = @""; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.members(expected); + + OCMVerifyAll(builderMock); +} + +- (void)testItShouldNotSetChannelWhenNonNSStringPassedToFetchMembers { + PNObjectsAPICallBuilder *builder = [self objectsBuilder]; + NSString *expected = (id)@2010; + + + id builderMock = OCMPartialMock(builder); + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"channel"]; + + builder.members(expected); + + OCMVerifyAll(builderMock); +} + + +#pragma mark - Misc + +- (PNObjectsAPICallBuilder *)objectsBuilder { + return [PNObjectsAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { + }]; +} + +- (void)expect:(BOOL)shouldCall mock:(id)mockedObject toSetValue:(id)value toParameter:(NSString *)parameter { + parameter = [self mockedParameterFrom:parameter]; + + if (shouldCall) { + OCMExpect([mockedObject setValue:value forParameter:parameter]); + } else { + OCMReject([mockedObject setValue:value forParameter:parameter]); + } +} + +- (NSString *)mockedParameterFrom:(NSString *)parameter { + return [@[@"ocmock_replaced", parameter] componentsJoinedByString:@"_"]; +} + +#pragma mark - + +#pragma clang diagnostic pop + +@end diff --git a/Tests/Tests/Unit/Core/Interfaces/Objects/PNSpaceObjectsAPICallBuilderTest.m b/Tests/Tests/Unit/Core/Interfaces/Objects/PNUUIDMetadataAPICallBuilderTest.m similarity index 50% rename from Tests/Tests/Unit/Core/Interfaces/Objects/PNSpaceObjectsAPICallBuilderTest.m rename to Tests/Tests/Unit/Core/Interfaces/Objects/PNUUIDMetadataAPICallBuilderTest.m index f6f507808..07cffb84c 100644 --- a/Tests/Tests/Unit/Core/Interfaces/Objects/PNSpaceObjectsAPICallBuilderTest.m +++ b/Tests/Tests/Unit/Core/Interfaces/Objects/PNUUIDMetadataAPICallBuilderTest.m @@ -1,7 +1,7 @@ /** -* @author Serhii Mamontov -* @copyright © 2010-2020 PubNub, Inc. -*/ + * @author Serhii Mamontov + * @copyright © 2010-2020 PubNub, Inc. + */ #import #import #import @@ -12,16 +12,15 @@ #pragma mark Interface declaration -@interface PNSpaceObjectsAPICallBuilderTest : XCTestCase +@interface PNUUIDMetadataAPICallBuilderTest : XCTestCase #pragma mark - Misc -- (PNCreateSpaceAPICallBuilder *)createBuilder; -- (PNUpdateSpaceAPICallBuilder *)updateBuilder; -- (PNDeleteSpaceAPICallBuilder *)deleteBuilder; -- (PNFetchSpaceAPICallBuilder *)fetchBuilder; -- (PNFetchSpacesAPICallBuilder *)fetchAllBuilder; +- (PNSetUUIDMetadataAPICallBuilder *)setBuilder; +- (PNRemoveUUIDMetadataAPICallBuilder *)removeBuilder; +- (PNFetchUUIDMetadataAPICallBuilder *)fetchBuilder; +- (PNFetchAllUUIDMetadataAPICallBuilder *)fetchAllBuilder; - (void)expect:(BOOL)shouldCall mock:(id)mockedObject toSetValue:(id)value toParameter:(NSString *)parameter; - (NSString *)mockedParameterFrom:(NSString *)parameter; @@ -36,340 +35,268 @@ - (NSString *)mockedParameterFrom:(NSString *)parameter; #pragma mark - Tests -@implementation PNSpaceObjectsAPICallBuilderTest +@implementation PNUUIDMetadataAPICallBuilderTest #pragma clang diagnostic push #pragma clang diagnostic ignored "-Warc-retain-cycles" -#pragma mark - Tests :: create :: spaceId +#pragma mark - Tests :: set :: uuid -- (void)testItShouldReturnCreateBuilderWhenSpaceIdSpecifiedInChain { - id builder = [self createBuilder]; +- (void)testItShouldReturnSetBuilderWhenUUIDSpecifiedInChain { + id builder = [self setBuilder]; - id createBuilder = ((PNCreateSpaceAPICallBuilder *)builder).spaceId(@"id"); + id createBuilder = ((PNSetUUIDMetadataAPICallBuilder *)builder).uuid(@"id"); XCTAssertEqual(createBuilder, builder); } -- (void)testItShouldSetSpaceIdWhenNSStringPassedAsCreateSpaceId { - PNCreateSpaceAPICallBuilder *builder = [self createBuilder]; +- (void)testItShouldSetUUIDWhenNSStringPassedAsSetUUID { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = @"OpenID"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.spaceId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetSpaceIdWhenEmptyNSStringPassedAsCreateSpaceId { - PNCreateSpaceAPICallBuilder *builder = [self createBuilder]; +- (void)testItShouldNotSetUUIDWhenEmptyNSStringPassedAsSetUUID { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; - ((PNCreateSpaceAPICallBuilder *)builderMock).spaceId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetSpaceIdWhenNonNSStringPassedAsCreateSpaceId { - PNCreateSpaceAPICallBuilder *builder = [self createBuilder]; +- (void)testItShouldNotSetUUIDWhenNonNSStringPassedAsSetUUID { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.spaceId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: create :: information +#pragma mark - Tests :: set :: name -- (void)testItShouldReturnCreateBuilderWhenInformationSpecifiedInChain { - id builder = [self createBuilder]; +- (void)testItShouldReturnSetBuilderWhenNameSpecifiedInChain { + id builder = [self setBuilder]; - id createBuilder = ((PNCreateSpaceAPICallBuilder *)builder).information(@"Test space"); - XCTAssertEqual(createBuilder, builder); + id setBuilder = ((PNSetUUIDMetadataAPICallBuilder *)builder).name(@"PubNub"); + XCTAssertEqual(setBuilder, builder); } -- (void)testItShouldSetInformationWhenNSStringPassedAsCreateInformation { - PNCreateSpaceAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @"Test information"; +- (void)testItShouldSetNameWhenNSStringPassedAsSetName { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"PubNub"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"information"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"name"]; - builder.information(expected); + builder.name(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetInformationWhenEmptyNSStringPassedAsCreateInformation { - PNCreateSpaceAPICallBuilder *builder = [self createBuilder]; +- (void)testItShouldNotNameWhenEmptyNSStringPassedAsSetName { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"information"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"name"]; - builder.information(expected); + builder.name(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetInformationWhenNonNSStringPassedAsCreateInformation { - PNCreateSpaceAPICallBuilder *builder = [self createBuilder]; +- (void)testItShouldNotNameWhenNonNSStringPassedAsSetName { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"information"]; - - builder.information(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: create :: custom - -- (void)testItShouldReturnCreateBuilderWhenCustomSpecifiedInChain { - id builder = [self createBuilder]; - - id createBuilder = ((PNCreateSpaceAPICallBuilder *)builder).custom(@{ @"company": @"PubNub" }); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetCustomWhenNSDictionaryPassedAsCreateCustom { - PNCreateSpaceAPICallBuilder *builder = [self createBuilder]; - NSDictionary *expected = @{ @"company": @"PubNub" }; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"custom"]; - - builder.custom(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetCustomWhenEmptyNSDictionaryPassedAsCreateCustom { - PNCreateSpaceAPICallBuilder *builder = [self createBuilder]; - NSDictionary *expected = @{}; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"custom"]; - - builder.custom(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetCustomWhenNonNSDictionaryPassedAsCreateCustom { - PNCreateSpaceAPICallBuilder *builder = [self createBuilder]; - NSDictionary *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"custom"]; - - builder.custom(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: create :: includeFields - -- (void)testItShouldReturnCreateBuilderWhenIncludeFieldsSpecifiedInChain { - id builder = [self createBuilder]; - - id createBuilder = ((PNCreateSpaceAPICallBuilder *)builder).includeFields(PNSpaceCustomField); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetIncludeFieldsWhenCreateIncludeFieldsSpecifiedInChain { - PNCreateSpaceAPICallBuilder *builder = [self createBuilder]; - PNSpaceFields expected = PNSpaceCustomField; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"name"]; - builder.includeFields(expected); + builder.name(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: update :: spaceId +#pragma mark - Tests :: set :: externalId -- (void)testItShouldReturnUpdateBuilderWhenSpaceIdSpecifiedInChain { - id builder = [self updateBuilder]; +- (void)testItShouldReturnSetBuilderWhenExternalIdSpecifiedInChain { + id builder = [self setBuilder]; - id createBuilder = ((PNUpdateSpaceAPICallBuilder *)builder).spaceId(@"id"); - XCTAssertEqual(createBuilder, builder); + id setBuilder = ((PNSetUUIDMetadataAPICallBuilder *)builder).externalId(@"id"); + XCTAssertEqual(setBuilder, builder); } -- (void)testItShouldSetSpaceIdWhenNSStringPassedAsUpdateSpaceId { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; +- (void)testItShouldSetExternalIdWhenNSStringPassedAsSetExternalId { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = @"OpenID"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"externalId"]; - builder.spaceId(expected); + builder.externalId(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetSpaceIdWhenEmptyNSStringPassedAsUpdateSpaceId { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; +- (void)testItShouldNotSetExternalIdWhenEmptyNSStringPassedAsSetExternalId { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"externalId"]; - builder.spaceId(expected); + builder.externalId(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetSpaceIdWhenNonNSStringPassedAsUpdateSpaceId { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; +- (void)testItShouldNotSetExternalIdWhenNonNSStringPassedAsSetExternalId { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"externalId"]; - builder.spaceId(expected); + builder.externalId(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: update :: name +#pragma mark - Tests :: set :: profileUrl -- (void)testItShouldReturnUpdateBuilderWhenNameSpecifiedInChain { - id builder = [self updateBuilder]; +- (void)testItShouldReturnSetBuilderWhenProfileUrlSpecifiedInChain { + id builder = [self setBuilder]; - id updateBuilder = ((PNUpdateSpaceAPICallBuilder *)builder).name(@"PubNub"); - XCTAssertEqual(updateBuilder, builder); + id setBuilder = ((PNSetUUIDMetadataAPICallBuilder *)builder).profileUrl(@"id"); + XCTAssertEqual(setBuilder, builder); } -- (void)testItShouldSetNameWhenNSStringPassedAsUpdateName { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @"PubNub"; +- (void)testItShouldSetProfileUrlWhenNSStringPassedAsSetProfileUrl { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"https://pubnub.com"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"name"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"profileUrl"]; - builder.name(expected); + builder.profileUrl(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotNameWhenEmptyNSStringPassedAsUpdateName { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; +- (void)testItShouldNotSetProfileUrlWhenEmptyNSStringPassedAsSetProfileUrl { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"name"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"profileUrl"]; - builder.name(expected); + builder.profileUrl(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotNameWhenNonNSStringPassedAsUpdateName { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; +- (void)testItShouldNotSetProfileUrlWhenNonNSStringPassedAsSetProfileUrl { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"name"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"profileUrl"]; - builder.name(expected); + builder.profileUrl(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: update :: information +#pragma mark - Tests :: set :: email -- (void)testItShouldReturnUpdateBuilderWhenInformationSpecifiedInChain { - id builder = [self updateBuilder]; +- (void)testItShouldReturnSetBuilderWhenEmailSpecifiedInChain { + id builder = [self setBuilder]; - id updateBuilder = ((PNUpdateSpaceAPICallBuilder *)builder).information(@"Test information"); - XCTAssertEqual(updateBuilder, builder); + id setBuilder = ((PNSetUUIDMetadataAPICallBuilder *)builder).email(@"support@pubnub.com"); + XCTAssertEqual(setBuilder, builder); } -- (void)testItShouldSetInformationWhenNSStringPassedAsUpdateInformation { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @"Test information"; +- (void)testItShouldSetEmailWhenNSStringPassedAsSetEmail { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; + NSString *expected = @"support@pubnub.com"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"information"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"email"]; - builder.information(expected); + builder.email(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetInformationWhenEmptyNSStringPassedAsUpdateInformation { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; +- (void)testItShouldNotSetEmailWhenEmptyNSStringPassedAsSetEmail { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"information"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"email"]; - builder.information(expected); + builder.email(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetInformationWhenNonNSStringPassedAsUpdateInformation { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; +- (void)testItShouldNotSetEmailWhenNonNSStringPassedAsSetEmail { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"information"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"email"]; - builder.information(expected); + builder.email(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: update :: custom +#pragma mark - Tests :: set :: custom -- (void)testItShouldReturnUpdateBuilderWhenCustomSpecifiedInChain { - id builder = [self updateBuilder]; +- (void)testItShouldReturnSetBuilderWhenCustomSpecifiedInChain { + id builder = [self setBuilder]; - id updateBuilder = ((PNUpdateSpaceAPICallBuilder *)builder).custom(@{ @"company": @"PubNub" }); - XCTAssertEqual(updateBuilder, builder); + id setBuilder = ((PNSetUUIDMetadataAPICallBuilder *)builder).custom(@{ @"company": @"PubNub" }); + XCTAssertEqual(setBuilder, builder); } -- (void)testItShouldSetCustomWhenNSDictionaryPassedAsUpdateCustom { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; +- (void)testItShouldSetCustomWhenNSDictionaryPassedAsSetCustom { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSDictionary *expected = @{ @"company": @"PubNub" }; @@ -381,8 +308,8 @@ - (void)testItShouldSetCustomWhenNSDictionaryPassedAsUpdateCustom { OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetCustomWhenEmptyNSDictionaryPassedAsUpdateCustom { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; +- (void)testItShouldNotSetCustomWhenEmptyNSDictionaryPassedAsSetCustom { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSDictionary *expected = @{}; @@ -394,8 +321,8 @@ - (void)testItShouldNotSetCustomWhenEmptyNSDictionaryPassedAsUpdateCustom { OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetCustomWhenNonNSDictionaryPassedAsUpdateCustom { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; +- (void)testItShouldNotSetCustomWhenNonNSDictionaryPassedAsSetCustom { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; NSDictionary *expected = (id)@2010; @@ -408,18 +335,18 @@ - (void)testItShouldNotSetCustomWhenNonNSDictionaryPassedAsUpdateCustom { } -#pragma mark - Tests :: update :: includeFields +#pragma mark - Tests :: set :: includeFields -- (void)testItShouldReturnUpdateBuilderWhenIncludeFieldsSpecifiedInChain { - id builder = [self updateBuilder]; +- (void)testItShouldReturnSetBuilderWhenIncludeFieldsSpecifiedInChain { + id builder = [self setBuilder]; - id updateBuilder = ((PNUpdateSpaceAPICallBuilder *)builder).includeFields(PNSpaceCustomField); - XCTAssertEqual(updateBuilder, builder); + id setBuilder = ((PNSetUUIDMetadataAPICallBuilder *)builder).includeFields(PNUUIDCustomField); + XCTAssertEqual(setBuilder, builder); } -- (void)testItShouldSetIncludeFieldsWhenUpdateIncludeFieldsSpecifiedInChain { - PNUpdateSpaceAPICallBuilder *builder = [self updateBuilder]; - PNSpaceFields expected = PNSpaceCustomField; +- (void)testItShouldSetIncludeFieldsWhenSetIncludeFieldsSpecifiedInChain { + PNSetUUIDMetadataAPICallBuilder *builder = [self setBuilder]; + PNUUIDFields expected = PNUUIDCustomField; id builderMock = OCMPartialMock(builder); @@ -431,99 +358,99 @@ - (void)testItShouldSetIncludeFieldsWhenUpdateIncludeFieldsSpecifiedInChain { } -#pragma mark - Tests :: delete :: spaceId +#pragma mark - Tests :: remove :: uuid -- (void)testItShouldReturnDeleteBuilderWhenSpaceIdSpecifiedInChain { - id builder = [self deleteBuilder]; +- (void)testItShouldReturnRemoveBuilderWhenUUIDSpecifiedInChain { + id builder = [self removeBuilder]; - id createBuilder = ((PNDeleteSpaceAPICallBuilder *)builder).spaceId(@"id"); - XCTAssertEqual(createBuilder, builder); + id removeBuilder = ((PNRemoveUUIDMetadataAPICallBuilder *)builder).uuid(@"id"); + XCTAssertEqual(removeBuilder, builder); } -- (void)testItShouldSetSpaceIdWhenNSStringPassedAsDeleteSpaceId { - PNDeleteSpaceAPICallBuilder *builder = [self deleteBuilder]; +- (void)testItShouldSetUUIDWhenNSStringPassedAsRemoveUUID { + PNRemoveUUIDMetadataAPICallBuilder *builder = [self removeBuilder]; NSString *expected = @"OpenID"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.spaceId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetSpaceIdWhenEmptyNSStringPassedAsDeleteSpaceId { - PNDeleteSpaceAPICallBuilder *builder = [self deleteBuilder]; +- (void)testItShouldNotSetUUIDWhenEmptyNSStringPassedAsRemoveUUID { + PNRemoveUUIDMetadataAPICallBuilder *builder = [self removeBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.spaceId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetSpaceIdWhenNonNSStringPassedAsDeleteSpaceId { - PNDeleteSpaceAPICallBuilder *builder = [self deleteBuilder]; +- (void)testItShouldNotSetUUIDWhenNonNSStringPassedAsRemoveUUID { + PNRemoveUUIDMetadataAPICallBuilder *builder = [self removeBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.spaceId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -#pragma mark - Tests :: fetch :: spaceId +#pragma mark - Tests :: fetch :: uuid -- (void)testItShouldReturnFetchBuilderWhenSpaceIdSpecifiedInChain { +- (void)testItShouldReturnFetchBuilderWhenUUIDSpecifiedInChain { id builder = [self fetchBuilder]; - id createBuilder = ((PNFetchSpaceAPICallBuilder *)builder).spaceId(@"id"); - XCTAssertEqual(createBuilder, builder); + id fetchBuilder = ((PNFetchUUIDMetadataAPICallBuilder *)builder).uuid(@"id"); + XCTAssertEqual(fetchBuilder, builder); } -- (void)testItShouldSetSpaceIdWhenNSStringPassedAsFetchSpaceId { - PNFetchSpaceAPICallBuilder *builder = [self fetchBuilder]; +- (void)testItShouldSetUUIDWhenNSStringPassedAsFetchUUID { + PNFetchUUIDMetadataAPICallBuilder *builder = [self fetchBuilder]; NSString *expected = @"OpenID"; id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:YES mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.spaceId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetSpaceIdWhenEmptyNSStringPassedAsFetchSpaceId { - PNFetchSpaceAPICallBuilder *builder = [self fetchBuilder]; +- (void)testItShouldNotSetUUIDWhenEmptyNSStringPassedAsFetchUUID { + PNFetchUUIDMetadataAPICallBuilder *builder = [self fetchBuilder]; NSString *expected = @""; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.spaceId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } -- (void)testItShouldNotSetSpaceIdWhenNonNSStringPassedAsFetchSpaceId { - PNFetchSpaceAPICallBuilder *builder = [self fetchBuilder]; +- (void)testItShouldNotSetUUIDWhenNonNSStringPassedAsFetchUUID { + PNFetchUUIDMetadataAPICallBuilder *builder = [self fetchBuilder]; NSString *expected = (id)@2010; id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"spaceId"]; + [self expect:NO mock:builderMock toSetValue:expected toParameter:@"uuid"]; - builder.spaceId(expected); + builder.uuid(expected); OCMVerifyAll(builderMock); } @@ -534,13 +461,13 @@ - (void)testItShouldNotSetSpaceIdWhenNonNSStringPassedAsFetchSpaceId { - (void)testItShouldReturnFetchBuilderWhenIncludeFieldsSpecifiedInChain { id builder = [self fetchBuilder]; - id fetchBuilder = ((PNFetchSpaceAPICallBuilder *)builder).includeFields(PNSpaceCustomField); + id fetchBuilder = ((PNFetchUUIDMetadataAPICallBuilder *)builder).includeFields(PNUUIDCustomField); XCTAssertEqual(fetchBuilder, builder); } - (void)testItShouldSetIncludeFieldsWhenFetchIncludeFieldsSpecifiedInChain { - PNFetchSpaceAPICallBuilder *builder = [self fetchBuilder]; - PNSpaceFields expected = PNSpaceCustomField; + PNFetchUUIDMetadataAPICallBuilder *builder = [self fetchBuilder]; + PNUUIDFields expected = PNUUIDCustomField; id builderMock = OCMPartialMock(builder); @@ -557,13 +484,13 @@ - (void)testItShouldSetIncludeFieldsWhenFetchIncludeFieldsSpecifiedInChain { - (void)testItShouldReturnFetchBuilderWhenFilterSpecifiedInChain { id builder = [self fetchAllBuilder]; - id manageBuilder = ((PNFetchSpacesAPICallBuilder *)builder).filter(@"name == 'Public'"); + id manageBuilder = ((PNFetchAllUUIDMetadataAPICallBuilder *)builder).filter(@"name == 'Bob'"); XCTAssertEqual(manageBuilder, builder); } - (void)testItShouldSetFilterWhenNSStringPassedAsFetchAllFilter { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; - NSString *expected = @"name like 'Program*'"; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSString *expected = @"name like 'General*'"; id builderMock = OCMPartialMock(builder); @@ -575,7 +502,7 @@ - (void)testItShouldSetFilterWhenNSStringPassedAsFetchAllFilter { } - (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsFetchAllFilter { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSString *expected = @""; @@ -588,7 +515,7 @@ - (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsFetchAllFilter { } - (void)testItShouldNotSetFilterWhenNonNSStringPassedAsFetchAllFilter { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSString *expected = (id)@2010; @@ -606,25 +533,25 @@ - (void)testItShouldNotSetFilterWhenNonNSStringPassedAsFetchAllFilter { - (void)testItShouldReturnFetchBuilderWhenSortSpecifiedInChain { id builder = [self fetchAllBuilder]; - id manageBuilder = ((PNFetchSpacesAPICallBuilder *)builder).sort(@[@"name"]); + id manageBuilder = ((PNFetchAllUUIDMetadataAPICallBuilder *)builder).sort(@[@"name"]); XCTAssertEqual(manageBuilder, builder); } - (void)testItShouldSetSortWhenNSArrayPassedAsFetchAllSort { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; - NSArray *expected = @[@"name", @"created:desc"]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + NSArray *expected =@[@"name", @"created:desc"]; id builderMock = OCMPartialMock(builder); [self expect:YES mock:builderMock toSetValue:expected toParameter:@"sort"]; - builder.sort(expected); + builder.sort(@[@"name", @"created:desc"]); OCMVerifyAll(builderMock); } - (void)testItShouldNotSetSortWhenEmptyNSArrayPassedAsFetchAllSort { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSArray *expected = @[]; @@ -637,7 +564,7 @@ - (void)testItShouldNotSetSortWhenEmptyNSArrayPassedAsFetchAllSort { } - (void)testItShouldNotSetSortWhenNonNSArrayPassedAsFetchAllSort { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSArray *expected = (id)@2010; @@ -655,12 +582,12 @@ - (void)testItShouldNotSetSortWhenNonNSArrayPassedAsFetchAllSort { - (void)testItShouldReturnFetchAllBuilderWhenStartTokenSpecifiedInChain { id builder = [self fetchAllBuilder]; - id fetchBuilder = ((PNFetchSpacesAPICallBuilder *)builder).start(@"NjA"); + id fetchBuilder = ((PNFetchAllUUIDMetadataAPICallBuilder *)builder).start(@"NjA"); XCTAssertEqual(fetchBuilder, builder); } - (void)testItShouldSetStartWhenNSStringPassedAsFetchAllStartToken { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSString *expected = @"NjA"; @@ -673,7 +600,7 @@ - (void)testItShouldSetStartWhenNSStringPassedAsFetchAllStartToken { } - (void)testItShouldNotSetStartWhenEmptyNSStringPassedAsFetchAllStartToken { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSString *expected = @""; @@ -686,7 +613,7 @@ - (void)testItShouldNotSetStartWhenEmptyNSStringPassedAsFetchAllStartToken { } - (void)testItShouldNotSetStartWhenNonNSStringPassedAsFetchAllStartToken { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSString *expected = (id)@2010; @@ -704,12 +631,12 @@ - (void)testItShouldNotSetStartWhenNonNSStringPassedAsFetchAllStartToken { - (void)testItShouldReturnFetchAllBuilderWhenEndTokenSpecifiedInChain { id builder = [self fetchAllBuilder]; - id fetchBuilder = ((PNFetchSpacesAPICallBuilder *)builder).end(@"NjA"); + id fetchBuilder = ((PNFetchAllUUIDMetadataAPICallBuilder *)builder).end(@"NjA"); XCTAssertEqual(fetchBuilder, builder); } - (void)testItShouldSetEndWhenNSStringPassedAsFetchAllEndToken { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSString *expected = @"NjA"; @@ -722,7 +649,7 @@ - (void)testItShouldSetEndWhenNSStringPassedAsFetchAllEndToken { } - (void)testItShouldNotSetEndWhenEmptyNSStringPassedAsFetchAllEndToken { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSString *expected = @""; @@ -735,7 +662,7 @@ - (void)testItShouldNotSetEndWhenEmptyNSStringPassedAsFetchAllEndToken { } - (void)testItShouldNotSetEndWhenNonNSStringPassedAsFetchAllEndToken { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSString *expected = (id)@2010; @@ -753,12 +680,12 @@ - (void)testItShouldNotSetEndWhenNonNSStringPassedAsFetchAllEndToken { - (void)testItShouldReturnFetchAllBuilderWhenLimitSpecifiedInChain { id builder = [self fetchAllBuilder]; - id fetchBuilder = ((PNFetchSpacesAPICallBuilder *)builder).limit(20); + id fetchBuilder = ((PNFetchAllUUIDMetadataAPICallBuilder *)builder).limit(20); XCTAssertEqual(fetchBuilder, builder); } - (void)testItShouldSetLimitWhenFetchAllLimitSpecifiedInChain { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSNumber *expected = @35; @@ -776,12 +703,12 @@ - (void)testItShouldSetLimitWhenFetchAllLimitSpecifiedInChain { - (void)testItShouldReturnFetchAllBuilderWhenIncludeCountSpecifiedInChain { id builder = [self fetchAllBuilder]; - id updateBuilder = ((PNFetchSpacesAPICallBuilder *)builder).includeCount(YES); - XCTAssertEqual(updateBuilder, builder); + id setBuilder = ((PNFetchAllUUIDMetadataAPICallBuilder *)builder).includeCount(YES); + XCTAssertEqual(setBuilder, builder); } - (void)testItShouldSetIncludeCountWhenFetchAllIncludeCountSpecifiedInChain { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; NSNumber *expected = @YES; @@ -799,13 +726,13 @@ - (void)testItShouldSetIncludeCountWhenFetchAllIncludeCountSpecifiedInChain { - (void)testItShouldReturnFetchAllBuilderWhenIncludeFieldsSpecifiedInChain { id builder = [self fetchAllBuilder]; - id fetchBuilder = ((PNFetchSpacesAPICallBuilder *)builder).includeFields(PNSpaceCustomField); + id fetchBuilder = ((PNFetchAllUUIDMetadataAPICallBuilder *)builder).includeFields(PNUUIDCustomField); XCTAssertEqual(fetchBuilder, builder); } -- (void)testShouldSetIncludeFieldsWhenFetchAllIncludeFieldsSpecifiedInChain { - PNFetchSpacesAPICallBuilder *builder = [self fetchAllBuilder]; - PNSpaceFields expected = PNSpaceCustomField; +- (void)testItShouldSetIncludeFieldsWhenFetchAllIncludeFieldsSpecifiedInChain { + PNFetchAllUUIDMetadataAPICallBuilder *builder = [self fetchAllBuilder]; + PNUUIDFields expected = PNUUIDCustomField; id builderMock = OCMPartialMock(builder); @@ -819,33 +746,27 @@ - (void)testShouldSetIncludeFieldsWhenFetchAllIncludeFieldsSpecifiedInChain { #pragma mark - Misc -- (PNCreateSpaceAPICallBuilder *)createBuilder { - return [PNCreateSpaceAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *arguments) { - }]; -} - -- (PNUpdateSpaceAPICallBuilder *)updateBuilder { - return [PNUpdateSpaceAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *arguments) { +- (PNSetUUIDMetadataAPICallBuilder *)setBuilder { + return [PNSetUUIDMetadataAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { }]; } -- (PNDeleteSpaceAPICallBuilder *)deleteBuilder { - return [PNDeleteSpaceAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *arguments) { +- (PNRemoveUUIDMetadataAPICallBuilder *)removeBuilder { + return [PNRemoveUUIDMetadataAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { }]; } -- (PNFetchSpaceAPICallBuilder *)fetchBuilder { - return [PNFetchSpaceAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *arguments) { +- (PNFetchUUIDMetadataAPICallBuilder *)fetchBuilder { + return [PNFetchUUIDMetadataAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { }]; } -- (PNFetchSpacesAPICallBuilder *)fetchAllBuilder { - return [PNFetchSpacesAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *arguments) { +- (PNFetchAllUUIDMetadataAPICallBuilder *)fetchAllBuilder { + return [PNFetchAllUUIDMetadataAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, + NSDictionary *arguments) { }]; } diff --git a/Tests/Tests/Unit/Core/Interfaces/Objects/PNUserObjectsAPICallBuilderTest.m b/Tests/Tests/Unit/Core/Interfaces/Objects/PNUserObjectsAPICallBuilderTest.m deleted file mode 100644 index 3d53ac522..000000000 --- a/Tests/Tests/Unit/Core/Interfaces/Objects/PNUserObjectsAPICallBuilderTest.m +++ /dev/null @@ -1,1115 +0,0 @@ -/** -* @author Serhii Mamontov -* @copyright © 2010-2020 PubNub, Inc. -*/ -#import -#import -#import -#import - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -@interface PNUserObjectsAPICallBuilderTest : XCTestCase - - -#pragma mark - Misc - -- (PNCreateUserAPICallBuilder *)createBuilder; -- (PNUpdateUserAPICallBuilder *)updateBuilder; -- (PNDeleteUserAPICallBuilder *)deleteBuilder; -- (PNFetchUserAPICallBuilder *)fetchBuilder; -- (PNFetchUsersAPICallBuilder *)fetchAllBuilder; - -- (void)expect:(BOOL)shouldCall mock:(id)mockedObject toSetValue:(id)value toParameter:(NSString *)parameter; -- (NSString *)mockedParameterFrom:(NSString *)parameter; - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Tests - -@implementation PNUserObjectsAPICallBuilderTest - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Warc-retain-cycles" - - -#pragma mark - Tests :: create :: userId - -- (void)testItShouldReturnCreateBuilderWhenUserIdSpecifiedInChain { - id builder = [self createBuilder]; - - id createBuilder = ((PNCreateUserAPICallBuilder *)builder).userId(@"id"); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetUserIdWhenNSStringPassedAsCreateUserId { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @"OpenID"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetUserIdWhenEmptyNSStringPassedAsCreateUserId { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetUserIdWhenNonNSStringPassedAsCreateUserId { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: create :: name - -- (void)testItShouldReturnCreateBuilderWhenNameSpecifiedInChain { - id builder = [self createBuilder]; - - id createBuilder = ((PNCreateUserAPICallBuilder *)builder).name(@"PubNub"); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetNameWhenNSStringPassedAsCreateName { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @"PubNub"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"name"]; - - builder.name(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetNameWhenEmptyNSStringPassedAsCreateName { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"name"]; - - builder.name(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetNameWhenNonNSStringPassedAsCreateName { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"name"]; - - builder.name(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: create :: externalId - -- (void)testItShouldReturnCreateBuilderWhenExternalIdSpecifiedInChain { - id builder = [self createBuilder]; - - id createBuilder = ((PNCreateUserAPICallBuilder *)builder).externalId(@"id"); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetExternalIdWhenNSStringPassedAsCreateExternalId { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @"OpenID"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"externalId"]; - - builder.externalId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetExternalIdWhenEmptyNSStringPassedAsCreateExternalId { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"externalId"]; - - builder.externalId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetExternalIdWhenNonNSStringPassedAsCreateExternalId { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"externalId"]; - - builder.externalId(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: create :: profileUrl - -- (void)testItShouldReturnCreateBuilderWhenProfileUrlSpecifiedInChain { - id builder = [self createBuilder]; - - id createBuilder = ((PNCreateUserAPICallBuilder *)builder).profileUrl(@"id"); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetProfileUrlWhenNSStringPassedAsCreateProfileUrl { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @"https://pubnub.com"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"profileUrl"]; - - builder.profileUrl(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetProfileUrlWhenEmptyNSStringPassedAsCreateProfileUrl { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"profileUrl"]; - - builder.profileUrl(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetProfileUrlWhenNonNSStringPassedAsCreateProfileUrl { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"profileUrl"]; - - builder.profileUrl(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: create :: email - -- (void)testItShouldReturnCreateBuilderWhenEmailSpecifiedInChain { - id builder = [self createBuilder]; - - id createBuilder = ((PNCreateUserAPICallBuilder *)builder).email(@"support@pubnub.com"); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetEmailWhenNSStringPassedAsCreateEmail { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @"support@pubnub.com"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"email"]; - - builder.email(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetEmailWhenEmptyNSStringPassedAsCreateEmail { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"email"]; - - builder.email(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetEmailWhenNonNSStringPassedAsCreateEmail { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"email"]; - - builder.email(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: create :: custom - -- (void)testItShouldReturnCreateBuilderWhenCustomSpecifiedInChain { - id builder = [self createBuilder]; - - id createBuilder = ((PNCreateUserAPICallBuilder *)builder).custom(@{ @"company": @"PubNub" }); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetCustomWhenNSDictionaryPassedAsCreateCustom { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSDictionary *expected = @{ @"company": @"PubNub" }; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"custom"]; - - builder.custom(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetCustomWhenEmptyNSDictionaryPassedAsCreateCustom { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSDictionary *expected = @{}; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"custom"]; - - builder.custom(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetCustomWhenNonNSDictionaryPassedAsCreateCustom { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - NSDictionary *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"custom"]; - - builder.custom(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: create :: includeFields - -- (void)testItShouldReturnCreateBuilderWhenIncludeFieldsSpecifiedInChain { - id builder = [self createBuilder]; - - id createBuilder = ((PNCreateUserAPICallBuilder *)builder).includeFields(PNUserCustomField); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetIncludeFieldsWhenCreateIncludeFieldsSpecifiedInChain { - PNCreateUserAPICallBuilder *builder = [self createBuilder]; - PNUserFields expected = PNUserCustomField; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; - - builder.includeFields(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: update :: userId - -- (void)testItShouldReturnUpdateBuilderWhenUserIdSpecifiedInChain { - id builder = [self updateBuilder]; - - id createBuilder = ((PNUpdateUserAPICallBuilder *)builder).userId(@"id"); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetUserIdWhenNSStringPassedAsUpdateUserId { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @"OpenID"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetUserIdWhenEmptyNSStringPassedAsUpdateUserId { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetUserIdWhenNonNSStringPassedAsUpdateUserId { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: update :: name - -- (void)testItShouldReturnUpdateBuilderWhenNameSpecifiedInChain { - id builder = [self updateBuilder]; - - id updateBuilder = ((PNUpdateUserAPICallBuilder *)builder).name(@"PubNub"); - XCTAssertEqual(updateBuilder, builder); -} - -- (void)testItShouldSetNameWhenNSStringPassedAsUpdateName { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @"PubNub"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"name"]; - - builder.name(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotNameWhenEmptyNSStringPassedAsUpdateName { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"name"]; - - builder.name(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotNameWhenNonNSStringPassedAsUpdateName { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"name"]; - - builder.name(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: update :: externalId - -- (void)testItShouldReturnUpdateBuilderWhenExternalIdSpecifiedInChain { - id builder = [self updateBuilder]; - - id updateBuilder = ((PNUpdateUserAPICallBuilder *)builder).externalId(@"id"); - XCTAssertEqual(updateBuilder, builder); -} - -- (void)testItShouldSetExternalIdWhenNSStringPassedAsUpdateExternalId { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @"OpenID"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"externalId"]; - - builder.externalId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetExternalIdWhenEmptyNSStringPassedAsUpdateExternalId { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"externalId"]; - - builder.externalId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetExternalIdWhenNonNSStringPassedAsUpdateExternalId { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"externalId"]; - - builder.externalId(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: update :: profileUrl - -- (void)testItShouldReturnUpdateBuilderWhenProfileUrlSpecifiedInChain { - id builder = [self updateBuilder]; - - id updateBuilder = ((PNUpdateUserAPICallBuilder *)builder).profileUrl(@"id"); - XCTAssertEqual(updateBuilder, builder); -} - -- (void)testItShouldSetProfileUrlWhenNSStringPassedAsUpdateProfileUrl { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @"https://pubnub.com"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"profileUrl"]; - - builder.profileUrl(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetProfileUrlWhenEmptyNSStringPassedAsUpdateProfileUrl { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"profileUrl"]; - - builder.profileUrl(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetProfileUrlWhenNonNSStringPassedAsUpdateProfileUrl { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"profileUrl"]; - - builder.profileUrl(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: update :: email - -- (void)testItShouldReturnUpdateBuilderWhenEmailSpecifiedInChain { - id builder = [self updateBuilder]; - - id updateBuilder = ((PNUpdateUserAPICallBuilder *)builder).email(@"support@pubnub.com"); - XCTAssertEqual(updateBuilder, builder); -} - -- (void)testItShouldSetEmailWhenNSStringPassedAsUpdateEmail { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @"support@pubnub.com"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"email"]; - - builder.email(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetEmailWhenEmptyNSStringPassedAsUpdateEmail { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"email"]; - - builder.email(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetEmailWhenNonNSStringPassedAsUpdateEmail { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"email"]; - - builder.email(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: update :: custom - -- (void)testItShouldReturnUpdateBuilderWhenCustomSpecifiedInChain { - id builder = [self updateBuilder]; - - id updateBuilder = ((PNUpdateUserAPICallBuilder *)builder).custom(@{ @"company": @"PubNub" }); - XCTAssertEqual(updateBuilder, builder); -} - -- (void)testItShouldSetCustomWhenNSDictionaryPassedAsUpdateCustom { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSDictionary *expected = @{ @"company": @"PubNub" }; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"custom"]; - - builder.custom(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetCustomWhenEmptyNSDictionaryPassedAsUpdateCustom { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSDictionary *expected = @{}; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"custom"]; - - builder.custom(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetCustomWhenNonNSDictionaryPassedAsUpdateCustom { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - NSDictionary *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"custom"]; - - builder.custom(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: update :: includeFields - -- (void)testItShouldReturnUpdateBuilderWhenIncludeFieldsSpecifiedInChain { - id builder = [self updateBuilder]; - - id updateBuilder = ((PNUpdateUserAPICallBuilder *)builder).includeFields(PNUserCustomField); - XCTAssertEqual(updateBuilder, builder); -} - -- (void)testItShouldSetIncludeFieldsWhenUpdateIncludeFieldsSpecifiedInChain { - PNUpdateUserAPICallBuilder *builder = [self updateBuilder]; - PNUserFields expected = PNUserCustomField; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; - - builder.includeFields(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: delete :: userId - -- (void)testItShouldReturnDeleteBuilderWhenUserIdSpecifiedInChain { - id builder = [self deleteBuilder]; - - id createBuilder = ((PNDeleteUserAPICallBuilder *)builder).userId(@"id"); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetUserIdWhenNSStringPassedAsDeleteUserId { - PNDeleteUserAPICallBuilder *builder = [self deleteBuilder]; - NSString *expected = @"OpenID"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetUserIdWhenEmptyNSStringPassedAsDeleteUserId { - PNDeleteUserAPICallBuilder *builder = [self deleteBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetUserIdWhenNonNSStringPassedAsDeleteUserId { - PNDeleteUserAPICallBuilder *builder = [self deleteBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: fetch :: userId - -- (void)testItShouldReturnFetchBuilderWhenUserIdSpecifiedInChain { - id builder = [self fetchBuilder]; - - id createBuilder = ((PNFetchUserAPICallBuilder *)builder).userId(@"id"); - XCTAssertEqual(createBuilder, builder); -} - -- (void)testItShouldSetUserIdWhenNSStringPassedAsFetchUserId { - PNFetchUserAPICallBuilder *builder = [self fetchBuilder]; - NSString *expected = @"OpenID"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetUserIdWhenEmptyNSStringPassedAsFetchUserId { - PNFetchUserAPICallBuilder *builder = [self fetchBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetUserIdWhenNonNSStringPassedAsFetchUserId { - PNFetchUserAPICallBuilder *builder = [self fetchBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"userId"]; - - builder.userId(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: fetch :: includeFields - -- (void)testItShouldReturnFetchBuilderWhenIncludeFieldsSpecifiedInChain { - id builder = [self fetchBuilder]; - - id fetchBuilder = ((PNFetchUserAPICallBuilder *)builder).includeFields(PNUserCustomField); - XCTAssertEqual(fetchBuilder, builder); -} - -- (void)testItShouldSetIncludeFieldsWhenFetchIncludeFieldsSpecifiedInChain { - PNFetchUserAPICallBuilder *builder = [self fetchBuilder]; - PNUserFields expected = PNUserCustomField; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; - - builder.includeFields(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: fetch all :: filter - -- (void)testItShouldReturnFetchBuilderWhenFilterSpecifiedInChain { - id builder = [self fetchAllBuilder]; - - id manageBuilder = ((PNFetchUsersAPICallBuilder *)builder).filter(@"name == 'Bob'"); - XCTAssertEqual(manageBuilder, builder); -} - -- (void)testItShouldSetFilterWhenNSStringPassedAsFetchAllFilter { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSString *expected = @"name like 'General*'"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"filter"]; - - builder.filter(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetFilterWhenEmptyNSStringPassedAsFetchAllFilter { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; - - builder.filter(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetFilterWhenNonNSStringPassedAsFetchAllFilter { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"filter"]; - - builder.filter(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: fetch all :: sort - -- (void)testItShouldReturnFetchBuilderWhenSortSpecifiedInChain { - id builder = [self fetchAllBuilder]; - - id manageBuilder = ((PNFetchUsersAPICallBuilder *)builder).sort(@[@"name"]); - XCTAssertEqual(manageBuilder, builder); -} - -- (void)testItShouldSetSortWhenNSArrayPassedAsFetchAllSort { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSArray *expected =@[@"name", @"created:desc"]; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"sort"]; - - builder.sort(@[@"name", @"created:desc"]); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetSortWhenEmptyNSArrayPassedAsFetchAllSort { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSArray *expected = @[]; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; - - builder.sort(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetSortWhenNonNSArrayPassedAsFetchAllSort { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSArray *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"sort"]; - - builder.sort(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: fetch all :: start - -- (void)testItShouldReturnFetchAllBuilderWhenStartTokenSpecifiedInChain { - id builder = [self fetchAllBuilder]; - - id fetchBuilder = ((PNFetchUsersAPICallBuilder *)builder).start(@"NjA"); - XCTAssertEqual(fetchBuilder, builder); -} - -- (void)testItShouldSetStartWhenNSStringPassedAsFetchAllStartToken { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSString *expected = @"NjA"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"start"]; - - builder.start(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetStartWhenEmptyNSStringPassedAsFetchAllStartToken { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; - - builder.start(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetStartWhenNonNSStringPassedAsFetchAllStartToken { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"start"]; - - builder.start(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: fetch all :: end - -- (void)testItShouldReturnFetchAllBuilderWhenEndTokenSpecifiedInChain { - id builder = [self fetchAllBuilder]; - - id fetchBuilder = ((PNFetchUsersAPICallBuilder *)builder).end(@"NjA"); - XCTAssertEqual(fetchBuilder, builder); -} - -- (void)testItShouldSetEndWhenNSStringPassedAsFetchAllEndToken { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSString *expected = @"NjA"; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"end"]; - - builder.end(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetEndWhenEmptyNSStringPassedAsFetchAllEndToken { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSString *expected = @""; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; - - builder.end(expected); - - OCMVerifyAll(builderMock); -} - -- (void)testItShouldNotSetEndWhenNonNSStringPassedAsFetchAllEndToken { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSString *expected = (id)@2010; - - - id builderMock = OCMPartialMock(builder); - [self expect:NO mock:builderMock toSetValue:expected toParameter:@"end"]; - - builder.end(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: fetch all :: limit - -- (void)testItShouldReturnFetchAllBuilderWhenLimitSpecifiedInChain { - id builder = [self fetchAllBuilder]; - - id fetchBuilder = ((PNFetchUsersAPICallBuilder *)builder).limit(20); - XCTAssertEqual(fetchBuilder, builder); -} - -- (void)testItShouldSetLimitWhenFetchAllLimitSpecifiedInChain { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSNumber *expected = @35; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"limit"]; - - builder.limit(35); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: fetch all :: includeCount - -- (void)testItShouldReturnFetchAllBuilderWhenIncludeCountSpecifiedInChain { - id builder = [self fetchAllBuilder]; - - id updateBuilder = ((PNFetchUsersAPICallBuilder *)builder).includeCount(YES); - XCTAssertEqual(updateBuilder, builder); -} - -- (void)testItShouldSetIncludeCountWhenFetchAllIncludeCountSpecifiedInChain { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - NSNumber *expected = @YES; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:expected toParameter:@"includeCount"]; - - builder.includeCount(YES); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Tests :: fetch all :: includeFields - -- (void)testItShouldReturnFetchAllBuilderWhenIncludeFieldsSpecifiedInChain { - id builder = [self fetchAllBuilder]; - - id fetchBuilder = ((PNFetchUsersAPICallBuilder *)builder).includeFields(PNUserCustomField); - XCTAssertEqual(fetchBuilder, builder); -} - -- (void)testItShouldSetIncludeFieldsWhenFetchAllIncludeFieldsSpecifiedInChain { - PNFetchUsersAPICallBuilder *builder = [self fetchAllBuilder]; - PNUserFields expected = PNUserCustomField; - - - id builderMock = OCMPartialMock(builder); - [self expect:YES mock:builderMock toSetValue:@(expected) toParameter:@"includeFields"]; - - builder.includeFields(expected); - - OCMVerifyAll(builderMock); -} - - -#pragma mark - Misc - -- (PNCreateUserAPICallBuilder *)createBuilder { - return [PNCreateUserAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *arguments) { - }]; -} - -- (PNUpdateUserAPICallBuilder *)updateBuilder { - return [PNUpdateUserAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *arguments) { - }]; -} - -- (PNDeleteUserAPICallBuilder *)deleteBuilder { - return [PNDeleteUserAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *arguments) { - }]; -} - -- (PNFetchUserAPICallBuilder *)fetchBuilder { - return [PNFetchUserAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *arguments) { - }]; -} - -- (PNFetchUsersAPICallBuilder *)fetchAllBuilder { - return [PNFetchUsersAPICallBuilder builderWithExecutionBlock:^(NSArray *flags, - NSDictionary *arguments) { - }]; -} - -- (void)expect:(BOOL)shouldCall mock:(id)mockedObject toSetValue:(id)value toParameter:(NSString *)parameter { - parameter = [self mockedParameterFrom:parameter]; - - if (shouldCall) { - OCMExpect([mockedObject setValue:value forParameter:parameter]); - } else { - OCMReject([mockedObject setValue:value forParameter:parameter]); - } -} - -- (NSString *)mockedParameterFrom:(NSString *)parameter { - return [@[@"ocmock_replaced", parameter] componentsJoinedByString:@"_"]; -} - -#pragma mark - - -#pragma clang diagnostic pop - -@end diff --git a/Tests/Tests/Unit/Core/Objects/PNChannelMetadataObjectsTest.m b/Tests/Tests/Unit/Core/Objects/PNChannelMetadataObjectsTest.m new file mode 100644 index 000000000..7641a05d7 --- /dev/null +++ b/Tests/Tests/Unit/Core/Objects/PNChannelMetadataObjectsTest.m @@ -0,0 +1,318 @@ +/** +* @author Serhii Mamontov +* @copyright © 2010-2020 PubNub, Inc. +*/ +#import +#import +#import "PNRecordableTestCase.h" +#import +#import +#import + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +@interface PNChannelMetadataObjectsTest : PNRecordableTestCase + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Tests + +@implementation PNChannelMetadataObjectsTest + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Warc-retain-cycles" + + +#pragma mark - VCR configuration + +- (BOOL)shouldSetupVCR { + return NO; +} + +#pragma mark - Tests :: Set + +- (void)testItShouldReturnSetChannelMetadataBuilder { + XCTAssertTrue([self.client.objects().setChannelMetadata(@"secret") isKindOfClass:[PNSetChannelMetadataAPICallBuilder class]]); +} + +- (void)testItShouldSetDefaultSetChannelMetadataIncludeFields { + PNSetChannelMetadataRequest *request = [PNSetChannelMetadataRequest requestWithChannel:[NSUUID UUID].UUIDString]; + + + XCTAssertEqual(request.includeFields, PNChannelCustomField); +} + +#pragma mark - Tests :: Set :: Call + +- (void)testItShouldSetChannelMetadataWhenCalled { + NSString *expectedInformation = [NSUUID UUID].UUIDString; + NSString *expectedChannelData = [NSUUID UUID].UUIDString; + NSString *expectedName = [NSUUID UUID].UUIDString; + NSString *expectedId = [NSUUID UUID].UUIDString; + NSDictionary *expectedBody = @{ + @"name": expectedName, + @"description": expectedInformation, + @"custom": @{ @"channel": expectedChannelData } + }; + NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody + options:(NSJSONWritingOptions)0 + error:nil]; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNSetChannelMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + NSData *sentData = [self objectForInvocation:invocation argumentAtIndex:3]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{channel}"], expectedId); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + XCTAssertEqualObjects(sentData, expectedPayload); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().setChannelMetadata(expectedId) + .name(expectedName) + .information(expectedInformation) + .custom(@{ @"channel": expectedChannelData }) + .performWithCompletion(^(PNSetChannelMetadataStatus *status) {}); + }]; +} + +- (void)testItShouldNotSetIncludeFieldsWhenCalledWithSetChannelMetadataIncludeFieldsSetToZero { + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNSetChannelMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertNil(parameters.query[@"include"]); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().setChannelMetadata([NSUUID UUID].UUIDString) + .name([NSUUID UUID].UUIDString) + .includeFields(0) + .performWithCompletion(^(PNSetChannelMetadataStatus *status) {}); + }]; +} + +- (void)testItShouldNotSetChannelMetadataWhenChannelNameIsTooLong { + NSString *expectedName = [NSUUID UUID].UUIDString; + NSString *expectedId = [@[ + [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, + [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, + [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, + [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, + ] componentsJoinedByString:@""]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().setChannelMetadata(expectedId) + .name(expectedName) + .performWithCompletion(^(PNSetChannelMetadataStatus *status) { + XCTAssertTrue(status.isError); + XCTAssertNotEqual([status.errorData.information rangeOfString:@"too long"].location, + NSNotFound); + + handler(); + }); + }]; +} + +- (void)testItShouldNotSetChannelMetadataWhenUnsupportedDataTypeInCustom { + NSString *expectedName = [NSUUID UUID].UUIDString; + NSString *expectedId = [NSUUID UUID].UUIDString; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().setChannelMetadata(expectedId) + .name(expectedName) + .custom(@{ @"date": [NSDate date] }) + .performWithCompletion(^(PNSetChannelMetadataStatus *status) { + XCTAssertTrue(status.isError); + XCTAssertNotEqual([status.errorData.information rangeOfString:@"'custom'"].location, + NSNotFound); + + handler(); + }); + }]; +} + + +#pragma mark - Tests :: Remove + +- (void)testItShouldReturnRemoveChannelMetadataBuilder { + XCTAssertTrue([self.client.objects().removeChannelMetadata(@"secret") isKindOfClass:[PNRemoveChannelMetadataAPICallBuilder class]]); +} + +#pragma mark - Tests :: Remove :: Call + +- (void)testItShouldRemoveChannelMetadataWhenCalled { + NSString *expectedId = [NSUUID UUID].UUIDString; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNRemoveChannelMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{channel}"], expectedId); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().removeChannelMetadata(expectedId) + .performWithCompletion(^(PNAcknowledgmentStatus *status) {}); + }]; +} + + +#pragma mark - Tests :: Fetch + +- (void)testItShouldReturnFetchChannelMetadataBuilder { + XCTAssertTrue([self.client.objects().channelMetadata(@"secret") isKindOfClass:[PNFetchChannelMetadataAPICallBuilder class]]); +} + +- (void)testItShouldSetDefaultFetchChannelMetadataIncludeFields { + PNFetchChannelMetadataRequest *request = [PNFetchChannelMetadataRequest requestWithChannel:[NSUUID UUID].UUIDString]; + + + XCTAssertEqual(request.includeFields, PNChannelCustomField); +} + +- (void)testItShouldFetchChannelMetadataWhenCalled { + NSString *expectedId = [NSUUID UUID].UUIDString; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNFetchChannelMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{channel}"], expectedId); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().channelMetadata(expectedId) + .performWithCompletion(^(PNFetchChannelMetadataResult *result, PNErrorStatus *status) {}); + }]; +} + +- (void)testItShouldNotSetIncludeFieldsWhenCalledWithFetchChannelMetadataIncludeFieldsSetToZero { + NSString *expectedId = [NSUUID UUID].UUIDString; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNFetchChannelMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertNil(parameters.query[@"include"]); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().channelMetadata(expectedId) + .includeFields(0) + .performWithCompletion(^(PNFetchChannelMetadataResult *result, PNErrorStatus *status) {}); + }]; +} + + +#pragma mark - Tests :: Fetch all + +- (void)testItShouldReturnFetchAllChannelsMetadataBuilder { + XCTAssertTrue([self.client.objects().allChannelsMetadata() isKindOfClass:[PNFetchAllChannelsMetadataAPICallBuilder class]]); +} + +- (void)testItShouldNotSetDefaultFetchAllChannelsMetadataIncludeFields { + PNFetchAllChannelsMetadataRequest *request = [PNFetchAllChannelsMetadataRequest new]; + + + XCTAssertEqual(request.includeFields, 0); +} + + +#pragma mark - Tests :: Fetch all :: Call + +- (void)testItShouldFetchAllChannelsMetadataWhenCalled { + NSString *filterExpression = @"updated >= '2019-08-31T00:00:00Z'"; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + NSString *expectedStart = [NSUUID UUID].UUIDString; + NSString *expectedEnd = [NSUUID UUID].UUIDString; + NSNumber *expectedLimit = @(56); + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNFetchAllChannelsMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.query[@"start"], expectedStart); + XCTAssertEqualObjects(parameters.query[@"end"], expectedEnd); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + XCTAssertEqualObjects(parameters.query[@"limit"], expectedLimit.stringValue); + XCTAssertEqualObjects(parameters.query[@"filter"], expectedFilterExpression); + XCTAssertNil(parameters.query[@"count"]); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().allChannelsMetadata() + .start(expectedStart) + .end(expectedEnd) + .limit(expectedLimit.unsignedIntegerValue) + .filter(filterExpression) + .includeFields(PNChannelCustomField) + .performWithCompletion(^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) { }); + }]; +} + +- (void)testItShouldNotSetDefaultIncludeFieldsWhenCalledWithOutFetchAllChannelsMetadataIncludeFields { + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNFetchAllChannelsMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertNil(parameters.query[@"include"]); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().allChannelsMetadata() + .performWithCompletion(^(PNFetchAllChannelsMetadataResult *result, PNErrorStatus *status) {}); + }]; +} + +#pragma mark - + +#pragma clang diagnostic pop + +@end diff --git a/Tests/Tests/Unit/Core/Objects/PNMemberObjectsTest.m b/Tests/Tests/Unit/Core/Objects/PNMemberObjectsTest.m index ca5e478e5..7cdfdb46c 100644 --- a/Tests/Tests/Unit/Core/Objects/PNMemberObjectsTest.m +++ b/Tests/Tests/Unit/Core/Objects/PNMemberObjectsTest.m @@ -39,10 +39,135 @@ - (BOOL)shouldSetupVCR { } +#pragma mark - Tests :: Set + +- (void)testItShouldReturnSetMembersBuilder { + XCTAssertTrue([self.client.objects().setMembers(@"secret") isKindOfClass:[PNSetMembersAPICallBuilder class]]); +} + + +#pragma mark - Tests :: Set :: Call + +- (void)testItShouldSetMembersWhenCalled { + NSString *filterExpression = @"updated >= '2019-08-31T00:00:00Z'"; + NSString *expectedId = [NSUUID UUID].UUIDString; + NSArray *uuids = @[ + @{ @"uuid": [NSUUID UUID].UUIDString, @"custom": @{ @"uuid": [NSUUID UUID].UUIDString } } + ]; + NSDictionary *expectedBody = @{ + @"set": @[@{ @"uuid": @{ @"id": uuids[0][@"uuid"] }, @"custom": uuids[0][@"custom"] }], + }; + NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody + options:(NSJSONWritingOptions)0 + error:nil]; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNSetMembersOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + NSData *sentData = [self objectForInvocation:invocation argumentAtIndex:3]; + NSArray *includeFields = [parameters.query[@"include"] componentsSeparatedByString:@","]; + SEL sortSelector = @selector(caseInsensitiveCompare:); + NSString *includeQuery = [[includeFields sortedArrayUsingSelector:sortSelector] componentsJoinedByString:@","]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{channel}"], expectedId); + XCTAssertEqualObjects(includeQuery, @"custom,uuid.custom"); + XCTAssertEqualObjects(parameters.query[@"filter"], expectedFilterExpression); + XCTAssertEqualObjects(sentData, expectedPayload); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().setMembers(expectedId) + .uuids(uuids) + .filter(filterExpression) + .includeFields(PNMemberCustomField|PNMemberUUIDCustomField) + .performWithCompletion(^(PNManageMembersStatus *status) {}); + }]; +} + +- (void)testItShouldNotSetMembersWhenUnsupportedDataTypeInCustom { + NSString *expectedId = [NSUUID UUID].UUIDString; + NSArray *uuids = @[ + @{ @"uuid": [NSUUID UUID].UUIDString, @"custom": @{ @"uuid": [NSDate date] } } + ]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().setMembers(expectedId) + .uuids(uuids) + .includeFields(PNMemberCustomField) + .performWithCompletion(^(PNManageMembersStatus *status) { + XCTAssertTrue(status.isError); + XCTAssertNotEqual([status.errorData.information rangeOfString:@"'custom'"].location, + NSNotFound); + XCTAssertNotEqual([status.errorData.information rangeOfString:uuids[0][@"uuid"]].location, + NSNotFound); + + handler(); + }); + }]; +} + + +#pragma mark - Tests :: Remove + +- (void)testItShouldReturnRemoveMembersBuilder { + XCTAssertTrue([self.client.objects().removeMembers(@"secret") isKindOfClass:[PNRemoveMembersAPICallBuilder class]]); +} + + +#pragma mark - Tests :: Remove :: Call + +- (void)testItShouldRemoveMembersWhenCalled { + NSString *filterExpression = @"updated >= '2019-08-31T00:00:00Z'"; + NSString *expectedId = [NSUUID UUID].UUIDString; + NSArray *uuids = @[ [NSUUID UUID].UUIDString ]; + NSDictionary *expectedBody = @{ + @"delete": @[@{ @"uuid": @{ @"id": uuids[0] } }], + }; + NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody + options:(NSJSONWritingOptions)0 + error:nil]; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNRemoveMembersOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + NSData *sentData = [self objectForInvocation:invocation argumentAtIndex:3]; + NSArray *includeFields = [parameters.query[@"include"] componentsSeparatedByString:@","]; + SEL sortSelector = @selector(caseInsensitiveCompare:); + NSString *includeQuery = [[includeFields sortedArrayUsingSelector:sortSelector] componentsJoinedByString:@","]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{channel}"], expectedId); + XCTAssertEqualObjects(includeQuery, @"custom,uuid.custom"); + XCTAssertEqualObjects(parameters.query[@"filter"], expectedFilterExpression); + XCTAssertEqualObjects(sentData, expectedPayload); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().removeMembers(expectedId) + .uuids(uuids) + .filter(filterExpression) + .includeFields(PNMemberCustomField|PNMemberUUIDCustomField) + .performWithCompletion(^(PNManageMembersStatus *status) {}); + }]; +} + + #pragma mark - Tests :: Manage - (void)testItShouldReturnManageMembersBuilder { - XCTAssertTrue([self.client.manageMembers() isKindOfClass:[PNManageMembersAPICallBuilder class]]); + XCTAssertTrue([self.client.objects().manageMembers(@"secret") isKindOfClass:[PNManageMembersAPICallBuilder class]]); } @@ -51,17 +176,16 @@ - (void)testItShouldReturnManageMembersBuilder { - (void)testItShouldManageMembersWhenCalled { NSString *filterExpression = @"updated >= '2019-08-31T00:00:00Z'"; NSString *expectedId = [NSUUID UUID].UUIDString; - NSArray *addMembers = @[ - @{ @"userId": [NSUUID UUID].UUIDString, @"custom": @{ @"user": [NSUUID UUID].UUIDString } } + NSArray *setMembers = @[ + @{ @"uuid": [NSUUID UUID].UUIDString, @"custom": @{ @"uuid": [NSUUID UUID].UUIDString } } ]; - NSArray *updateMembers = @[ - @{ @"userId": [NSUUID UUID].UUIDString, @"custom": @{ @"user": [NSUUID UUID].UUIDString } } - ]; - NSArray *removeMembers = @[[NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString]; + NSArray *removeMembers = @[[NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString]; NSDictionary *expectedBody = @{ - @"add": @[@{ @"id": addMembers[0][@"userId"], @"custom": addMembers[0][@"custom"] }], - @"update": @[@{ @"id": updateMembers[0][@"userId"], @"custom": updateMembers[0][@"custom"] }], - @"remove": @[@{ @"id": removeMembers[0] }, @{ @"id": removeMembers[1] }], + @"set": @[@{ @"uuid": @{ @"id": setMembers[0][@"uuid"] }, @"custom": setMembers[0][@"custom"] }], + @"delete": @[ + @{ @"uuid": @{ @"id": removeMembers[0] } }, + @{ @"uuid": @{ @"id": removeMembers[1] } } + ], }; NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody options:(NSJSONWritingOptions)0 @@ -81,51 +205,38 @@ - (void)testItShouldManageMembersWhenCalled { SEL sortSelector = @selector(caseInsensitiveCompare:); NSString *includeQuery = [[includeFields sortedArrayUsingSelector:sortSelector] componentsJoinedByString:@","]; - XCTAssertEqualObjects(parameters.pathComponents[@"{space-id}"], expectedId); - XCTAssertEqualObjects(includeQuery, @"custom,user.custom"); + XCTAssertEqualObjects(parameters.pathComponents[@"{channel}"], expectedId); + XCTAssertEqualObjects(includeQuery, @"custom,uuid.custom"); XCTAssertEqualObjects(parameters.query[@"filter"], expectedFilterExpression); XCTAssertEqualObjects(sentData, expectedPayload); }); [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.manageMembers() - .spaceId(expectedId) - .add(addMembers).update(updateMembers).remove(removeMembers) + self.client.objects().manageMembers(expectedId) + .set(setMembers) + .remove(removeMembers) .filter(filterExpression) - .includeFields(PNMemberCustomField|PNMemberUserCustomField) + .includeFields(PNMemberCustomField|PNMemberUUIDCustomField) .performWithCompletion(^(PNManageMembersStatus *status) {}); }]; } -- (void)testItShouldNotManageMembersWhenSpaceIdIsMissing { - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers().includeFields(PNMemberCustomField) - .performWithCompletion(^(PNManageMembersStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'space-id'"].location, - NSNotFound); - - handler(); - }); - }]; -} - - (void)testItShouldNotManageMembersWhenUnsupportedDataTypeInCustom { NSString *expectedId = [NSUUID UUID].UUIDString; - NSArray *updateSpaces = @[ - @{ @"userId": [NSUUID UUID].UUIDString, @"custom": @{ @"user": [NSDate date] } } + NSArray *uuids = @[ + @{ @"uuid": [NSUUID UUID].UUIDString, @"custom": @{ @"user": [NSDate date] } } ]; - + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMembers() - .spaceId(expectedId) - .update(updateSpaces) + self.client.objects().manageMembers(expectedId) + .set(uuids) .includeFields(PNMemberCustomField) .performWithCompletion(^(PNManageMembersStatus *status) { XCTAssertTrue(status.isError); XCTAssertNotEqual([status.errorData.information rangeOfString:@"'custom'"].location, NSNotFound); - XCTAssertNotEqual([status.errorData.information rangeOfString:updateSpaces[0][@"userId"]].location, + XCTAssertNotEqual([status.errorData.information rangeOfString:uuids[0][@"uuid"]].location, NSNotFound); handler(); @@ -137,7 +248,7 @@ - (void)testItShouldNotManageMembersWhenUnsupportedDataTypeInCustom { #pragma mark - Tests :: Fetch - (void)testItShouldReturnFetchMembersBuilder { - XCTAssertTrue([self.client.fetchMembers() isKindOfClass:[PNFetchMembersAPICallBuilder class]]); + XCTAssertTrue([self.client.objects().members(@"secret") isKindOfClass:[PNFetchMembersAPICallBuilder class]]); } @@ -160,7 +271,7 @@ - (void)testItShouldFetchMembersWhenCalled { .andDo(^(NSInvocation *invocation) { PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - XCTAssertEqualObjects(parameters.pathComponents[@"{space-id}"], expectedId); + XCTAssertEqualObjects(parameters.pathComponents[@"{channel}"], expectedId); XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); XCTAssertEqualObjects(parameters.query[@"start"], expectedStart); XCTAssertEqualObjects(parameters.query[@"end"], expectedEnd); @@ -170,8 +281,7 @@ - (void)testItShouldFetchMembersWhenCalled { }); [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.fetchMembers() - .spaceId(expectedId) + self.client.objects().members(expectedId) .start(expectedStart) .end(expectedEnd) .limit(expectedLimit.unsignedIntegerValue) @@ -181,19 +291,6 @@ - (void)testItShouldFetchMembersWhenCalled { }]; } -- (void)testItShouldNotFetchMembersWhenSpaceIdIsMissing { - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMembers() - .performWithCompletion(^(PNFetchMembersResult *result, PNErrorStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'space-id'"].location, - NSNotFound); - - handler(); - }); - }]; -} - #pragma mark - #pragma clang diagnostic pop diff --git a/Tests/Tests/Unit/Core/Objects/PNMembershipObjectsTest.m b/Tests/Tests/Unit/Core/Objects/PNMembershipObjectsTest.m index f89064622..4cd1e10be 100644 --- a/Tests/Tests/Unit/Core/Objects/PNMembershipObjectsTest.m +++ b/Tests/Tests/Unit/Core/Objects/PNMembershipObjectsTest.m @@ -1,7 +1,7 @@ /** -* @author Serhii Mamontov -* @copyright © 2010-2020 PubNub, Inc. -*/ + * @author Serhii Mamontov + * @copyright © 2010-2020 PubNub, Inc. + */ #import #import #import "PNRecordableTestCase.h" @@ -39,10 +39,168 @@ - (BOOL)shouldSetupVCR { } +#pragma mark - Tests :: Set + +- (void)testItShouldReturnSetMembershipsBuilder { + XCTAssertTrue([self.client.objects().setMemberships() isKindOfClass:[PNSetMembershipsAPICallBuilder class]]); +} + + +#pragma mark - Tests :: Set :: Call + +- (void)testItShouldSetMembershipsWhenCalled { + NSString *filterExpression = @"updated >= '2019-08-31T00:00:00Z'"; + NSString *expectedId = [NSUUID UUID].UUIDString; + NSArray *channels = @[ + @{ @"channel": [NSUUID UUID].UUIDString, @"custom": @{ @"channel": [NSUUID UUID].UUIDString } } + ]; + NSDictionary *expectedBody = @{ + @"set": @[ + @{ @"channel": @{ @"id": channels[0][@"channel"] }, @"custom": channels[0][@"custom"] } + ] + }; + NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody + options:(NSJSONWritingOptions)0 + error:nil]; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNSetMembershipsOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + NSData *sentData = [self objectForInvocation:invocation argumentAtIndex:3]; + NSArray *includeFields = [parameters.query[@"include"] componentsSeparatedByString:@","]; + SEL sortSelector = @selector(caseInsensitiveCompare:); + NSString *includeQuery = [[includeFields sortedArrayUsingSelector:sortSelector] componentsJoinedByString:@","]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + XCTAssertEqualObjects(includeQuery, @"channel.custom,custom"); + XCTAssertEqualObjects(parameters.query[@"filter"], expectedFilterExpression); + XCTAssertEqualObjects(sentData, expectedPayload); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().setMemberships() + .uuid(expectedId) + .channels(channels) + .filter(filterExpression) + .includeFields(PNMembershipCustomField|PNMembershipChannelCustomField) + .performWithCompletion(^(PNManageMembershipsStatus *status) {}); + }]; +} + +- (void)testItShouldSetMembershipsUsingPubNubClientUUIDWhenUUIDIsMissing { + NSString *expectedId = self.client.currentConfiguration.uuid; + NSArray *channels = @[ + @{ @"channel": [NSUUID UUID].UUIDString, @"custom": @{ @"channel": [NSUUID UUID].UUIDString } } + ]; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNSetMembershipsOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().setMemberships() + .channels(channels) + .includeFields(PNMembershipCustomField) + .performWithCompletion(^(PNAcknowledgmentStatus *status) {}); + }]; +} + + +#pragma mark - Tests :: Remove + +- (void)testItShouldReturnRemoveMembershipsBuilder { + XCTAssertTrue([self.client.objects().removeMemberships() isKindOfClass:[PNRemoveMembershipsAPICallBuilder class]]); +} + + +#pragma mark - Tests :: Remove :: Call + +- (void)testItShouldRemoveMembershipsWhenCalled { + NSString *filterExpression = @"updated >= '2019-08-31T00:00:00Z'"; + NSString *expectedId = [NSUUID UUID].UUIDString; + NSArray *channels = @[ [NSUUID UUID].UUIDString ]; + NSDictionary *expectedBody = @{ + @"delete": @[@{ @"channel": @{ @"id": channels[0] } }], + }; + NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody + options:(NSJSONWritingOptions)0 + error:nil]; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNRemoveMembershipsOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + NSData *sentData = [self objectForInvocation:invocation argumentAtIndex:3]; + NSArray *includeFields = [parameters.query[@"include"] componentsSeparatedByString:@","]; + SEL sortSelector = @selector(caseInsensitiveCompare:); + NSString *includeQuery = [[includeFields sortedArrayUsingSelector:sortSelector] componentsJoinedByString:@","]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + XCTAssertEqualObjects(includeQuery, @"channel.custom,custom"); + XCTAssertEqualObjects(parameters.query[@"filter"], expectedFilterExpression); + XCTAssertEqualObjects(sentData, expectedPayload); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().removeMemberships() + .uuid(expectedId) + .channels(channels) + .filter(filterExpression) + .includeFields(PNMembershipCustomField|PNMembershipChannelCustomField) + .performWithCompletion(^(PNManageMembershipsStatus *status) {}); + }]; +} + +- (void)testItShouldRemoveMembershipsUsingPubNubClientUUIDWhenUUIDIsMissing { + NSString *expectedId = self.client.currentConfiguration.uuid; + NSArray *channels = @[ + @{ @"channel": [NSUUID UUID].UUIDString, @"custom": @{ @"channel": [NSUUID UUID].UUIDString } } + ]; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNSetMembershipsOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().setMemberships() + .channels(channels) + .performWithCompletion(^(PNAcknowledgmentStatus *status) {}); + }]; +} + + #pragma mark - Tests :: Manage - (void)testItShouldReturnManageBuilder { - XCTAssertTrue([self.client.manageMemberships() isKindOfClass:[PNManageMembershipsAPICallBuilder class]]); + XCTAssertTrue([self.client.objects().manageMemberships() isKindOfClass:[PNManageMembershipsAPICallBuilder class]]); } @@ -51,17 +209,13 @@ - (void)testItShouldReturnManageBuilder { - (void)testItShouldManageMembershipsWhenCalled { NSString *filterExpression = @"updated >= '2019-08-31T00:00:00Z'"; NSString *expectedId = [NSUUID UUID].UUIDString; - NSArray *addSpaces = @[ - @{ @"spaceId": [NSUUID UUID].UUIDString, @"custom": @{ @"space": [NSUUID UUID].UUIDString } } + NSArray *setChannels = @[ + @{ @"channel": [NSUUID UUID].UUIDString, @"custom": @{ @"channel": [NSUUID UUID].UUIDString } } ]; - NSArray *updateSpaces = @[ - @{ @"spaceId": [NSUUID UUID].UUIDString, @"custom": @{ @"space": [NSUUID UUID].UUIDString } } - ]; - NSArray *removeSpaces = @[[NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString]; + NSArray *removeChannels = @[[NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString]; NSDictionary *expectedBody = @{ - @"add": @[@{ @"id": addSpaces[0][@"spaceId"], @"custom": addSpaces[0][@"custom"] }], - @"update": @[@{ @"id": updateSpaces[0][@"spaceId"], @"custom": updateSpaces[0][@"custom"] }], - @"remove": @[@{ @"id": removeSpaces[0] }, @{ @"id": removeSpaces[1] }], + @"set": @[ @{ @"channel": @{ @"id": setChannels[0][@"channel"] }, @"custom": setChannels[0][@"custom"] }], + @"delete": @[ @{ @"channel": @{ @"id": removeChannels[0] } }, @{ @"channel": @{ @"id": removeChannels[1] } }], }; NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody options:(NSJSONWritingOptions)0 @@ -81,52 +235,66 @@ - (void)testItShouldManageMembershipsWhenCalled { SEL sortSelector = @selector(caseInsensitiveCompare:); NSString *includeQuery = [[includeFields sortedArrayUsingSelector:sortSelector] componentsJoinedByString:@","]; - XCTAssertEqualObjects(parameters.pathComponents[@"{user-id}"], expectedId); - XCTAssertEqualObjects(includeQuery, @"custom,space.custom"); + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + XCTAssertEqualObjects(includeQuery, @"channel.custom,custom"); XCTAssertEqualObjects(parameters.query[@"filter"], expectedFilterExpression); XCTAssertEqualObjects(sentData, expectedPayload); }); [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.manageMemberships() - .userId(expectedId) - .add(addSpaces).update(updateSpaces).remove(removeSpaces) + self.client.objects().manageMemberships() + .uuid(expectedId) + .set(setChannels) + .remove(removeChannels) .filter(filterExpression) - .includeFields(PNMembershipCustomField|PNMembershipSpaceCustomField) + .includeFields(PNMembershipCustomField|PNMembershipChannelCustomField) .performWithCompletion(^(PNManageMembershipsStatus *status) {}); }]; } -- (void)testItShouldNotManageMembershipsWhenUserIdIsMissing { - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() +- (void)testItShouldManageMembershipsUsingPubNubClientUUIDWhenUUIDIsMissing { + NSString *expectedId = self.client.currentConfiguration.uuid; + NSArray *setChannels = @[ + @{ @"channel": [NSUUID UUID].UUIDString, @"custom": @{ @"channel": [NSUUID UUID].UUIDString } } + ]; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNManageMembershipsOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().manageMemberships() + .set(setChannels) .includeFields(PNMembershipCustomField) - .performWithCompletion(^(PNManageMembershipsStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'user-id'"].location, - NSNotFound); - - handler(); - }); + .performWithCompletion(^(PNManageMembershipsStatus *status) {}); }]; } - (void)testItShouldNotManageMembershipsWhenUnsupportedDataTypeInCustom { NSString *expectedId = [NSUUID UUID].UUIDString; - NSArray *updateSpaces = @[ - @{ @"spaceId": [NSUUID UUID].UUIDString, @"custom": @{ @"space": [NSDate date] } } + NSArray *setChannels = @[ + @{ @"channel": [NSUUID UUID].UUIDString, @"custom": @{ @"channel": [NSDate date] } } ]; [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.manageMemberships() - .userId(expectedId) - .update(updateSpaces) + self.client.objects().manageMemberships() + .uuid(expectedId) + .set(setChannels) .includeFields(PNMembershipCustomField) .performWithCompletion(^(PNManageMembershipsStatus *status) { XCTAssertTrue(status.isError); XCTAssertNotEqual([status.errorData.information rangeOfString:@"'custom'"].location, NSNotFound); - XCTAssertNotEqual([status.errorData.information rangeOfString:updateSpaces[0][@"spaceId"]].location, + XCTAssertNotEqual([status.errorData.information rangeOfString:setChannels[0][@"channel"]].location, NSNotFound); handler(); @@ -138,7 +306,7 @@ - (void)testItShouldNotManageMembershipsWhenUnsupportedDataTypeInCustom { #pragma mark - Tests :: Fetch - (void)testItShouldReturnFetchBuilder { - XCTAssertTrue([self.client.fetchMemberships() isKindOfClass:[PNFetchMembershipsAPICallBuilder class]]); + XCTAssertTrue([self.client.objects().memberships() isKindOfClass:[PNFetchMembershipsAPICallBuilder class]]); } @@ -161,7 +329,7 @@ - (void)testItShouldFetchMembershipsWhenCalled { .andDo(^(NSInvocation *invocation) { PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - XCTAssertEqualObjects(parameters.pathComponents[@"{user-id}"], expectedId); + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); XCTAssertEqualObjects(parameters.query[@"start"], expectedStart); XCTAssertEqualObjects(parameters.query[@"end"], expectedEnd); @@ -171,8 +339,8 @@ - (void)testItShouldFetchMembershipsWhenCalled { }); [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.fetchMemberships() - .userId(expectedId) + self.client.objects().memberships() + .uuid(expectedId) .start(expectedStart) .end(expectedEnd) .limit(expectedLimit.unsignedIntegerValue) @@ -182,16 +350,26 @@ - (void)testItShouldFetchMembershipsWhenCalled { }]; } -- (void)testItShouldNotFetchMembershipsWhenUserIdIsMissing { - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchMemberships() - .performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'user-id'"].location, - NSNotFound); - - handler(); - }); +- (void)testItShouldFetchMembershipsUsingPubNubClientUUIDMembershipsWhenUUIDIsMissing { + NSString *expectedId = self.client.currentConfiguration.uuid; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNFetchMembershipsOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().memberships() + .includeFields(PNMembershipCustomField) + .performWithCompletion(^(PNFetchMembershipsResult *result, PNErrorStatus *status) {}); }]; } diff --git a/Tests/Tests/Unit/Core/Objects/PNSpaceObjectsTest.m b/Tests/Tests/Unit/Core/Objects/PNSpaceObjectsTest.m deleted file mode 100644 index ffa2faa9e..000000000 --- a/Tests/Tests/Unit/Core/Objects/PNSpaceObjectsTest.m +++ /dev/null @@ -1,490 +0,0 @@ -/** -* @author Serhii Mamontov -* @copyright © 2010-2020 PubNub, Inc. -*/ -#import -#import -#import "PNRecordableTestCase.h" -#import -#import -#import - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -@interface PNSpaceObjectsTest : PNRecordableTestCase - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Tests - -@implementation PNSpaceObjectsTest - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Warc-retain-cycles" - - -#pragma mark - VCR configuration - -- (BOOL)shouldSetupVCR { - return NO; -} - - -#pragma mark - Tests :: Create - -- (void)testItShouldReturnCreateSpaceBuilder { - XCTAssertTrue([self.client.createSpace() isKindOfClass:[PNCreateSpaceAPICallBuilder class]]); -} - -- (void)testItShouldSetDefaultCreateSpaceIncludeFields { - PNCreateSpaceRequest *request = [PNCreateSpaceRequest requestWithSpaceID:[NSUUID UUID].UUIDString - name:[NSUUID UUID].UUIDString]; - - - XCTAssertEqual(request.includeFields, PNSpaceCustomField); -} - - -#pragma mark - Tests :: Create :: Call - -- (void)testItShouldCreateSpaceWhenCalled { - NSString *expectedInformation = [NSUUID UUID].UUIDString; - NSString *expectedSpaceData = [NSUUID UUID].UUIDString; - NSString *expectedName = [NSUUID UUID].UUIDString; - NSString *expectedId = [NSUUID UUID].UUIDString; - NSDictionary *expectedBody = @{ - @"id": expectedId, - @"name": expectedName, - @"description": expectedInformation, - @"custom": @{ @"space": expectedSpaceData } - }; - NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody - options:(NSJSONWritingOptions)0 - error:nil]; - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNCreateSpaceOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - NSData *sentData = [self objectForInvocation:invocation argumentAtIndex:3]; - - XCTAssertEqualObjects(parameters.pathComponents[@"{space-id}"], expectedId); - XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); - XCTAssertEqualObjects(sentData, expectedPayload); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.createSpace() - .spaceId(expectedId).name(expectedName).information(expectedInformation) - .custom(@{ @"space": expectedSpaceData }).includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNCreateSpaceStatus *status) {}); - }]; -} - -- (void)testItShouldNotSetDefaultIncludeFieldsWhenCalledWithOutCreateSpaceIncludeFields { - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNCreateSpaceOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertNil(parameters.query[@"include"]); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.createSpace().spaceId([NSUUID UUID].UUIDString).name([NSUUID UUID].UUIDString) - .performWithCompletion(^(PNCreateSpaceStatus *status) {}); - }]; -} - -- (void)testItShouldNotCreateSpaceWhenSpaceIdIsMissing { - NSString *expectedName = [NSUUID UUID].UUIDString; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createSpace().name(expectedName).includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNCreateSpaceStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'space-id'"].location, - NSNotFound); - - handler(); - }); - }]; -} - -- (void)testItShouldNotCreateSpaceWhenSpaceIdIsTooLong { - NSString *expectedName = [NSUUID UUID].UUIDString; - NSString *expectedId = [@[ - [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, - [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, - [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, - [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, - ] componentsJoinedByString:@""]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createSpace().spaceId(expectedId).name(expectedName) - .performWithCompletion(^(PNCreateSpaceStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"too long"].location, - NSNotFound); - - handler(); - }); - }]; -} - -- (void)testItShouldNotCreateSpaceWhenNameIsMissing { - NSString *expectedId = [NSUUID UUID].UUIDString; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createSpace().spaceId(expectedId) - .includeFields(PNSpaceCustomField).performWithCompletion(^(PNCreateSpaceStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'name'"].location, - NSNotFound); - - handler(); - }); - }]; -} - -- (void)testItShouldNotCreateSpaceWhenUnsupportedDataTypeInCustom { - NSString *expectedName = [NSUUID UUID].UUIDString; - NSString *expectedId = [NSUUID UUID].UUIDString; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createSpace().spaceId(expectedId).name(expectedName) - .custom(@{ @"date": [NSDate date] }).performWithCompletion(^(PNCreateSpaceStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'custom'"].location, - NSNotFound); - - handler(); - }); - }]; -} - - -#pragma mark - Tests :: Update - -- (void)testItShouldReturnUpdateSpaceBuilder { - XCTAssertTrue([self.client.updateSpace() isKindOfClass:[PNUpdateSpaceAPICallBuilder class]]); -} - -- (void)testItShouldNotSetDefaultUpdateSpaceIncludeFields { - PNUpdateSpaceRequest *request = [PNUpdateSpaceRequest requestWithSpaceID:[NSUUID UUID].UUIDString]; - - - XCTAssertEqual(request.includeFields, 0); -} - - -#pragma mark - Tests :: Update :: Call - -- (void)testItShouldUpdateSpaceWhenCalled { - NSString *expectedInformation = [NSUUID UUID].UUIDString; - NSString *expectedUserData = [NSUUID UUID].UUIDString; - NSString *expectedName = [NSUUID UUID].UUIDString; - NSString *expectedId = [NSUUID UUID].UUIDString; - NSDictionary *expectedBody = @{ - @"id": expectedId, - @"name": expectedName, - @"description": expectedInformation, - @"custom": @{ @"user": expectedUserData } - }; - NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody - options:(NSJSONWritingOptions)0 - error:nil]; - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNUpdateSpaceOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - NSData *sentData = [self objectForInvocation:invocation argumentAtIndex:3]; - - XCTAssertEqualObjects(parameters.pathComponents[@"{space-id}"], expectedId); - XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); - XCTAssertEqualObjects(sentData, expectedPayload); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.updateSpace().spaceId(expectedId).name(expectedName) - .information(expectedInformation).custom(@{ @"user": expectedUserData }) - .includeFields(PNSpaceCustomField).performWithCompletion(^(PNUpdateSpaceStatus *status) {}); - }]; -} - -- (void)testItShouldNotSetDefaultIncludeFieldsWhenCalledWithOutUpdateSpaceIncludeFields { - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNUpdateSpaceOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertNil(parameters.query[@"include"]); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.updateSpace().spaceId([NSUUID UUID].UUIDString) - .performWithCompletion(^(PNUpdateSpaceStatus *status) {}); - }]; -} - -- (void)testItShouldNotUpdateSpaceWhenSpaceIdIsMissing { - NSString *expectedName = [NSUUID UUID].UUIDString; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.updateSpace().name(expectedName).includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNUpdateSpaceStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'space-id'"].location, - NSNotFound); - - handler(); - }); - }]; -} - -- (void)testItShouldNotUpdateSpaceWhenNameIsMissing { - NSString *expectedId = [NSUUID UUID].UUIDString; - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNUpdateSpaceOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]).andDo(nil); - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.updateSpace().spaceId(expectedId) - .includeFields(PNSpaceCustomField).performWithCompletion(^(PNUpdateSpaceStatus *status) { }); - }]; -} - -- (void)testItShouldNotUpdateSpaceWhenUnsupportedDataTypeInCustom { - NSString *expectedName = [NSUUID UUID].UUIDString; - NSString *expectedId = [NSUUID UUID].UUIDString; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.updateSpace().spaceId(expectedId).name(expectedName) - .custom(@{ @"date": [NSDate date] }).performWithCompletion(^(PNUpdateSpaceStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'custom'"].location, - NSNotFound); - - handler(); - }); - }]; -} - - -#pragma mark - Tests :: Delete - -- (void)testItShouldReturnDeleteSpaceBuilder { - XCTAssertTrue([self.client.deleteSpace() isKindOfClass:[PNDeleteSpaceAPICallBuilder class]]); -} - - -#pragma mark - Tests :: Delete :: Call - -- (void)testItShouldDeleteSpaceWhenCalled { - NSString *expectedId = [NSUUID UUID].UUIDString; - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNDeleteSpaceOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertEqualObjects(parameters.pathComponents[@"{space-id}"], expectedId); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.deleteSpace().spaceId(expectedId) - .performWithCompletion(^(PNAcknowledgmentStatus *status) {}); - }]; -} - -- (void)testItShouldNotDeleteSpaceWhenSpaceIdIsMissing { - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.deleteSpace().performWithCompletion(^(PNAcknowledgmentStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'space-id'"].location, - NSNotFound); - - handler(); - }); - }]; -} - - -#pragma mark - Tests :: Fetch - -- (void)testItShouldReturnFetchSpaceBuilder { - XCTAssertTrue([self.client.fetchSpace() isKindOfClass:[PNFetchSpaceAPICallBuilder class]]); -} - -- (void)testItShouldNotSetDefaultFetchSpaceIncludeFields { - PNFetchSpaceRequest *request = [PNFetchSpaceRequest requestWithSpaceID:[NSUUID UUID].UUIDString]; - - - XCTAssertEqual(request.includeFields, 0); -} - - -#pragma mark - Tests :: Fetch :: Call - -- (void)testItShouldFetchSpaceWhenCalled { - NSString *expectedId = [NSUUID UUID].UUIDString; - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNFetchSpaceOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertEqualObjects(parameters.pathComponents[@"{space-id}"], expectedId); - XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.fetchSpace().spaceId(expectedId).includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNFetchSpaceResult *result, PNErrorStatus *status) {}); - }]; -} - -- (void)testItShouldNotSetDefaultIncludeFieldsWhenCalledWithOutFetchSpaceIncludeFields { - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNFetchSpaceOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertNil(parameters.query[@"include"]); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.fetchSpace().spaceId([NSUUID UUID].UUIDString) - .performWithCompletion(^(PNFetchSpaceResult *result, PNErrorStatus *status) {}); - }]; -} - -- (void)testItShouldNotFetchSpaceWhenSpaceIdIsMissing { - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchSpace() - .performWithCompletion(^(PNFetchSpaceResult *result, PNErrorStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'space-id'"].location, - NSNotFound); - - handler(); - }); - }]; -} - - -#pragma mark - Tests :: Fetch all - -- (void)testItShouldReturnFetchSpacesBuilder { - XCTAssertTrue([self.client.fetchSpaces() isKindOfClass:[PNFetchSpacesAPICallBuilder class]]); -} - -- (void)testItShouldNotSetDefaultFetchSpacesIncludeFields { - PNFetchSpacesRequest *request = [PNFetchSpacesRequest new]; - - - XCTAssertEqual(request.includeFields, 0); -} - - -#pragma mark - Tests :: Fetch all :: Call - -- (void)testItShouldFetchAllSpacesWhenCalled { - NSString *filterExpression = @"updated >= '2019-08-31T00:00:00Z'"; - NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - NSString *expectedStart = [NSUUID UUID].UUIDString; - NSString *expectedEnd = [NSUUID UUID].UUIDString; - NSNumber *expectedLimit = @(56); - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNFetchSpacesOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertEqualObjects(parameters.query[@"start"], expectedStart); - XCTAssertEqualObjects(parameters.query[@"end"], expectedEnd); - XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); - XCTAssertEqualObjects(parameters.query[@"limit"], expectedLimit.stringValue); - XCTAssertEqualObjects(parameters.query[@"filter"], expectedFilterExpression); - XCTAssertNil(parameters.query[@"count"]); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.fetchSpaces() - .start(expectedStart).end(expectedEnd).limit(expectedLimit.unsignedIntegerValue) - .filter(filterExpression) - .includeFields(PNSpaceCustomField) - .performWithCompletion(^(PNFetchSpacesResult *result, PNErrorStatus *status) {}); - }]; -} - -- (void)testItShouldNotSetDefaultIncludeFieldsWhenCalledWithOutFetchAllSpacesIncludeFields { - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNFetchSpacesOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertNil(parameters.query[@"include"]); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.fetchSpaces() - .performWithCompletion(^(PNFetchSpacesResult *result, PNErrorStatus *status) {}); - }]; -} - -#pragma mark - - -#pragma clang diagnostic pop - -@end diff --git a/Tests/Tests/Unit/Core/Objects/PNUUIDMetadataObjectsTest.m b/Tests/Tests/Unit/Core/Objects/PNUUIDMetadataObjectsTest.m new file mode 100644 index 000000000..7ef9d2c21 --- /dev/null +++ b/Tests/Tests/Unit/Core/Objects/PNUUIDMetadataObjectsTest.m @@ -0,0 +1,391 @@ +/** +* @author Serhii Mamontov +* @copyright © 2010-2020 PubNub, Inc. +*/ +#import +#import +#import "PNRecordableTestCase.h" +#import +#import +#import + + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark Interface declaration + +@interface PNUUIDMetadataObjectsTest : PNRecordableTestCase + +#pragma mark - + + +@end + +NS_ASSUME_NONNULL_END + + +#pragma mark - Tests + +@implementation PNUUIDMetadataObjectsTest + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Warc-retain-cycles" + + +#pragma mark - VCR configuration + +- (BOOL)shouldSetupVCR { + return NO; +} + + +#pragma mark - Tests :: Set + +- (void)testItShouldReturnSetUUIDMetadataBuilder { + XCTAssertTrue([self.client.objects().setUUIDMetadata() isKindOfClass:[PNSetUUIDMetadataAPICallBuilder class]]); +} + +- (void)testItShouldSetDefaultSetUUIDMetadataIncludeFields { + PNSetUUIDMetadataRequest *request = [PNSetUUIDMetadataRequest requestWithUUID:[NSUUID UUID].UUIDString]; + + + XCTAssertEqual(request.includeFields, PNUUIDCustomField); +} + + +#pragma mark - Tests :: Create :: Call + +- (void)testItShouldSetUUIDMetadataWhenCalled { + NSString *expectedUUIDData = [NSUUID UUID].UUIDString; + NSString *expectedName = [NSUUID UUID].UUIDString; + NSString *expectedId = [NSUUID UUID].UUIDString; + NSDictionary *expectedBody = @{ + @"name": expectedName, + @"custom": @{ @"uuid": expectedUUIDData } + }; + NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody + options:(NSJSONWritingOptions)0 + error:nil]; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNSetUUIDMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + NSData *sentData = [self objectForInvocation:invocation argumentAtIndex:3]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + XCTAssertEqualObjects(sentData, expectedPayload); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().setUUIDMetadata() + .uuid(expectedId) + .name(expectedName) + .custom(@{ @"uuid": expectedUUIDData }) + .performWithCompletion(^(PNSetUUIDMetadataStatus *status) {}); + }]; +} + +- (void)testItShouldNotSetIncludeFieldsWhenCalledWithSetUUIDMetadataIncludeFieldsSetToZero { + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNSetUUIDMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertNil(parameters.query[@"include"]); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().setUUIDMetadata() + .uuid([NSUUID UUID].UUIDString) + .name([NSUUID UUID].UUIDString) + .includeFields(0) + .performWithCompletion(^(PNSetUUIDMetadataStatus *status) {}); + }]; +} + +- (void)testItShouldSetUUIDMetadataUsingPubNubClientUUIDWhenUUIDIsMissing { + NSString *expectedId = self.client.currentConfiguration.uuid; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNSetUUIDMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().setUUIDMetadata() + .name([NSUUID UUID].UUIDString) + .performWithCompletion(^(PNSetUUIDMetadataStatus *status) {}); + }]; +} + +- (void)testItShouldNotSetUUIDMetadataWhenUUIDIsTooLong { + NSString *expectedName = [NSUUID UUID].UUIDString; + NSString *expectedId = [@[ + [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, + [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, + [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, + [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, + ] componentsJoinedByString:@""]; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().setUUIDMetadata() + .uuid(expectedId) + .name(expectedName) + .performWithCompletion(^(PNSetUUIDMetadataStatus *status) { + XCTAssertTrue(status.isError); + XCTAssertNotEqual([status.errorData.information rangeOfString:@"too long"].location, + NSNotFound); + + handler(); + }); + }]; +} + +- (void)testItShouldNotSetUUIDMetadataWhenUnsupportedDataTypeInCustom { + NSString *expectedName = [NSUUID UUID].UUIDString; + NSString *expectedId = [NSUUID UUID].UUIDString; + + + [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { + self.client.objects().setUUIDMetadata() + .uuid(expectedId) + .name(expectedName) + .custom(@{ @"date": [NSDate date] }) + .performWithCompletion(^(PNSetUUIDMetadataStatus *status) { + XCTAssertTrue(status.isError); + XCTAssertNotEqual([status.errorData.information rangeOfString:@"'custom'"].location, + NSNotFound); + + handler(); + }); + }]; +} + + +#pragma mark - Tests :: Remove + +- (void)testItShouldReturnRemoveUUIDMetadataBuilder { + XCTAssertTrue([self.client.objects().removeUUIDMetadata() isKindOfClass:[PNRemoveUUIDMetadataAPICallBuilder class]]); +} + + +#pragma mark - Tests :: Remove :: Call + +- (void)testItShouldRemoveUUIDMetadataWhenCalled { + NSString *expectedId = [NSUUID UUID].UUIDString; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNRemoveUUIDMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().removeUUIDMetadata() + .uuid(expectedId) + .performWithCompletion(^(PNAcknowledgmentStatus *status) {}); + }]; +} + +- (void)testItShouldRemoveUUIDMetadataUsingPubNubClientUUIDWhenUUIDIsMissing { + NSString *expectedId = self.client.currentConfiguration.uuid; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNRemoveUUIDMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().removeUUIDMetadata() + .performWithCompletion(^(PNAcknowledgmentStatus *status) {}); + }]; +} + + +#pragma mark - Tests :: Fetch + +- (void)testItShouldReturnFetchUUIDMetadataBuilder { + XCTAssertTrue([self.client.objects().uuidMetadata() isKindOfClass:[PNFetchUUIDMetadataAPICallBuilder class]]); +} + +- (void)testItShouldSetDefaultFetchUUIDMetadataIncludeFields { + PNFetchUUIDMetadataRequest *request = [PNFetchUUIDMetadataRequest requestWithUUID:[NSUUID UUID].UUIDString]; + + + XCTAssertEqual(request.includeFields, PNUUIDCustomField); +} + + +#pragma mark - Tests :: Fetch :: Call + +- (void)testItShouldFetchUUIDMetadataWhenCalled { + NSString *expectedId = [NSUUID UUID].UUIDString; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNFetchUUIDMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().uuidMetadata() + .uuid(expectedId) + .performWithCompletion(^(PNFetchUUIDMetadataResult *result, PNErrorStatus *status) {}); + }]; +} + +- (void)testItShouldNotSetIncludeFieldsWhenCalledWithFetchUUIDMetadataIncludeFieldsSetToZero { + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNFetchUUIDMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertNil(parameters.query[@"include"]); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().uuidMetadata() + .uuid([NSUUID UUID].UUIDString) + .includeFields(0) + .performWithCompletion(^(PNFetchUUIDMetadataResult *result, PNErrorStatus *status) {}); + }]; +} + +- (void)testItShouldFetchUUIDMetadataUsingPubNubClientUUIDWhenUUIDIsMissing { + NSString *expectedId = self.client.currentConfiguration.uuid; + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNFetchUUIDMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.pathComponents[@"{uuid}"], expectedId); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().uuidMetadata() + .performWithCompletion(^(PNFetchUUIDMetadataResult *result, PNErrorStatus *status) { }); + }]; +} + + +#pragma mark - Tests :: Fetch all + +- (void)testItShouldReturnFetchAllUUIDMetadataBuilder { + XCTAssertTrue([self.client.objects().allUUIDMetadata() isKindOfClass:[PNFetchAllUUIDMetadataAPICallBuilder class]]); +} + +- (void)testItShouldNotSetDefaultFetchAllUUIDMetadataIncludeFields { + PNFetchAllUUIDMetadataRequest *request = [PNFetchAllUUIDMetadataRequest new]; + + + XCTAssertEqual(request.includeFields, 0); +} + + +#pragma mark - Tests :: Fetch all :: Call + +- (void)testItShouldFetchAllUsersWhenCalled { + NSString *filterExpression = @"updated >= '2019-08-31T00:00:00Z'"; + NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; + NSString *expectedStart = [NSUUID UUID].UUIDString; + NSString *expectedEnd = [NSUUID UUID].UUIDString; + NSNumber *expectedLimit = @(56); + + + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNFetchAllUUIDMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertEqualObjects(parameters.query[@"start"], expectedStart); + XCTAssertEqualObjects(parameters.query[@"end"], expectedEnd); + XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); + XCTAssertEqualObjects(parameters.query[@"limit"], expectedLimit.stringValue); + XCTAssertEqualObjects(parameters.query[@"filter"], expectedFilterExpression); + XCTAssertNil(parameters.query[@"count"]); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().allUUIDMetadata() + .start(expectedStart) + .end(expectedEnd) + .limit(expectedLimit.unsignedIntegerValue) + .filter(filterExpression) + .includeFields(PNUUIDCustomField) + .performWithCompletion(^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) {}); + }]; +} + +- (void)testItShouldNotSetDefaultIncludeFieldsWhenCalledWithOutFetchAllUUIDMetadataIncludeFields { + id clientMock = [self mockForObject:self.client]; + id recorded = OCMExpect([clientMock processOperation:PNFetchAllUUIDMetadataOperation + withParameters:[OCMArg any] + data:[OCMArg any] + completionBlock:[OCMArg any]]) + .andDo(^(NSInvocation *invocation) { + PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; + + XCTAssertNil(parameters.query[@"include"]); + }); + + [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ + self.client.objects().allUUIDMetadata() + .performWithCompletion(^(PNFetchAllUUIDMetadataResult *result, PNErrorStatus *status) {}); + }]; +} + +#pragma mark - + +#pragma clang diagnostic pop + +@end diff --git a/Tests/Tests/Unit/Core/Objects/PNUserObjectsTest.m b/Tests/Tests/Unit/Core/Objects/PNUserObjectsTest.m deleted file mode 100644 index 1554f1df7..000000000 --- a/Tests/Tests/Unit/Core/Objects/PNUserObjectsTest.m +++ /dev/null @@ -1,486 +0,0 @@ -/** -* @author Serhii Mamontov -* @copyright © 2010-2020 PubNub, Inc. -*/ -#import -#import -#import "PNRecordableTestCase.h" -#import -#import -#import - - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark Interface declaration - -@interface PNUserObjectsTest : PNRecordableTestCase - -#pragma mark - - - -@end - -NS_ASSUME_NONNULL_END - - -#pragma mark - Tests - -@implementation PNUserObjectsTest - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Warc-retain-cycles" - - -#pragma mark - VCR configuration - -- (BOOL)shouldSetupVCR { - return NO; -} - - -#pragma mark - Tests :: Create - -- (void)testItShouldReturnCreateUserBuilder { - XCTAssertTrue([self.client.createUser() isKindOfClass:[PNCreateUserAPICallBuilder class]]); -} - -- (void)testItShouldSetDefaultCreateUserIncludeFields { - PNCreateUserRequest *request = [PNCreateUserRequest requestWithUserID:[NSUUID UUID].UUIDString - name:[NSUUID UUID].UUIDString]; - - - XCTAssertEqual(request.includeFields, PNUserCustomField); -} - - -#pragma mark - Tests :: Create :: Call - -- (void)testItShouldCreateUserWhenCalled { - NSString *expectedUserData = [NSUUID UUID].UUIDString; - NSString *expectedName = [NSUUID UUID].UUIDString; - NSString *expectedId = [NSUUID UUID].UUIDString; - NSDictionary *expectedBody = @{ - @"id": expectedId, - @"name": expectedName, - @"custom": @{ @"user": expectedUserData } - }; - NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody - options:(NSJSONWritingOptions)0 - error:nil]; - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNCreateUserOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - NSData *sentData = [self objectForInvocation:invocation argumentAtIndex:3]; - - XCTAssertEqualObjects(parameters.pathComponents[@"{user-id}"], expectedId); - XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); - XCTAssertEqualObjects(sentData, expectedPayload); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.createUser() - .userId(expectedId).name(expectedName).custom(@{ @"user": expectedUserData }) - .includeFields(PNUserCustomField).performWithCompletion(^(PNCreateUserStatus *status) {}); - }]; -} - -- (void)testItShouldNotSetDefaultIncludeFieldsWhenCalledWithOutCreateUserIncludeFields { - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNCreateUserOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertNil(parameters.query[@"include"]); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.createUser().userId([NSUUID UUID].UUIDString).name([NSUUID UUID].UUIDString) - .performWithCompletion(^(PNCreateUserStatus *status) {}); - }]; -} - -- (void)testItShouldNotCreateUserWhenUserIdIsMissing { - NSString *expectedName = [NSUUID UUID].UUIDString; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createUser().name(expectedName).includeFields(PNUserCustomField) - .performWithCompletion(^(PNCreateUserStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'user-id'"].location, - NSNotFound); - - handler(); - }); - }]; -} - -- (void)testItShouldNotCreateUserWhenUserIdIsTooLong { - NSString *expectedName = [NSUUID UUID].UUIDString; - NSString *expectedId = [@[ - [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, - [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, - [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, - [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, [NSUUID UUID].UUIDString, - ] componentsJoinedByString:@""]; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createUser().userId(expectedId).name(expectedName) - .performWithCompletion(^(PNCreateUserStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"too long"].location, - NSNotFound); - - handler(); - }); - }]; -} - -- (void)testItShouldNotCreateUserWhenUserNameIsMissing { - NSString *expectedId = [NSUUID UUID].UUIDString; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createUser().userId(expectedId) - .includeFields(PNUserCustomField).performWithCompletion(^(PNCreateUserStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'name'"].location, - NSNotFound); - - handler(); - }); - }]; -} - -- (void)testItShouldNotCreateUserWhenUnsupportedDataTypeInCustom { - NSString *expectedName = [NSUUID UUID].UUIDString; - NSString *expectedId = [NSUUID UUID].UUIDString; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.createUser().userId(expectedId).name(expectedName) - .custom(@{ @"date": [NSDate date] }).performWithCompletion(^(PNCreateUserStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'custom'"].location, - NSNotFound); - - handler(); - }); - }]; -} - - -#pragma mark - Tests :: Update - -- (void)testItShouldReturnUpdateUserBuilder { - XCTAssertTrue([self.client.updateUser() isKindOfClass:[PNUpdateUserAPICallBuilder class]]); -} - -- (void)testItShouldNotSetDefaultUpdateUserIncludeFields { - PNUpdateUserRequest *request = [PNUpdateUserRequest requestWithUserID:[NSUUID UUID].UUIDString]; - - - XCTAssertEqual(request.includeFields, 0); -} - - -#pragma mark - Tests :: Update :: Call - -- (void)testItShouldUpdateUserWhenCalled { - NSString *expectedUserData = [NSUUID UUID].UUIDString; - NSString *expectedName = [NSUUID UUID].UUIDString; - NSString *expectedId = [NSUUID UUID].UUIDString; - NSDictionary *expectedBody = @{ - @"id": expectedId, - @"name": expectedName, - @"custom": @{ @"user": expectedUserData } - }; - NSData *expectedPayload = [NSJSONSerialization dataWithJSONObject:expectedBody - options:(NSJSONWritingOptions)0 - error:nil]; - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNUpdateUserOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - NSData *sentData = [self objectForInvocation:invocation argumentAtIndex:3]; - - XCTAssertEqualObjects(parameters.pathComponents[@"{user-id}"], expectedId); - XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); - XCTAssertEqualObjects(sentData, expectedPayload); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.updateUser() - .userId(expectedId).name(expectedName).custom(@{ @"user": expectedUserData }) - .includeFields(PNUserCustomField).performWithCompletion(^(PNUpdateUserStatus *status) {}); - }]; -} - -- (void)testItShouldNotSetDefaultIncludeFieldsWhenCalledWithOutUpdateUserIncludeFields { - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNUpdateUserOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertNil(parameters.query[@"include"]); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.updateUser().userId([NSUUID UUID].UUIDString) - .performWithCompletion(^(PNUpdateUserStatus *status) {}); - }]; -} - -- (void)testItShouldNotUpdateUserWhenUserIdIsMissing { - NSString *expectedName = [NSUUID UUID].UUIDString; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.updateUser().name(expectedName).includeFields(PNUserCustomField) - .performWithCompletion(^(PNUpdateUserStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'user-id'"].location, - NSNotFound); - - handler(); - }); - }]; -} - -- (void)testItShouldNotUpdateUserWhenUserNameIsMissing { - NSString *expectedId = [NSUUID UUID].UUIDString; - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNUpdateUserOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]).andDo(nil); - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.updateUser().userId(expectedId) - .includeFields(PNUserCustomField).performWithCompletion(^(PNUpdateUserStatus *status) { }); - }]; -} - -- (void)testItShouldNotUpdateUserWhenUnsupportedDataTypeInCustom { - NSString *expectedName = [NSUUID UUID].UUIDString; - NSString *expectedId = [NSUUID UUID].UUIDString; - - - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.updateUser().userId(expectedId).name(expectedName) - .custom(@{ @"date": [NSDate date] }).performWithCompletion(^(PNUpdateUserStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'custom'"].location, - NSNotFound); - - handler(); - }); - }]; -} - - -#pragma mark - Tests :: Delete - -- (void)testItShouldReturnDeleteUserBuilder { - XCTAssertTrue([self.client.deleteUser() isKindOfClass:[PNDeleteUserAPICallBuilder class]]); -} - - -#pragma mark - Tests :: Delete :: Call - -- (void)testItShouldDeleteUserWhenCalled { - NSString *expectedId = [NSUUID UUID].UUIDString; - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNDeleteUserOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertEqualObjects(parameters.pathComponents[@"{user-id}"], expectedId); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.deleteUser().userId(expectedId) - .performWithCompletion(^(PNAcknowledgmentStatus *status) {}); - }]; -} - -- (void)testItShouldNotDeleteUserWhenUserIdIsMissing { - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.updateUser().performWithCompletion(^(PNAcknowledgmentStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'user-id'"].location, - NSNotFound); - - handler(); - }); - }]; -} - - -#pragma mark - Tests :: Fetch - -- (void)testItShouldReturnFetchUserBuilder { - XCTAssertTrue([self.client.fetchUser() isKindOfClass:[PNFetchUserAPICallBuilder class]]); -} - -- (void)testItShouldNotSetDefaultFetchUserIncludeFields { - PNFetchUserRequest *request = [PNFetchUserRequest requestWithUserID:[NSUUID UUID].UUIDString]; - - - XCTAssertEqual(request.includeFields, 0); -} - - -#pragma mark - Tests :: Fetch :: Call - -- (void)testItShouldFetchUserWhenCalled { - NSString *expectedId = [NSUUID UUID].UUIDString; - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNFetchUserOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertEqualObjects(parameters.pathComponents[@"{user-id}"], expectedId); - XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.fetchUser().userId(expectedId).includeFields(PNUserCustomField) - .performWithCompletion(^(PNFetchUserResult *result, PNErrorStatus *status) {}); - }]; -} - -- (void)testItShouldNotSetDefaultIncludeFieldsWhenCalledWithOutFetchUserIncludeFields { - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNFetchUserOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertNil(parameters.query[@"include"]); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.fetchUser().userId([NSUUID UUID].UUIDString) - .performWithCompletion(^(PNFetchUserResult *result, PNErrorStatus *status) {}); - }]; -} - -- (void)testItShouldNotFetchUserWhenUserIdIsMissing { - [self waitToCompleteIn:self.testCompletionDelay codeBlock:^(dispatch_block_t handler) { - self.client.fetchUser() - .performWithCompletion(^(PNFetchUserResult *result, PNErrorStatus *status) { - XCTAssertTrue(status.isError); - XCTAssertNotEqual([status.errorData.information rangeOfString:@"'user-id'"].location, - NSNotFound); - - handler(); - }); - }]; -} - - -#pragma mark - Tests :: Fetch all - -- (void)testItShouldReturnFetchUsersBuilder { - XCTAssertTrue([self.client.fetchUsers() isKindOfClass:[PNFetchUsersAPICallBuilder class]]); -} - -- (void)testItShouldNotSetDefaultFetchUsersIncludeFields { - PNFetchUsersRequest *request = [PNFetchUsersRequest new]; - - - XCTAssertEqual(request.includeFields, 0); -} - - -#pragma mark - Tests :: Fetch all :: Call - -- (void)testItShouldFetchAllUsersWhenCalled { - NSString *filterExpression = @"updated >= '2019-08-31T00:00:00Z'"; - NSString *expectedFilterExpression = [PNString percentEscapedString:filterExpression]; - NSString *expectedStart = [NSUUID UUID].UUIDString; - NSString *expectedEnd = [NSUUID UUID].UUIDString; - NSNumber *expectedLimit = @(56); - - - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNFetchUsersOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertEqualObjects(parameters.query[@"start"], expectedStart); - XCTAssertEqualObjects(parameters.query[@"end"], expectedEnd); - XCTAssertEqualObjects(parameters.query[@"include"], @"custom"); - XCTAssertEqualObjects(parameters.query[@"limit"], expectedLimit.stringValue); - XCTAssertEqualObjects(parameters.query[@"filter"], expectedFilterExpression); - XCTAssertNil(parameters.query[@"count"]); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.fetchUsers() - .start(expectedStart).end(expectedEnd).limit(expectedLimit.unsignedIntegerValue) - .filter(filterExpression) - .includeFields(PNUserCustomField) - .performWithCompletion(^(PNFetchUsersResult *result, PNErrorStatus *status) {}); - }]; -} - -- (void)testItShouldNotSetDefaultIncludeFieldsWhenCalledWithOutFetchUsersIncludeFields { - id clientMock = [self mockForObject:self.client]; - id recorded = OCMExpect([clientMock processOperation:PNFetchUsersOperation - withParameters:[OCMArg any] - data:[OCMArg any] - completionBlock:[OCMArg any]]) - .andDo(^(NSInvocation *invocation) { - PNRequestParameters *parameters = [self objectForInvocation:invocation argumentAtIndex:2]; - - XCTAssertNil(parameters.query[@"include"]); - }); - - [self waitForObject:clientMock recordedInvocationCall:recorded afterBlock:^{ - self.client.fetchUsers() - .performWithCompletion(^(PNFetchUsersResult *result, PNErrorStatus *status) {}); - }]; -} - -#pragma mark - - -#pragma clang diagnostic pop - -@end diff --git a/VERSION b/VERSION index 650edfe9a..c412a4e2e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.13.2 +4.14.0