Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

DerivativesApi@getMetadata does not return role attribute. #32

Open
shuogawa opened this issue Jan 31, 2019 · 0 comments
Open

DerivativesApi@getMetadata does not return role attribute. #32

shuogawa opened this issue Jan 31, 2019 · 0 comments

Comments

@shuogawa
Copy link

shuogawa commented Jan 31, 2019

Because Autodesk\Forge\Client\Model\MetadataMetadata return only name & guid.

https://github.com/Autodesk-Forge/forge-php-client/blob/master/lib/Model/MetadataMetadata.php

https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-GET/

dukedhx added a commit to dukedhx/forge-php-client that referenced this issue Jul 9, 2019
Fix [Autodesk-Forge#32](Autodesk-Forge#32) - tested and passed:
```
[1] => Autodesk\Forge\Client\Model\MetadataMetadata Object
                                        (
                                            [container:protected] => Array
                                                (
                                                    [name] => A100 - FOLHA
                                                    [role] => 2d
                                                    [guid] => d1b21356-f96c-41f3-4cb8-0cc396ade718
                                                )

                                        )
```
```

                                    [8] => Autodesk\Forge\Client\Model\MetadataCollection Object
                                        (
                                            [container:protected] => Array
                                                (
                                                    [objectid] => 9
                                                    [name] => wire_228153184
                                                    [properties] =>
                                                    [externalId] => p7
                                                )
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant