docs/ProjectCreateParameters.md in phrase-1.0.1 vs docs/ProjectCreateParameters.md in phrase-1.0.2
- old
+ new
@@ -8,10 +8,11 @@
**main_format** | **String** | Main file format specified by its API Extension name. Used for locale downloads if no format is specified. For API Extension names of available file formats see <a href=\"https://help.phrase.com/help/supported-platforms-and-formats\">Format Guide</a> or our <a href=\"#formats\">Formats API Endpoint</a>. | [optional]
**shares_translation_memory** | **Boolean** | Indicates whether the project should share the account's translation memory | [optional]
**project_image** | **File** | Image to identify the project | [optional]
**remove_project_image** | **Boolean** | Indicates whether the project image should be deleted. | [optional]
**account_id** | **String** | Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. | [optional]
+**source_project_id** | **String** | When a source project ID is given, a clone of that project will be created, including all locales, keys and translations as well as the main project settings if they are not defined otherwise through the params. | [optional]
## Code Sample
```ruby
require 'Phrase'
@@ -19,9 +20,10 @@
instance = Phrase::ProjectCreateParameters.new(name: My Android Project,
main_format: yml,
shares_translation_memory: true,
project_image: null,
remove_project_image: null,
- account_id: abcd1234)
+ account_id: abcd1234,
+ source_project_id: abcd1234)
```