Skip to content

Commit feb94c9

Browse files
committed
Add response json for new endpoints.
1 parent c25a94b commit feb94c9

File tree

3 files changed

+100
-0
lines changed

3 files changed

+100
-0
lines changed

Networking/Networking.xcodeproj/project.pbxproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
029BA4F0255D7282006171FD /* ShippingLabelRemote.swift in Sources */ = {isa = PBXBuildFile; fileRef = 029BA4EF255D7282006171FD /* ShippingLabelRemote.swift */; };
4848
029BA4F4255D72EC006171FD /* ShippingLabelPrintData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 029BA4F3255D72EC006171FD /* ShippingLabelPrintData.swift */; };
4949
029BA53B255DFABD006171FD /* ShippingLabelPrintDataMapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 029BA53A255DFABD006171FD /* ShippingLabelPrintDataMapper.swift */; };
50+
02A26F1B2744F5FC008E4EDB /* wc-site-settings-partial.json in Resources */ = {isa = PBXBuildFile; fileRef = 02A26F192744F5FC008E4EDB /* wc-site-settings-partial.json */; };
51+
02A26F1C2744F5FC008E4EDB /* wp-site-settings.json in Resources */ = {isa = PBXBuildFile; fileRef = 02A26F1A2744F5FC008E4EDB /* wp-site-settings.json */; };
5052
02AAD53F250092A400BA1E26 /* product-add-or-delete.json in Resources */ = {isa = PBXBuildFile; fileRef = 02AAD53E250092A300BA1E26 /* product-add-or-delete.json */; };
5153
02BA23C922EEF62C009539E7 /* order-stats-v4-wcadmin-deactivated.json in Resources */ = {isa = PBXBuildFile; fileRef = 02BA23C722EEF62C009539E7 /* order-stats-v4-wcadmin-deactivated.json */; };
5254
02BA23CA22EEF62C009539E7 /* order-stats-v4-wcadmin-activated.json in Resources */ = {isa = PBXBuildFile; fileRef = 02BA23C822EEF62C009539E7 /* order-stats-v4-wcadmin-activated.json */; };
@@ -627,6 +629,8 @@
627629
029BA4EF255D7282006171FD /* ShippingLabelRemote.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShippingLabelRemote.swift; sourceTree = "<group>"; };
628630
029BA4F3255D72EC006171FD /* ShippingLabelPrintData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShippingLabelPrintData.swift; sourceTree = "<group>"; };
629631
029BA53A255DFABD006171FD /* ShippingLabelPrintDataMapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShippingLabelPrintDataMapper.swift; sourceTree = "<group>"; };
632+
02A26F192744F5FC008E4EDB /* wc-site-settings-partial.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "wc-site-settings-partial.json"; sourceTree = "<group>"; };
633+
02A26F1A2744F5FC008E4EDB /* wp-site-settings.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "wp-site-settings.json"; sourceTree = "<group>"; };
630634
02AAD53E250092A300BA1E26 /* product-add-or-delete.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "product-add-or-delete.json"; sourceTree = "<group>"; };
631635
02BA23C722EEF62C009539E7 /* order-stats-v4-wcadmin-deactivated.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "order-stats-v4-wcadmin-deactivated.json"; sourceTree = "<group>"; };
632636
02BA23C822EEF62C009539E7 /* order-stats-v4-wcadmin-activated.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "order-stats-v4-wcadmin-activated.json"; sourceTree = "<group>"; };
@@ -1740,6 +1744,7 @@
17401744
74ABA1C7213F19FE00FFAD30 /* top-performers-year.json */,
17411745
FE28F6E726842D57004465C7 /* user-complete.json */,
17421746
7495AACE225D366D00801A89 /* variation-as-product.json */,
1747+
02A26F192744F5FC008E4EDB /* wc-site-settings-partial.json */,
17431748
D800DA0D25EFEC21001E13CE /* wcpay-connection-token.json */,
17441749
318E8FD626C322EA00F519D7 /* wcpay-customer.json */,
17451750
318E8FD826C324D900F519D7 /* wcpay-customer-error.json */,
@@ -1770,6 +1775,7 @@
17701775
31B8D6B526583970008E3DB2 /* wcpay-account-implicitly-not-eligible.json */,
17711776
31799AFB2705189200D78179 /* wcpay-location.json */,
17721777
31799AFD270518AD00D78179 /* wcpay-location-error.json */,
1778+
02A26F1A2744F5FC008E4EDB /* wp-site-settings.json */,
17731779
077F39D726A58EB600ABEADC /* systemStatus.json */,
17741780
);
17751781
path = Responses;
@@ -2152,6 +2158,7 @@
21522158
D88D5A43230BC668007B6E01 /* reviews-single.json in Resources */,
21532159
02DD6492248A3EC00082523E /* product-external.json in Resources */,
21542160
45A4B85C25D2FAB500776FB4 /* shipping-label-address-validation-error.json in Resources */,
2161+
02A26F1C2744F5FC008E4EDB /* wp-site-settings.json in Resources */,
21552162
740211DF2193985A002248DA /* comment-moderate-spam.json in Resources */,
21562163
B5147876211B9227007562E5 /* broken-orders-mark-2.json in Resources */,
21572164
3158FE6C26129D2E00E566B9 /* wcpay-account-rejected-terms-of-service.json in Resources */,
@@ -2162,6 +2169,7 @@
21622169
CE50346721B5DCBE007573C6 /* site-plan.json in Resources */,
21632170
743E84F322172D0A00FAC9D7 /* shipment_tracking_empty.json in Resources */,
21642171
B505F6D520BEE4E700BB1B69 /* me.json in Resources */,
2172+
02A26F1B2744F5FC008E4EDB /* wc-site-settings-partial.json in Resources */,
21652173
028FA474257E110700F88A48 /* shipping-label-refund-success.json in Resources */,
21662174
02BA23C922EEF62C009539E7 /* order-stats-v4-wcadmin-deactivated.json in Resources */,
21672175
CCB2CAA226209A1200285CA0 /* generic_success_data.json in Resources */,
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"data": [
3+
{
4+
"id": "wc_admin",
5+
"label": "WooCommerce Admin",
6+
"description": "Settings for WooCommerce admin reporting.",
7+
"parent_id": "",
8+
"sub_groups": [],
9+
"_links": {
10+
"options": [
11+
{
12+
"href": "https://toma.to/wp-json/wc/v3/settings/wc_admin"
13+
}
14+
]
15+
}
16+
},
17+
{
18+
"id": "general",
19+
"label": "General",
20+
"description": "",
21+
"parent_id": "",
22+
"sub_groups": [],
23+
"_links": {
24+
"options": [
25+
{
26+
"href": "https://toma.to/wp-json/wc/v3/settings/general"
27+
}
28+
]
29+
}
30+
},
31+
{
32+
"id": "products",
33+
"label": "Products",
34+
"description": "",
35+
"parent_id": "",
36+
"sub_groups": [],
37+
"_links": {
38+
"options": [
39+
{
40+
"href": "https://toma.to/wp-json/wc/v3/settings/products"
41+
}
42+
]
43+
}
44+
},
45+
{
46+
"id": "shipping",
47+
"label": "Shipping",
48+
"description": "",
49+
"parent_id": "",
50+
"sub_groups": [],
51+
"_links": {
52+
"options": [
53+
{
54+
"href": "https://toma.to/wp-json/wc/v3/settings/shipping"
55+
}
56+
]
57+
}
58+
},
59+
{
60+
"id": "account",
61+
"label": "Accounts &amp; Privacy",
62+
"description": "",
63+
"parent_id": "",
64+
"sub_groups": [],
65+
"_links": {
66+
"options": [
67+
{
68+
"href": "https://toma.to/wp-json/wc/v3/settings/account"
69+
}
70+
]
71+
}
72+
}
73+
]
74+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"title": "Zucchini recipes",
3+
"description": "All things zucchini and more",
4+
"url": "https://zucchini.mystagingwebsite.com",
5+
"email": "[email protected]",
6+
"timezone": "America/New_York",
7+
"date_format": "F j, Y",
8+
"time_format": "H:i",
9+
"start_of_week": 1,
10+
"language": "",
11+
"use_smilies": true,
12+
"default_category": 1,
13+
"default_post_format": "0",
14+
"posts_per_page": 10,
15+
"default_ping_status": "open",
16+
"default_comment_status": "open",
17+
"site_logo": null
18+
}

0 commit comments

Comments
 (0)