Skip to content

Commit 20a116b

Browse files
committed
feat(API-1864): Add 'all-versions' tag and fix reviewed text
API-1863
1 parent 19e723f commit 20a116b

32 files changed

+122
-121
lines changed

content/php-client/resources/PAM/asset-categories.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Also, did you know that since the PIM 3.2 (or the 5.0 of the client), you can ha
1313
:::
1414

1515
#### Get an asset category
16-
::: php-client-availability versions=2.0 editions=EE
16+
::: php-client-availability versions=2.0 ee-only
1717

1818
```php
1919
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -33,7 +33,7 @@ $assetCategory = $client->getAssetCategoryApi()->get('face');
3333
```
3434

3535
#### Get a list of asset categories
36-
::: php-client-availability versions=2.0 editions=EE
36+
::: php-client-availability versions=2.0 ee-only
3737

3838
There are two ways of getting asset categories.
3939

@@ -63,7 +63,7 @@ $assetCategories = $client->getAssetCategoryApi()->all(50);
6363
You can get more information about this method [here](/php-client/list-resources.html#with-a-cursor).
6464

6565
#### Upsert an asset category
66-
::: php-client-availability versions=2.0 editions=EE
66+
::: php-client-availability versions=2.0 ee-only
6767

6868
If the asset category does not exist yet, this method creates it, otherwise it updates it.
6969

@@ -80,7 +80,7 @@ $client->getAssetCategoryApi()->upsert('dos', [
8080
```
8181

8282
#### Upsert a list of asset categories
83-
::: php-client-availability versions=2.0 editions=EE
83+
::: php-client-availability versions=2.0 ee-only
8484

8585
This method allows to create or update a list of asset categories.
8686
It has the same behavior as the `upsert` method for a single asset category, except that the code must be specified in the data of each asset category.

content/php-client/resources/PAM/asset-reference-files.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Also, did you know that since the PIM 3.2 (or the 5.0 of the client), you can ha
77
:::
88

99
#### Get a reference file of a localizable asset
10-
::: php-client-availability versions=2.0 editions=EE
10+
::: php-client-availability versions=2.0 ee-only
1111

1212
```php
1313
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -28,7 +28,7 @@ $product = $client->getAssetReferenceFileApi()->getFromLocalizableAsset('chicago
2828
```
2929

3030
#### Get a reference file of a not localizable asset
31-
::: php-client-availability versions=2.0 editions=EE
31+
::: php-client-availability versions=2.0 ee-only
3232

3333
```php
3434
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -49,7 +49,7 @@ $product = $client->getAssetReferenceFileApi()->getFromNotLocalizableAsset('brid
4949
```
5050

5151
#### Download a reference file of a localizable asset
52-
::: php-client-availability versions=2.0 editions=EE
52+
::: php-client-availability versions=2.0 ee-only
5353

5454
```php
5555
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -67,7 +67,7 @@ file_put_contents('/tmp/chicagoskyline.jpg', $product->getBody()->getContents())
6767
```
6868

6969
#### Download a reference file of a not localizable asset
70-
::: php-client-availability versions=2.0 editions=EE
70+
::: php-client-availability versions=2.0 ee-only
7171

7272
```php
7373
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -85,7 +85,7 @@ file_put_contents('/tmp/bridge.jpg', $product->getBody()->getContents());
8585
```
8686

8787
#### Upload an asset reference file for a localizable asset
88-
::: php-client-availability versions=2.0 editions=EE
88+
::: php-client-availability versions=2.0 ee-only
8989

9090
```php
9191
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -126,7 +126,7 @@ try {
126126
```
127127

128128
#### Upload an asset reference file for a not localizable asset
129-
::: php-client-availability versions=2.0 editions=EE
129+
::: php-client-availability versions=2.0 ee-only
130130

131131
```php
132132
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');

content/php-client/resources/PAM/asset-tags.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Also, did you know that since the PIM 3.2 (or the 5.0 of the client), you can ha
77
:::
88

99
#### Get an asset tag
10-
::: php-client-availability versions=2.0 editions=EE
10+
::: php-client-availability versions=2.0 ee-only
1111

1212
```php
1313
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -22,7 +22,7 @@ $assetTag = $client->getAssetTagApi()->get('water');
2222
```
2323

2424
#### Get a list of asset tags
25-
::: php-client-availability versions=2.0 editions=EE
25+
::: php-client-availability versions=2.0 ee-only
2626

2727
There are two ways of getting asset tags.
2828

@@ -51,7 +51,7 @@ $assetTags = $client->getAssetTagApi()->all(50);
5151
You can get more information about this method [here](/php-client/list-resources.html#with-a-cursor).
5252

5353
#### Upsert an asset tag
54-
::: php-client-availability versions=2.0 editions=EE
54+
::: php-client-availability versions=2.0 ee-only
5555

5656
If the asset tag does not exist yet, this method creates it, otherwise it updates it.
5757

content/php-client/resources/PAM/assets.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Also, did you know that since the PIM 3.2 (or the 5.0 of the client), you can ha
77
:::
88

99
#### Get an asset
10-
::: php-client-availability versions=2.0 editions=EE
10+
::: php-client-availability versions=2.0 ee-only
1111

1212
```php
1313
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -74,7 +74,7 @@ $asset = $client->getAssetApi()->get('bridge');
7474
```
7575

7676
#### Get a list of assets
77-
::: php-client-availability versions=2.0 editions=EE
77+
::: php-client-availability versions=2.0 ee-only
7878

7979
There are two ways of getting assets.
8080

@@ -104,7 +104,7 @@ $assets = $client->getAssetApi()->all(50);
104104
You can get more information about this method [here](/php-client/list-resources.html#with-a-cursor).
105105

106106
#### Create an asset
107-
::: php-client-availability versions=2.0 editions=EE
107+
::: php-client-availability versions=2.0 ee-only
108108

109109
If the asset does not exist yet, this method creates it, otherwise it throws an exception.
110110

@@ -121,7 +121,7 @@ $client->getAssetApi()->create('unicorn', [
121121
```
122122

123123
#### Upsert an asset
124-
::: php-client-availability versions=2.0 editions=EE
124+
::: php-client-availability versions=2.0 ee-only
125125

126126
If the asset does not exist yet, this method creates it, otherwise it updates it.
127127

@@ -138,7 +138,7 @@ $client->getAssetApi()->upsert('bridge', [
138138
```
139139

140140
#### Upsert a list of assets
141-
::: php-client-availability versions=2.0 editions=EE
141+
::: php-client-availability versions=2.0 ee-only
142142

143143
This method allows to create or update a list of assets.
144144
It has the same behavior as the `upsert` method for a single asset, except that the code must be specified in the data of each asset.

content/php-client/resources/asset-manager/asset-attribute-options.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
We refer here to the asset attribute option of the [Asset Manager](/concepts/asset-manager.html#asset-attribute-option).
44

55
#### Get an attribute option for a given attribute of a given asset
6-
::: php-client-availability versions=5.0 editions=EE
6+
::: php-client-availability versions=5.0 ee-only
77

88
```php
99
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -23,7 +23,7 @@ $client->getAssetAttributeOptionApi()->get('packshot', 'main_colors', 'blue);
2323
```
2424

2525
#### Get the list of attribute options of a given attribute for a given asset
26-
::: php-client-availability versions=5.0 editions=EE
26+
::: php-client-availability versions=5.0 ee-only
2727

2828
```php
2929
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -32,7 +32,7 @@ $client->getAssetAttributeOptionApi()->all('packshot', 'main_colors');
3232
```
3333

3434
#### Upsert an attribute option for a given attribute of a given asset
35-
::: php-client-availability versions=5.0 editions=EE
35+
::: php-client-availability versions=5.0 ee-only
3636

3737
If the attribute option does not exist yet, this method creates it, otherwise it updates it.
3838

content/php-client/resources/asset-manager/asset-attributes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
We refer here to the asset attribute option of the [Asset Manager](/concepts/asset-manager.html#asset-attribute).
33

44
#### Get an attribute of a given asset family
5-
::: php-client-availability versions=5.0 editions=EE
5+
::: php-client-availability versions=5.0 ee-only
66

77
```php
88
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -27,7 +27,7 @@ $client->getAssetAttributeApi()->get('user_instructions', 'label');
2727
```
2828

2929
#### Get the list of attributes of a given asset
30-
::: php-client-availability versions=5.0 editions=EE
30+
::: php-client-availability versions=5.0 ee-only
3131

3232
```php
3333
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -36,7 +36,7 @@ $client->getAssetAttributeApi()->all('user_instructions');
3636
```
3737

3838
#### Upsert an attribute of a given asset family
39-
::: php-client-availability versions=5.0 editions=EE
39+
::: php-client-availability versions=5.0 ee-only
4040

4141
If the attribute does not exist yet, this method creates it, otherwise it updates it.
4242

content/php-client/resources/asset-manager/asset-families.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
We refer here to the asset family of the [Asset Manager](/concepts/asset-manager.html#asset-family).
44

55
#### Get an asset family
6-
::: php-client-availability versions=5.0 editions=EE
6+
::: php-client-availability versions=5.0 ee-only
77

88
```php
99
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -23,7 +23,7 @@ $client->getAssetFamilyApi()->get('user_instructions');
2323
```
2424

2525
#### Get the list of the asset families
26-
::: php-client-availability versions=5.0 editions=EE
26+
::: php-client-availability versions=5.0 ee-only
2727

2828
You can get more information about the available query parameters [here](/api-reference.html#get_asset_families).
2929

@@ -34,7 +34,7 @@ $client->getAssetFamilyApi()->all();
3434
```
3535

3636
#### Upsert an asset family
37-
::: php-client-availability versions=5.0 editions=EE
37+
::: php-client-availability versions=5.0 ee-only
3838

3939
If the asset family does not exist yet, this method creates it, otherwise it updates it.
4040

content/php-client/resources/asset-manager/asset-media-files.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
We refer here to the asset media file of the [Asset Manager](/concepts/asset-manager.html#asset-media-file).
44

55
#### Download the media file associated to a asset or a record
6-
::: php-client-availability versions=5.0 editions=EE
6+
::: php-client-availability versions=5.0 ee-only
77

88
```php
99
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -15,7 +15,7 @@ $mediaFileResponse = $client->getAssetMediaFileApi()->download($mediaFileCode);
1515
From the response, you can retrieve the file name in the header "Content-Disposition" and the mime type in the header "Content-Type".
1616

1717
#### Create a new media file for a asset or a record
18-
::: php-client-availability versions=5.0 editions=EE
18+
::: php-client-availability versions=5.0 ee-only
1919

2020
```php
2121
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');

content/php-client/resources/asset-manager/assets.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
We refer here to the asset of the [Asset Manager](/concepts/asset-manager.html#asset).
44

55
#### Get an asset of a given asset family
6-
::: php-client-availability versions=5.0 editions=EE
6+
::: php-client-availability versions=5.0 ee-only
77

88
```php
99
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -27,7 +27,7 @@ $client->getAssetManagerApi()->get('user_instructions', 'jeans_care_instructions
2727
```
2828

2929
#### Get the list of the assets of a asset family
30-
::: php-client-availability versions=5.0 editions=EE
30+
::: php-client-availability versions=5.0 ee-only
3131

3232
Assets are automatically paginated and can be filtered.
3333

@@ -40,7 +40,7 @@ $cursor = $client->getAssetManagerApi()->all('user_instructions');
4040
```
4141

4242
#### Upsert an asset of a given asset family
43-
::: php-client-availability versions=5.0 editions=EE
43+
::: php-client-availability versions=5.0 ee-only
4444

4545
If the asset does not exist yet, this method creates it, otherwise it updates it.
4646

@@ -58,7 +58,7 @@ $client->getAssetManagerApi()->upsert('user_instructions', 'jeans_care_instructi
5858
```
5959

6060
#### Upsert a list of assets of a given asset family
61-
::: php-client-availability versions=5.0 editions=EE
61+
::: php-client-availability versions=5.0 ee-only
6262

6363
This method allows to create or update a list of assets of a given asset family.
6464
It has the same behavior as the `upsert` method for a single asset.

content/php-client/resources/catalog-structure/association-types.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Association type
22

33
#### Get an association type
4-
::: php-client-availability versions=1.0
4+
::: php-client-availability all-versions
55

66
```php
77
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -22,7 +22,7 @@ $associationType = $client->getAssociationTypeApi()->get('X_SELL');
2222
```
2323

2424
#### Get a list of association types
25-
::: php-client-availability versions=1.0
25+
::: php-client-availability all-versions
2626

2727
There are two ways of getting association types.
2828

@@ -51,7 +51,7 @@ $associationTypes = $client->getAssociationTypeApi()->all(50);
5151
You can get more information about this method [here](/php-client/list-resources.html#with-a-cursor).
5252

5353
#### Create an association type
54-
::: php-client-availability versions=1.0
54+
::: php-client-availability all-versions
5555

5656
If the association type does not exist yet, this method creates it, otherwise it throws an exception.
5757

@@ -67,7 +67,7 @@ $client->getAssociationTypeApi()->create('NEW_SELL', [
6767
```
6868

6969
#### Upsert an association type
70-
::: php-client-availability versions=1.0
70+
::: php-client-availability all-versions
7171

7272
If the association type does not exist yet, this method creates it, otherwise it updates it.
7373

@@ -83,7 +83,7 @@ $client->getAssociationTypeApi()->upsert('NEW_SELL', [
8383
```
8484

8585
#### Upsert a list of association types
86-
::: php-client-availability versions=1.0
86+
::: php-client-availability all-versions
8787

8888
This method allows to create or update a list of association types.
8989
It has the same behavior as the `upsert` method for a single association type, except that the code must be specified in the data of each association type.

0 commit comments

Comments
 (0)